ath79: apply Engenius ECB1750 style to OpenMesh MR900 RGMII cfg
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar9331_tplink_tl-mr3040-v2.dts
index 85ab924009613d357e77e2455a6b57a1cf8a392c..c5f7a4fe76ec5e632550eef2239055cd4c68ce3b 100644 (file)
@@ -1,11 +1,10 @@
-// SPDX-License-Identifier: GPL-2.0
-/dts-v1/;
+// SPDX-License-Identifier: GPL-2.0-only
+
+#include "ar9331.dtsi"
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
 
-#include "ar9331.dtsi"
-
 / {
        model = "TP-Link TL-MR3040 V2";
        compatible = "tplink,tl-mr3040-v2", "qca,ar9331";
                pinctrl-0 = <&switch_led_disable_pins>;
 
                wlan {
-                       label = "tp-link:green:wlan";
+                       label = "green:wlan";
                        gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };
 
                led_lan: lan {
-                       label = "tp-link:green:lan";
+                       label = "green:lan";
                        gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
                };
 
                led3g {
-                       label = "tp-link:green:3g";
+                       label = "green:3g";
                        gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&hub_port>;
                        linux,default-trigger = "usbport";
        status = "okay";
 };
 
-&gpio {
-       status = "okay";
-};
-
 &usb {
        #address-cells = <1>;
        #size-cells = <0>;
 &spi {
        status = "okay";
 
-       num-chipselects = <1>;
-
        flash@0 {
                compatible = "jedec,spi-nor";
                spi-max-frequency = <50000000>;