Tool/software: Linux
I am trying to use UART 2 available on Beaglebone black board. the Pins are 21 and 22 on P9 header. I tried the online Ti Pin Mux utility. The Mux values that I got in TI PIN MUX tools are as follows.
myuart3_pins_default: myuart3_pins_default {
pinctrl-single,pins = <
0x10c ( PIN_INPUT_PULLUP | MUX_MODE6 ) /* (H17) gmii1_crs.uart2_rxd */
0x130 ( PIN_OUTPUT_PULLUP | MUX_MODE1 ) /* (L18) gmii1_rxclk.uart2_txd */
>;
};
But these values does not work with the Uart 2. So I tried different below values in device tree and it works fine.
bb_uart2_pins: pinmux_bb_uart2_pins {
pinctrl-single,pins = <
0x154 0x01 /* spi0_d0.uart2_txd | MODE1 */
0x150 0x21 /* spi0_sclk.uart2_rxd | MODE1 */
>;
};
Can anyone let me know why the values from TI Pin mux tools are not working ?