aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/rt5350_7links_px-4885.dtsi
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-12-08 16:15:00 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-12-12 13:11:58 +0100
commit772af7f98d23f9d616928d89315860dade3d704b (patch)
tree7028db3e842f3fb458967a68fed5c9074d43e4ce /target/linux/ramips/dts/rt5350_7links_px-4885.dtsi
parenta858d6d0e2864e0293a6eb721cbcd193adf711cd (diff)
downloadupstream-772af7f98d23f9d616928d89315860dade3d704b.tar.gz
upstream-772af7f98d23f9d616928d89315860dade3d704b.tar.bz2
upstream-772af7f98d23f9d616928d89315860dade3d704b.zip
ramips: rt305x: use flash location for wan_mac in 02_network
This uses the flash locations instead of eth0 MAC address to calculate MAC address increments for WAN. The change will make the MAC address setup of a particular device more obvious and removes the dependency of 02_network on the eth0 initialization. This removes the wan_mac setup for the following devices as they do not set up a MAC address for ethernet in the first place: - asiarf,awapn2403 - belkin,f7c027 - dlink,dir-615-d - mofinetwork,mofi3500-3gn - prolink,pwh2004 - ralink,v22rw-2x2 - unbranded,wr512-3gn-4m - unbranded,wr512-3gn-8m While at it, make some DT node labels consistent with the label property. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/dts/rt5350_7links_px-4885.dtsi')
-rw-r--r--target/linux/ramips/dts/rt5350_7links_px-4885.dtsi4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/rt5350_7links_px-4885.dtsi b/target/linux/ramips/dts/rt5350_7links_px-4885.dtsi
index 032a89cd1a..cdd3033bed 100644
--- a/target/linux/ramips/dts/rt5350_7links_px-4885.dtsi
+++ b/target/linux/ramips/dts/rt5350_7links_px-4885.dtsi
@@ -51,7 +51,7 @@
};
&ethernet {
- mtd-mac-address = <&factory 0x28>;
+ mtd-mac-address = <&devconf 0x28>;
};
&esw {
@@ -59,5 +59,5 @@
};
&wmac {
- ralink,mtd-eeprom = <&factory 0>;
+ ralink,mtd-eeprom = <&devconf 0>;
};