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

Commit e720318c authored by Vivek Kumar's avatar Vivek Kumar
Browse files

ARM: dts: msm: Enable PMIC-GPIO clients for msm8996 GVM



Enable PMIC-GPIO clients in la-dts file which are on SMPI bus
for msm8996 GVM.These clients use virtual spmi-arb driver.

Change-Id: I6e6da2ac77a0fffea548e777b5dba9239cf76a18
Signed-off-by: default avatarVivek Kumar <vivekuma@codeaurora.org>
parent 7d2a0a98
Loading
Loading
Loading
Loading
+126 −0
Original line number Diff line number Diff line
@@ -130,3 +130,129 @@
&blsp1_uart2 {
	status = "okay";
};

&pm8994_gpios {
	gpio@c600 { /* GPIO 7 - adv7481 INT3 */
		qcom,mode = <0>;
		qcom,vin-sel = <2>;
		qcom,src-sel = <0>;
		status = "okay";
	};

	gpio@c800 { /* GPIO 9 - Rome 3.3V control */
		qcom,mode = <1>;                /* Digital output */
		qcom,output-type = <0>;         /* MOS logic */
		qcom,invert = <1>;              /* Output high */
		qcom,vin-sel = <0>;             /* VPH_PWR */
		qcom,src-sel = <0>;             /* Constant */
		qcom,out-strength = <1>;        /* High drive strength */
		qcom,master-en = <1>;           /* Enable GPIO */
		status = "okay";
	};

	gpio@c900 { /* GPIO 10 - NFC CLK _REQ*/
		qcom,mode = <0>;
		qcom,vin-sel = <2>;
		qcom,src-sel = <0>;
		qcom,master-en = <1>;
		status = "okay";
	};

	gpio@cd00 { /* GPIO 14 - lcd_bklt_reg_en */
		qcom,mode = <1>;        /* DIGITAL OUT */
		qcom,output-type = <0>;         /* CMOS logic */
		qcom,invert = <1>;      /* output hight initially */
		qcom,vin-sel = <2>;     /* 1.8 */
		qcom,src-sel = <0>;     /* CONSTANT */
		qcom,out-strength = <1>;        /* Low drive strength */
		qcom,master-en = <1>;   /* ENABLE GPIO */
		status = "okay";
	};
	gpio@c100 { /* GPIO 2 */
		qcom,mode = <0>;
		qcom,pull = <0>;
		qcom,vin-sel = <2>;
		qcom,src-sel = <0>;
		status = "okay";
	};
	gpio@c300 { /* GPIO 4 - adv7481 RST */
		qcom,mode = <1>;
		qcom,pull = <0>;
		qcom,vin-sel = <2>;
		qcom,src-sel = <0>;
		status = "okay";
	};

	gpio@c400 { /* GPIO 5 - adv7481 INT1 */
		qcom,mode = <0>;
		qcom,vin-sel = <2>;
		qcom,src-sel = <0>;
		status = "okay";
	};

	gpio@c500 { /* GPIO 6 - adv7481 INT2*/
		qcom,mode = <0>;
		qcom,vin-sel = <2>;
		qcom,src-sel = <0>;
		status = "okay";
	};

	gpio@ca00 { /* GPIO 11 - USB enb1 (otg switch) */
		qcom,mode = <1>;        /* DIGITAL OUT */
		qcom,vin-sel = <2>;     /* 1.8 */
		qcom,src-sel = <0>;     /* GPIO */
		qcom,master-en = <1>;   /* Enable GPIO */
		status = "okay";
	};

	gpio@cc00 { /* GPIO 13 - NTN_RST */
		qcom,mode = <1>; /* DIGITAL OUT */
		qcom,output-type = <0>; /* CMOS logic */
		qcom,pull = <5>;
		qcom,vin-sel = <2>; /* 1.8 */
		qcom,out-strength = <1>;
		qcom,src-sel = <0>; /* GPIO */
		qcom,master-en = <1>; /* Enable GPIO */
		status = "okay";
	};

	gpio@ce00 { /* GPIO 15 */
		qcom,mode = <1>;
		qcom,output-type = <0>;
		qcom,pull = <5>;
		qcom,vin-sel = <2>;
		qcom,out-strength = <1>;
		qcom,src-sel = <2>;
		qcom,master-en = <1>;
		status = "okay";
	};
	gpio@d000 { /* GPIO 17 - USB1 VBUS detect */
		qcom,mode = <0>;        /* Digital Input*/
		qcom,pull = <5>;        /* No pull */
		qcom,vin-sel = <2>;     /* 1.8 V */
		qcom,src-sel = <0>;     /* GPIO */
		qcom,master-en = <1>;   /* Enable GPIO */
		status = "okay";
	};

	gpio@d100 { /* GPIO 18 - Rome Sleep Clock */
		qcom,mode = <1>;                /* Digital output */
		qcom,output-type = <0>;         /* CMOS logic */
		qcom,invert = <0>;              /* Output low initially */
		qcom,vin-sel = <2>;             /* VIN 2 */
		qcom,src-sel = <3>;             /* Function 2 */
		qcom,out-strength = <2>;        /* Medium */
		qcom,master-en = <1>;           /* Enable GPIO */
		status = "okay";
	};

	gpio@d200 { /* GPIO 19 - Rome BT Reset */
		qcom,mode = <1>;                /* Digital output*/
		qcom,pull = <4>;                /* Pulldown 10uA */
		qcom,vin-sel = <2>;             /* VIN2 */
		qcom,src-sel = <0>;             /* GPIO */
		qcom,invert = <0>;              /* Invert */
		qcom,master-en = <1>;           /* Enable GPIO */
		status = "okay";
	};
};