ath79: ar: convert to nvmem-layout
[openwrt/staging/hauke.git] / target / linux / ath79 / dts / ar9344_compex_wpj344-16m.dts
index e456f1f0e582a42f8b25f88124438d948eab476d..21329db2584241ed93a4b4b675c2030b8a6a098d 100644 (file)
                                label = "u-boot";
                                reg = <0x000000 0x030000>;
                                read-only;
+
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       macaddr_uboot_2e010: macaddr@2e010 {
+                                               reg = <0x2e010 0x6>;
+                                       };
+                               };
                        };
 
                        partition@30000 {
        phy-mode = "rgmii";
        phy-handle = <&phy0>;
 };
-
-&uboot {
-       compatible = "nvmem-cells";
-       #address-cells = <1>;
-       #size-cells = <1>;
-
-       macaddr_uboot_2e010: macaddr@2e010 {
-               reg = <0x2e010 0x6>;
-       };
-};