ARM: dts: msm: Add pin setup for modem-QSPI mux on 8996

Auto platforms have an external mux that needs to be setup
to choose between QSPI and modem. Prior to the modem being
loaded, the mux needs to be setup for modem to use the pin.
This is a one time configuration at bootup, that is performed
by pil driver.

CRs-Fixed: 1010787
Change-Id: Ibab421fadef7e591ec84225aa4be7b55d0a54e0c
Signed-off-by: Hanumant Singh <hanumant@codeaurora.org>
This commit is contained in:
Hanumant Singh 2016-05-10 16:50:09 -07:00 committed by Gerrit - the friendly Code Review server
parent db160719ad
commit e4f49bea67
4 changed files with 29 additions and 0 deletions

View file

@ -20,6 +20,20 @@
interrupt-controller;
#interrupt-cells = <2>;
/* pin governing mux between QSPI and modem on auto boards */
modem_mux: mdm_mux {
mux {
pins = "gpio121";
function = "gpio";
};
config {
pins = "gpio121";
drive-strength = <2>;
bias-pull-up;
output-high;
};
};
/* add pingrp for adv7533 */
pmx_adv7533: pmx_adv7533 {
adv7533_0_int_active: adv7533_0_int_active {

View file

@ -23,6 +23,11 @@
qcom,board-id = <0x03010001 0>;
};
&pil_modem {
pinctrl-names = "default";
pinctrl-0 = <&modem_mux>;
};
&spi_9 {
status = "ok";
can-controller@0 {

View file

@ -41,6 +41,11 @@
};
};
&pil_modem {
pinctrl-names = "default";
pinctrl-0 = <&modem_mux>;
};
&slim_msm {
status = "disabled";
};

View file

@ -34,6 +34,11 @@
};
};
&pil_modem {
pinctrl-names = "default";
pinctrl-0 = <&modem_mux>;
};
&gfx_vreg {
qcom,cpr-voltage-ceiling =
/* Speed bin 0 */