This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

J784S4XEVM: TDA4AP-Q1 Changing u-boot console from UART8 to UART3 no clock defined

Part Number: J784S4XEVM
Other Parts Discussed in Thread: TDA4AP-Q1,

Tool/software:

Hello,

We are bringing up a custom board using the TDA4AP-Q1 SoC that is based upon the J784S4XEVM, however, we have to use MAIN_UART_3 for the console.
I have read multiple posts and based most of my configuration changes on the following posts:
am625-changing-u-boot-console-from-uart0-to-uart4  & j784s4xevm-debug-console-on-wkup_uart0

A problem that I am having, is that  the R5 SPL fails in the call to serial_find_console_or_panic() because it can't find the clock required by main_uart3 (clocks = <&k3_clks 390 0>;) 

It seems the clock for J784S4_DEV_UART3, ID 390,  as per J784s4 Clock Identifiers is not defined in the u-boot file:  arch/arm/mach-k3/j784s4/clk-data.c  

Since it appears that arch/arm/mach-k3/j784s4/clk-data.c and arch/arm/mach-k3/j784s4/dev-data.c are auto generated, could you please provide me with a patch to these files to add the themissing clock with ID 390?

Thank you

Bruce