projects
/
openwrt
/
openwrt.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/openwrt.git]
/
target
/
linux
/
ramips
/
dts
/
rt3052_argus_atp-52b.dts
diff --git
a/target/linux/ramips/dts/rt3052_argus_atp-52b.dts
b/target/linux/ramips/dts/rt3052_argus_atp-52b.dts
index 39afaa582e18942b76f91156b72bcb1e49f2394b..5cee0dfcfd72046c6a6dc3d62e0cfc979f47858c 100644
(file)
--- a/
target/linux/ramips/dts/rt3052_argus_atp-52b.dts
+++ b/
target/linux/ramips/dts/rt3052_argus_atp-52b.dts
@@
-36,9
+36,23
@@
reg = <0x30000 0x10000>;
};
reg = <0x30000 0x10000>;
};
-
factory:
partition@40000 {
+ partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
label = "factory";
reg = <0x40000 0x10000>;
+
+ 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 {
@@
-89,7
+103,8
@@
};
ðernet {
};
ðernet {
- mtd-mac-address = <&factory 0x4>;
+ nvmem-cells = <&macaddr_factory_4>;
+ nvmem-cell-names = "mac-address";
};
&esw {
};
&esw {
@@
-97,7
+112,8
@@
};
&wmac {
};
&wmac {
- ralink,mtd-eeprom = <&factory 0x0>;
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
};
&otg {
};
&otg {