Hi,
For some reason, I should use one gpio for output mode and it should be set as high.
So I add some codes in u-boot and the gpio is set as high via gpio_direction_out.
I confirm that the gpio is controlled well.
{OFFSET(uart0_rtsn), (MODE(7) | PULLUDDIS)}, /* uart0_rtsn gpio1_9 ETH_PWR_EN1 */
…………
if (!gpio_request(gpionum, "")) {
gpio_direction_output(gpionum, gpioval);
}
In addition, I add below code.
{"uart0_rtsn.gpio1_9", OMAP_MUX_MODE7 | AM33XX_PIN_OUTPUT},
(In H/W, the pin is pull-down)
By the way, when kernel is loaded, gpio1_9 is changed into low.
I want it to be High continuously from u-boot.
I’m sure that there is no pin-mux conflict in board-am335xevm.c
Thanks,
Devin