ath79: fix dsa binding for TP-Link TL-WR941ND v2
upstream changed dt-bindings for marvell 88e6060 to use mdio-device and dropped support for legacy bindings. fix it in our local dts. Fixes: FS#2524 Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
This commit is contained in:
parent
0997342f24
commit
28893f5878
2 changed files with 9 additions and 13 deletions
|
@ -60,19 +60,18 @@
|
||||||
linux,default-trigger = "phy0tpt";
|
linux,default-trigger = "phy0tpt";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
dsa {
|
&mdio0 {
|
||||||
compatible = "marvell,dsa";
|
status = "okay";
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <0>;
|
|
||||||
|
|
||||||
dsa,mii-bus = <&mdio0>;
|
switch@0 {
|
||||||
dsa,ethernet = <ð0>;
|
compatible = "marvell,mv88e6060";
|
||||||
|
reg = <0>;
|
||||||
|
|
||||||
switch@0 {
|
ports {
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
reg = <0>;
|
|
||||||
|
|
||||||
port@0 {
|
port@0 {
|
||||||
reg = <0>;
|
reg = <0>;
|
||||||
|
@ -102,6 +101,7 @@
|
||||||
port@5 {
|
port@5 {
|
||||||
reg = <5>;
|
reg = <5>;
|
||||||
label = "cpu";
|
label = "cpu";
|
||||||
|
ethernet = <ð0>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -145,10 +145,6 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&mdio0 {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
ð0 {
|
ð0 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
|
|
|
@ -443,7 +443,7 @@ define Device/tplink_tl-wr941-v2
|
||||||
TPLINK_HWREV := 2
|
TPLINK_HWREV := 2
|
||||||
SUPPORTED_DEVICES += tl-wr941nd
|
SUPPORTED_DEVICES += tl-wr941nd
|
||||||
endef
|
endef
|
||||||
#TARGET_DEVICES += tplink_tl-wr941-v2
|
TARGET_DEVICES += tplink_tl-wr941-v2
|
||||||
|
|
||||||
define Device/tplink_tl-wr941-v4
|
define Device/tplink_tl-wr941-v4
|
||||||
$(Device/tplink-4m)
|
$(Device/tplink-4m)
|
||||||
|
|
Loading…
Reference in a new issue