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
/
rt5350_dlink_dir-610-a1.dts
diff --git
a/target/linux/ramips/dts/rt5350_dlink_dir-610-a1.dts
b/target/linux/ramips/dts/rt5350_dlink_dir-610-a1.dts
index 7467900e4268a08bbec24937664a9adb44586de6..535e19284f5d2475868dd5d64ea59784b5dbb40b 100644
(file)
--- a/
target/linux/ramips/dts/rt5350_dlink_dir-610-a1.dts
+++ b/
target/linux/ramips/dts/rt5350_dlink_dir-610-a1.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 = "dlink,dir-610-a1", "ralink,rt5350-soc";
/ {
compatible = "dlink,dir-610-a1", "ralink,rt5350-soc";
@@
-18,12
+19,14
@@
compatible = "gpio-leds";
led_status: status {
compatible = "gpio-leds";
led_status: status {
- label = "green:status";
+ function = LED_FUNCTION_STATUS;
+ color = <LED_COLOR_ID_GREEN>;
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
wps {
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
wps {
- label = "green:wps";
+ function = LED_FUNCTION_WPS;
+ color = <LED_COLOR_ID_GREEN>;
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
};
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
};