ath79: enable UART in SoC DTSI files
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar9344_enterasys_ws-ap3705i.dts
index 20ff48cc272515bf1ecc6072d8c2d545106d82cf..52becec18babaa59ca50e459d915b242171100b5 100644 (file)
@@ -1,11 +1,10 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-/dts-v1/;
+
+#include "ar9344.dtsi"
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
 
-#include "ar9344.dtsi"
-
 / {
        compatible = "enterasys,ws-ap3705i", "qca,ar9344";
        model = "Enterasys WS-AP3705i";
@@ -24,7 +23,7 @@
 
        mtd-concat {
                compatible = "mtd-concat";
-               devices = <&concat0 &concat1>;
+               devices = <&fwconcat0 &fwconcat1>;
 
                partitions {
                        compatible = "fixed-partitions";
                pinctrl-0 = <&enable_gpio_11 &enable_gpio_16>;
 
                led_power_green: power_green {
-                       label = "ws-ap3705i:green:power";
+                       label = "green:power";
                        gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
                };
 
                led_power_red: power_red {
-                       label = "ws-ap3705i:red:power";
+                       label = "red:power";
                        gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
                };
 
                lan_blue {
-                       label = "ws-ap3705i:blue:lan";
+                       label = "blue:lan";
                        gpios = <&gpio 19 GPIO_ACTIVE_HIGH>;
                };
 
                lan_green {
-                       label = "ws-ap3705i:green:lan";
+                       label = "green:lan";
                        gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
                };
 
                radio2 {
-                       label = "ws-ap3705i:green:radio2";
+                       label = "green:radio2";
                        gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };
@@ -76,7 +75,7 @@
                compatible = "gpio-leds";
 
                radio1 {
-                       label = "ws-ap3705i:green:radio1";
+                       label = "green:radio1";
                        gpios = <&ath9k 0 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy1tpt";
                };
        clock-frequency = <40000000>;
 };
 
-&uart {
-       status = "okay";
-};
-
 &pinmux {
        enable_gpio_16: pinmux_enable_gpio_16 {
                pinctrl-single,bits = <0x10 0x0 0x000000ff>;
        status = "okay";
 
        cs-gpios = <0>, <0>;
-       num-cs = <2>;
 
        flash@0 {
                compatible = "jedec,spi-nor";
                                read-only;
                        };
 
-                       concat0: partition@230000 {
-                               label = "concat0";
+                       fwconcat0: partition@230000 {
+                               label = "fwconcat0";
                                reg = <0x230000 0xdd0000>;
                        };
                };
                        #address-cells = <1>;
                        #size-cells = <1>;
 
-                       concat1: partition@0 {
-                               label = "concat1";
+                       fwconcat1: partition@0 {
+                               label = "fwconcat1";
                                reg = <0x0 0x1000000>;
                        };
                };