Hi all,
I am trying to use a 2-pin UART connection to MAIN_UART1 as a debug console during bootup (SDCard Boot). However, I am getting no response from it.
Here is the U-boot R5 SPL device tree nodes I am using:
&main_pmx0 {
u-boot,dm-spl;
main_uart1_pins_default: main-uart1-pins-default {
u-boot,dm-spl;
pinctrl-single,pins = <
AM64X_IOPAD(0x0240, PIN_INPUT, 0) /* (E15) UART1_RXD */
AM64X_IOPAD(0x0244, PIN_OUTPUT, 0) /* (E14) UART1_TXD */
>;
};
&cbass_main {
main_uart1: serial@2810000 {
compatible = "ti,am64-uart", "ti,am654-uart";
reg = <0x00 0x02810000 0x00 0x100>;
reg-shift = <2>;
reg-io-width = <4>;
interrupts = <GIC_SPI 179 IRQ_TYPE_LEVEL_HIGH>;
clock-frequency = <48000000>;
current-speed = <115200>;
power-domains = <&k3_pds 152 TI_SCI_PD_EXCLUSIVE>;
clocks = <&k3_clks 152 0>;
clock-names = "fclk";
pinctrl-names = "default";
pinctrl-0 = <&main_uart1_pins_default>;
status = "okay";
u-boot,dm-spl;
};
};
Is there something else that needs to be done to enable MAIN_UART1?
Putting a scope on the TX/RX lines verifies that transmit data makes it to the AM6421 (pin E15) , but I never see anything in the other direction. This leads me to believe that MAIN_UART1 is not properly configured or enabled.
Our TMDS64PEVM evaluation module uses MAIN_UART0 for this purpose. Is this functionality reserved for MAIN_UART0?