diff options
author | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2023-05-31 04:26:26 +0300 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2023-06-13 16:19:38 -0700 |
commit | b9a0de7d5719aa54199da2932c1b1fdb948ff753 (patch) | |
tree | ae5c0bbdf866709bb6b6f73bc1b7bde133d2bf63 /arch/arm/boot | |
parent | 2b01dda16124696c4b64edcd31e8c2d37c559998 (diff) |
ARM: dts: qcom: apq8074-dragonboard: add onboard leds
The dragonboard as three LEDs: red, green and blue. Add corresponding
description.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230531012627.3813060-2-dmitry.baryshkov@linaro.org
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/dts/qcom-apq8074-dragonboard.dts | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom-apq8074-dragonboard.dts b/arch/arm/boot/dts/qcom-apq8074-dragonboard.dts index 72f7e09a5bbf..baa372acbeb1 100644 --- a/arch/arm/boot/dts/qcom-apq8074-dragonboard.dts +++ b/arch/arm/boot/dts/qcom-apq8074-dragonboard.dts @@ -1,5 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 #include <dt-bindings/gpio/gpio.h> +#include <dt-bindings/leds/common.h> #include "qcom-msm8974.dtsi" #include "qcom-pm8841.dtsi" #include "qcom-pm8941.dtsi" @@ -90,6 +91,29 @@ status = "okay"; }; +&pm8941_lpg { + qcom,power-source = <1>; + status = "okay"; + + led@5 { + reg = <5>; + color = <LED_COLOR_ID_BLUE>; + function = LED_FUNCTION_INDICATOR; + }; + + led@6 { + reg = <6>; + color = <LED_COLOR_ID_GREEN>; + function = LED_FUNCTION_INDICATOR; + }; + + led@7 { + reg = <7>; + color = <LED_COLOR_ID_RED>; + function = LED_FUNCTION_INDICATOR; + }; +}; + &pm8941_wled { qcom,cs-out; qcom,switching-freq = <3200>; |