diff options
Diffstat (limited to 'target/linux/ramips/dts/mt7621_iodata_wn-dx1200gr.dts')
-rw-r--r-- | target/linux/ramips/dts/mt7621_iodata_wn-dx1200gr.dts | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/mt7621_iodata_wn-dx1200gr.dts b/target/linux/ramips/dts/mt7621_iodata_wn-dx1200gr.dts index 9680aadfbb..061f537a96 100644 --- a/target/linux/ramips/dts/mt7621_iodata_wn-dx1200gr.dts +++ b/target/linux/ramips/dts/mt7621_iodata_wn-dx1200gr.dts @@ -4,6 +4,7 @@ #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/input/input.h> +#include <dt-bindings/leds/common.h> / { compatible = "iodata,wn-dx1200gr", "mediatek,mt7621-soc"; @@ -21,12 +22,14 @@ compatible = "gpio-leds"; wps { - label = "blue:wps"; + function = LED_FUNCTION_WPS; + color = <LED_COLOR_ID_BLUE>; gpios = <&gpio 8 GPIO_ACTIVE_LOW>; }; led_power: power { - label = "green:power"; + function = LED_FUNCTION_POWER; + color = <LED_COLOR_ID_GREEN>; gpios = <&gpio 9 GPIO_ACTIVE_HIGH>; }; }; |