I am currently working off a custom board with 2 3.3v regulators that are by default off but in the current sdk version of uboot and the linux kernel continually reboot if the ethernet chipset which is powered by one of these regulators is not enabled. What i am trying to do is enable gpio pins 1_22 and 1_23 in the uboot kernel. Currently i have enabled the clock domain in pll.c and created a mux to place the 2 pins in mode 7 in mux.c. I have then added an 3v3reg init function in evm.c which inits the pin mux and then i write to address GPIO1_BASE + OMAP_GPIO_OE to set the output enables for the 2 pins to 0 and then GPIO1_BASE+OMAP_GPIO_SETDATAOUT for the 2 pins to 1. When i read back the register values they are correct but the lines are not high so i am going to assum i am missing something. Any help would be greatly apreciated.
Thanks
Ed