ramips: mt7621: convert to nvmem-layout
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / mt7621_dlink_dir-860l-b1.dts
index 36d22046a95a34b8e3fb1377ab25c64e1db24508..451722743d96ce79e9c33bcc284203e481409235 100644 (file)
                        };
 
                        radio: partition@34000 {
-                               compatible = "nvmem-cells";
                                label = "radio";
                                reg = <0x34000 0x4000>;
-                               #address-cells = <1>;
-                               #size-cells = <1>;
                                read-only;
 
-                               macaddr_radio_4: macaddr@4 {
-                                       reg = <0x4 0x6>;
-                               };
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
 
-                               eeprom_radio_0: eeprom@0 {
-                                       reg = <0x0 0x200>;
-                               };
+                                       macaddr_radio_4: macaddr@4 {
+                                               reg = <0x4 0x6>;
+                                       };
+
+                                       eeprom_radio_0: eeprom@0 {
+                                               reg = <0x0 0x200>;
+                                       };
 
-                               eeprom_radio_2000: eeprom@2000 {
-                                       reg = <0x2000 0x200>;
+                                       eeprom_radio_2000: eeprom@2000 {
+                                               reg = <0x2000 0x200>;
+                                       };
                                };
                        };