mediatek: convert cetron ct3003 eeprom to nvmem format

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
Tianling Shen 2024-09-11 13:17:39 +08:00
parent b09889d87d
commit 516c0d7b0c
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -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>;
};