nvmem-cells is deprecated. nvmem-layout allows using mac-base.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
};
factory: partition@40000 {
- compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
- #address-cells = <1>;
- #size-cells = <1>;
read-only;
- eeprom_factory_0: eeprom@0 {
- reg = <0x0 0x200>;
- };
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x200>;
+ };
- macaddr_factory_4: macaddr@4 {
- reg = <0x4 0x6>;
+ macaddr_factory_4: macaddr@4 {
+ reg = <0x4 0x6>;
+ };
};
};
};
factory: partition@40000 {
- compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
- #address-cells = <1>;
- #size-cells = <1>;
read-only;
- eeprom_factory_0: eeprom@0 {
- reg = <0x0 0x200>;
- };
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x200>;
+ };
- macaddr_factory_4: macaddr@4 {
- reg = <0x4 0x6>;
+ macaddr_factory_4: macaddr@4 {
+ reg = <0x4 0x6>;
+ };
};
};
};
factory: partition@40000 {
- compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
- #address-cells = <1>;
- #size-cells = <1>;
read-only;
- eeprom_factory_0: eeprom@0 {
- reg = <0x0 0x200>;
- };
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x200>;
+ };
- macaddr_factory_4: macaddr@4 {
- reg = <0x4 0x6>;
+ macaddr_factory_4: macaddr@4 {
+ reg = <0x4 0x6>;
+ };
};
};
};
factory: partition@40000 {
- compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
- #address-cells = <1>;
- #size-cells = <1>;
read-only;
- eeprom_factory_0: eeprom@0 {
- reg = <0x0 0x200>;
- };
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x200>;
+ };
- macaddr_factory_4: macaddr@4 {
- reg = <0x4 0x6>;
+ macaddr_factory_4: macaddr@4 {
+ reg = <0x4 0x6>;
+ };
};
};
};
factory: partition@40000 {
- compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
- #address-cells = <1>;
- #size-cells = <1>;
read-only;
- eeprom_factory_0: eeprom@0 {
- reg = <0x0 0x200>;
- };
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x200>;
+ };
- macaddr_factory_2e: macaddr@2e {
- reg = <0x2e 0x6>;
+ macaddr_factory_2e: macaddr@2e {
+ reg = <0x2e 0x6>;
+ };
};
};
};
factory: partition@40000 {
- compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
- #address-cells = <1>;
- #size-cells = <1>;
read-only;
- eeprom_factory_0: eeprom@0 {
- reg = <0x0 0x200>;
- };
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x200>;
+ };
- macaddr_factory_4: macaddr@4 {
- reg = <0x4 0x6>;
+ macaddr_factory_4: macaddr@4 {
+ reg = <0x4 0x6>;
+ };
};
};
};
factory: partition@40000 {
- compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
- #address-cells = <1>;
- #size-cells = <1>;
read-only;
- eeprom_factory_0: eeprom@0 {
- reg = <0x0 0x200>;
- };
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x200>;
+ };
- macaddr_factory_4: macaddr@4 {
- reg = <0x4 0x6>;
+ macaddr_factory_4: macaddr@4 {
+ reg = <0x4 0x6>;
+ };
};
};
};
factory: partition@40000 {
- compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
- #address-cells = <1>;
- #size-cells = <1>;
read-only;
- eeprom_factory_0: eeprom@0 {
- reg = <0x0 0x200>;
- };
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x200>;
+ };
- macaddr_factory_4: macaddr@4 {
- reg = <0x4 0x6>;
+ macaddr_factory_4: macaddr@4 {
+ reg = <0x4 0x6>;
+ };
};
};
};
factory: partition@3f0000 {
- compatible = "nvmem-cells";
label = "factory";
reg = <0x3f0000 0x10000>;
- #address-cells = <1>;
- #size-cells = <1>;
read-only;
- eeprom_factory_0: eeprom@0 {
- reg = <0x0 0x200>;
- };
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x200>;
+ };
- macaddr_factory_4: macaddr@4 {
- reg = <0x4 0x6>;
+ macaddr_factory_4: macaddr@4 {
+ reg = <0x4 0x6>;
+ };
};
};
};
};
factory: partition@f60000 {
- compatible = "nvmem-cells";
label = "factory";
reg = <0xf60000 0x10000>;
- #address-cells = <1>;
- #size-cells = <1>;
read-only;
- eeprom_factory_0: eeprom@0 {
- reg = <0x0 0x200>;
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x200>;
+ };
};
};
board_data: partition@f70000 {
- compatible = "nvmem-cells";
label = "board_data";
reg = <0xf70000 0x10000>;
- #address-cells = <1>;
- #size-cells = <1>;
read-only;
- macaddr_board_data_b0: macaddr@b0 {
- reg = <0xb0 0x6>;
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_board_data_b0: macaddr@b0 {
+ reg = <0xb0 0x6>;
+ };
};
};
};
factory: partition@40000 {
- compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
- #address-cells = <1>;
- #size-cells = <1>;
read-only;
- eeprom_factory_0: eeprom@0 {
- reg = <0x0 0x200>;
- };
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x200>;
+ };
- macaddr_factory_4: macaddr@4 {
- reg = <0x4 0x6>;
+ macaddr_factory_4: macaddr@4 {
+ reg = <0x4 0x6>;
+ };
};
};
};
factory: partition@40000 {
- compatible = "nvmem-cells";
label = "Factory";
reg = <0x40000 0x10000>;
- #address-cells = <1>;
- #size-cells = <1>;
read-only;
- eeprom_factory_0: eeprom@0 {
- reg = <0x0 0x200>;
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x200>;
+ };
};
};
};
factory: partition@40000 {
- compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
- #address-cells = <1>;
- #size-cells = <1>;
read-only;
- eeprom_factory_0: eeprom@0 {
- reg = <0x0 0x200>;
- };
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x200>;
+ };
- macaddr_factory_28: macaddr@28 {
- reg = <0x28 0x6>;
+ macaddr_factory_28: macaddr@28 {
+ reg = <0x28 0x6>;
+ };
};
};
};
factory: partition@40000 {
- compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
- #address-cells = <1>;
- #size-cells = <1>;
read-only;
- eeprom_factory_0: eeprom@0 {
- reg = <0x0 0x200>;
- };
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x200>;
+ };
- macaddr_factory_4: macaddr@4 {
- reg = <0x4 0x6>;
+ macaddr_factory_4: macaddr@4 {
+ reg = <0x4 0x6>;
+ };
};
};
};
factory: partition@40000 {
- compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
- #address-cells = <1>;
- #size-cells = <1>;
read-only;
- eeprom_factory_0: eeprom@0 {
- reg = <0x0 0x200>;
- };
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x200>;
+ };
- macaddr_factory_4: macaddr@4 {
- reg = <0x4 0x6>;
+ macaddr_factory_4: macaddr@4 {
+ reg = <0x4 0x6>;
+ };
};
};
};
factory: partition@40000 {
- compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
- #address-cells = <1>;
- #size-cells = <1>;
read-only;
- eeprom_factory_0: eeprom@0 {
- reg = <0x0 0x200>;
- };
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x200>;
+ };
- macaddr_factory_4: macaddr@4 {
- reg = <0x4 0x6>;
+ macaddr_factory_4: macaddr@4 {
+ reg = <0x4 0x6>;
+ };
};
};
};
factory: partition@40000 {
- compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
- #address-cells = <1>;
- #size-cells = <1>;
read-only;
- eeprom_factory_0: eeprom@0 {
- reg = <0x0 0x200>;
- };
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x200>;
+ };
- macaddr_factory_4: macaddr@4 {
- reg = <0x4 0x6>;
+ macaddr_factory_4: macaddr@4 {
+ reg = <0x4 0x6>;
+ };
};
};
};
factory: partition@40000 {
- compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
- #address-cells = <1>;
- #size-cells = <1>;
read-only;
- eeprom_factory_0: eeprom@0 {
- reg = <0x0 0x200>;
- };
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x200>;
+ };
- macaddr_factory_4: macaddr@4 {
- reg = <0x4 0x6>;
+ macaddr_factory_4: macaddr@4 {
+ reg = <0x4 0x6>;
+ };
};
};
};
factory: partition@40000 {
- compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
- #address-cells = <1>;
- #size-cells = <1>;
read-only;
- eeprom_factory_0: eeprom@0 {
- reg = <0x0 0x200>;
- };
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x200>;
+ };
- macaddr_factory_4: macaddr@4 {
- reg = <0x4 0x6>;
+ macaddr_factory_4: macaddr@4 {
+ reg = <0x4 0x6>;
+ };
};
};
};
factory: partition@40000 {
- compatible = "nvmem-cells";
label = "RF-EEPROM";
reg = <0x40000 0x10000>;
- #address-cells = <1>;
- #size-cells = <1>;
read-only;
- eeprom_factory_0: eeprom@0 {
- reg = <0x0 0x200>;
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x200>;
+ };
};
};
};
factory: partition@40000 {
- compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
- #address-cells = <1>;
- #size-cells = <1>;
read-only;
- eeprom_factory_0: eeprom@0 {
- reg = <0x0 0x200>;
- };
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x200>;
+ };
- macaddr_factory_4: macaddr@4 {
- reg = <0x4 0x6>;
+ macaddr_factory_4: macaddr@4 {
+ reg = <0x4 0x6>;
+ };
};
};
};
factory: partition@40000 {
- compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
- #address-cells = <1>;
- #size-cells = <1>;
read-only;
- eeprom_factory_0: eeprom@0 {
- reg = <0x0 0x200>;
- };
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x200>;
+ };
- macaddr_factory_4: macaddr@4 {
- reg = <0x4 0x6>;
+ macaddr_factory_4: macaddr@4 {
+ reg = <0x4 0x6>;
+ };
};
};