ARM: dts: msm: add sleep state for PCIe WAKE for msm8998
When PCIe RC powers down, WAKE gpio should switch from default to sleep settings. Add the sleep state for PCIe for msm8998. Change-Id: I6098540e380ea74fd16bec1e87519f7cd17271a9 Signed-off-by: Tony Truong <truong@codeaurora.org>
This commit is contained in:
parent
16c1669252
commit
2d6bacdbca
2 changed files with 17 additions and 1 deletions
|
@ -585,6 +585,19 @@
|
|||
bias-pull-down;
|
||||
};
|
||||
};
|
||||
|
||||
pcie0_wake_sleep: pcie0_wake_sleep {
|
||||
mux {
|
||||
pins = "gpio37";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio37";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
hph_en0_ctrl {
|
||||
|
|
|
@ -2661,10 +2661,13 @@
|
|||
0x800 0x00 0x00
|
||||
0x808 0x03 0x00>;
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-names = "default", "sleep";
|
||||
pinctrl-0 = <&pcie0_clkreq_default
|
||||
&pcie0_perst_default
|
||||
&pcie0_wake_default>;
|
||||
pinctrl-1 = <&pcie0_clkreq_default
|
||||
&pcie0_perst_default
|
||||
&pcie0_wake_sleep>;
|
||||
|
||||
perst-gpio = <&tlmm 35 0>;
|
||||
wake-gpio = <&tlmm 37 0>;
|
||||
|
|
Loading…
Add table
Reference in a new issue