summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--target/linux/ath79/dts/ar7241_tplink.dtsi7
1 files changed, 3 insertions, 4 deletions
diff --git a/target/linux/ath79/dts/ar7241_tplink.dtsi b/target/linux/ath79/dts/ar7241_tplink.dtsi
index 84a9a4f63d..0861cc6232 100644
--- a/target/linux/ath79/dts/ar7241_tplink.dtsi
+++ b/target/linux/ath79/dts/ar7241_tplink.dtsi
@@ -94,18 +94,17 @@
};
};
-&eth0 {
+&eth0 { /* WAN interface, initialized last as eth1 */
status = "okay";
nvmem-cells = <&macaddr_uboot_1fc00>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <(-1)>;
+ mac-address-increment = <1>;
};
-&eth1 {
+&eth1 { /* LAN interface, initialized first as eth0 */
nvmem-cells = <&macaddr_uboot_1fc00>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <1>;
};
&uboot {