From 4b9882eb920a5d74e2c12a75d9399d00c55d39b9 Mon Sep 17 00:00:00 2001 From: INAGAKI Hiroshi Date: Thu, 27 Sep 2018 12:47:43 +0900 Subject: [PATCH] ath79: fix MAC address for Buffalo BHR-4GRV I added mtd-mac-address for WZR-HP-G450H and BHR-4GRV in 1df1ea4d7e8b6ae3351780ed58800ccd9edd4c27, but that address in ART is incorrect for BHR-4GRV. WZR-HP-G450H has wlan eeprom and MAC address in ART, but BHR-4GRV has only MAC address in ART. - WZR-HP-G450H - eeprom: 0x1000 - MAC: 0x1002 - BHR-4GRV - MAC: 0x0 Signed-off-by: INAGAKI Hiroshi --- target/linux/ath79/dts/ar7242_buffalo_bhr-4grv.dts | 4 ++++ target/linux/ath79/dts/ar7242_buffalo_wzr-bhr.dtsi | 2 -- target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g450h.dts | 4 ++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/target/linux/ath79/dts/ar7242_buffalo_bhr-4grv.dts b/target/linux/ath79/dts/ar7242_buffalo_bhr-4grv.dts index 7ce9f6497f..d2f40e5565 100644 --- a/target/linux/ath79/dts/ar7242_buffalo_bhr-4grv.dts +++ b/target/linux/ath79/dts/ar7242_buffalo_bhr-4grv.dts @@ -8,6 +8,10 @@ model = "Buffalo BHR-4GRV"; }; +ð0 { + mtd-mac-address = <&ART 0x0>; +}; + &sec_vpn { label = "buffalo:orange:vpn"; }; diff --git a/target/linux/ath79/dts/ar7242_buffalo_wzr-bhr.dtsi b/target/linux/ath79/dts/ar7242_buffalo_wzr-bhr.dtsi index c82cf83f7e..08f202334c 100644 --- a/target/linux/ath79/dts/ar7242_buffalo_wzr-bhr.dtsi +++ b/target/linux/ath79/dts/ar7242_buffalo_wzr-bhr.dtsi @@ -144,8 +144,6 @@ ð0 { status = "okay"; - mtd-mac-address = <&ART 0x1002>; - phy-mode = "rgmii"; phy-handle = <&phy0>; }; diff --git a/target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g450h.dts b/target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g450h.dts index 804132dcfd..7daf051558 100644 --- a/target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g450h.dts +++ b/target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g450h.dts @@ -59,6 +59,10 @@ }; }; +ð0 { + mtd-mac-address = <&ART 0x1002>; +}; + &sec_vpn { label = "buffalo:orange:security"; }; -- 2.25.1