mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
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>
This commit is contained in:
parent
d44c037a59
commit
aaeb379023
@ -77,7 +77,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&mdio_bus {
|
&mdio_bus {
|
||||||
switch: switch@0 {
|
switch: switch@1f {
|
||||||
compatible = "mediatek,mt7531";
|
compatible = "mediatek,mt7531";
|
||||||
reg = <31>;
|
reg = <31>;
|
||||||
reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;
|
reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;
|
||||||
|
@ -90,7 +90,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&mdio_bus {
|
&mdio_bus {
|
||||||
switch: switch@0 {
|
switch: switch@1f {
|
||||||
compatible = "mediatek,mt7531";
|
compatible = "mediatek,mt7531";
|
||||||
reg = <31>;
|
reg = <31>;
|
||||||
reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;
|
reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;
|
||||||
|
@ -112,7 +112,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&mdio_bus {
|
&mdio_bus {
|
||||||
switch: switch@0 {
|
switch: switch@1f {
|
||||||
compatible = "mediatek,mt7531";
|
compatible = "mediatek,mt7531";
|
||||||
reg = <31>;
|
reg = <31>;
|
||||||
reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;
|
reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;
|
||||||
|
@ -81,7 +81,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&mdio_bus {
|
&mdio_bus {
|
||||||
switch: switch@0 {
|
switch: switch@1f {
|
||||||
compatible = "mediatek,mt7531";
|
compatible = "mediatek,mt7531";
|
||||||
reg = <31>;
|
reg = <31>;
|
||||||
reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;
|
reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;
|
||||||
|
@ -72,7 +72,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&mdio_bus {
|
&mdio_bus {
|
||||||
switch: switch@0 {
|
switch: switch@1f {
|
||||||
compatible = "mediatek,mt7531";
|
compatible = "mediatek,mt7531";
|
||||||
reg = <31>;
|
reg = <31>;
|
||||||
reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;
|
reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;
|
||||||
|
@ -74,7 +74,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&mdio_bus {
|
&mdio_bus {
|
||||||
switch: switch@0 {
|
switch: switch@1f {
|
||||||
compatible = "mediatek,mt7531";
|
compatible = "mediatek,mt7531";
|
||||||
reg = <31>;
|
reg = <31>;
|
||||||
reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;
|
reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;
|
||||||
|
@ -86,7 +86,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&mdio_bus {
|
&mdio_bus {
|
||||||
switch: switch@0 {
|
switch: switch@1f {
|
||||||
compatible = "mediatek,mt7531";
|
compatible = "mediatek,mt7531";
|
||||||
reg = <31>;
|
reg = <31>;
|
||||||
reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;
|
reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;
|
||||||
|
@ -229,7 +229,7 @@
|
|||||||
mxl,led-config = <0x0 0x0 0x370 0x80>;
|
mxl,led-config = <0x0 0x0 0x370 0x80>;
|
||||||
};
|
};
|
||||||
|
|
||||||
switch: switch@0 {
|
switch: switch@1f {
|
||||||
compatible = "mediatek,mt7531";
|
compatible = "mediatek,mt7531";
|
||||||
reg = <31>;
|
reg = <31>;
|
||||||
|
|
||||||
|
@ -136,7 +136,7 @@
|
|||||||
mxl,led-config = <0x03f0 0x0 0x0 0x0>;
|
mxl,led-config = <0x03f0 0x0 0x0 0x0>;
|
||||||
};
|
};
|
||||||
|
|
||||||
switch: switch@0 {
|
switch: switch@1f {
|
||||||
compatible = "mediatek,mt7531";
|
compatible = "mediatek,mt7531";
|
||||||
reg = <31>;
|
reg = <31>;
|
||||||
|
|
||||||
|
@ -142,7 +142,7 @@
|
|||||||
mxl,led-config = <0x03f0 0x0 0x0 0x0>;
|
mxl,led-config = <0x03f0 0x0 0x0 0x0>;
|
||||||
};
|
};
|
||||||
|
|
||||||
switch: switch@0 {
|
switch: switch@1f {
|
||||||
compatible = "mediatek,mt7531";
|
compatible = "mediatek,mt7531";
|
||||||
reg = <31>;
|
reg = <31>;
|
||||||
|
|
||||||
|
@ -122,7 +122,7 @@
|
|||||||
realtek,aldps-enable;
|
realtek,aldps-enable;
|
||||||
};
|
};
|
||||||
|
|
||||||
switch: switch@31 {
|
switch: switch@1f {
|
||||||
compatible = "mediatek,mt7531";
|
compatible = "mediatek,mt7531";
|
||||||
reg = <31>;
|
reg = <31>;
|
||||||
reset-gpios = <&pio 18 GPIO_ACTIVE_HIGH>;
|
reset-gpios = <&pio 18 GPIO_ACTIVE_HIGH>;
|
||||||
|
@ -141,7 +141,7 @@
|
|||||||
realtek,aldps-enable;
|
realtek,aldps-enable;
|
||||||
};
|
};
|
||||||
|
|
||||||
switch: switch@31 {
|
switch: switch@1f {
|
||||||
compatible = "mediatek,mt7531";
|
compatible = "mediatek,mt7531";
|
||||||
reg = <31>;
|
reg = <31>;
|
||||||
reset-gpios = <&pio 5 GPIO_ACTIVE_HIGH>;
|
reset-gpios = <&pio 5 GPIO_ACTIVE_HIGH>;
|
||||||
|
@ -72,7 +72,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&mdio {
|
&mdio {
|
||||||
switch: switch@0 {
|
switch: switch@1f {
|
||||||
compatible = "mediatek,mt7531";
|
compatible = "mediatek,mt7531";
|
||||||
reg = <31>;
|
reg = <31>;
|
||||||
reset-gpios = <&pio 5 GPIO_ACTIVE_HIGH>;
|
reset-gpios = <&pio 5 GPIO_ACTIVE_HIGH>;
|
||||||
|
@ -199,7 +199,7 @@
|
|||||||
reg = <6>;
|
reg = <6>;
|
||||||
};
|
};
|
||||||
|
|
||||||
switch@0 {
|
switch@1f {
|
||||||
compatible = "mediatek,mt7531";
|
compatible = "mediatek,mt7531";
|
||||||
reg = <31>;
|
reg = <31>;
|
||||||
reset-gpios = <&pio 5 GPIO_ACTIVE_HIGH>;
|
reset-gpios = <&pio 5 GPIO_ACTIVE_HIGH>;
|
||||||
|
@ -120,7 +120,7 @@
|
|||||||
reg = <6>;
|
reg = <6>;
|
||||||
};
|
};
|
||||||
|
|
||||||
switch: switch@0 {
|
switch: switch@1f {
|
||||||
compatible = "mediatek,mt7531";
|
compatible = "mediatek,mt7531";
|
||||||
reg = <31>;
|
reg = <31>;
|
||||||
reset-gpios = <&pio 5 GPIO_ACTIVE_HIGH>;
|
reset-gpios = <&pio 5 GPIO_ACTIVE_HIGH>;
|
||||||
|
@ -200,7 +200,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&mdio {
|
&mdio {
|
||||||
switch: switch@31 {
|
switch: switch@1f {
|
||||||
compatible = "mediatek,mt7531";
|
compatible = "mediatek,mt7531";
|
||||||
reg = <31>;
|
reg = <31>;
|
||||||
interrupt-controller;
|
interrupt-controller;
|
||||||
|
@ -99,7 +99,7 @@
|
|||||||
reg = <6>;
|
reg = <6>;
|
||||||
};
|
};
|
||||||
|
|
||||||
switch: switch@0 {
|
switch: switch@1f {
|
||||||
compatible = "mediatek,mt7531";
|
compatible = "mediatek,mt7531";
|
||||||
reg = <31>;
|
reg = <31>;
|
||||||
reset-gpios = <&pio 5 0>;
|
reset-gpios = <&pio 5 0>;
|
||||||
|
@ -108,7 +108,7 @@
|
|||||||
phy-mode = "2500base-x";
|
phy-mode = "2500base-x";
|
||||||
};
|
};
|
||||||
|
|
||||||
switch@0 {
|
switch@1f {
|
||||||
compatible = "mediatek,mt7531";
|
compatible = "mediatek,mt7531";
|
||||||
reg = <31>;
|
reg = <31>;
|
||||||
reset-gpios = <&pio 5 0>;
|
reset-gpios = <&pio 5 0>;
|
||||||
|
@ -99,7 +99,7 @@
|
|||||||
reg = <6>;
|
reg = <6>;
|
||||||
};
|
};
|
||||||
|
|
||||||
switch: switch@0 {
|
switch: switch@1f {
|
||||||
compatible = "mediatek,mt7531";
|
compatible = "mediatek,mt7531";
|
||||||
reg = <31>;
|
reg = <31>;
|
||||||
reset-gpios = <&pio 5 0>;
|
reset-gpios = <&pio 5 0>;
|
||||||
|
@ -405,7 +405,7 @@ Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
|
|||||||
+};
|
+};
|
||||||
+
|
+
|
||||||
+&mdio {
|
+&mdio {
|
||||||
+ switch: switch@31 {
|
+ switch: switch@1f {
|
||||||
+ compatible = "mediatek,mt7531";
|
+ compatible = "mediatek,mt7531";
|
||||||
+ reg = <31>;
|
+ reg = <31>;
|
||||||
+ interrupt-controller;
|
+ interrupt-controller;
|
||||||
|
Loading…
Reference in New Issue
Block a user