ath79: ar: convert to mac-base
[openwrt/staging/hauke.git] / target / linux / ath79 / dts / ar9344_qxwlan_e750x.dtsi
index 2cd7b446c6b391f0463cbc2c4395f38495403859..238a59cbe8d54360f70561016a7403bf2180b26e 100644 (file)
@@ -59,8 +59,6 @@
 &spi {
        status = "okay";
 
-       num-cs = <1>;
-
        flash@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
                                label = "pri-data";
                                reg = <0x050000 0x010000>;
                                read-only;
+
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       macaddr_pridata_400: macaddr@400 {
+                                               compatible = "mac-base";
+                                               reg = <0x400 0x6>;
+                                               #nvmem-cell-cells = <1>;
+                                       };
+                               };
                        };
 
                        art: partition@60000 {
        clock-frequency = <40000000>;
 };
 
-&uart {
-       status = "okay";
-};
-
 &wmac {
        status = "okay";