mediatek: convert cetron ct3003 eeprom to nvmem format
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
parent
b09889d87d
commit
516c0d7b0c
@ -149,9 +149,19 @@
|
||||
};
|
||||
};
|
||||
|
||||
factory: partition@280000 {
|
||||
partition@280000 {
|
||||
label = "Factory";
|
||||
reg = <0x280000 0x100000>;
|
||||
|
||||
nvmem-layout {
|
||||
compatible = "fixed-layout";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
eeprom_factory_0: eeprom@0 {
|
||||
reg = <0x0 0x1000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
partition@380000 {
|
||||
@ -234,7 +244,7 @@
|
||||
};
|
||||
|
||||
&wifi {
|
||||
nvmem-cells = <&eeprom_factory_0>;
|
||||
nvmem-cell-names = "eeprom";
|
||||
status = "okay";
|
||||
|
||||
mediatek,mtd-eeprom = <&factory 0x0>;
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user