diff options
author | Tony Truong <truong@codeaurora.org> | 2016-03-08 15:58:02 -0800 |
---|---|---|
committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-25 16:03:39 -0700 |
commit | 87c9c9ef950d8b353c7a60729961ea2140613024 (patch) | |
tree | 74460ba99c1fec3821c1a14db62005d2b10e9cfc /arch | |
parent | b4935d51fd3ebd0b08ddc2ba96e4341ae777fa49 (diff) |
ARM: dts: msm: change PCIe2 PERST and WAKE GPIO on MSM8996AU CDP
PCIe2 PERST and WAKE GPIO uses different pins on
MSM8996AU CDP. Thus, change the GPIO numbers for
PCIe2 PERST and WAKE in devicetree to match the
correct pins on MSM8996AU CDP.
Change-Id: I20d72b07399c55c3982a5d8c97ca3cc60b6f5c46
Signed-off-by: Tony Truong <truong@codeaurora.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boot/dts/qcom/msm8996-auto-cdp.dtsi | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom/msm8996-auto-cdp.dtsi b/arch/arm/boot/dts/qcom/msm8996-auto-cdp.dtsi index 4c608d34e640..30646dba1cd9 100644 --- a/arch/arm/boot/dts/qcom/msm8996-auto-cdp.dtsi +++ b/arch/arm/boot/dts/qcom/msm8996-auto-cdp.dtsi @@ -514,6 +514,49 @@ }; }; + pinctrl@01010000 { + pcie2 { + pcie2_perst_default: pcie2_perst_default { + mux { + pins = "gpio90"; + function = "gpio"; + }; + + config { + pins = "gpio90"; + drive-strength = <2>; + bias-pull-down; + }; + }; + + pcie2_wake_default: pcie2_wake_default { + mux { + pins = "gpio54"; + function = "gpio"; + }; + + config { + pins = "gpio54"; + drive-strength = <2>; + bias-pull-down; + }; + }; + + pcie2_wake_sleep: pcie2_wake_sleep { + mux { + pins = "gpio54"; + function = "gpio"; + }; + + config { + pins = "gpio54"; + drive-strength = <2>; + bias-disable; + }; + }; + }; + }; + gen-vkeys { compatible = "qcom,gen-vkeys"; label = "synaptics_dsx"; @@ -901,6 +944,9 @@ }; &pcie2 { + perst-gpio = <&tlmm 90 0>; + wake-gpio = <&tlmm 54 0>; + /delete-property/ qcom,ep-wakeirq; }; |