ramips: mt7621: convert to nvmem-layout
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7621_ubnt_unifi-nanohd.dts
index 2762a777a3533a2624b116a72efa395cd6e93e89..b4000464f7be6e6aaeaa1c1193596186024dccd7 100644 (file)
                                label = "eeprom";
                                reg = <0x80000 0x10000>;
                                read-only;
+
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       macaddr_eeprom_0: macaddr@0 {
+                                               reg = <0x0 0x6>;
+                                       };
+                               };
                        };
 
                        partition@90000 {
 &wlan_5g {
        mediatek,mtd-eeprom = <&factory 0x8000>;
 };
-
-&eeprom {
-       compatible = "nvmem-cells";
-       #address-cells = <1>;
-       #size-cells = <1>;
-
-       macaddr_eeprom_0: macaddr@0 {
-               reg = <0x0 0x6>;
-       };
-};