ramips: mt7621: convert to nvmem-layout
[openwrt/staging/blocktrron.git] / target / linux / ramips / dts / mt7621_ubnt_usw-flex.dts
index ff328bd858b397b3a6e4ec09710dd9b227a75146..f09ccba58556fb39b3c39a1c3f05a81093c7fa52 100644 (file)
                        };
 
                        part_eeprom: partition@80000 {
-                               compatible = "nvmem-cells";
-
-                               #address-cells = <1>;
-                               #size-cells = <1>;
-
                                label = "eeprom";
                                reg = <0x80000 0x10000>;
                                read-only;
 
-                               macaddr_eeprom: macaddr@0 {
-                                       reg = <0x0 0x6>;
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       macaddr_eeprom: macaddr@0 {
+                                               reg = <0x0 0x6>;
+                                       };
                                };
                        };