From 0cdfa122a5ee39dc7b979f3e224f9f2b71c94660 Mon Sep 17 00:00:00 2001 From: Krzysztof Kozlowski Date: Tue, 7 Jun 2022 12:29:31 +0200 Subject: arm64: dts: qcom: sdm845-db845c: add function and color to LED nodes Add common LED properties - the function and color - to LED nodes. Signed-off-by: Krzysztof Kozlowski Signed-off-by: Bjorn Andersson Link: https://lore.kernel.org/r/20220607102931.102805-10-krzysztof.kozlowski@linaro.org --- arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'arch/arm64/boot/dts/qcom/sdm845-db845c.dts') diff --git a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts index 5b9f3885e15e..c444d8de91ec 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts @@ -5,6 +5,7 @@ /dts-v1/; +#include #include #include #include @@ -62,6 +63,8 @@ led-0 { label = "green:user4"; + function = LED_FUNCTION_INDICATOR; + color = ; gpios = <&pm8998_gpio 13 GPIO_ACTIVE_HIGH>; linux,default-trigger = "panic-indicator"; default-state = "off"; @@ -69,6 +72,8 @@ led-1 { label = "yellow:wlan"; + function = LED_FUNCTION_WLAN; + color = ; gpios = <&pm8998_gpio 9 GPIO_ACTIVE_HIGH>; linux,default-trigger = "phy0tx"; default-state = "off"; @@ -76,6 +81,8 @@ led-2 { label = "blue:bt"; + function = LED_FUNCTION_BLUETOOTH; + color = ; gpios = <&pm8998_gpio 5 GPIO_ACTIVE_HIGH>; linux,default-trigger = "bluetooth-power"; default-state = "off"; -- cgit