aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79
diff options
context:
space:
mode:
authorINAGAKI Hiroshi <musashino.open@gmail.com>2018-09-27 12:47:43 +0900
committerMathias Kresin <dev@kresin.me>2018-10-07 10:46:20 +0200
commit4b9882eb920a5d74e2c12a75d9399d00c55d39b9 (patch)
tree097540c06c3892aa845586b5960bae732de61b3b /target/linux/ath79
parent90bb790fbf249b71d518c6b68b97634c1ea8b2d8 (diff)
downloadupstream-4b9882eb920a5d74e2c12a75d9399d00c55d39b9.tar.gz
upstream-4b9882eb920a5d74e2c12a75d9399d00c55d39b9.tar.bz2
upstream-4b9882eb920a5d74e2c12a75d9399d00c55d39b9.zip
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 <musashino.open@gmail.com>
Diffstat (limited to 'target/linux/ath79')
-rw-r--r--target/linux/ath79/dts/ar7242_buffalo_bhr-4grv.dts4
-rw-r--r--target/linux/ath79/dts/ar7242_buffalo_wzr-bhr.dtsi2
-rw-r--r--target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g450h.dts4
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";
};
+&eth0 {
+ 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 @@
&eth0 {
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 @@
};
};
+&eth0 {
+ mtd-mac-address = <&ART 0x1002>;
+};
+
&sec_vpn {
label = "buffalo:orange:security";
};