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 { &mdio0 {
status = "okay";
compatible = "qca,ar7240-mdio";
builtin-switch; 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 { &eth0 {
@ -43,10 +61,8 @@
resets = <&rst 8>, <&rst 9>; resets = <&rst 8>, <&rst 9>;
reset-names = "phy", "mac"; reset-names = "phy", "mac";
}; phy-mode = "mii";
phy-handle = <&swphy4>;
&mdio1 {
builtin-switch;
}; };
&eth1 { &eth1 {

View file

@ -103,8 +103,6 @@
&eth0 { &eth0 {
status = "okay"; status = "okay";
phy-handle = <&phy4>;
mtd-mac-address = <&uboot 0x1fc00>; mtd-mac-address = <&uboot 0x1fc00>;
mtd-mac-address-increment = <(-1)>; mtd-mac-address-increment = <(-1)>;
}; };
@ -116,15 +114,6 @@
mtd-mac-address-increment = <1>; mtd-mac-address-increment = <1>;
}; };
&mdio0 {
status = "okay";
phy4: ethernet-phy@4 {
reg = <4>;
phy-mode = "mii";
};
};
&pcie { &pcie {
status = "okay"; status = "okay";

View file

@ -123,8 +123,6 @@
&eth0 { &eth0 {
status = "okay"; status = "okay";
phy-handle = <&phy4>;
mtd-mac-address = <&uboot 0x1fc00>; mtd-mac-address = <&uboot 0x1fc00>;
mtd-mac-address-increment = <(-1)>; mtd-mac-address-increment = <(-1)>;
}; };
@ -136,15 +134,6 @@
mtd-mac-address-increment = <1>; mtd-mac-address-increment = <1>;
}; };
&mdio0 {
status = "okay";
phy4: ethernet-phy@4 {
reg = <4>;
phy-mode = "mii";
};
};
&pcie { &pcie {
status = "okay"; status = "okay";