diff options
Diffstat (limited to 'target/linux/ramips/dts/rt3052_planex_mzk-w300nh2.dts')
-rw-r--r-- | target/linux/ramips/dts/rt3052_planex_mzk-w300nh2.dts | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/target/linux/ramips/dts/rt3052_planex_mzk-w300nh2.dts b/target/linux/ramips/dts/rt3052_planex_mzk-w300nh2.dts index c3d7993ae6..f88525666b 100644 --- a/target/linux/ramips/dts/rt3052_planex_mzk-w300nh2.dts +++ b/target/linux/ramips/dts/rt3052_planex_mzk-w300nh2.dts @@ -2,6 +2,7 @@ #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/input/input.h> +#include <dt-bindings/leds/common.h> / { compatible = "planex,mzk-w300nh2", "ralink,rt3052-soc"; @@ -75,17 +76,20 @@ compatible = "gpio-leds"; led_power: power { - label = "green:power"; + function = LED_FUNCTION_POWER; + color = <LED_COLOR_ID_GREEN>; gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; }; wlan { - label = "amber:wlan"; + function = LED_FUNCTION_WLAN; + color = <LED_COLOR_ID_AMBER>; gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; }; wps { - label = "amber:wps"; + function = LED_FUNCTION_WPS; + color = <LED_COLOR_ID_AMBER>; gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; }; }; |