diff options
Diffstat (limited to 'target/linux/ramips/dts/mt7621_zyxel_lte5398-m904.dts')
-rw-r--r-- | target/linux/ramips/dts/mt7621_zyxel_lte5398-m904.dts | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/mt7621_zyxel_lte5398-m904.dts b/target/linux/ramips/dts/mt7621_zyxel_lte5398-m904.dts index 307819e746..e4795352cc 100644 --- a/target/linux/ramips/dts/mt7621_zyxel_lte5398-m904.dts +++ b/target/linux/ramips/dts/mt7621_zyxel_lte5398-m904.dts @@ -4,6 +4,7 @@ #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/input/input.h> +#include <dt-bindings/leds/common.h> / { compatible = "zyxel,lte5398-m904", "mediatek,mt7621-soc"; @@ -37,12 +38,14 @@ compatible = "gpio-leds"; led_power_green: power_green { - label = "green:power"; + function = LED_FUNCTION_POWER; + color = <LED_COLOR_ID_GREEN>; gpios = <&gpio 16 GPIO_ACTIVE_HIGH>; }; power_blue { - label = "blue:power"; + function = LED_FUNCTION_POWER; + color = <LED_COLOR_ID_BLUE>; gpios = <&gpio 22 GPIO_ACTIVE_HIGH>; linux,default-trigger = "usbport"; trigger-sources = <&ehci_port2>; |