Other Parts Discussed in Thread: AM6548
Tool/software: Linux
Hello,
I am currently working on bringing up a board designed around the AM6548 processor. When using TI's device tree configuration, I can boot into U-Boot through MCU_UART0 and MAIN_UART0. When I attempt to use MAIN_UART1 as the serial console, the UART boot process fails after ATF is loaded.
I added the following to k3-am654-base-board.dts:
&main_uart1 {
pinctrl-names = "default";
pinctrl-0 = <&main_uart1_pins_default>;
status = "okay";
};
/* under &main_pmx0 */
main_uart1_pins_default: main_uart1_pins_default {
pinctrl-single,pins = <
AM65X_IOPAD(0x014c, PIN_OUTPUT | MUX_MODE6) /* (AD23) PRG1_PRU1GPO7.UART1_TXD */
AM65X_IOPAD(0x0174, PIN_INPUT | MUX_MODE6) /* (AE23) PRG1_PRU1GPO17.UART1_RXD */
AM65X_IOPAD(0x0178, PIN_INPUT | MUX_MODE6) /* (AD22) PRG1_PRU1GPO18.UART1_CTS */
AM65X_IOPAD(0x017c, PIN_OUTPUT | MUX_MODE6) /* (AC21) PRG1_PRU1GPO19.UART1_RTS */
>;
};
I also added the same entries to k3-am654-r5-base-board.dts with the addition of u-boot,dm-spl; lines in each.
In all of the device tree files, references to serial2 were changed to serial3, and references to the MAIN_UART0 base address of 0x0280000 were changed to the MAIN_UART1 base address of 0x02810000. I get console output on MAIN_UART1 when the device tree files are configured this way but, again, the boot process fails.
Is there another non-obvious location to configure the UART and/or serial console to allow boot to succeed? Possibly in the TI SCI configuration files? Any suggestions will be greatly appreciated.
Thanks,
Matt McKee