Skip to content

Commit c51e958

Browse files
parakatsbogend
authored andcommitted
mips: dts: ralink: rt3883: update system controller node and its consumers
Current RT3883 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 acf13fc commit c51e958

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

arch/mips/boot/dts/ralink/rt3883.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,rt3883-sysc", "ralink,rt3050-sysc";
30+
sysc: syscon@0 {
31+
compatible = "ralink,rt3883-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,rt3883-uart", "ralink,rt2880-uart", "ns16550a";
5155
reg = <0xc00 0x100>;
5256

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

arch/mips/boot/dts/ralink/rt3883_eval.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// SPDX-License-Identifier: GPL-2.0
22
/dts-v1/;
33

4-
/include/ "rt3883.dtsi"
4+
#include "rt3883.dtsi"
55

66
/ {
77
compatible = "ralink,rt3883-eval-board", "ralink,rt3883-soc";

0 commit comments

Comments
 (0)