UART4 Pins H13 and H14 not working as expected.
I am trying to use the UART4 TX: H13 and RX: H14 pins for the tty console access.
The TX from the MPU works fine as I can see the kernel boot logs, but cannot access the kernel command line. No prompt shows up on hitting ENTER.
Here are my stm32mp15-pinctrl.dtsi UART4 configurations:
uart4_pins_a: uart4-0 {
pins1 {
//pinmux = <STM32_PINMUX('G', 11, AF6)>; /* UART4_TX */
pinmux = <STM32_PINMUX('H', 13, AF8)>; /* UART4_TX */
bias-disable;
drive-push-pull;
slew-rate = <0>;
};
pins2 {
//pinmux = <STM32_PINMUX('B', 2, AF8)>; /* UART4_RX */
pinmux = <STM32_PINMUX('H', 14, AF8)>; /* UART4_RX */
bias-disable;
};
};
uart4_idle_pins_a: uart4-idle-0 {
pins1 {
//pinmux = <STM32_PINMUX('G', 11, ANALOG)>; /* UART4_TX */
pinmux = <STM32_PINMUX('H', 13, ANALOG)>; /* UART4_TX */
};
pins2 {
//pinmux = <STM32_PINMUX('B', 2, AF8)>; /* UART4_RX */
pinmux = <STM32_PINMUX('H', 14, AF8)>; /* UART4_RX */
bias-disable;
};
};
uart4_sleep_pins_a: uart4-sleep-0 {
pins {
//pinmux = <STM32_PINMUX('G', 11, ANALOG)>, /* UART4_TX */
// <STM32_PINMUX('B', 2, ANALOG)>; /* UART4_RX */
pinmux = <STM32_PINMUX('H', 13, ANALOG)>, /* UART4_TX */
<STM32_PINMUX('H', 14, ANALOG)>; /* UART4_RX */
};
};
And the stm32mp15xx-evx.dtsi configurations:
&uart4 {
pinctrl-names = "default", "sleep", "idle";
pinctrl-0 = <&uart4_pins_a>;
pinctrl-1 = <&uart4_sleep_pins_a>;
pinctrl-2 = <&uart4_idle_pins_a>;
//uart-has-rtscts;
//status = "disabled";
status = "okay";
};
Have also added chosen path as:
chosen {
stdout-path = "serial0:115200n8";
};
aliases {
serial0 = &uart4;
};
What is missing for the configurations?
