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>
};
&mdio_bus {
- switch: switch@0 {
+ switch: switch@1f {
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;
};
&mdio_bus {
- switch: switch@0 {
+ switch: switch@1f {
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;
};
&mdio_bus {
- switch: switch@0 {
+ switch: switch@1f {
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;
};
&mdio_bus {
- switch: switch@0 {
+ switch: switch@1f {
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;
};
&mdio_bus {
- switch: switch@0 {
+ switch: switch@1f {
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;
};
&mdio_bus {
- switch: switch@0 {
+ switch: switch@1f {
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;
};
&mdio_bus {
- switch: switch@0 {
+ switch: switch@1f {
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;
mxl,led-config = <0x0 0x0 0x370 0x80>;
};
- switch: switch@0 {
+ switch: switch@1f {
compatible = "mediatek,mt7531";
reg = <31>;
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
+};
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
+};
realtek,aldps-enable;
};
- switch: switch@31 {
+ switch: switch@1f {
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 18 GPIO_ACTIVE_HIGH>;
realtek,aldps-enable;
};
- switch: switch@31 {
+ switch: switch@1f {
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 5 GPIO_ACTIVE_HIGH>;
};
&mdio {
- switch: switch@0 {
+ switch: switch@1f {
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 5 GPIO_ACTIVE_HIGH>;
reg = <6>;
};
- switch@0 {
+ switch@1f {
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 5 GPIO_ACTIVE_HIGH>;
reg = <6>;
};
- switch: switch@0 {
+ switch: switch@1f {
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 5 GPIO_ACTIVE_HIGH>;
};
&mdio {
- switch: switch@31 {
+ switch: switch@1f {
compatible = "mediatek,mt7531";
reg = <31>;
interrupt-controller;
reg = <6>;
};
- switch: switch@0 {
+ switch: switch@1f {
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 5 0>;
phy-mode = "2500base-x";
};
- switch@0 {
+ switch@1f {
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 5 0>;
reg = <6>;
};
- switch: switch@0 {
+ switch: switch@1f {
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 5 0>;
+};
+
+&mdio {
-+ switch: switch@31 {
++ switch: switch@1f {
+ compatible = "mediatek,mt7531";
+ reg = <31>;
+ interrupt-controller;