I’m digging into device tree for bbai and have been unable to find something more definitive than comments that bind the egpio bit to the header. There are at least two instances where the comments assign the same egpio bit to two different (P8) headers.
The author of Moving to the BeagleBone AI — BeagleBoard Documentation , seems to have found the same inconsistency. there are 10 (ten) instances on the P8 header where this occurs. ( you have to interpret the reference to ‘PRU2’ to be ‘pr2’, and understand that the first row of data is mixed into the column headers )P
here are the four lines from src/arm/am572x-bone-common-univ.dtsi that I am referring to:
BONE_PIN(P8_36, pruout, P8_36A( PIN_OUTPUT_PULLDOWN | INPUT_EN | MUX_MODE13) P8_36B( PIN_OUTPUT | MUX_MODE15 )) /* vout1_d10.pr2_pru0_gpo7, vin2a_d0.off /
BONE_PIN(P8_06, pruout, P8_06( PIN_OUTPUT_PULLDOWN | INPUT_EN | MUX_MODE13 )) / mmc3_dat3.pr2_pru0_gpo07 /
BONE_PIN(P8_05, pruout, P8_05( PIN_OUTPUT_PULLDOWN | INPUT_EN | MUX_MODE13 )) / mmc3_dat2.pr2_pru0_gpo06 /
BONE_PIN(P8_38, pruout, P8_38A( PIN_OUTPUT_PULLDOWN | INPUT_EN | MUX_MODE13) P8_38B( PIN_OUTPUT | MUX_MODE15 )) / vout1_d9.pr2_pru0_gpo6, mcasp4_aclkx.off */
I’m acknowledging ‘newbie’ status here, and hoping someone has already figured this out.
debian@bbai01:~$ cat /etc/dogtag
BeagleBoard.org Debian Bookworm IoT Image 2023-10-07
debian@bbai01:~$ uname -a
Linux bbai01 5.10.168-ti-r72 #1bookworm SMP PREEMPT Sat Sep 30 03:40:45 UTC 2023 armv7l GNU/Linux
debian@bbai01:~$
thanks.
gomer