diff options
Diffstat (limited to 'target/linux/ramips/dts/mt7620a_netgear_wn3x00rp.dtsi')
-rw-r--r-- | target/linux/ramips/dts/mt7620a_netgear_wn3x00rp.dtsi | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/target/linux/ramips/dts/mt7620a_netgear_wn3x00rp.dtsi b/target/linux/ramips/dts/mt7620a_netgear_wn3x00rp.dtsi index 8810742e67..1d3f2f3772 100644 --- a/target/linux/ramips/dts/mt7620a_netgear_wn3x00rp.dtsi +++ b/target/linux/ramips/dts/mt7620a_netgear_wn3x00rp.dtsi @@ -4,6 +4,7 @@ #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/input/input.h> +#include <dt-bindings/leds/common.h> / { aliases { @@ -33,13 +34,15 @@ compatible = "gpio-leds"; led_power_green: power_g { - label = "green:power"; + function = LED_FUNCTION_POWER; + color = <LED_COLOR_ID_GREEN>; gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; default-state = "on"; }; power_r { - label = "red:power"; + function = LED_FUNCTION_POWER; + color = <LED_COLOR_ID_RED>; gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; }; @@ -64,7 +67,8 @@ }; wps { - label = "green:wps"; + function = LED_FUNCTION_WPS; + color = <LED_COLOR_ID_GREEN>; gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; }; |