Browse Source

ath79: Modify glinet x750 and AR300m MAC address offsets

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 <[email protected]>
Luo chongjun 6 years ago
parent
commit
693c8fb0e3

+ 2 - 1
target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi

@@ -84,7 +84,8 @@
 };
 
 &eth1 {
-	mtd-mac-address = <&art 0x6>;
+	mtd-mac-address = <&art 0x0>;
+	mtd-mac-address-increment = <1>;
 };
 
 &wmac {

+ 2 - 1
target/linux/ath79/dts/qca9531_glinet_gl-x750.dts

@@ -126,7 +126,8 @@
 };
 
 &eth1 {
-	mtd-mac-address = <&art 0x6>;
+	mtd-mac-address = <&art 0x0>;
+	mtd-mac-address-increment = <1>;
 };
 
 &wmac {