the Ir_led_tx is connected to pin name uart0_rtsn , this pin on mode 1 becomes uart4_txd , so i have done the pin mux , added the uart4_txd in mux33xx.c file etc etc..
Now when I boot the board , and stop it at u-boot prompt , the Ir_led is high ( its emitting something to which i have no idea ) . I have checked the u-boot code they have enabled the UART 0 , but only Rx and Tx , and the pin which i use is UART0_RTSN . if they have not enabled it in u-boot , how come the LED is emitting .
So in board-am335xevm.c file I configure the pin as uart4_txd in mode1 and in mode 7 it is gpio1_9, if i'm configuring it as gpio then I'm able to set value using gpio_set_value() function , which can turn on and off the LED , but I want the same function in UART4_Tx mode.
I configured it in UART4_TXd and as an output pin , I have tried all possible combinations like ( let's take it for now that by default the pin is high that's why the LED is glowing)
1.AM33XX_PIN_OUTPUT
2.AM33XX_PIN_INPUT_PULLDOWN ( after configuring it as INput )
etc defined in mux.h header file .
what can be the possible problem for the uart to show this kind of behaviour. , why does not it turns off when I enable it as OUTPUT pin .