ath79: fix MAC address for Buffalo BHR-4GRV
authorINAGAKI Hiroshi <musashino.open@gmail.com>
Thu, 27 Sep 2018 03:47:43 +0000 (12:47 +0900)
committerMathias Kresin <dev@kresin.me>
Sun, 7 Oct 2018 08:46:20 +0000 (10:46 +0200)
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 <musashino.open@gmail.com>
target/linux/ath79/dts/ar7242_buffalo_bhr-4grv.dts
target/linux/ath79/dts/ar7242_buffalo_wzr-bhr.dtsi
target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g450h.dts

index 7ce9f64..d2f40e5 100644 (file)
@@ -8,6 +8,10 @@
        model = "Buffalo BHR-4GRV";
 };
 
+&eth0 {
+       mtd-mac-address = <&ART 0x0>;
+};
+
 &sec_vpn {
        label = "buffalo:orange:vpn";
 };
index c82cf83..08f2023 100644 (file)
 &eth0 {
        status = "okay";
 
-       mtd-mac-address = <&ART 0x1002>;
-
        phy-mode = "rgmii";
        phy-handle = <&phy0>;
 };
index 804132d..7daf051 100644 (file)
        };
 };
 
+&eth0 {
+       mtd-mac-address = <&ART 0x1002>;
+};
+
 &sec_vpn {
        label = "buffalo:orange:security";
 };