pocketbeagle 2 gpio export

got my pocketbeagle gamepup, starting to test all the buttons, buttttt
two part question:
1)
has something changes WRT pocketbeagle 2 gpio export
echo 36 | sudo tee export
tee: export: Invalid argument
same results if i just
echo 36 > /sys/class/gpio/export

in k3-am6232-pocketbeagle2-pinmux.dtsi
i’m seeing RGMII2_TXC.GPIO0_88
how many gpios are there to each gpiochip group ?

/sys/class/gpio$ ls
export gpiochip512 gpiochip515 gpiochip539 gpiochip631 unexport

Linux BeagleBone 6.12.17-ti-arm64-r33 #1bookworm

Use libgpiod or we will need to write an overlay for the gamepup.

The hard integer gpio offset we are accustomed to was ripped out during v6.x.x (looking up for commit)… the GPIO number is now dynamically assigned on bootup, no longer a hardcoded list.

Regards,

1 Like

Feel free to checkout techlab cape overlay as a reference for a cape overlay.

1 Like