Commit b8f9cae5 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Bjorn Andersson
Browse files

ARM: dts: qcom: apq8060-dragonboard: add function and color to LED nodes

parent ae500b35
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
// SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
#include <dt-bindings/input/input.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/leds/common.h>
#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
#include <dt-bindings/pinctrl/qcom,pmic-mpp.h>
#include "qcom-msm8660.dtsi"
@@ -416,6 +417,7 @@ led@131 {
					compatible = "qcom,pm8058-led";
					reg = <0x131>;
					label = "pm8058:red";
					color = <LED_COLOR_ID_RED>;
					default-state = "off";
				};
				led@132 {
@@ -426,6 +428,7 @@ led@132 {
					compatible = "qcom,pm8058-led";
					reg = <0x132>;
					label = "pm8058:yellow";
					color = <LED_COLOR_ID_YELLOW>;
					default-state = "off";
					linux,default-trigger = "mmc0";
				};
@@ -433,6 +436,8 @@ led@133 {
					compatible = "qcom,pm8058-led";
					reg = <0x133>;
					label = "pm8058:green";
					function = LED_FUNCTION_HEARTBEAT;
					color = <LED_COLOR_ID_GREEN>;
					default-state = "on";
					linux,default-trigger = "heartbeat";
				};