ath79: qca: convert to nvmem-layout
[openwrt/staging/jow.git] / target / linux / ath79 / dts / qca9531_compex_wpj531-16m.dts
index 16a2794b9732b2e6edd022e3588e542b758ba197..7a8f6edcee1cf3d71c5937aa36b12cb1b7ee9719 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>;
+                                       };
+
+                                       macaddr_uboot_2e018: macaddr@2e018 {
+                                               reg = <0x2e018 0x6>;
+                                       };
+                               };
                        };
 
                        partition@30000 {
 &usb0 {
        status = "okay";
 };
-
-&uboot {
-       compatible = "nvmem-cells";
-       #address-cells = <1>;
-       #size-cells = <1>;
-
-       macaddr_uboot_2e010: macaddr@2e010 {
-               reg = <0x2e010 0x6>;
-       };
-
-       macaddr_uboot_2e018: macaddr@2e018 {
-               reg = <0x2e018 0x6>;
-       };
-};