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
/
mt7620n_kimax_u35wf.dts
diff --git
a/target/linux/ramips/dts/mt7620n_kimax_u35wf.dts
b/target/linux/ramips/dts/mt7620n_kimax_u35wf.dts
index 7d6d80038c76eeb4a2de10ceb64aab8472c6f54c..d882356244b018156a668b383858fbfa8ff9fc3b 100644
(file)
--- a/
target/linux/ramips/dts/mt7620n_kimax_u35wf.dts
+++ b/
target/linux/ramips/dts/mt7620n_kimax_u35wf.dts
@@
-72,10
+72,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_4: macaddr@4 {
+ reg = <0x4 0x6>;
+ };
+ };
};
partition@50000 {
};
partition@50000 {
@@
-96,11
+110,13
@@
};
ðernet {
};
ðernet {
- mtd-mac-address = <&factory 0x4>;
+ nvmem-cells = <&macaddr_factory_4>;
+ nvmem-cell-names = "mac-address";
};
&wmac {
};
&wmac {
- ralink,mtd-eeprom = <&factory 0x0>;
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
};
&state_default {
};
&state_default {