projects
/
openwrt
/
staging
/
jow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: convert to new LED color/function format where possible
[openwrt/staging/jow.git]
/
target
/
linux
/
ramips
/
dts
/
rt3052_accton_wr6202.dts
diff --git
a/target/linux/ramips/dts/rt3052_accton_wr6202.dts
b/target/linux/ramips/dts/rt3052_accton_wr6202.dts
index a62f7757c7f80a96d67c27a28d79dca2929cfc45..7e79f4260c7370850906221767524f1a979fa119 100644
(file)
--- a/
target/linux/ramips/dts/rt3052_accton_wr6202.dts
+++ b/
target/linux/ramips/dts/rt3052_accton_wr6202.dts
@@
-2,6
+2,7
@@
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
/ {
compatible = "accton,wr6202", "ralink,rt3052-soc";
/ {
compatible = "accton,wr6202", "ralink,rt3052-soc";
@@
-15,7
+16,8
@@
compatible = "gpio-leds";
wps {
compatible = "gpio-leds";
wps {
- label = "blue:wps";
+ function = LED_FUNCTION_WPS;
+ color = <LED_COLOR_ID_BLUE>;
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};