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

Commit 6407c0aa authored by Shimrit Malichi's avatar Shimrit Malichi
Browse files

ARM: dts: apq: add LEDs support for SBC8096



Add LEDs support for SBC8096: general purpose LED, wifi LED and
Bluetooth LED.

Change-Id: Ia3310e5ea26b9c74650c2582315f313fe9056a88
Signed-off-by: default avatarShimrit Malichi <smalichi@codeaurora.org>
parent 0df741f7
Loading
Loading
Loading
Loading
+56 −0
Original line number Diff line number Diff line
@@ -615,6 +615,62 @@
};

&spmi_bus {
	qcom,pmi8994@0 {
		compatible = "qcom,leds-qpnp";

		qcom,leds@a100 { /* user3 LED */
			reg = <0xa100 0x100>;
			status = "okay";
			qcom,led_pmi_mpp_2 {
				label = "mpp";
				linux,name = "user3";
				qcom,max-current = <40>;
				qcom,id = <6>;
				qcom,source-sel = <1>;
				qcom,mode-ctrl = <0x10>;
				qcom,mode = "manual";
				linux,default-trigger =
					"none";
			};
		};
	};

	qcom,pm8994@0 {
		compatible = "qcom,leds-qpnp";

		qcom,leds@a100 { /* wifi LED */
			reg = <0xa100 0x100>;
			status = "okay";
			qcom,led_mpp_2 {
				label = "mpp";
				linux,name = "wifi";
				qcom,max-current = <40>;
				qcom,id = <6>;
				qcom,source-sel = <1>;
				qcom,mode-ctrl = <0x10>;
				qcom,mode = "manual";
				linux,default-trigger =
					"wifi-indication-led";
			};
		};

		qcom,leds@a300 { /* BT LED */
			reg = <0xa300 0x100>;
			status = "okay";
			qcom,led_mpp_4 {
				label = "mpp";
				linux,name = "bt";
				qcom,max-current = <40>;
				qcom,id = <6>;
				qcom,source-sel = <1>;
				qcom,mode-ctrl = <0x10>;
				qcom,mode = "manual";
				linux,default-trigger =
					"bt-indication-led";
			};
		};
	};

	qcom,pm8994@1 {
		pwm@b100 {
			qcom,lpg-dtest-line = <4>;