Merge patch series "TI: AM64-EVM/SK: Enable MAIN UART1 for SYSFW tracing"

Vishal Mahaveer <vishalm@ti.com> says:

Collecting SYSFW traces from DMSC firmware is broken on the current
codebase. These changes enables MAIN_UART1 for collecting SYSFW traces
when the trace option is enabled in the boardcfg.

Link: https://lore.kernel.org/r/20260605193829.395161-1-vishalm@ti.com
This commit is contained in:
Tom Rini
2026-07-03 10:10:34 -06:00
3 changed files with 22 additions and 2 deletions
+10
View File
@@ -23,3 +23,13 @@
clocks = <&clk_200mhz>;
clock-names = "clk_xin";
};
&main_uart1_pins_default {
bootph-pre-ram;
};
/* Main UART1 is used for TIFS firmware logs */
&main_uart1 {
bootph-pre-ram;
status="okay";
};
+10
View File
@@ -18,3 +18,13 @@
&serdes_wiz0 {
status = "okay";
};
&main_uart1_pins_default {
bootph-pre-ram;
};
/* Main UART1 is used for TIFS firmware logs */
&main_uart1 {
bootph-pre-ram;
status="okay";
};
+2 -2
View File
@@ -212,14 +212,14 @@ void board_init_f(ulong dummy)
#if defined(CONFIG_K3_LOAD_SYSFW)
/*
* Process pinctrl for serial3 a.k.a. MAIN UART1 module and continue
* Process pinctrl for serial1 a.k.a. MAIN UART1 module and continue
* regardless of the result of pinctrl. Do this without probing the
* device, but instead by searching the device that would request the
* given sequence number if probed. The UART will be used by the system
* firmware (SYSFW) image for various purposes and SYSFW depends on us
* to initialize its pin settings.
*/
ret = uclass_find_device_by_seq(UCLASS_SERIAL, 3, &dev);
ret = uclass_find_device_by_seq(UCLASS_SERIAL, 1, &dev);
if (!ret)
pinctrl_select_state(dev, "default");