ath79: add missing clock name strings in SoC dtsi
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9558_comfast_cf-wr650ac-v1.dts
index 045806fa6ef8385b8b59eaef5e997ea39fdd8c40..ba145d6fb0fe1e19a1b5764e244cc915b1132c92 100644 (file)
@@ -1,45 +1,14 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-/dts-v1/;
-
-#include <dt-bindings/gpio/gpio.h>
-#include <dt-bindings/input/input.h>
 
 #include "qca9558_comfast_cf-wr650ac.dtsi"
 
 / {
        compatible = "comfast,cf-wr650ac-v1", "qca,qca9558";
        model = "Comfast CF-WR650AC v1";
-
-       leds {
-               compatible = "gpio-leds";
-
-               wps {
-                       label = "cf-wr650ac-v1:blue:wps";
-                       gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
-               };
-
-               network {
-                       label = "cf-wr650ac-v1:blue:network";
-                       gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
-               };
-
-               wlan2g {
-                       label = "cf-wr650ac-v1:blue:wlan2";
-                       gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
-                       linux,default-trigger = "phy1tpt";
-               };
-
-               wlan5g {
-                       label = "cf-wr650ac-v1:blue:wlan5";
-                       gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
-                       linux,default-trigger = "phy0tpt";
-               };
-       };
 };
 
 &spi {
        status = "okay";
-       num-cs = <1>;
 
        flash@0 {
                compatible = "jedec,spi-nor";
                };
        };
 };
+
+&eth0 {
+       nvmem-cells = <&macaddr_art_0>;
+       nvmem-cell-names = "mac-address";
+};
+
+&eth1 {
+       nvmem-cells = <&macaddr_art_6>;
+       nvmem-cell-names = "mac-address";
+};
+
+&wmac {
+       mtd-cal-data = <&art 0x1000>;
+
+       nvmem-cells = <&macaddr_art_18>;
+       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_18: macaddr@18 {
+               reg = <0x18 0x6>;
+       };
+};