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 7ce9f6497f4b8cdf33328fa80e0ca53e5ba22098..d2f40e55655a65c7551bbabf3620900404546949 100644 (file)
@@ -8,6 +8,10 @@
        model = "Buffalo BHR-4GRV";
 };
 
+&eth0 {
+       mtd-mac-address = <&ART 0x0>;
+};
+
 &sec_vpn {
        label = "buffalo:orange:vpn";
 };
index c82cf83f7ec62966fc5bef980bb9f1b57c46dc60..08f202334c189b5ac8db6e1b63673d99a1c80180 100644 (file)
 &eth0 {
        status = "okay";
 
-       mtd-mac-address = <&ART 0x1002>;
-
        phy-mode = "rgmii";
        phy-handle = <&phy0>;
 };
index 804132dcfd1fa7a41e91eab4fca617b5acd5354e..7daf0515580e20332f06ddd3ad4848898a086095 100644 (file)
        };
 };
 
+&eth0 {
+       mtd-mac-address = <&ART 0x1002>;
+};
+
 &sec_vpn {
        label = "buffalo:orange:security";
 };