ipq40xx: only include ath10k-board-qca4019 for the generic subtarget
[openwrt/staging/chunkeey.git] / target / linux / ath79 / dts / qca9533_comfast_cf-e110n-v2.dts
index 961caa8ade5f8664f19897b2c9f40b367fb17c1c..64df0cff7c5f8654bcfc53cb3b9df00439136716 100644 (file)
@@ -92,8 +92,6 @@
 &spi {
        status = "okay";
 
-       num-cs = <1>;
-
        flash@0 {
                compatible = "winbond,w25q128", "jedec,spi-nor";
                reg = <0>;
        };
 };
 
-&uart {
-       status = "okay";
-};
-
 &eth0 {
        status = "okay";
 
        phy-handle = <&swphy4>;
 
-       mtd-mac-address = <&art 0x0>;
+       nvmem-cells = <&macaddr_art_0>;
+       nvmem-cell-names = "mac-address";
 };
 
 &eth1 {
-       mtd-mac-address = <&art 0x1002>;
+       nvmem-cells = <&macaddr_art_1002>;
+       nvmem-cell-names = "mac-address";
 
        gmac-config {
                device = <&gmac>;
        status = "okay";
 
        mtd-cal-data = <&art 0x1000>;
-       mtd-mac-address = <&art 0x6>;
+       nvmem-cells = <&macaddr_art_6>;
+       nvmem-cell-names = "mac-address";
+};
+
+&art {
+       compatible = "nvmem-cells";
+       #address-cells = <1>;
+       #size-cells = <1>;
+
+       macaddr_art_0: macaddr@0 {
+               reg = <0x0 0x6>;
+       };
+
+       macaddr_art_6: macaddr@6 {
+               reg = <0x6 0x6>;
+       };
+
+       macaddr_art_1002: macaddr@1002 {
+               reg = <0x1002 0x6>;
+       };
 };