projects
/
openwrt
/
staging
/
nbd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mediatek: convert to new LED color/function format where possible
[openwrt/staging/nbd.git]
/
target
/
linux
/
mediatek
/
dts
/
mt7629-tplink_eap225-v5.dts
diff --git
a/target/linux/mediatek/dts/mt7629-tplink_eap225-v5.dts
b/target/linux/mediatek/dts/mt7629-tplink_eap225-v5.dts
index 5eab714fdac3c104c1f0bff1137d73125cfc3f4a..bab3ad5737383be4465bdf6bd70abaf222ce02f5 100644
(file)
--- a/
target/linux/mediatek/dts/mt7629-tplink_eap225-v5.dts
+++ b/
target/linux/mediatek/dts/mt7629-tplink_eap225-v5.dts
@@
-2,6
+2,7
@@
/dts-v1/;
#include <dt-bindings/input/input.h>
/dts-v1/;
#include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
#include "mt7629.dtsi"
/ {
#include "mt7629.dtsi"
/ {
@@
-35,13
+36,15
@@
compatible = "gpio-leds";
led_status_green: status_green {
compatible = "gpio-leds";
led_status_green: status_green {
- label = "green:status";
+ function = LED_FUNCTION_STATUS;
+ color = <LED_COLOR_ID_GREEN>;
gpios = <&pio 55 GPIO_ACTIVE_HIGH>;
default-state = "on";
};
led_status_amber: status_amber {
gpios = <&pio 55 GPIO_ACTIVE_HIGH>;
default-state = "on";
};
led_status_amber: status_amber {
- label = "amber:status";
+ function = LED_FUNCTION_STATUS;
+ color = <LED_COLOR_ID_AMBER>;
gpios = <&pio 56 GPIO_ACTIVE_HIGH>;
};
};
gpios = <&pio 56 GPIO_ACTIVE_HIGH>;
};
};