From: Sander Vanheule Date: Sun, 19 Jan 2025 18:34:22 +0000 (+0100) Subject: mips: dts: realtek: Replace uart clock property X-Git-Tag: v6.15-rc1~112^2~17 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4b7785dd43b8eeae3534da4a13922a361eace8ff;p=thirdparty%2Flinux.git mips: dts: realtek: Replace uart clock property Add a fixed clock to define the clock frequency of the Lexra bus and use this for the two uart nodes instead of a separate clock-frequency property. Signed-off-by: Sander Vanheule Signed-off-by: Thomas Bogendoerfer --- diff --git a/arch/mips/boot/dts/realtek/rtl838x.dtsi b/arch/mips/boot/dts/realtek/rtl838x.dtsi index e3183a71765e7..246f4f607128c 100644 --- a/arch/mips/boot/dts/realtek/rtl838x.dtsi +++ b/arch/mips/boot/dts/realtek/rtl838x.dtsi @@ -34,6 +34,12 @@ interrupt-controller; }; + lx_clk: clock-lexra { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <200000000>; + }; + soc@18000000 { compatible = "simple-bus"; #address-cells = <1>; @@ -44,7 +50,7 @@ compatible = "ns16550a"; reg = <0x2000 0x100>; - clock-frequency = <200000000>; + clocks = <&lx_clk>; interrupt-parent = <&intc>; interrupts = <31>; @@ -61,7 +67,7 @@ compatible = "ns16550a"; reg = <0x2100 0x100>; - clock-frequency = <200000000>; + clocks = <&lx_clk>; interrupt-parent = <&intc>; interrupts = <30>;