projects
/
openwrt
/
staging
/
jow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ipq40xx: convert to new LED color/function format where possible
[openwrt/staging/jow.git]
/
target
/
linux
/
ipq40xx
/
files
/
arch
/
arm
/
boot
/
dts
/
qcom-ipq4019-gl-b2200.dts
diff --git
a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-gl-b2200.dts
b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-gl-b2200.dts
index 5cb5f7ca082fa38316f65befb6d9f14275b9fb84..9f645dd65739a90cc7ffea6b27bb12233b275ddc 100644
(file)
--- a/
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-gl-b2200.dts
+++ b/
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-gl-b2200.dts
@@
-3,6
+3,7
@@
#include "qcom-ipq4019.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include "qcom-ipq4019.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
#include <dt-bindings/soc/qcom,tcsr.h>
/ {
#include <dt-bindings/soc/qcom,tcsr.h>
/ {
@@
-84,7
+85,8
@@
compatible = "gpio-leds";
power_blue {
compatible = "gpio-leds";
power_blue {
- label = "blue:power";
+ function = LED_FUNCTION_POWER;
+ color = <LED_COLOR_ID_BLUE>;
gpios = <&tlmm 57 GPIO_ACTIVE_HIGH>;
default-state = "on";
};
gpios = <&tlmm 57 GPIO_ACTIVE_HIGH>;
default-state = "on";
};
@@
-93,7
+95,8
@@
gpios = <&tlmm 60 GPIO_ACTIVE_HIGH>;
};
power_white {
gpios = <&tlmm 60 GPIO_ACTIVE_HIGH>;
};
power_white {
- label = "white:power";
+ function = LED_FUNCTION_POWER;
+ color = <LED_COLOR_ID_WHITE>;
gpios = <&tlmm 61 GPIO_ACTIVE_LOW>;
};
internet_white {
gpios = <&tlmm 61 GPIO_ACTIVE_LOW>;
};
internet_white {