We are running into a strange problem with GPIO pin 126 (P27, mmc1_data4) on an OMAP3530 chip. We are not able to use it has an output line to control a reset pin for our Ethernet chip on our board. The pin is set to low and does not want to be toggle to high. We try the internal Pull UP/DOWN but nothing works.
Here are the values in the associated registers on how we setup the pin:
CONTROL_PADCONF_MMC1_DAT4 (0x48002150) => 0x0118001c
GPIO4 (0x4905 4000):
GPIO_OE (0x4905 4034): 0xbffffffb
GPIO_DATAOUT (0x4905 403C): 0x40000000
In this configuration the pin is still set low event if the gpio_dataout register has been set to high.
We are able to toggle mmc1_data3, 2, 1 without any problems. Also we check the behavior of the pin on a Mistral board and we didn’t have the above issue. Is there an issue with this pin been use has a general io pin in a later revision of the silicon?
Base on the documentation, the pin should work has an Input/Ouput.
Ref #1: SPRS507F – February 2008 – Revised October 2009, Page 35, Ball Bottom P27
Ref #2: SPRUF98D – October 2009, Page 837, Table 7-5
Here are the Die ID’s for the two chips:
CDST: 229e00040000000004035c141001501e => GPIO 126 doesn’t work
Mistral: 446a00020000000004013e2a03015018 => GPIO 126 works
Any help would be appreciated,
Cheers and Thanks!
Steph