GPMC modes added in bone-common in univ | BeagleWire overlays added
Created by: ombhilare999
Earlier it was not possible to use config-pin
utility with GPMC
as there were no defined gpmc modes in pinux of bone common file, So I tried adding them after discussion with @lorforlinux. I got everything worked now.
- For all the pins I had added
gpmc_pin
mode here first: https://github.com/BeagleWire/BeagleBoard-DeviceTrees/blob/a7bd4fd23d56003146fcd426f52a7b627abcc512/src/arm/am335x-bone-common-univ.dtsi#L199-L200 - Afterwards Also added the same pin mode in pinmux to show on
config-pin
side: https://github.com/BeagleWire/BeagleBoard-DeviceTrees/blob/a7bd4fd23d56003146fcd426f52a7b627abcc512/src/arm/am335x-bone-common-univ.dtsi#L1603-L1614 - I have also added phandle for gpmc too in bone bus file: https://github.com/BeagleWire/BeagleBoard-DeviceTrees/blob/a7bd4fd23d56003146fcd426f52a7b627abcc512/src/arm/bbb-bone-buses.dtsi#L427-L430
- Finally added the BeagleWire overlay too in
src/arn/overlays
:
Demo of working video: https://asciinema.org/a/ICSlldHwYC4RtOHG0oJkIRUBd
regards, Omkar Bhilare ombhilare999@gmail.com