aboutsummaryrefslogtreecommitdiff
path: root/target/linux/ramips/dts/rt3883_trendnet_tew-692gr.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/rt3883_trendnet_tew-692gr.dts')
-rw-r--r--target/linux/ramips/dts/rt3883_trendnet_tew-692gr.dts7
1 files changed, 5 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/rt3883_trendnet_tew-692gr.dts b/target/linux/ramips/dts/rt3883_trendnet_tew-692gr.dts
index ee2ca91af7..93a5aac758 100644
--- a/target/linux/ramips/dts/rt3883_trendnet_tew-692gr.dts
+++ b/target/linux/ramips/dts/rt3883_trendnet_tew-692gr.dts
@@ -2,6 +2,7 @@
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
/ {
compatible = "trendnet,tew-692gr", "ralink,rt3883-soc";
@@ -87,12 +88,14 @@
compatible = "gpio-leds";
wps {
- label = "orange:wps";
+ function = LED_FUNCTION_WPS;
+ color = <LED_COLOR_ID_ORANGE>;
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
led_wps_green: wps2 {
- label = "green:wps";
+ function = LED_FUNCTION_WPS;
+ color = <LED_COLOR_ID_GREEN>;
gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
};
};