diff options
Diffstat (limited to 'target/linux/ramips/dts/rt3052_alfa-network_w502u.dts')
-rw-r--r-- | target/linux/ramips/dts/rt3052_alfa-network_w502u.dts | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/rt3052_alfa-network_w502u.dts b/target/linux/ramips/dts/rt3052_alfa-network_w502u.dts index 0b9270461b..e8c429cf1d 100644 --- a/target/linux/ramips/dts/rt3052_alfa-network_w502u.dts +++ b/target/linux/ramips/dts/rt3052_alfa-network_w502u.dts @@ -2,6 +2,7 @@ #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/input/input.h> +#include <dt-bindings/leds/common.h> / { compatible = "alfa-network,w502u", "ralink,rt3052-soc"; @@ -73,14 +74,16 @@ compatible = "gpio-leds"; usb { - label = "blue:usb"; + function = LED_FUNCTION_USB; + color = <LED_COLOR_ID_BLUE>; gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; trigger-sources = <&otg_port1>; linux,default-trigger = "usbport"; }; led_wps: wps { - label = "blue:wps"; + function = LED_FUNCTION_WPS; + color = <LED_COLOR_ID_BLUE>; gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; }; }; |