aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts
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
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')
-rw-r--r--target/linux/ramips/dts/rt3050_dlink_dir-300-b1.dts2
-rw-r--r--target/linux/ramips/dts/rt5350_7links_px-4885-4m.dts2
-rw-r--r--target/linux/ramips/dts/rt5350_7links_px-4885-8m.dts2
-rw-r--r--target/linux/ramips/dts/rt5350_7links_px-4885.dtsi4
4 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/ramips/dts/rt3050_dlink_dir-300-b1.dts b/target/linux/ramips/dts/rt3050_dlink_dir-300-b1.dts
index 8bc77e422d..030796f286 100644
--- a/target/linux/ramips/dts/rt3050_dlink_dir-300-b1.dts
+++ b/target/linux/ramips/dts/rt3050_dlink_dir-300-b1.dts
@@ -39,7 +39,7 @@
read-only;
};
- factory: partition@40000 {
+ partition@40000 {
label = "devconf";
reg = <0x40000 0x10000>;
read-only;
diff --git a/target/linux/ramips/dts/rt5350_7links_px-4885-4m.dts b/target/linux/ramips/dts/rt5350_7links_px-4885-4m.dts
index 66e2c1924c..914ceb0c53 100644
--- a/target/linux/ramips/dts/rt5350_7links_px-4885-4m.dts
+++ b/target/linux/ramips/dts/rt5350_7links_px-4885-4m.dts
@@ -32,7 +32,7 @@
read-only;
};
- factory: partition@40000 {
+ devconf: partition@40000 {
label = "devconf";
reg = <0x40000 0x10000>;
read-only;
diff --git a/target/linux/ramips/dts/rt5350_7links_px-4885-8m.dts b/target/linux/ramips/dts/rt5350_7links_px-4885-8m.dts
index f3d9926702..c9826166b4 100644
--- a/target/linux/ramips/dts/rt5350_7links_px-4885-8m.dts
+++ b/target/linux/ramips/dts/rt5350_7links_px-4885-8m.dts
@@ -32,7 +32,7 @@
read-only;
};
- factory: partition@40000 {
+ devconf: partition@40000 {
label = "devconf";
reg = <0x40000 0x10000>;
read-only;
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>;
};