ARM: dts: qcom: apq8060-ifc6410: 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-2-krzysztof.kozlowski@linaro.org
This commit is contained in:
parent
b8f9cae583
commit
966d7e9c35
1 changed files with 2 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#include "qcom-apq8064-v2.0.dtsi"
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/leds/common.h>
|
||||
#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
|
||||
|
||||
/ {
|
||||
|
@ -39,6 +40,7 @@
|
|||
|
||||
led@1 {
|
||||
label = "apq8064:green:user1";
|
||||
color = <LED_COLOR_ID_GREEN>;
|
||||
gpios = <&pm8921_gpio 18 GPIO_ACTIVE_HIGH>;
|
||||
default-state = "on";
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue