projects
/
openwrt
/
staging
/
wigyori.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/wigyori.git]
/
target
/
linux
/
ramips
/
dts
/
mt7620a_zte_q7.dts
diff --git
a/target/linux/ramips/dts/mt7620a_zte_q7.dts
b/target/linux/ramips/dts/mt7620a_zte_q7.dts
index 3848f7317e606edf200e22c45cefcf98a5129578..95a48d29ae23c67e39524bdfb3b1969e6b17a65d 100644
(file)
--- a/
target/linux/ramips/dts/mt7620a_zte_q7.dts
+++ b/
target/linux/ramips/dts/mt7620a_zte_q7.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 = "zte,q7", "ralink,mt7620a-soc";
/ {
compatible = "zte,q7", "ralink,mt7620a-soc";
@@
-18,12
+19,14
@@
compatible = "gpio-leds";
statred {
compatible = "gpio-leds";
statred {
- label = "red:status";
+ function = LED_FUNCTION_STATUS;
+ color = <LED_COLOR_ID_RED>;
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
led_status_blue: statblue {
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
led_status_blue: statblue {
- label = "blue:status";
+ function = LED_FUNCTION_STATUS;
+ color = <LED_COLOR_ID_BLUE>;
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
};
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
};