Skip to content

Commit c8292b0

Browse files
parakatsbogend
authored andcommitted
mips: dts: ralink: rt2880: update system controller node and its consumers
Current RT2880 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 <sergio.paracuellos@gmail.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
1 parent adb2424 commit c8292b0

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

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

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

arch/mips/boot/dts/ralink/rt2880_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/ "rt2880.dtsi"
4+
#include "rt2880.dtsi"
55

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

0 commit comments

Comments
 (0)