ath79: qca: convert to nvmem-layout
[openwrt/staging/blocktrron.git] / target / linux / ath79 / dts / qca9558_tplink_archer-c5-v1.dts
index 85012d3aace036a53d725c83925bbbe937a54ca3..a017d2f05901470bebc3d361ad4aabe17cfd9a6c 100644 (file)
                label = "u-boot";
                reg = <0x000000 0x020000>;
                read-only;
+
+               nvmem-layout {
+                       compatible = "fixed-layout";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       macaddr_uboot_1fc00: macaddr@1fc00 {
+                               reg = <0x1fc00 0x6>;
+                       };
+               };
        };
 
        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>;
-       };
-};