ath79: create common DTSI for Senao qca955x APs
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9533_tplink_tl-wr841.dtsi
index ade5dec7185d2ef9e829da5257702f3b2eaae59c..416668679595bb742688fc85797c85cbbce7a027 100644 (file)
@@ -1,10 +1,10 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 
+#include "qca953x.dtsi"
+
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
 
-#include "qca953x.dtsi"
-
 / {
        aliases {
                label-mac-device = &wmac;
                compatible = "gpio-leds";
 
                wifi {
-                       label = "tp-link:green:wlan";
+                       label = "green:wlan";
                        gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };
 
                led_qss: qss {
-                       label = "tp-link:green:qss";
+                       label = "green:qss";
                        gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
                };
 
                wan {
-                       label = "tp-link:green:wan";
+                       label = "green:wan";
                        gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
                };
 
                lan1 {
-                       label = "tp-link:green:lan1";
+                       label = "green:lan1";
                        gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
                };
 
                lan2 {
-                       label = "tp-link:green:lan2";
+                       label = "green:lan2";
                        gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
                };
 
                lan3 {
-                       label = "tp-link:green:lan3";
+                       label = "green:lan3";
                        gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
                };
 
                lan4 {
-                       label = "tp-link:green:lan4";
+                       label = "green:lan4";
                        gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
                };
        };
        };
 };
 
-&uart {
-       status = "okay";
-};
-
 &spi {
        status = "okay";
 
-       num-cs = <1>;
-
        flash@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
        };
 };
 
-&eth1 {
-       mtd-mac-address = <&uboot 0x1fc00>;
-};
-
 &eth0 {
        status = "okay";
 
        mtd-mac-address-increment = <1>;
 };
 
+&eth1 {
+       mtd-mac-address = <&uboot 0x1fc00>;
+};
+
 &wmac {
        status = "okay";