};
factory: partition@70000 {
- compatible = "nvmem-cells";
label = "factory";
reg = <0x70000 0x40000>;
- #address-cells = <1>;
- #size-cells = <1>;
read-only;
- eeprom_factory_0: eeprom@0 {
- reg = <0x0 0x400>;
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
};
};
eeprom: partition@b0000 {
- compatible = "nvmem-cells";
label = "eeprom";
reg = <0xb0000 0x10000>;
- #address-cells = <1>;
- #size-cells = <1>;
read-only;
- macaddr_eeprom_0: macaddr@0 {
- reg = <0x0 0x6>;
- };
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_eeprom_0: macaddr@0 {
+ reg = <0x0 0x6>;
+ };
- macaddr_eeprom_6: macaddr@6 {
- reg = <0x6 0x6>;
+ macaddr_eeprom_6: macaddr@6 {
+ reg = <0x6 0x6>;
+ };
};
};