diff options
| author | Vishal Mahaveer <vishalm@ti.com> | 2026-06-05 14:38:28 -0500 |
|---|---|---|
| committer | Tom Rini <trini@konsulko.com> | 2026-07-03 10:09:56 -0600 |
| commit | c8a3552f7d9e6bd4554730e3dec10ff6c661f07c (patch) | |
| tree | 0fa9135bd9e21a1436eac127edcd17b3eb855708 | |
| parent | 3782bf8a0ad1abee3a2a537b9180b63d7ed22d40 (diff) | |
| download | u-boot-c8a3552f7d9e6bd4554730e3dec10ff6c661f07c.tar.gz u-boot-c8a3552f7d9e6bd4554730e3dec10ff6c661f07c.zip | |
arm: mach-k3: am642: Update MAIN UART1 serial alias from 3 to 1
The upstream device tree changed the serial alias for MAIN UART1 from
serial3 to serial1. Update the board initialization code to match this
change by modifying the UCLASS_SERIAL sequence number lookup.
This ensures proper pin control configuration for the UART used by
system firmware (SYSFW).
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Fixes: d2edabfa8de5 ("arm: mach-k3: am642: Load SYSFW binary and config from boot media")
Reviewed-by: Bryan Brattlof <bb@ti.com>
| -rw-r--r-- | arch/arm/mach-k3/am64x/am642_init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-k3/am64x/am642_init.c b/arch/arm/mach-k3/am64x/am642_init.c index a15adf1cb1e..d6cc7a85aae 100644 --- a/arch/arm/mach-k3/am64x/am642_init.c +++ b/arch/arm/mach-k3/am64x/am642_init.c @@ -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"); |
