ramips: mt7621: convert to nvmem-layout
[openwrt/staging/stintel.git] / target / linux / ramips / dts / mt7621_tplink_rexx0-v1.dtsi
index 4207100f34326f408147562787950e4111710ef8..650f741eff7f58b1277e82305957585b6014df98 100644 (file)
                        };
 
                        config: partition@e00000 {
-                               compatible = "nvmem-cells";
                                label = "config";
                                reg = <0xe00000 0x50000>;
-                               #address-cells = <1>;
-                               #size-cells = <1>;
                                read-only;
 
-                               macaddr_config_10008: macaddr@10008 {
-                                       reg = <0x10008 0x6>;
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       macaddr_config_10008: macaddr@10008 {
+                                               reg = <0x10008 0x6>;
+                                       };
                                };
                        };
 
                         */
 
                        radio: partition@ff0000 {
-                               compatible = "nvmem-cells";
                                label = "radio";
                                reg = <0xff0000 0x10000>;
-                               #address-cells = <1>;
-                               #size-cells = <1>;
                                read-only;
 
-                               eeprom_radio_0: eeprom@0 {
-                                       reg = <0x0 0x4da8>;
-                               };
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       eeprom_radio_0: eeprom@0 {
+                                               reg = <0x0 0x4da8>;
+                                       };
 
-                               eeprom_radio_8000: eeprom@8000 {
-                                       reg = <0x8000 0x4da8>;
+                                       eeprom_radio_8000: eeprom@8000 {
+                                               reg = <0x8000 0x4da8>;
+                                       };
                                };
                        };
                };