ramips: remove model name from LED labels
[openwrt/staging/mkresin.git] / target / linux / ramips / dts / mt7628an_zbtlink_zbt-we1226.dts
index 231780a252a6bc75c4be76bfb137e74f5469b4a9..ac2a01eabaf833309c7d852bc850082e2a3dfd38 100644 (file)
@@ -1,9 +1,8 @@
-/dts-v1/;
+#include "mt7628an.dtsi"
+
 #include <dt-bindings/input/input.h>
 #include <dt-bindings/gpio/gpio.h>
 
-#include "mt7628an.dtsi"
-
 / {
        compatible = "zbtlink,zbt-we1226", "mediatek,mt7628an-soc";
        model = "Zbtlink ZBT-WE1226";
                compatible = "gpio-leds";
 
                wan {
-                       label = "zbt-we1226:green:wan";
+                       label = "green:wan";
                        gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
                };
 
                lan1 {
-                       label = "zbt-we1226:green:lan1";
+                       label = "green:lan1";
                        gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
                };
 
                lan2 {
-                       label = "zbt-we1226:green:lan2";
+                       label = "green:lan2";
                        gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
                };
 
                led_wlan: wlan {
-                       label = "zbt-we1226:green:wlan";
+                       label = "green:wlan";
                        gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                };
        };
 
 &state_default {
        gpio {
-               ralink,group = "p0led_an", "p1led_an", "p4led_an", "wdt", "wled_an";
-               ralink,function = "gpio";
+               groups = "p0led_an", "p1led_an", "p4led_an", "wdt", "wled_an";
+               function = "gpio";
        };
 };
 
 &spi0 {
        status = "okay";
 
-       m25p80@0 {
+       flash@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <10000000>;