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
/
mt7628an_hilink_hlk-7688a.dts
diff --git
a/target/linux/ramips/dts/mt7628an_hilink_hlk-7688a.dts
b/target/linux/ramips/dts/mt7628an_hilink_hlk-7688a.dts
index 121a24b5025052ad2e48bc410520bf1713556af4..4e8704b36b74a58921a1ff33696fe06be1159d6e 100644
(file)
--- a/
target/linux/ramips/dts/mt7628an_hilink_hlk-7688a.dts
+++ b/
target/linux/ramips/dts/mt7628an_hilink_hlk-7688a.dts
@@
-4,6
+4,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 = "hilink,hlk-7688a", "mediatek,mt7628an-soc";
/ {
compatible = "hilink,hlk-7688a", "mediatek,mt7628an-soc";
@@
-29,7
+30,8
@@
compatible = "gpio-leds";
led_wlan: wlan {
compatible = "gpio-leds";
led_wlan: wlan {
- label = "green:wlan";
+ function = LED_FUNCTION_WLAN;
+ color = <LED_COLOR_ID_GREEN>;
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};