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_ravpower_rp-wd009.dts
diff --git
a/target/linux/ramips/dts/mt7628an_ravpower_rp-wd009.dts
b/target/linux/ramips/dts/mt7628an_ravpower_rp-wd009.dts
index 7c0e7551ce2aadc41a39319ac947191c8dd23861..0f0a3b0147e90cc64b9d7d5c64f7610b14afae90 100644
(file)
--- a/
target/linux/ramips/dts/mt7628an_ravpower_rp-wd009.dts
+++ b/
target/linux/ramips/dts/mt7628an_ravpower_rp-wd009.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 = "ravpower,rp-wd009", "mediatek,mt7628an-soc";
/ {
compatible = "ravpower,rp-wd009", "mediatek,mt7628an-soc";
@@
-37,12
+38,14
@@
};
sd_white {
};
sd_white {
- label = "white:sd";
+ function = LED_FUNCTION_SD;
+ color = <LED_COLOR_ID_WHITE>;
gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
};
sd_red {
gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
};
sd_red {
- label = "red:sd";
+ function = LED_FUNCTION_SD;
+ color = <LED_COLOR_ID_RED>;
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
};
};
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
};
};