diff options
Diffstat (limited to 'target/linux/ramips/dts/mt7620a_buffalo_whr-1166d.dts')
-rw-r--r-- | target/linux/ramips/dts/mt7620a_buffalo_whr-1166d.dts | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/mt7620a_buffalo_whr-1166d.dts b/target/linux/ramips/dts/mt7620a_buffalo_whr-1166d.dts index 17bf2f8272..8145f4492d 100644 --- a/target/linux/ramips/dts/mt7620a_buffalo_whr-1166d.dts +++ b/target/linux/ramips/dts/mt7620a_buffalo_whr-1166d.dts @@ -2,6 +2,7 @@ #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/input/input.h> +#include <dt-bindings/leds/common.h> / { compatible = "buffalo,whr-1166d", "ralink,mt7620a-soc"; @@ -18,7 +19,8 @@ compatible = "gpio-leds"; power { - label = "red:power"; + function = LED_FUNCTION_POWER; + color = <LED_COLOR_ID_RED>; gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; }; @@ -28,7 +30,8 @@ }; led_power_green: power2 { - label = "green:power"; + function = LED_FUNCTION_POWER; + color = <LED_COLOR_ID_GREEN>; gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; }; |