This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Using GPIO140-142 on the Beagle from linux



I've got a Beagle rev. C2 and I'd like to use GPIO140-142 (pins 4,6,10 on the expansion header) for GPIO (and in the future McBSP3) but can't seem to get control of them.  I've configured their pinmuxes in Mode4 in both u-boot and in the kernel board init file, yet they still seem to be muxed to UART2 (sending text to /dev/ttyS1 toggles pin6).

I've seen this in several different kernel versions - both the 2.6.29 from Angstrom Stable, as well as the 2.6.32 from Unstable. Disabling the initialization of the serial ports eliminates /dev/ttyS* and prevents toggling pin6 but doesn't free these pins up for GPIO.

It seems that the pinmuxes for these pins are being re-set to UART2 somewhere else in the kernel, outside for the board init file. I've checked the serial init code and that doesn't appear to be doing it, so I'm at a loss for where else to look. Any suggestions?

Thanks,

Eric