Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 88bce242 authored by Mao Li's avatar Mao Li Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: add node for green led for msmgold



Add device tree node for green led connected to MPP2
which is on pmi8937 for msmgold platform.

Change-Id: I9f4b3696a66ecac18c9b4cdf1464bd8b77385a52
Signed-off-by: default avatarMao Li <maol@codeaurora.org>
parent 25d7e14e
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
@@ -88,3 +88,23 @@
		qcom,y-offset = <0>;
	};
};

&spmi_bus {
	qcom,pmi8937@2 {
		qcom,leds@a100 {
			status = "okay";
			qcom,led_mpp_2 {
				label = "mpp";
				linux,name = "green";
				linux,default-trigger = "none";
				qcom,default-state = "off";
				qcom,max-current = <40>;
				qcom,current-setting = <5>;
				qcom,id = <6>;
				qcom,mode = "manual";
				qcom,source-sel = <1>;
				qcom,mode-ctrl = <0x60>;
			};
		};
	};
};