aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2022-06-07 12:29:25 +0200
committerBjorn Andersson <bjorn.andersson@linaro.org>2022-06-30 22:18:25 -0500
commit445c44e25342564326384640453d26d1655ebc44 (patch)
treefcb26415a1ef13bc0742b1d7da66d0563a5456e2
parentARM: dts: qcom: ipq4018-ap120c-ac: add function and color to LED nodes (diff)
downloadlinux-dev-445c44e25342564326384640453d26d1655ebc44.tar.xz
linux-dev-445c44e25342564326384640453d26d1655ebc44.zip
ARM: dts: qcom: ipq8064-rb3011: add color to LED node
Add common LED property - the color - to LED node. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220607102931.102805-4-krzysztof.kozlowski@linaro.org
-rw-r--r--arch/arm/boot/dts/qcom-ipq8064-rb3011.dts2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom-ipq8064-rb3011.dts b/arch/arm/boot/dts/qcom-ipq8064-rb3011.dts
index 760151b52add..9034f00f2bd8 100644
--- a/arch/arm/boot/dts/qcom-ipq8064-rb3011.dts
+++ b/arch/arm/boot/dts/qcom-ipq8064-rb3011.dts
@@ -1,6 +1,7 @@
// SPDX-License-Identifier: GPL-2.0
#include "qcom-ipq8064.dtsi"
#include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
/ {
model = "MikroTik RB3011UiAS-RM";
@@ -208,6 +209,7 @@
led@7 {
label = "rb3011:green:user";
+ color = <LED_COLOR_ID_GREEN>;
gpios = <&qcom_pinmux 33 GPIO_ACTIVE_HIGH>;
default-state = "off";
};