From: INAGAKI Hiroshi Date: Thu, 27 Sep 2018 03:47:43 +0000 (+0900) Subject: ath79: fix MAC address for Buffalo BHR-4GRV X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4b9882eb920a5d74e2c12a75d9399d00c55d39b9;p=openwrt%2Fstaging%2Fynezz.git 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 --- 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"; };