]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
mips: dts: ralink: rt3883: update system controller node and its consumers
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Mon, 20 Jan 2025 09:21:44 +0000 (10:21 +0100)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Fri, 21 Feb 2025 17:05:03 +0000 (18:05 +0100)
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 <sergio.paracuellos@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/boot/dts/ralink/rt3883.dtsi
arch/mips/boot/dts/ralink/rt3883_eval.dts

index 61132cf157e5a1a3bec99c6024e9cbe92a56f3e7..11d111a0603717aa8eaeae697dbfba8afb03a90f 100644 (file)
@@ -1,4 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0
+#include <dt-bindings/clock/mediatek,mtmips-sysc.h>
+
 / {
        #address-cells = <1>;
        #size-cells = <1>;
                #address-cells = <1>;
                #size-cells = <1>;
 
-               sysc@0 {
-                       compatible = "ralink,rt3883-sysc", "ralink,rt3050-sysc";
+               sysc: syscon@0 {
+                       compatible = "ralink,rt3883-sysc", "syscon";
                        reg = <0x0 0x100>;
+                       #clock-cells = <1>;
+                       #reset-cells = <1>;
                };
 
                intc: intc@200 {
@@ -50,6 +54,8 @@
                        compatible = "ralink,rt3883-uart", "ralink,rt2880-uart", "ns16550a";
                        reg = <0xc00 0x100>;
 
+                       clocks = <&sysc RT3883_CLK_UARTLITE>;
+
                        interrupt-parent = <&intc>;
                        interrupts = <12>;
 
index c22bc84df21975a4e16067a7d2aca64021776800..a095a1fe94155e3579f48e2710d6f9b2fa5249e5 100644 (file)
@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0
 /dts-v1/;
 
-/include/ "rt3883.dtsi"
+#include "rt3883.dtsi"
 
 / {
        compatible = "ralink,rt3883-eval-board", "ralink,rt3883-soc";