ramips: add missing syscon compatible strings for MT7688 and RT3052
authorShiji Yang <yangshiji66@qq.com>
Sat, 30 Dec 2023 11:52:18 +0000 (19:52 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 6 Jan 2024 20:23:23 +0000 (21:23 +0100)
MT7688 devices use the "mt7628an.dtsi" as the template. And RT3052
devices use the "rt3050.dtsi" as template. Therefore, we need to add
the corresponding system controller compatible strings to make them
work properly.

Fixes: 1f818b09f8ae ("ramips: add proper system clock and reset driver support for legacy SoCs")
Fixes: #14305
Signed-off-by: Shiji Yang <yangshiji66@qq.com>
target/linux/ramips/dts/mt7628an.dtsi
target/linux/ramips/dts/rt3050.dtsi

index 97f77f6b38b82b70626ddcc790cf3d5c3c467a0c..906ea03fe9342afc2d9af16abc1b320ec0594416 100644 (file)
@@ -39,7 +39,7 @@
                #size-cells = <1>;
 
                sysc: syscon@0 {
-                       compatible = "ralink,mt7628-sysc", "syscon";
+                       compatible = "ralink,mt7628-sysc", "ralink,mt7688-sysc", "syscon";
                        reg = <0x0 0x100>;
                        #clock-cells = <1>;
                        #reset-cells = <1>;
index d23303964f3e881850d28dea77b11c8270513bb3..30a3f898cd064dfc0c029cc66b8d1f1e1b879417 100644 (file)
@@ -40,7 +40,7 @@
                #size-cells = <1>;
 
                sysc: syscon@0 {
-                       compatible = "ralink,rt3050-sysc", "syscon";
+                       compatible = "ralink,rt3050-sysc", "ralink,rt3052-sysc", "syscon";
                        reg = <0x0 0x100>;
                        #clock-cells = <1>;
                        #reset-cells = <1>;