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
/
rt3050_edimax_3g-6200nl.dts
diff --git
a/target/linux/ramips/dts/rt3050_edimax_3g-6200nl.dts
b/target/linux/ramips/dts/rt3050_edimax_3g-6200nl.dts
index c0fdb9995deac00b0832b32c5795483c2474235e..0cf0943ed64d33f96cce569cb39edc2212f4c141 100644
(file)
--- a/
target/linux/ramips/dts/rt3050_edimax_3g-6200nl.dts
+++ b/
target/linux/ramips/dts/rt3050_edimax_3g-6200nl.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>
#include <dt-bindings/mtd/partitions/uimage.h>
/ {
#include <dt-bindings/mtd/partitions/uimage.h>
/ {
@@
-83,7
+84,8
@@
};
wlan {
};
wlan {
- label = "green:wlan";
+ function = LED_FUNCTION_WLAN;
+ color = <LED_COLOR_ID_GREEN>;
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
};
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
};