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

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.comSigned-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent 2928212b
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h> #include <dt-bindings/input/input.h>
#include <dt-bindings/leds/common.h>
#include "ipq5332.dtsi" #include "ipq5332.dtsi"
/ { / {
...@@ -39,6 +40,8 @@ leds { ...@@ -39,6 +40,8 @@ leds {
pinctrl-names = "default"; pinctrl-names = "default";
led-0 { led-0 {
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_WLAN;
gpios = <&tlmm 36 GPIO_ACTIVE_HIGH>; gpios = <&tlmm 36 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "phy0tx"; linux,default-trigger = "phy0tx";
default-state = "off"; default-state = "off";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment