xdp-tools: fix compilation wrongly using host header
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar7161_siemens_ws-ap3610.dts
index 22ae58929cc202e0c7de713383c9f93f16361e2e..a8ee7df0da3e9e7f57fa97a3e7cd3cf2928b261c 100644 (file)
@@ -4,6 +4,7 @@
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        compatible = "siemens,ws-ap3610", "qca,ar7161";
                label-mac-device = &eth0;
        };
 
-       extosc: ref {
-               compatible = "fixed-clock";
-               #clock-cells = <0>;
-               clock-output-names = "ref";
-               clock-frequency = <40000000>;
-       };
-
        leds {
                compatible = "gpio-leds";
 
                led_power_green: led_power_green {
-                       label = "ws-ap3610:green:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
                };
 
                led_power_red: led_power_red {
-                       label = "ws-ap3610:red:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_RED>;
                        gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
                };
 
                led_wlan5_blue {
-                       label = "ws-ap3610:blue:wlan5";
+                       label = "blue:wlan5";
                        gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };
 
                led_wlan5_green {
-                       label = "ws-ap3610:green:wlan5";
+                       label = "green:wlan5";
                        gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
                };
 
                led_wlan2_blue {
-                       label = "ws-ap3610:blue:wlan2";
+                       label = "blue:wlan2";
                        gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy1tpt";
                };
 
                led_wlan2_green {
-                       label = "ws-ap3610:green:wlan2";
+                       label = "green:wlan2";
                        gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
                };
        };
        status = "okay";
 };
 
-&uart {
-       status = "okay";
-};
-
 &mdio0 {
        status = "okay";
 
 &spi {
        status = "okay";
 
-       num-cs = <1>;
-
        flash@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
-               spi-max-frequency = <25000000>;
+               spi-max-frequency = <50000000>;
 
                partitions {
                        compatible = "fixed-partitions";