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: convert MT7613 and MT7615 EEPROM to NVMEM format for MT7621
[openwrt/staging/jow.git]
/
target
/
linux
/
ramips
/
dts
/
mt7621_iptime_a3002mesh.dts
diff --git
a/target/linux/ramips/dts/mt7621_iptime_a3002mesh.dts
b/target/linux/ramips/dts/mt7621_iptime_a3002mesh.dts
index 678ce0680643b7a9c8f8db4247269be84f6eb31e..fc51b9ac4f048da8527f79a712b58e25adb79af3 100644
(file)
--- a/
target/linux/ramips/dts/mt7621_iptime_a3002mesh.dts
+++ b/
target/linux/ramips/dts/mt7621_iptime_a3002mesh.dts
@@
-89,9
+89,16
@@
};
factory: partition@30000 {
};
factory: partition@30000 {
+ compatible = "nvmem-cells";
label = "factory";
reg = <0x30000 0x10000>;
label = "factory";
reg = <0x30000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
read-only;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x4da8>;
+ };
};
partition@40000 {
};
partition@40000 {
@@
-146,7
+153,8
@@
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0000>;
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
};
};
};
};