ramips: mt7620a: convert to nvmem-layout
[openwrt/staging/hauke.git] / target / linux / ramips / dts / mt7620a_iptime.dtsi
index be43f9bc99b7905ef5f90beb696bfc8a81abdba3..2b7421de9b79f5857934d15bd959564ec2eb8417 100644 (file)
                        #size-cells = <1>;
 
                        uboot: partition@0 {
-                               compatible = "nvmem-cells";
                                label = "u-boot";
                                reg = <0x0 0x20000>;
-                               #address-cells = <1>;
-                               #size-cells = <1>;
                                read-only;
 
-                               eeprom_uboot_1f400: eeprom@1f400 {
-                                       reg = <0x1f400 0x200>;
-                               };
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
 
-                               eeprom_uboot_1f800: eeprom@1f800 {
-                                       reg = <0x1f800 0x200>;
-                               };
+                                       eeprom_uboot_1f400: eeprom@1f400 {
+                                               reg = <0x1f400 0x200>;
+                                       };
+
+                                       eeprom_uboot_1f800: eeprom@1f800 {
+                                               reg = <0x1f800 0x200>;
+                                       };
 
-                               macaddr_uboot_1fc20: macaddr@1fc20 {
-                                       reg = <0x1fc20 0x6>;
+                                       macaddr_uboot_1fc20: macaddr@1fc20 {
+                                               reg = <0x1fc20 0x6>;
+                                       };
                                };
                        };