summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/qcom-ipq8064-v1.0.dtsi
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2022-06-07 12:29:26 +0200
committerBjorn Andersson <bjorn.andersson@linaro.org>2022-07-01 05:18:25 +0200
commit69b1142baeab4e1603a94b5e8c1676ecc911c9b5 (patch)
treef5cc00c644d187f10b0a7a37352031728827f7e6 /arch/arm/boot/dts/qcom-ipq8064-v1.0.dtsi
parentARM: dts: qcom: ipq8064-rb3011: add color to LED node (diff)
downloadlinux-69b1142baeab4e1603a94b5e8c1676ecc911c9b5.tar.xz
linux-69b1142baeab4e1603a94b5e8c1676ecc911c9b5.zip
ARM: dts: qcom: ipq8064: add function to LED nodes
Add common LED property - the function - to LED nodes. 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-5-krzysztof.kozlowski@linaro.org
Diffstat (limited to 'arch/arm/boot/dts/qcom-ipq8064-v1.0.dtsi')
-rw-r--r--arch/arm/boot/dts/qcom-ipq8064-v1.0.dtsi3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom-ipq8064-v1.0.dtsi b/arch/arm/boot/dts/qcom-ipq8064-v1.0.dtsi
index ccebb7d56113..411c8d63c38e 100644
--- a/arch/arm/boot/dts/qcom-ipq8064-v1.0.dtsi
+++ b/arch/arm/boot/dts/qcom-ipq8064-v1.0.dtsi
@@ -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 = "Qualcomm Technologies, Inc. IPQ8064-v1.0";
@@ -107,6 +108,7 @@
led@9 {
label = "status_led_fail";
+ function = LED_FUNCTION_STATUS;
gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
@@ -119,6 +121,7 @@
led@53 {
label = "status_led_pass";
+ function = LED_FUNCTION_STATUS;
gpios = <&qcom_pinmux 53 GPIO_ACTIVE_HIGH>;
default-state = "off";
};