Skip to content

Commit 4b7785d

Browse files
svanheuletsbogend
authored andcommitted
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 <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
1 parent 31e96a0 commit 4b7785d

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

arch/mips/boot/dts/realtek/rtl838x.dtsi

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@
3434
interrupt-controller;
3535
};
3636

37+
lx_clk: clock-lexra {
38+
compatible = "fixed-clock";
39+
#clock-cells = <0>;
40+
clock-frequency = <200000000>;
41+
};
42+
3743
soc@18000000 {
3844
compatible = "simple-bus";
3945
#address-cells = <1>;
@@ -44,7 +50,7 @@
4450
compatible = "ns16550a";
4551
reg = <0x2000 0x100>;
4652

47-
clock-frequency = <200000000>;
53+
clocks = <&lx_clk>;
4854

4955
interrupt-parent = <&intc>;
5056
interrupts = <31>;
@@ -61,7 +67,7 @@
6167
compatible = "ns16550a";
6268
reg = <0x2100 0x100>;
6369

64-
clock-frequency = <200000000>;
70+
clocks = <&lx_clk>;
6571

6672
interrupt-parent = <&intc>;
6773
interrupts = <30>;

0 commit comments

Comments
 (0)