mediatek: fiilogic: device tree switch@1f fix

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 aaeb379023)
This commit is contained in:
Rani Hod
2023-11-22 19:38:06 +02:00
committed by Tianling Shen
parent 54cd250981
commit 701dc92f94
22 changed files with 24 additions and 39 deletions

View File

@@ -77,9 +77,6 @@
};
&eth {
pinctrl-names = "default";
pinctrl-0 = <&mdio_pins>;
status = "okay";
gmac0: mac@0 {
@@ -109,7 +106,7 @@
};
&mdio_bus {
switch: switch@0 {
switch: switch@1f {
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;

View File

@@ -61,9 +61,6 @@
};
&eth {
pinctrl-names = "default";
pinctrl-0 = <&mdio_pins>;
status = "okay";
gmac0: mac@0 {
@@ -83,7 +80,7 @@
};
&mdio_bus {
switch: switch@0 {
switch: switch@1f {
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;

View File

@@ -85,7 +85,7 @@
};
&mdio_bus {
switch: switch@0 {
switch: switch@1f {
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;

View 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>;

View File

@@ -112,7 +112,7 @@
};
&mdio_bus {
switch: switch@0 {
switch: switch@1f {
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;

View 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>;

View File

@@ -77,9 +77,6 @@
};
&eth {
pinctrl-names = "default";
pinctrl-0 = <&mdio_pins>;
status = "okay";
gmac0: mac@0 {
@@ -103,7 +100,7 @@
};
&mdio_bus {
switch: switch@0 {
switch: switch@1f {
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;

View File

@@ -59,9 +59,6 @@
};
&eth {
pinctrl-names = "default";
pinctrl-0 = <&mdio_pins>;
status = "okay";
gmac0: mac@0 {
@@ -81,7 +78,7 @@
};
&mdio_bus {
switch: switch@0 {
switch: switch@1f {
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;

View File

@@ -110,7 +110,7 @@
};
&mdio_bus {
switch: switch@0 {
switch: switch@1f {
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;

View File

@@ -58,9 +58,6 @@
};
&eth {
pinctrl-names = "default";
pinctrl-0 = <&mdio_pins>;
status = "okay";
gmac0: mac@0 {
@@ -80,7 +77,7 @@
};
&mdio_bus {
switch: switch@0 {
switch: switch@1f {
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;

View 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>;

View 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>;

View File

@@ -229,7 +229,7 @@
mxl,led-config = <0x0 0x0 0x370 0x80>;
};
switch: switch@0 {
switch: switch@1f {
compatible = "mediatek,mt7531";
reg = <31>;

View File

@@ -136,7 +136,7 @@
mxl,led-config = <0x03f0 0x0 0x0 0x0>;
};
switch: switch@0 {
switch: switch@1f {
compatible = "mediatek,mt7531";
reg = <31>;
@@ -361,4 +361,4 @@
&usb_phy {
status = "okay";
};
};

View File

@@ -142,7 +142,7 @@
mxl,led-config = <0x03f0 0x0 0x0 0x0>;
};
switch: switch@0 {
switch: switch@1f {
compatible = "mediatek,mt7531";
reg = <31>;
@@ -379,4 +379,4 @@
&usb_phy {
status = "okay";
};
};

View File

@@ -122,7 +122,7 @@
realtek,aldps-enable;
};
switch: switch@31 {
switch: switch@1f {
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 18 GPIO_ACTIVE_HIGH>;

View File

@@ -143,7 +143,7 @@
realtek,led-link-select = <0xa7 0x0 0x0>;
};
switch: switch@31 {
switch: switch@1f {
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 5 GPIO_ACTIVE_HIGH>;

View File

@@ -72,7 +72,7 @@
};
&mdio {
switch: switch@0 {
switch: switch@1f {
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 5 GPIO_ACTIVE_HIGH>;

View File

@@ -120,7 +120,7 @@
reg = <6>;
};
switch: switch@0 {
switch: switch@1f {
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 5 GPIO_ACTIVE_HIGH>;

View File

@@ -200,7 +200,7 @@
};
&mdio {
switch: switch@31 {
switch: switch@1f {
compatible = "mediatek,mt7531";
reg = <31>;
interrupt-controller;

View File

@@ -99,7 +99,7 @@
reg = <6>;
};
switch: switch@0 {
switch: switch@1f {
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 5 0>;

View File

@@ -108,7 +108,7 @@
phy-mode = "2500base-x";
};
switch@0 {
switch@1f {
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 5 0>;