projects
/
openwrt
/
staging
/
stintel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: mt7621: convert to nvmem-layout
[openwrt/staging/stintel.git]
/
target
/
linux
/
ramips
/
dts
/
mt7621_asus_rt-ac57u-v1.dts
diff --git
a/target/linux/ramips/dts/mt7621_asus_rt-ac57u-v1.dts
b/target/linux/ramips/dts/mt7621_asus_rt-ac57u-v1.dts
index 322a96b700aea7a70f51c2fb659107f2074bd458..6790b37d1aefa7f1af9774e8fc019dd8c84a36c2 100644
(file)
--- a/
target/linux/ramips/dts/mt7621_asus_rt-ac57u-v1.dts
+++ b/
target/linux/ramips/dts/mt7621_asus_rt-ac57u-v1.dts
@@
-86,27
+86,30
@@
};
factory: partition@40000 {
};
factory: partition@40000 {
- compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
label = "factory";
reg = <0x40000 0x10000>;
- #address-cells = <1>;
- #size-cells = <1>;
read-only;
read-only;
- eeprom_factory_0: eeprom@0 {
- reg = <0x0 0x400>;
- };
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
-
eeprom_factory_8000: eeprom@800
0 {
-
reg = <0x8000 0x2
00>;
- };
+
eeprom_factory_0: eeprom@
0 {
+
reg = <0x0 0x4
00>;
+
};
- macaddr_factory_e000: macaddr@e000 {
- reg = <0xe000 0x6>;
- };
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
+ macaddr_factory_e000: macaddr@e000 {
+ reg = <0xe000 0x6>;
+ };
- macaddr_factory_e006: macaddr@e006 {
- reg = <0xe006 0x6>;
+ macaddr_factory_e006: macaddr@e006 {
+ reg = <0xe006 0x6>;
+ };
};
};
};
};