From: Luo chongjun Date: Fri, 22 Feb 2019 11:46:37 +0000 (+0800) Subject: ath79: Modify glinet x750 and AR300m MAC address offsets X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=693c8fb0e3a3d4d1ae37df3c075f76a5a0426f7e;p=openwrt%2Fstaging%2Frobimarko.git 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 --- diff --git a/target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi b/target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi index fe986bdde0..55002b44e3 100644 --- a/target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi +++ b/target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi @@ -84,7 +84,8 @@ }; ð1 { - mtd-mac-address = <&art 0x6>; + mtd-mac-address = <&art 0x0>; + mtd-mac-address-increment = <1>; }; &wmac { diff --git a/target/linux/ath79/dts/qca9531_glinet_gl-x750.dts b/target/linux/ath79/dts/qca9531_glinet_gl-x750.dts index f8a511933c..79cd51673a 100644 --- a/target/linux/ath79/dts/qca9531_glinet_gl-x750.dts +++ b/target/linux/ath79/dts/qca9531_glinet_gl-x750.dts @@ -126,7 +126,8 @@ }; ð1 { - mtd-mac-address = <&art 0x6>; + mtd-mac-address = <&art 0x0>; + mtd-mac-address-increment = <1>; }; &wmac {