]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: cavium: thunder2: Add missing PL011 "uartclk"
authorRob Herring (Arm) <robh@kernel.org>
Mon, 9 Jun 2025 21:57:06 +0000 (16:57 -0500)
committerArnd Bergmann <arnd@arndb.de>
Thu, 3 Jul 2025 14:29:45 +0000 (16:29 +0200)
The PL011 IP has 2 clock inputs for UART core/baud and APB bus. The
Thunder2 SoC is missing the core "uartclk". In this case, the Linux
driver uses single clock for both clock inputs. Let's assume that's how
the h/w is wired and make the DT reflect that.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20250609215706.3009692-2-robh@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm64/boot/dts/cavium/thunder2-99xx.dtsi

index 6dfe78a7d4ab3e38fd8235e5af0f828a4eb47678..966fb57280f31eb57ce2c7b69be0134e9b5753d0 100644 (file)
                        reg = <0x04 0x02020000 0x0 0x1000>;
                        interrupt-parent = <&gic>;
                        interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
-                       clocks = <&clk125mhz>;
-                       clock-names = "apb_pclk";
+                       clocks = <&clk125mhz>, <&clk125mhz>;
+                       clock-names = "uartclk", "apb_pclk";
                };
        };