From 693c8fb0e3a3d4d1ae37df3c075f76a5a0426f7e Mon Sep 17 00:00:00 2001 From: Luo chongjun Date: Fri, 22 Feb 2019 19:46:37 +0800 Subject: [PATCH] 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 --- target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi | 3 ++- target/linux/ath79/dts/qca9531_glinet_gl-x750.dts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi b/target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi index fe986bdde0b..55002b44e3f 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 f8a511933c0..79cd51673ab 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 { -- 2.30.2