arm64: dts: cavium: thunder-88xx: Add missing PL011 "uartclk"
Rob Herring (Arm)
maintainerPATCH 1/1 arm64: dts: cavium: thunder-88xx: Add missing PL011 "uartclk"
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) <[email protected]>
---
SoC maintainers, Please take this directly.
arch/arm64/boot/dts/cavium/thunder-88xx.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
arch/arm64/boot/dts/cavium/thunder-88xx.dtsi +4 -4
@@ -401,16 +401,16 @@ uaa0: serial@87e024000000 { compatible = "arm,pl011", "arm,primecell"; reg = <0x87e0 0x24000000 0x0 0x1000>; interrupts = <1 21 4>; - clocks = <&refclk50mhz>; - clock-names = "apb_pclk"; + clocks = <&refclk50mhz>, <&refclk50mhz>; + clock-names = "uartclk", "apb_pclk"; }; uaa1: serial@87e025000000 { compatible = "arm,pl011", "arm,primecell"; reg = <0x87e0 0x25000000 0x0 0x1000>; interrupts = <1 22 4>; - clocks = <&refclk50mhz>; - clock-names = "apb_pclk"; + clocks = <&refclk50mhz>, <&refclk50mhz>; + clock-names = "uartclk", "apb_pclk"; }; }; };
Signature · 1 line
2.51.0
Krzysztof Kozlowski
AppliedQuoted 6 lines · Rob Herring (Arm)
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.
Applied, thanks!
[1/1] arm64: dts: cavium: thunder-88xx: Add missing PL011 "uartclk"
https://git.kernel.org/krzk/linux-dt/c/15e3ce53673289624bab4e6a60207af4775f4a38
Best regards,
Signature · 1 line
Krzysztof Kozlowski <[email protected]>