diff options
Diffstat (limited to 'target/linux/ramips/dts/rt3662_samsung_cy-swr1100.dts')
-rw-r--r-- | target/linux/ramips/dts/rt3662_samsung_cy-swr1100.dts | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/target/linux/ramips/dts/rt3662_samsung_cy-swr1100.dts b/target/linux/ramips/dts/rt3662_samsung_cy-swr1100.dts index b022b5c2be..d9f2e8c425 100644 --- a/target/linux/ramips/dts/rt3662_samsung_cy-swr1100.dts +++ b/target/linux/ramips/dts/rt3662_samsung_cy-swr1100.dts @@ -2,6 +2,7 @@ #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/input/input.h> +#include <dt-bindings/leds/common.h> / { compatible = "samsung,cy-swr1100", "ralink,rt3662-soc", "ralink,rt3883-soc"; @@ -103,19 +104,22 @@ compatible = "gpio-leds"; wps { - label = "blue:wps"; + function = LED_FUNCTION_WPS; + color = <LED_COLOR_ID_BLUE>; gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; }; usb { - label = "blue:usb"; + function = LED_FUNCTION_USB; + color = <LED_COLOR_ID_BLUE>; gpios = <&gpio1 1 GPIO_ACTIVE_LOW>; trigger-sources = <&ohci_port1>, <&ehci_port1>; linux,default-trigger = "usbport"; }; led_power: power { - label = "blue:power"; + function = LED_FUNCTION_POWER; + color = <LED_COLOR_ID_BLUE>; gpios = <&gpio1 2 GPIO_ACTIVE_LOW>; }; }; |