ath79: qca: convert to nvmem-layout
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9531_teltonika_rut300.dts
index f79be8dca54be42ea88842aaa7b17fdd0ed7e770..4954d35537fb086ea76f0021f0b9cc0f23c0aa14 100644 (file)
                                label = "config";
                                reg = <0x020000 0x010000>;
                                read-only;
+
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       macaddr_config_0: macaddr@0 {
+                                               reg = <0x0 0x6>;
+                                       };
+                               };
                        };
 
                        partition@30000 {
        status = "okay";
 };
 
-&config {
-       compatible = "nvmem-cells";
-       #address-cells = <1>;
-       #size-cells = <1>;
-
-       macaddr_config_0: macaddr@0 {
-               reg = <0x0 0x6>;
-       };
-};
-
 &eth0 {
        status = "okay";
        phy-handle = <&swphy0>;