ath79: enable UART in SoC DTSI files
[openwrt/staging/jow.git] / target / linux / ath79 / dts / qca9558_comfast_cf-wr650ac.dtsi
index 39fae74b83ee5262f54c36b8ec74dee2aa275fff..d8a311614f591f596052f455509043df5a3188c2 100644 (file)
@@ -1,16 +1,11 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-/dts-v1/;
+
+#include "qca955x.dtsi"
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
 
-#include "qca9557.dtsi"
-
 / {
-       chosen {
-               bootargs = "console=ttyS0,115200n8";
-       };
-
        keys {
                compatible = "gpio-keys";
 
                };
        };
 
+       leds {
+               compatible = "gpio-leds";
+
+               wps {
+                       label = "blue:wps";
+                       gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
+               };
+
+               network {
+                       label = "blue:network";
+                       gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
+               };
+
+               wlan2g {
+                       label = "blue:wlan2";
+                       gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
+                       linux,default-trigger = "phy1tpt";
+               };
+
+               wlan5g {
+                       label = "blue:wlan5";
+                       gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
+                       linux,default-trigger = "phy0tpt";
+               };
+       };
+
        watchdog {
                compatible = "linux,wdt-gpio";
                gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
        status = "okay";
 };
 
-&uart {
-       status = "okay";
-};
-
 &usb_phy0 {
        status = "okay";
 };
@@ -56,7 +73,7 @@
                qca,ar8327-initvals = <
                        0x04 0x87600000 /* PORT0 PAD MODE CTRL */
                        0x0c 0x00080080 /* PORT6 PAD MODE CTRL */
-                       0x10 0x81000080 /* POWER_ON_STRIP */
+                       0x10 0x81000080 /* POWER_ON_STRAP */
                        0x7c 0x0000007e /* PORT0_STATUS */
                        0x94 0x0000007e /* PORT6 STATUS */
                        >;