ARM: dts: qcom: ipq8064-rb3011: add color to LED node
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 7 Jun 2022 10:29:25 +0000 (12:29 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 1 Jul 2022 03:18:25 +0000 (22:18 -0500)
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
arch/arm/boot/dts/qcom-ipq8064-rb3011.dts

index 760151b..9034f00 100644 (file)
@@ -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";
 
                        led@7 {
                                label = "rb3011:green:user";
+                               color = <LED_COLOR_ID_GREEN>;
                                gpios = <&qcom_pinmux 33 GPIO_ACTIVE_HIGH>;
                                default-state = "off";
                        };