ath79: move eth0 to parent DTSI for ar9344 TP-Link CPE devices

The &eth0 node is the same for all TP-Link CPE devices in ar9344,
so move it to parent DTSI. While at it, do some minor DTS
harmonizations.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
master
Adrian Schmutzler 5 years ago
parent bae0d47f2e
commit 15dc60e727

@ -41,16 +41,8 @@
}; };
}; };
&eth0 {
status = "okay";
mtd-mac-address = <&info 0x08>;
phy-mode = "mii";
phy-handle = <&swphy4>;
};
&eth1 { &eth1 {
status = "okay"; status = "okay";
compatible = "syscon", "simple-mfd"; compatible = "syscon", "simple-mfd";
}; };

@ -29,15 +29,6 @@
}; };
}; };
&eth0 {
status = "okay";
mtd-mac-address = <&info 0x08>;
phy-mode = "mii";
phy-handle = <&swphy4>;
};
&eth1 { &eth1 {
status = "okay"; status = "okay";

@ -72,11 +72,3 @@
switch-only-mode = <1>; switch-only-mode = <1>;
}; };
}; };
&eth0 {
status = "okay";
phy-handle = <&swphy4>;
mtd-mac-address = <&info 0x8>;
};

@ -31,10 +31,10 @@
}; };
&spi { &spi {
num-cs = <1>;
status = "okay"; status = "okay";
num-cs = <1>;
flash@0 { flash@0 {
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
@ -103,3 +103,11 @@
mtd-cal-data = <&art 0x1000>; mtd-cal-data = <&art 0x1000>;
mtd-mac-address = <&info 0x08>; mtd-mac-address = <&info 0x08>;
}; };
&eth0 {
status = "okay";
phy-handle = <&swphy4>;
mtd-mac-address = <&info 0x8>;
};

Loading…
Cancel
Save