ath79: ar: convert to nvmem-layout
[openwrt/staging/jow.git] / target / linux / ath79 / dts / ar9331_pisen_ts-d084.dts
index 58ef4ab0910cd22fe220c15f72ab4d3393ffbd57..4868ba2fa0e4e9dedccbd748a9f690a838b0fd92 100644 (file)
                                reg = <0x0 0x20000>;
                                label = "u-boot";
                                read-only;
+
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       macaddr_uboot_1fc00: macaddr@1fc00 {
+                                               reg = <0x1fc00 0x6>;
+                                       };
+                               };
                        };
 
                        firmware: partition@20000 {
        nvmem-cells = <&macaddr_uboot_1fc00>;
        nvmem-cell-names = "mac-address";
 };
-
-&uboot {
-       compatible = "nvmem-cells";
-       #address-cells = <1>;
-       #size-cells = <1>;
-
-       macaddr_uboot_1fc00: macaddr@1fc00 {
-               reg = <0x1fc00 0x6>;
-       };
-};