ramips: mt7628: use nvmem-layout
[openwrt/staging/hauke.git] / target / linux / ramips / dts / mt7628an_tplink_tl-mr3020-v3.dts
index 3828d859cafe520084f30f7a1f43216494dd45f8..5f35cb4c7fac4edadd29422d2b93197c3463b0f6 100644 (file)
                        };
 
                        factory: partition@7d0000 {
-                               compatible = "nvmem-cells";
                                label = "factory";
                                reg = <0x7d0000 0x30000>;
-                               #address-cells = <1>;
-                               #size-cells = <1>;
                                read-only;
 
-                               eeprom_factory_20000: eeprom@20000 {
-                                       reg = <0x20000 0x400>;
-                               };
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       eeprom_factory_20000: eeprom@20000 {
+                                               reg = <0x20000 0x400>;
+                                       };
 
-                               macaddr_factory_f100: macaddr@f100 {
-                                       reg = <0xf100 0x6>;
+                                       macaddr_factory_f100: macaddr@f100 {
+                                               reg = <0xf100 0x6>;
+                                       };
                                };
                        };
                };