ramips: remove useless compatible strings from SoC dtsi
authorShiji Yang <yangshiji66@qq.com>
Fri, 28 Jun 2024 07:50:57 +0000 (15:50 +0800)
committerNick Hainke <vincent@systemli.org>
Tue, 2 Jul 2024 08:13:45 +0000 (10:13 +0200)
These removed compatible strings do not exist in the source code
nor the dt-binding documents. They are useless.

Signed-off-by: Shiji Yang <yangshiji66@qq.com>
target/linux/ramips/dts/mt7620a.dtsi
target/linux/ramips/dts/mt7620n.dtsi
target/linux/ramips/dts/mt7628an.dtsi
target/linux/ramips/dts/rt2880.dtsi
target/linux/ramips/dts/rt3050.dtsi
target/linux/ramips/dts/rt3352.dtsi
target/linux/ramips/dts/rt3883.dtsi
target/linux/ramips/dts/rt5350.dtsi
target/linux/ramips/patches-6.6/801-DT-Add-documentation-for-gpio-ralink.patch

index 65122304c967eca84af34c0619c0138fa8ada0a5..4ba4b48bef25ac30b3e8ae5b152a8e331d6be256 100644 (file)
@@ -48,7 +48,7 @@
                };
 
                timer: timer@100 {
-                       compatible = "ralink,mt7620a-timer", "ralink,rt2880-timer";
+                       compatible = "ralink,rt2880-timer";
                        reg = <0x100 0x20>;
 
                        clocks = <&sysc 5>;
@@ -58,7 +58,7 @@
                };
 
                watchdog: watchdog@120 {
-                       compatible = "ralink,mt7620a-wdt", "ralink,rt2880-wdt";
+                       compatible = "ralink,rt2880-wdt";
                        reg = <0x120 0x10>;
 
                        clocks = <&sysc 6>;
@@ -71,7 +71,7 @@
                };
 
                intc: intc@200 {
-                       compatible = "ralink,mt7620a-intc", "ralink,rt2880-intc";
+                       compatible = "ralink,rt2880-intc";
                        reg = <0x200 0x100>;
 
                        interrupt-controller;
                };
 
                gpio0: gpio@600 {
-                       compatible = "ralink,mt7620a-gpio", "ralink,rt2880-gpio";
+                       compatible = "ralink,rt2880-gpio";
                        reg = <0x600 0x34>;
 
                        interrupt-parent = <&intc>;
                };
 
                gpio1: gpio@638 {
-                       compatible = "ralink,mt7620a-gpio", "ralink,rt2880-gpio";
+                       compatible = "ralink,rt2880-gpio";
                        reg = <0x638 0x24>;
 
                        interrupt-parent = <&intc>;
                };
 
                gpio2: gpio@660 {
-                       compatible = "ralink,mt7620a-gpio", "ralink,rt2880-gpio";
+                       compatible = "ralink,rt2880-gpio";
                        reg = <0x660 0x24>;
 
                        interrupt-parent = <&intc>;
                };
 
                gpio3: gpio@688 {
-                       compatible = "ralink,mt7620a-gpio", "ralink,rt2880-gpio";
+                       compatible = "ralink,rt2880-gpio";
                        reg = <0x688 0x24>;
 
                        interrupt-parent = <&intc>;
                };
 
                spi0: spi@b00 {
-                       compatible = "ralink,mt7620a-spi", "ralink,rt2880-spi";
+                       compatible = "ralink,rt2880-spi";
                        reg = <0xb00 0x40>;
 
                        clocks = <&sysc 10>;
                mediatek,switch = <&gsw>;
 
                port@4 {
-                       compatible = "mediatek,mt7620a-gsw-port", "mediatek,eth-port";
+                       compatible = "mediatek,eth-port";
                        reg = <4>;
 
                        status = "disabled";
                };
 
                port@5 {
-                       compatible = "mediatek,mt7620a-gsw-port", "mediatek,eth-port";
+                       compatible = "mediatek,eth-port";
                        reg = <5>;
 
                        status = "disabled";
index 4f07c6bc4b25fd54ee744702706f92031a58f4e1..a844198f668f92d6c8e173b6e39b22c390344093 100644 (file)
@@ -48,7 +48,7 @@
                };
 
                timer: timer@100 {
-                       compatible = "ralink,mt7620a-timer", "ralink,rt2880-timer";
+                       compatible = "ralink,rt2880-timer";
                        reg = <0x100 0x20>;
 
                        clocks = <&sysc 5>;
@@ -58,7 +58,7 @@
                };
 
                watchdog: watchdog@120 {
-                       compatible = "ralink,mt7620a-wdt", "ralink,rt2880-wdt";
+                       compatible = "ralink,rt2880-wdt";
                        reg = <0x120 0x10>;
 
                        clocks = <&sysc 6>;
@@ -71,7 +71,7 @@
                };
 
                intc: intc@200 {
-                       compatible = "ralink,mt7620a-intc", "ralink,rt2880-intc";
+                       compatible = "ralink,rt2880-intc";
                        reg = <0x200 0x100>;
 
                        interrupt-controller;
@@ -90,7 +90,7 @@
                };
 
                gpio0: gpio@600 {
-                       compatible = "ralink,mt7620a-gpio", "ralink,rt2880-gpio";
+                       compatible = "ralink,rt2880-gpio";
                        reg = <0x600 0x34>;
 
                        interrupt-parent = <&intc>;
                };
 
                gpio1: gpio@638 {
-                       compatible = "ralink,mt7620a-gpio", "ralink,rt2880-gpio";
+                       compatible = "ralink,rt2880-gpio";
                        reg = <0x638 0x24>;
 
                        interrupt-parent = <&intc>;
                };
 
                gpio2: gpio@660 {
-                       compatible = "ralink,mt7620a-gpio", "ralink,rt2880-gpio";
+                       compatible = "ralink,rt2880-gpio";
                        reg = <0x660 0x24>;
 
                        interrupt-parent = <&intc>;
                };
 
                gpio3: gpio@688 {
-                       compatible = "ralink,mt7620a-gpio", "ralink,rt2880-gpio";
+                       compatible = "ralink,rt2880-gpio";
                        reg = <0x688 0x24>;
 
                        interrupt-parent = <&intc>;
                };
 
                spi0: spi@b00 {
-                       compatible = "ralink,mt7620a-spi", "ralink,rt2880-spi";
+                       compatible = "ralink,rt2880-spi";
                        reg = <0xb00 0x40>;
 
                        clocks = <&sysc 10>;
index 906ea03fe9342afc2d9af16abc1b320ec0594416..be80c11d1153ca97771d9ecab855b331083ab851 100644 (file)
@@ -52,7 +52,7 @@
                };
 
                intc: intc@200 {
-                       compatible = "ralink,mt7628an-intc", "ralink,rt2880-intc";
+                       compatible = "ralink,rt2880-intc";
                        reg = <0x200 0x100>;
 
                        interrupt-controller;
        };
 
        esw: esw@10110000 {
-               compatible = "mediatek,mt7628-esw", "ralink,rt3050-esw";
+               compatible = "ralink,rt3050-esw";
                reg = <0x10110000 0x8000>;
 
                resets = <&sysc 24>;
index 998b49a2770fb0097b8e819ef73526d46a12055a..5ac2d2e3b87ede944a774fa4d9818cdf001e73bd 100644 (file)
                status = "disabled";
 
                port@0 {
-                       compatible = "ralink,rt2880-port", "mediatek,eth-port";
+                       compatible = "mediatek,eth-port";
                        reg = <0>;
                };
 
index 30a3f898cd064dfc0c029cc66b8d1f1e1b879417..80d0f1585b837a33bcc62530458494f43650e493 100644 (file)
@@ -47,7 +47,7 @@
                };
 
                timer: timer@100 {
-                       compatible = "ralink,rt3050-timer", "ralink,rt2880-timer";
+                       compatible = "ralink,rt2880-timer";
                        reg = <0x100 0x20>;
 
                        clocks = <&sysc 3>;
@@ -57,7 +57,7 @@
                };
 
                watchdog: watchdog@120 {
-                       compatible = "ralink,rt3050-wdt", "ralink,rt2880-wdt";
+                       compatible = "ralink,rt2880-wdt";
                        reg = <0x120 0x10>;
 
                        clocks = <&sysc 4>;
@@ -70,7 +70,7 @@
                };
 
                intc: intc@200 {
-                       compatible = "ralink,rt3050-intc", "ralink,rt2880-intc";
+                       compatible = "ralink,rt2880-intc";
                        reg = <0x200 0x100>;
 
                        interrupt-controller;
@@ -89,7 +89,7 @@
                };
 
                uart: uart@500 {
-                       compatible = "ralink,rt3050-uart", "ralink,rt2880-uart", "ns16550a";
+                       compatible = "ralink,rt3052-uart", "ralink,rt2880-uart", "ns16550a";
                        reg = <0x500 0x100>;
 
                        clocks = <&sysc 5>;
                };
 
                gpio0: gpio@600 {
-                       compatible = "ralink,rt3050-gpio", "ralink,rt2880-gpio";
+                       compatible = "ralink,rt2880-gpio";
                        reg = <0x600 0x34>;
 
                        gpio-controller;
                };
 
                gpio1: gpio@638 {
-                       compatible = "ralink,rt3050-gpio", "ralink,rt2880-gpio";
+                       compatible = "ralink,rt2880-gpio";
                        reg = <0x638 0x24>;
 
                        gpio-controller;
                };
 
                gpio2: gpio@660 {
-                       compatible = "ralink,rt3050-gpio", "ralink,rt2880-gpio";
+                       compatible = "ralink,rt2880-gpio";
                        reg = <0x660 0x24>;
 
                        gpio-controller;
                };
 
                spi0: spi@b00 {
-                       compatible = "ralink,rt3050-spi", "ralink,rt2880-spi";
+                       compatible = "ralink,rt2880-spi";
                        reg = <0xb00 0x100>;
 
                        resets = <&sysc 18>;
                };
 
                uartlite: uartlite@c00 {
-                       compatible = "ralink,rt3050-uart", "ralink,rt2880-uart", "ns16550a";
+                       compatible = "ralink,rt3052-uart", "ralink,rt2880-uart", "ns16550a";
                        reg = <0xc00 0x100>;
 
                        clocks = <&sysc 10>;
index b4829cb1b17e3171c70996d13733f34c0f972dca..0690589e5d34072588837f99496c92972f9e2b88 100644 (file)
@@ -48,7 +48,7 @@
                };
 
                timer: timer@100 {
-                       compatible = "ralink,rt3352-timer", "ralink,rt2880-timer";
+                       compatible = "ralink,rt2880-timer";
                        reg = <0x100 0x20>;
 
                        clocks = <&sysc 4>;
@@ -58,7 +58,7 @@
                };
 
                watchdog: watchdog@120 {
-                       compatible = "ralink,rt3352-wdt", "ralink,rt2880-wdt";
+                       compatible = "ralink,rt2880-wdt";
                        reg = <0x120 0x10>;
 
                        clocks = <&sysc 5>;
@@ -71,7 +71,7 @@
                };
 
                intc: intc@200 {
-                       compatible = "ralink,rt3352-intc", "ralink,rt2880-intc";
+                       compatible = "ralink,rt2880-intc";
                        reg = <0x200 0x100>;
 
                        interrupt-controller;
@@ -82,7 +82,7 @@
                };
 
                memc: memc@300 {
-                       compatible = "ralink,rt3352-memc", "ralink,rt3050-memc";
+                       compatible = "ralink,rt3050-memc";
                        reg = <0x300 0x100>;
 
                        interrupt-parent = <&intc>;
@@ -90,7 +90,7 @@
                };
 
                uart: uart@500 {
-                       compatible = "ralink,rt3352-uart", "ralink,rt2880-uart", "ns16550a";
+                       compatible = "ralink,rt3052-uart", "ralink,rt2880-uart", "ns16550a";
                        reg = <0x500 0x100>;
 
                        clocks = <&sysc 6>;
                };
 
                gpio0: gpio@600 {
-                       compatible = "ralink,rt3352-gpio", "ralink,rt2880-gpio";
+                       compatible = "ralink,rt2880-gpio";
                        reg = <0x600 0x34>;
 
                        gpio-controller;
                };
 
                gpio1: gpio@638 {
-                       compatible = "ralink,rt3352-gpio", "ralink,rt2880-gpio";
+                       compatible = "ralink,rt2880-gpio";
                        reg = <0x638 0x24>;
 
                        gpio-controller;
                };
 
                gpio2: gpio@660 {
-                       compatible = "ralink,rt3352-gpio", "ralink,rt2880-gpio";
+                       compatible = "ralink,rt2880-gpio";
                        reg = <0x660 0x24>;
 
                        gpio-controller;
                };
 
                spi0: spi@b00 {
-                       compatible = "ralink,rt3352-spi", "ralink,rt2880-spi";
+                       compatible = "ralink,rt2880-spi";
                        reg = <0xb00 0x40>;
                        #address-cells = <1>;
                        #size-cells = <0>;
                };
 
                spi1: spi@b40 {
-                       compatible = "ralink,rt3352-spi", "ralink,rt2880-spi";
+                       compatible = "ralink,rt2880-spi";
                        reg = <0xb40 0x60>;
                        #address-cells = <1>;
                        #size-cells = <0>;
                };
 
                uartlite: uartlite@c00 {
-                       compatible = "ralink,rt3352-uart", "ralink,rt2880-uart", "ns16550a";
+                       compatible = "ralink,rt3052-uart", "ralink,rt2880-uart", "ns16550a";
                        reg = <0xc00 0x100>;
 
                        clocks = <&sysc 11>;
        };
 
        ethernet: ethernet@10100000 {
-               compatible = "ralink,rt3352-eth", "ralink,rt3050-eth";
+               compatible = "ralink,rt3050-eth";
                reg = <0x10100000 0x10000>;
 
                clocks = <&sysc 12>;
        };
 
        esw: esw@10110000 {
-               compatible = "ralink,rt3352-esw", "ralink,rt3050-esw";
+               compatible = "ralink,rt3050-esw";
                reg = <0x10110000 0x8000>;
 
                resets = <&sysc 24>;
index 8c76eb663100f8413b75a746e7e073658564fd1d..d2557d4559f3d5c678abbde17391033fcad6c184 100644 (file)
@@ -48,7 +48,7 @@
                };
 
                timer: timer@100 {
-                       compatible = "ralink,rt3883-timer", "ralink,rt2880-timer";
+                       compatible = "ralink,rt2880-timer";
                        reg = <0x100 0x20>;
 
                        clocks = <&sysc 3>;
@@ -58,7 +58,7 @@
                };
 
                watchdog: watchdog@120 {
-                       compatible = "ralink,rt3883-wdt", "ralink,rt2880-wdt";
+                       compatible = "ralink,rt2880-wdt";
                        reg = <0x120 0x10>;
 
                        clocks = <&sysc 4>;
@@ -71,7 +71,7 @@
                };
 
                intc: intc@200 {
-                       compatible = "ralink,rt3883-intc", "ralink,rt2880-intc";
+                       compatible = "ralink,rt2880-intc";
                        reg = <0x200 0x100>;
 
                        interrupt-controller;
                };
 
                gpio0: gpio@600 {
-                       compatible = "ralink,rt3883-gpio", "ralink,rt2880-gpio";
+                       compatible = "ralink,rt2880-gpio";
                        reg = <0x600 0x34>;
 
                        interrupt-parent = <&intc>;
                };
 
                gpio1: gpio@638 {
-                       compatible = "ralink,rt3883-gpio", "ralink,rt2880-gpio";
+                       compatible = "ralink,rt2880-gpio";
                        reg = <0x638 0x24>;
 
                        gpio-controller;
                };
 
                gpio2: gpio@660 {
-                       compatible = "ralink,rt3883-gpio", "ralink,rt2880-gpio";
+                       compatible = "ralink,rt2880-gpio";
                        reg = <0x660 0x24>;
 
                        gpio-controller;
                };
 
                gpio3: gpio@688 {
-                       compatible = "ralink,rt3883-gpio", "ralink,rt2880-gpio";
+                       compatible = "ralink,rt2880-gpio";
                        reg = <0x688 0x24>;
 
                        gpio-controller;
                };
 
                spi0: spi@b00 {
-                       compatible = "ralink,rt3883-spi", "ralink,rt2880-spi";
+                       compatible = "ralink,rt2880-spi";
                        reg = <0xb00 0x40>;
                        #address-cells = <1>;
                        #size-cells = <0>;
                };
 
                spi1: spi@b40 {
-                       compatible = "ralink,rt3883-spi", "ralink,rt2880-spi";
+                       compatible = "ralink,rt2880-spi";
                        reg = <0xb40 0x60>;
                        #address-cells = <1>;
                        #size-cells = <0>;
                interrupts = <5>;
 
                port@0 {
-                       compatible = "ralink,rt3883-port", "mediatek,eth-port";
+                       compatible = "mediatek,eth-port";
                        reg = <0>;
                };
 
index 30f64358423eb0101cb02e4878f1f472dbeb4f68..6b5429180043f835ecbef664b86afd8f3db22fcb 100644 (file)
@@ -48,7 +48,7 @@
                };
 
                timer: timer@100 {
-                       compatible = "ralink,rt5350-timer", "ralink,rt2880-timer";
+                       compatible = "ralink,rt2880-timer";
                        reg = <0x100 0x20>;
 
                        clocks = <&sysc 4>;
@@ -58,7 +58,7 @@
                };
 
                watchdog: watchdog@120 {
-                       compatible = "ralink,rt5350-wdt", "ralink,rt2880-wdt";
+                       compatible = "ralink,rt2880-wdt";
                        reg = <0x120 0x10>;
 
                        clocks = <&sysc 5>;
@@ -71,7 +71,7 @@
                };
 
                intc: intc@200 {
-                       compatible = "ralink,rt5350-intc", "ralink,rt2880-intc";
+                       compatible = "ralink,rt2880-intc";
                        reg = <0x200 0x100>;
 
                        interrupt-controller;
@@ -90,7 +90,7 @@
                };
 
                uart: uart@500 {
-                       compatible = "ralink,rt5350-uart", "ralink,rt2880-uart", "ns16550a";
+                       compatible = "ralink,rt3052-uart", "ralink,rt2880-uart", "ns16550a";
                        reg = <0x500 0x100>;
 
                        clocks = <&sysc 6>;
                };
 
                gpio0: gpio@600 {
-                       compatible = "ralink,rt5350-gpio", "ralink,rt2880-gpio";
+                       compatible = "ralink,rt2880-gpio";
                        reg = <0x600 0x34>;
 
                        interrupt-parent = <&intc>;
                };
 
                gpio1: gpio@660 {
-                       compatible = "ralink,rt5350-gpio", "ralink,rt2880-gpio";
+                       compatible = "ralink,rt2880-gpio";
                        reg = <0x660 0x24>;
 
                        interrupt-parent = <&intc>;
                };
 
                spi0: spi@b00 {
-                       compatible = "ralink,rt5350-spi", "ralink,rt2880-spi";
+                       compatible = "ralink,rt2880-spi";
                        reg = <0xb00 0x40>;
 
                        clocks = <&sysc 9>;
                };
 
                spi1: spi@b40 {
-                       compatible = "ralink,rt5350-spi", "ralink,rt2880-spi";
+                       compatible = "ralink,rt2880-spi";
                        reg = <0xb40 0x60>;
 
                        clocks = <&sysc 10>;
                };
 
                uartlite: uartlite@c00 {
-                       compatible = "ralink,rt5350-uart", "ralink,rt2880-uart", "ns16550a";
+                       compatible = "ralink,rt3052-uart", "ralink,rt2880-uart", "ns16550a";
                        reg = <0xc00 0x100>;
 
                        clocks = <&sysc 11>;
        };
 
        esw: esw@10110000 {
-               compatible = "ralink,rt5350-esw", "ralink,rt3050-esw";
+               compatible = "ralink,rt3050-esw";
                reg = <0x10110000 0x8000>;
 
                resets = <&sysc 24>;
index 93dabf877626d07f24f5cbbb687bb6300efbed3e..976029c18ceb4dae38f260b38f9becdc52c2a053 100644 (file)
@@ -40,7 +40,7 @@ Cc: linux-gpio@vger.kernel.org
 +Example:
 +
 +      gpio0: gpio@600 {
-+              compatible = "ralink,rt5350-gpio", "ralink,rt2880-gpio";
++              compatible = "ralink,rt2880-gpio";
 +
 +              #gpio-cells = <2>;
 +              gpio-controller;