diff options
Diffstat (limited to 'target/linux/ramips/dts/mt7620a_planex_mzk-750dhp.dts')
-rw-r--r-- | target/linux/ramips/dts/mt7620a_planex_mzk-750dhp.dts | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/mt7620a_planex_mzk-750dhp.dts b/target/linux/ramips/dts/mt7620a_planex_mzk-750dhp.dts index 3c6f7c582e..ac7b7fefd9 100644 --- a/target/linux/ramips/dts/mt7620a_planex_mzk-750dhp.dts +++ b/target/linux/ramips/dts/mt7620a_planex_mzk-750dhp.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-750dhp", "ralink,mt7620a-soc"; @@ -18,12 +19,14 @@ compatible = "gpio-leds"; wps { - label = "green:wps"; + function = LED_FUNCTION_WPS; + color = <LED_COLOR_ID_GREEN>; gpios = <&gpio2 15 GPIO_ACTIVE_LOW>; }; led_power: power { - label = "green:power"; + function = LED_FUNCTION_POWER; + color = <LED_COLOR_ID_GREEN>; gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; }; |