2
0
forked from Ivasoft/openwrt

ath79: ar7240: Update dts for current ag71xx driver

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
This commit is contained in:
Chuanhong Guo
2018-07-17 17:09:14 +08:00
committed by John Crispin
parent f43e8f9004
commit 4e5ba50760
3 changed files with 20 additions and 26 deletions

View File

@@ -33,7 +33,25 @@
};
&mdio0 {
status = "okay";
compatible = "qca,ar7240-mdio";
builtin-switch;
builtin_switch: switch0@1f {
compatible = "qca,ar8216-builtin";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x1f>;
mdio-bus {
swphy4: ethernet-phy@4 {
reg = <4>;
phy-mode = "mii";
};
};
};
};
&eth0 {
@@ -43,10 +61,8 @@
resets = <&rst 8>, <&rst 9>;
reset-names = "phy", "mac";
};
&mdio1 {
builtin-switch;
phy-mode = "mii";
phy-handle = <&swphy4>;
};
&eth1 {