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-6200n.dts
diff --git
a/target/linux/ramips/dts/rt3050_edimax_3g-6200n.dts
b/target/linux/ramips/dts/rt3050_edimax_3g-6200n.dts
index 62686b5489bf7b46943fdb081dbc8561d34dd81e..e95889f9ef5612aee0506c113d47566bd264122a 100644
(file)
--- a/
target/linux/ramips/dts/rt3050_edimax_3g-6200n.dts
+++ b/
target/linux/ramips/dts/rt3050_edimax_3g-6200n.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>
/ {
@@
-78,12
+79,14
@@
compatible = "gpio-leds";
led_power: power {
compatible = "gpio-leds";
led_power: power {
- label = "green:power";
+ function = LED_FUNCTION_POWER;
+ color = <LED_COLOR_ID_GREEN>;
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
wlan {
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "amber:wlan";
+ function = LED_FUNCTION_WLAN;
+ color = <LED_COLOR_ID_AMBER>;
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};