ath79: use gpios for switch management in WZR-HP-G300NH variants
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9531_engenius_ews511ap.dts
index 5ca651cfc4152b198443d838d43ad12e0fb1e898..6fd28d5b3637b09f4810b7c8fce61dd2dc3d8024 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "ews511ap:amber:power";
+                       label = "amber:power";
                        gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
                        default-state = "on";
                };
 
                lan1 {
-                       label = "ews511ap:blue:lan1";
+                       label = "blue:lan1";
                        gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
                };
 
                lan2 {
-                       label = "ews511ap:blue:lan2";
+                       label = "blue:lan2";
                        gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
                };
 
                wlan2g {
-                       label = "ews511ap:green:wlan2g";
+                       label = "green:wlan2g";
                        gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };
 
                wlan5g {
-                       label = "ews511ap:green:wlan5g";
+                       label = "green:wlan5g";
                        gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy1tpt";
                };
        status = "okay";
 };
 
-&uart {
-       status = "okay";
-};
-
 &spi {
        status = "okay";
 
-       num-cs = <0>;
-
        flash@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;