Skip to content

Commit acf13fc

Browse files
parakatsbogend
authored andcommitted
mips: dts: ralink: rt3050: update system controller node and its consumers
Current RT3050 device tree file system controller node is wrong since it is not matching bindings. Hence, update it to match current bindings updating it also to use new introduced clock constants. Signed-off-by: Sergio Paracuellos <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
1 parent c8292b0 commit acf13fc

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

arch/mips/boot/dts/ralink/rt3050.dtsi

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
// SPDX-License-Identifier: GPL-2.0
2+
#include <dt-bindings/clock/mediatek,mtmips-sysc.h>
3+
24
/ {
35
#address-cells = <1>;
46
#size-cells = <1>;
@@ -25,9 +27,11 @@
2527
#address-cells = <1>;
2628
#size-cells = <1>;
2729

28-
sysc@0 {
29-
compatible = "ralink,rt3052-sysc", "ralink,rt3050-sysc";
30+
sysc: syscon@0 {
31+
compatible = "ralink,rt3052-sysc", "ralink,rt3050-sysc", "syscon";
3032
reg = <0x0 0x100>;
33+
#clock-cells = <1>;
34+
#reset-cells = <1>;
3135
};
3236

3337
intc: intc@200 {
@@ -50,6 +54,8 @@
5054
compatible = "ralink,rt3052-uart", "ralink,rt2880-uart", "ns16550a";
5155
reg = <0xc00 0x100>;
5256

57+
clocks = <&sysc RT305X_CLK_UARTLITE>;
58+
5359
interrupt-parent = <&intc>;
5460
interrupts = <12>;
5561

0 commit comments

Comments
 (0)