mediatek: fiilogic: device tree `switch@1f` fix
authorRani Hod <rani.hod@gmail.com>
Wed, 22 Nov 2023 17:38:06 +0000 (19:38 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Tue, 12 Dec 2023 08:54:52 +0000 (09:54 +0100)
Quite a few `fiilogic` devices use the `mt7531` switch.
Some of them have a DT node that looks like:
```
switch: switch@0 {
compatible = "mediatek,mt7531";
reg = <31>;
...
};
```
This commit changes the DT node name to `switch@1f`.

Signed-off-by: Rani Hod <rani.hod@gmail.com>
(cherry picked from commit aaeb379023daf9720303884f61748fe362b0a237)

18 files changed:
target/linux/mediatek/dts/mt7981b-cetron-ct3003.dts
target/linux/mediatek/dts/mt7981b-cmcc-rax3000m.dts
target/linux/mediatek/dts/mt7981b-cudy-wr3000-v1.dts
target/linux/mediatek/dts/mt7981b-h3c-magic-nx30-pro.dts
target/linux/mediatek/dts/mt7981b-jcg-q30-pro.dts
target/linux/mediatek/dts/mt7981b-qihoo-360t7.dts
target/linux/mediatek/dts/mt7981b-xiaomi-mi-router-wr30u.dtsi
target/linux/mediatek/dts/mt7986a-acer-predator-w6.dts
target/linux/mediatek/dts/mt7986a-asus-tuf-ax4200.dts
target/linux/mediatek/dts/mt7986a-asus-tuf-ax6000.dts
target/linux/mediatek/dts/mt7986a-glinet-gl-mt6000.dts
target/linux/mediatek/dts/mt7986a-tplink-tl-xdr-common.dtsi
target/linux/mediatek/dts/mt7986a-xiaomi-redmi-router-ax6000.dtsi
target/linux/mediatek/dts/mt7986a-zyxel-ex5601-t0-stock.dts
target/linux/mediatek/dts/mt7986b-mercusys-mr90x-v1.dts
target/linux/mediatek/files-5.15/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts
target/linux/mediatek/files-5.15/arch/arm64/boot/dts/mediatek/mt7986a-rfb.dtsi
target/linux/mediatek/files-5.15/arch/arm64/boot/dts/mediatek/mt7986b-rfb.dts

index d39083ffb0d61473d894542d50489f61c043e8d0..ae4404466e8e64cc011936c7efeb74003278ddd5 100644 (file)
@@ -77,7 +77,7 @@
 };
 
 &mdio_bus {
-       switch: switch@0 {
+       switch: switch@1f {
                compatible = "mediatek,mt7531";
                reg = <31>;
                reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;
index e9c850e85b0172a4c6c3194c6a735f646c9d923d..3f330f40fae43e946d3235367dd87a6781509258 100644 (file)
@@ -90,7 +90,7 @@
 };
 
 &mdio_bus {
-       switch: switch@0 {
+       switch: switch@1f {
                compatible = "mediatek,mt7531";
                reg = <31>;
                reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;
index 7975d247b15f2e12e0a5458a4925f7ee50644b4d..56e90b172289c2f9e24e4543758ec8fc926243ca 100644 (file)
 };
 
 &mdio_bus {
-       switch: switch@0 {
+       switch: switch@1f {
                compatible = "mediatek,mt7531";
                reg = <31>;
                reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;
index 671e1f1839ab4973c9673e024d4d4ca799b745d7..de702d4a534c6f0e4f1faf831ea098359fc7889a 100644 (file)
@@ -81,7 +81,7 @@
 };
 
 &mdio_bus {
-       switch: switch@0 {
+       switch: switch@1f {
                compatible = "mediatek,mt7531";
                reg = <31>;
                reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;
index adb86d9ebd06ff5d8dc26b12f6a5a499c1118e81..d85c6e46510b2fd40c5ae2600db223bdbf6c092f 100644 (file)
@@ -72,7 +72,7 @@
 };
 
 &mdio_bus {
-       switch: switch@0 {
+       switch: switch@1f {
                compatible = "mediatek,mt7531";
                reg = <31>;
                reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;
index d897697ef2331e8acde39959f8cf2f74364caa96..cd6f6b30c3efedb209282556371eea4de64f0fc1 100644 (file)
@@ -74,7 +74,7 @@
 };
 
 &mdio_bus {
-       switch: switch@0 {
+       switch: switch@1f {
                compatible = "mediatek,mt7531";
                reg = <31>;
                reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;
index 7ab94f36230c2a411df3dee4528768b335db21c1..d09ae2a3e781110a989568e0ffecfbdd3aad3645 100644 (file)
@@ -86,7 +86,7 @@
 };
 
 &mdio_bus {
-       switch: switch@0 {
+       switch: switch@1f {
                compatible = "mediatek,mt7531";
                reg = <31>;
                reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;
index 35a2c30bb454768305f8b3097240229d561bdcd8..6bff786558be9ec2fd2218b30f8c019dc92a406e 100644 (file)
                mxl,led-config = <0x0 0x0 0x370 0x80>;
        };
 
-       switch: switch@0 {
+       switch: switch@1f {
                compatible = "mediatek,mt7531";
                reg = <31>;
 
index ac854f10d13ae505bd0f7ae9a3750ce1aa48fb81..2af18958bc517f35a4c588cd3cad7d9c799eaf96 100644 (file)
                mxl,led-config = <0x03f0 0x0 0x0 0x0>;
        };
 
-       switch: switch@0 {
+       switch: switch@1f {
                compatible = "mediatek,mt7531";
                reg = <31>;
 
 
 &usb_phy {
        status = "okay";
-};
\ No newline at end of file
+};
index 2e9114f99c013e5705f65a5ada453e2682e536db..41e6d2471d09f68c3c7ea301b1fe39cdab14616e 100644 (file)
                mxl,led-config = <0x03f0 0x0 0x0 0x0>;
        };
 
-       switch: switch@0 {
+       switch: switch@1f {
                compatible = "mediatek,mt7531";
                reg = <31>;
 
 
 &usb_phy {
        status = "okay";
-};
\ No newline at end of file
+};
index 2be1907f632f12dfcfc9bc276298d9534c5508b5..fded507039b26910859b25377ed166d7c5b42018 100644 (file)
                        realtek,aldps-enable;
                };
 
-               switch: switch@31 {
+               switch: switch@1f {
                        compatible = "mediatek,mt7531";
                        reg = <31>;
                        reset-gpios = <&pio 18 GPIO_ACTIVE_HIGH>;
index a1910e36d24b6c656415da5f41f2c9ead94db63d..ddf332a0dcc0086268ec6f83c507a2eae2971236 100644 (file)
                realtek,aldps-enable;
        };
 
-       switch: switch@31 {
+       switch: switch@1f {
                compatible = "mediatek,mt7531";
                reg = <31>;
                reset-gpios = <&pio 5 GPIO_ACTIVE_HIGH>;
index a9b44f8df99f4ca83ac0ab1a5c934ff9a7cf1f3a..b2711eb7d7ddab3e0c05db1c0633f16338f25a08 100644 (file)
@@ -72,7 +72,7 @@
 };
 
 &mdio {
-       switch: switch@0 {
+       switch: switch@1f {
                compatible = "mediatek,mt7531";
                reg = <31>;
                reset-gpios = <&pio 5 GPIO_ACTIVE_HIGH>;
index 2469d3d77d1f12fd72fdf86e7aec18fafd54f98b..331150d85db6a472d04bbe09a809abf805e4b85a 100644 (file)
                        reg = <6>;
                };
 
-               switch@0 {
+               switch@1f {
                        compatible = "mediatek,mt7531";
                        reg = <31>;
                        reset-gpios = <&pio 5 GPIO_ACTIVE_HIGH>;
index 89ec613a8d9c3fed9359c74176734362e3024f8a..42250be19ac84548d32d1d6237e994bda18ba8c5 100644 (file)
                reg = <6>;
        };
 
-       switch: switch@0 {
+       switch: switch@1f {
                compatible = "mediatek,mt7531";
                reg = <31>;
                reset-gpios = <&pio 5 GPIO_ACTIVE_HIGH>;
index 1d3c575b7d4c4233cce890f4cdc1a746a796d969..d326c416a9d3aee66c6d6305b4cc031339f6ada2 100644 (file)
 };
 
 &mdio {
-       switch: switch@31 {
+       switch: switch@1f {
                compatible = "mediatek,mt7531";
                reg = <31>;
                interrupt-controller;
index 1ab56e37f741cdb697b0962dd3b83f892794137c..26d560bd4bcb11b1fce82aec0a97ae1842037cdb 100644 (file)
@@ -99,7 +99,7 @@
                reg = <6>;
        };
 
-       switch: switch@0 {
+       switch: switch@1f {
                compatible = "mediatek,mt7531";
                reg = <31>;
                reset-gpios = <&pio 5 0>;
index 83d51916717fb96cdf9aba5f386d0fe9cd69154e..8cd094f7c3eeb1ef26d019131e4a7315b83335b7 100644 (file)
                        phy-mode = "2500base-x";
                };
 
-               switch@0 {
+               switch@1f {
                        compatible = "mediatek,mt7531";
                        reg = <31>;
                        reset-gpios = <&pio 5 0>;