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>
20 files changed:
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;
mxl,led-config = <0x0 0x0 0x370 0x80>;
};
mxl,led-config = <0x0 0x0 0x370 0x80>;
};
compatible = "mediatek,mt7531";
reg = <31>;
compatible = "mediatek,mt7531";
reg = <31>;
mxl,led-config = <0x03f0 0x0 0x0 0x0>;
};
mxl,led-config = <0x03f0 0x0 0x0 0x0>;
};
compatible = "mediatek,mt7531";
reg = <31>;
compatible = "mediatek,mt7531";
reg = <31>;
&usb_phy {
status = "okay";
&usb_phy {
status = "okay";
-};
\ No newline at end of file
mxl,led-config = <0x03f0 0x0 0x0 0x0>;
};
mxl,led-config = <0x03f0 0x0 0x0 0x0>;
};
compatible = "mediatek,mt7531";
reg = <31>;
compatible = "mediatek,mt7531";
reg = <31>;
&usb_phy {
status = "okay";
&usb_phy {
status = "okay";
-};
\ No newline at end of file
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 18 GPIO_ACTIVE_HIGH>;
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 18 GPIO_ACTIVE_HIGH>;
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 5 GPIO_ACTIVE_HIGH>;
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 5 GPIO_ACTIVE_HIGH>;
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 5 GPIO_ACTIVE_HIGH>;
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 5 GPIO_ACTIVE_HIGH>;
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 5 GPIO_ACTIVE_HIGH>;
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 5 GPIO_ACTIVE_HIGH>;
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 5 GPIO_ACTIVE_HIGH>;
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 5 GPIO_ACTIVE_HIGH>;
compatible = "mediatek,mt7531";
reg = <31>;
interrupt-controller;
compatible = "mediatek,mt7531";
reg = <31>;
interrupt-controller;
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 5 0>;
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 5 0>;
phy-mode = "2500base-x";
};
phy-mode = "2500base-x";
};
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 5 0>;
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 5 0>;
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 5 0>;
compatible = "mediatek,mt7531";
reg = <31>;
reset-gpios = <&pio 5 0>;
+ compatible = "mediatek,mt7531";
+ reg = <31>;
+ interrupt-controller;
+ compatible = "mediatek,mt7531";
+ reg = <31>;
+ interrupt-controller;