aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorPetr Štetiar <ynezz@true.cz>2018-12-12 20:45:14 +0100
committerChristian Lamparter <chunkeey@gmail.com>2018-12-27 16:02:25 +0100
commit74f46d90becfa0cdf29bbd49ff968db1ab5a6530 (patch)
treee61669f7d4d4f005930cd0fd123f80f284c41abf /target/linux
parent6935d73851c182d84489885979a188bef98f0cd5 (diff)
downloadupstream-74f46d90becfa0cdf29bbd49ff968db1ab5a6530.tar.gz
upstream-74f46d90becfa0cdf29bbd49ff968db1ab5a6530.tar.bz2
upstream-74f46d90becfa0cdf29bbd49ff968db1ab5a6530.zip
ath79: ubnt-bullet-m-xw: Move eth0 mtd-mac-address to the common include
It's same for Bullet and Nanostation so far, so let's hope it's going to be the same for other boards sharing the same platform. Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ath79/dts/ar9342_ubnt_bullet-m-xw.dts2
-rw-r--r--target/linux/ath79/dts/ar9342_ubnt_xw.dtsi4
2 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ath79/dts/ar9342_ubnt_bullet-m-xw.dts b/target/linux/ath79/dts/ar9342_ubnt_bullet-m-xw.dts
index 67833bb6f9..fc24c80582 100644
--- a/target/linux/ath79/dts/ar9342_ubnt_bullet-m-xw.dts
+++ b/target/linux/ath79/dts/ar9342_ubnt_bullet-m-xw.dts
@@ -24,8 +24,6 @@
&eth0 {
status = "okay";
- mtd-mac-address = <&eeprom 0x0>;
-
phy-mode = "rgmii";
phy-handle = <&phy4>;
diff --git a/target/linux/ath79/dts/ar9342_ubnt_xw.dtsi b/target/linux/ath79/dts/ar9342_ubnt_xw.dtsi
index f42524e2d9..01ea7c9eb3 100644
--- a/target/linux/ath79/dts/ar9342_ubnt_xw.dtsi
+++ b/target/linux/ath79/dts/ar9342_ubnt_xw.dtsi
@@ -117,3 +117,7 @@
mtd-cal-data = <&eeprom 0x1000>;
mtd-mac-address = <&eeprom 0x1002>;
};
+
+&eth0 {
+ mtd-mac-address = <&eeprom 0x0>;
+};