ath79: enable UART in SoC DTSI files
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9563_dlink_dir-859-a1.dts
index 8502bed4c528f4de319f6161a92aaaf7bac38f13..a65ccc0863cb488b5aa34375a6404a03295ceab7 100644 (file)
@@ -1,11 +1,10 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-/dts-v1/;
+
+#include "qca956x.dtsi"
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
 
-#include "qca956x.dtsi"
-
 / {
        model = "D-Link DIR-859 A1";
        compatible = "dlink,dir-859-a1", "qca,qca9563";
                led-upgrade = &led_power;
        };
 
-       chosen {
-               bootargs = "console=ttyS0,115200n8";
-       };
-
        leds {
                compatible = "gpio-leds";
 
                wps {
-                       label = "dir-859-a1:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
                };
 
                led_power: power {
-                       label = "dir-859-a1:green:power";
+                       label = "green:power";
                        gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
                };
 
                internet {
-                       label = "dir-859-a1:green:internet";
+                       label = "green:internet";
                        gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
                };
 
                wlan {
-                       label = "dir-859-a1:green:wlan";
+                       label = "green:wlan";
                        gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };
        };
 };
 
-&uart {
-       status = "okay";
-};
-
-&gpio {
-       status = "okay";
-};
-
 &pcie {
        status = "okay";
 };
@@ -89,8 +76,6 @@
 &spi {
        status = "okay";
 
-       num-cs = <1>;
-
        flash@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
 
                qca,ar8327-initvals = <
                        0x04 0x00080080 /* PORT0 PAD MODE CTRL */
-                       0x10 0x81000080 /* POWER_ON_STRIP */
+                       0x10 0x81000080 /* POWER_ON_STRAP */
                        0x50 0xcc35cc35 /* LED_CTRL0 */
                        0x54 0xcb37cb37 /* LED_CTRL1 */
                        0x58 0x00000000 /* LED_CTRL2 */