projects
/
openwrt
/
staging
/
jow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: clean up useless dts partition labels
[openwrt/staging/jow.git]
/
target
/
linux
/
ramips
/
dts
/
rt3050_jcg_jhr-n805r.dts
diff --git
a/target/linux/ramips/dts/rt3050_jcg_jhr-n805r.dts
b/target/linux/ramips/dts/rt3050_jcg_jhr-n805r.dts
index 581edc6dfcd7b161f8763add3a1953af8243d616..3c54a38f28cf86671a377bdb6b72e0a8e3ddcc8d 100644
(file)
--- a/
target/linux/ramips/dts/rt3050_jcg_jhr-n805r.dts
+++ b/
target/linux/ramips/dts/rt3050_jcg_jhr-n805r.dts
@@
-67,10
+67,24
@@
read-only;
};
read-only;
};
-
factory:
partition@40000 {
+ partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
label = "factory";
reg = <0x40000 0x10000>;
read-only;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x200>;
+ };
+
+ macaddr_factory_2e: macaddr@2e {
+ reg = <0x2e 0x6>;
+ };
+ };
};
partition@50000 {
};
partition@50000 {
@@
-83,7
+97,8
@@
};
ðernet {
};
ðernet {
- mtd-mac-address = <&factory 0x2e>;
+ nvmem-cells = <&macaddr_factory_2e>;
+ nvmem-cell-names = "mac-address";
};
&esw {
};
&esw {
@@
-91,5
+106,6
@@
};
&wmac {
};
&wmac {
- ralink,mtd-eeprom = <&factory 0x0>;
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
};
};