ath79: Modify glinet x750 and AR300m MAC address offsets
authorLuo chongjun <luochongjun@gl-inet.com>
Fri, 22 Feb 2019 11:46:37 +0000 (19:46 +0800)
committerChristian Lamparter <chunkeey@gmail.com>
Thu, 28 Feb 2019 10:32:55 +0000 (11:32 +0100)
In the production of glinet, the MAC address of ethernet port is
only written at the position where the ART area offset address
is 0, and the MAC address of eth1 is added 1 on the basis of eth0.

Signed-off-by: Luo chongjun <luochongjun@gl-inet.com>
target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi
target/linux/ath79/dts/qca9531_glinet_gl-x750.dts

index fe986bdde0b5c12d923e5fd289ab5932265e7e23..55002b44e3f73d72bb29a9c633943d9f0cfe6d18 100644 (file)
@@ -84,7 +84,8 @@
 };
 
 &eth1 {
-       mtd-mac-address = <&art 0x6>;
+       mtd-mac-address = <&art 0x0>;
+       mtd-mac-address-increment = <1>;
 };
 
 &wmac {
index f8a511933c082582e003021582d620e4a5880426..79cd51673abe0079192f978949ab648ecbd8dd8b 100644 (file)
 };
 
 &eth1 {
-       mtd-mac-address = <&art 0x6>;
+       mtd-mac-address = <&art 0x0>;
+       mtd-mac-address-increment = <1>;
 };
 
 &wmac {