projects
/
openwrt
/
staging
/
stintel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bcm63xx: convert to new LED color/function format where possible
[openwrt/staging/stintel.git]
/
target
/
linux
/
bcm63xx
/
dts
/
bcm6362-sagem-fast-2504n.dts
diff --git
a/target/linux/bcm63xx/dts/bcm6362-sagem-fast-2504n.dts
b/target/linux/bcm63xx/dts/bcm6362-sagem-fast-2504n.dts
index e5ae573c973856a477f4b02ba7ac5a7fc3cebc90..105e56a59692a01b0b73f7feccc8d1db3a9bad91 100644
(file)
--- a/
target/linux/bcm63xx/dts/bcm6362-sagem-fast-2504n.dts
+++ b/
target/linux/bcm63xx/dts/bcm6362-sagem-fast-2504n.dts
@@
-1,6
+1,7
@@
#include "bcm6362.dtsi"
#include <dt-bindings/input/input.h>
#include "bcm6362.dtsi"
#include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
/ {
model = "Sagem F@st 2504N";
/ {
model = "Sagem F@st 2504N";
@@
-43,11
+44,13
@@
compatible = "gpio-leds";
power_orange {
compatible = "gpio-leds";
power_orange {
- label = "orange:power";
+ function = LED_FUNCTION_POWER;
+ color = <LED_COLOR_ID_ORANGE>;
gpios = <&pinctrl 2 1>;
};
power_green {
gpios = <&pinctrl 2 1>;
};
power_green {
- label = "green:power";
+ function = LED_FUNCTION_POWER;
+ color = <LED_COLOR_ID_GREEN>;
gpios = <&pinctrl 10 1>;
default-state = "on";
};
gpios = <&pinctrl 10 1>;
default-state = "on";
};
@@
-64,7
+67,8
@@
gpios = <&pinctrl 29 1>;
};
wlan_orangee {
gpios = <&pinctrl 29 1>;
};
wlan_orangee {
- label = "orange:wlan";
+ function = LED_FUNCTION_WLAN;
+ color = <LED_COLOR_ID_ORANGE>;
gpios = <&pinctrl 30 1>;
};
};
gpios = <&pinctrl 30 1>;
};
};