Commit 63a021f5 authored by Kathiravan Thirumoorthy's avatar Kathiravan Thirumoorthy Committed by Bjorn Andersson
Browse files

arm64: dts: qcom: ipq5332: add missing properties to the GPIO LED node



Add the color and function property to the GPIO LED node, which are
missed out in the initial submission.

Signed-off-by: default avatarKathiravan Thirumoorthy <quic_kathirav@quicinc.com>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20231025-ipq5332-gpio-led-v1-1-0f0f52617648@quicinc.com


Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent 2928212b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/leds/common.h>
#include "ipq5332.dtsi"

/ {
@@ -39,6 +40,8 @@ leds {
		pinctrl-names = "default";

		led-0 {
			color = <LED_COLOR_ID_GREEN>;
			function = LED_FUNCTION_WLAN;
			gpios = <&tlmm 36 GPIO_ACTIVE_HIGH>;
			linux,default-trigger = "phy0tx";
			default-state = "off";