From: Krzysztof Kozlowski Date: Tue, 7 Jun 2022 10:29:28 +0000 (+0200) Subject: arm64: dts: qcom: qrb5165-rb5: add function and color to LED nodes X-Git-Tag: v6.6.17~6969^2~14^2~63 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=984a8c90c158affd8cf3bb3b5666cad436e3ca7b;p=platform%2Fkernel%2Flinux-rpi.git arm64: dts: qcom: qrb5165-rb5: 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-7-krzysztof.kozlowski@linaro.org --- diff --git a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts index 5f8031b..b374037 100644 --- a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts +++ b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts @@ -60,6 +60,8 @@ user4 { label = "green:user4"; + function = LED_FUNCTION_INDICATOR; + color = ; gpios = <&pm8150_gpios 10 GPIO_ACTIVE_HIGH>; linux,default-trigger = "panic-indicator"; default-state = "off"; @@ -67,6 +69,8 @@ wlan { label = "yellow:wlan"; + function = LED_FUNCTION_WLAN; + color = ; gpios = <&pm8150_gpios 9 GPIO_ACTIVE_HIGH>; linux,default-trigger = "phy0tx"; default-state = "off"; @@ -74,6 +78,8 @@ bt { label = "blue:bt"; + function = LED_FUNCTION_BLUETOOTH; + color = ; gpios = <&pm8150_gpios 7 GPIO_ACTIVE_HIGH>; linux,default-trigger = "bluetooth-power"; default-state = "off";