projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lantiq: convert to new LED color/function format where possible
[openwrt/openwrt.git]
/
target
/
linux
/
lantiq
/
files
/
arch
/
mips
/
boot
/
dts
/
lantiq
/
ar9_bt_homehub-v3a.dts
diff --git
a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/ar9_bt_homehub-v3a.dts
b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/ar9_bt_homehub-v3a.dts
index 71b32b62f5ab1c52a77df7422ef1bec583c97417..e8024d6463a1dedaa8a2f678c1d668e8451d96db 100644
(file)
--- a/
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/ar9_bt_homehub-v3a.dts
+++ b/
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/ar9_bt_homehub-v3a.dts
@@
-1,6
+1,7
@@
#include "ar9.dtsi"
#include <dt-bindings/input/input.h>
#include "ar9.dtsi"
#include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
/ {
compatible = "bt,homehub-v3a", "lantiq,xway", "lantiq,ar9";
/ {
compatible = "bt,homehub-v3a", "lantiq,xway", "lantiq,ar9";
@@
-75,16
+76,19
@@
};
power_red: power-red {
};
power_red: power-red {
- label = "red:power";
+ function = LED_FUNCTION_POWER;
+ color = <LED_COLOR_ID_RED>;
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
power_orange: power-orange {
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
power_orange: power-orange {
- label = "orange:power";
+ function = LED_FUNCTION_POWER;
+ color = <LED_COLOR_ID_ORANGE>;
gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
default-state = "keep";
};
power_blue: power-blue {
gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
default-state = "keep";
};
power_blue: power-blue {
- label = "blue:power";
+ function = LED_FUNCTION_POWER;
+ color = <LED_COLOR_ID_BLUE>;
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
};
};
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
};
};