ath79: ar: convert to nvmem-layout
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar7161_aruba_ap-175.dts
index dd29a687ba0e1d3c387cc2c7a5044115726be2ac..14b5edb0967f0efacc4fb2f077f67336fc11c53f 100644 (file)
                                label = "hwinfo";
                                reg = <0xfe0000 0x10000>;
                                read-only;
+
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       macaddr_hwinfo_1c: macaddr@1c {
+                                               reg = <0x1c 0x6>;
+                                       };
+                               };
                        };
 
                        partition@ff0000 {
        };
 };
 
-&hwinfo {
-       compatible = "nvmem-cells";
-       #address-cells = <1>;
-       #size-cells = <1>;
-
-       macaddr_hwinfo_1c: macaddr@1c {
-               reg = <0x1c 0x6>;
-       };
-};
-
 &i2c0 {
        gpio_ext: gpio@21 {
                status = "okay";