Hello,
I am trying to write a devicetree-overlay for BBAI-64. The Hardware is self designed and the issue burns down to getting a led to blink. As an Example I tried to write a overlay just for one of the abot 20 pins I need as a gpio (mode 7);
what kernel version? uname -r ? what pin number? weâve patched our device-tree so every âheaderâ pin is automatically a gpio input⌠so you can use libgpiod to change anything to be an led without âanyâ overlays.
Now I removed the âoverlay-stuffâ
With gpioset i can write, but without effect on board. (Voltage stays the same) and on some Pins there is even in sw no effect but no error. I tried various pin numbers, e.g. P8-03, as gpio1 20
The whole thing is for Smart Home, so on the hw there is some Logic to decode the pin State to some ssd relays for different thgings. To get it done, i Need to be able to toggle the gpio-Pins as for leds from cli/python. In the gpioinfo all of my used Pins are âunused - Input - active highâ
this is work i did with the BeagleY-AI with 6.1.x-ti, these change were not backported to the 5.10.x branch⌠i really recommend 6.6.x-ti for the bbai64 at this point.
I am not seeing my header pins automatically set as gpio input with 6.12 dt.
Snip of what I am seeing with showpins.pl
P8.40 71 AA24 @11c11c 08214007 nom st m7 gpio0_70
P8.27 72 AA28 @11c120 08214007 nom st m7 gpio0_71
P8.28 73 Y24 @11c124 08214007 nom st m7 gpio0_72
P8.29 74 AA25 @11c128 08214007 nom st m7 gpio0_73
P8.30 75 AG26 @11c12c 08214007 nom st m7 gpio0_74
P8.14 76 AF27 @11c130 08214007 nom st m7 gpio0_75
P8.20 77 AF26 @11c134 08214007 nom st m7 gpio0_76
Actually nothing but flashing the latest stable bookworm-Image with Kernel 6.6.
Unfortunately i fried the setup of openhab and the other components, but that was my own mistake.
With that Release and the correct number from header-documentation gpio-lib worked fine
No overlay or anything. Just gpiod.
Of about 50 Pins i use only one does Not reply 3.3v on âOutput 1â, because of Double use. But i just left this one.