From 5d459486b0e0ca69b65fe89c6895513a79bd41cb Mon Sep 17 00:00:00 2001 From: Paras Sharma Date: Tue, 19 Apr 2022 18:57:38 +0530 Subject: [PATCH] ARM: dts: msm: Add missing PCIe configuration for neo Add the missing PCIe configuration for neo target. Change-Id: If7368b175fccd3a776e4afd383fdec73d23603a8 --- qcom/neo-pcie.dtsi | 13 +++++++++++-- qcom/neo-pinctrl.dtsi | 4 ++-- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/qcom/neo-pcie.dtsi b/qcom/neo-pcie.dtsi index b1c71819..bb9e0529 100644 --- a/qcom/neo-pcie.dtsi +++ b/qcom/neo-pcie.dtsi @@ -1,4 +1,5 @@ #include +#include #include &soc { @@ -34,6 +35,8 @@ 0 0 0 3 &intc GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH 0 0 0 4 &intc GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>; + msi-parent = <&pcie0_msi>; + perst-gpio = <&tlmm 55 GPIO_ACTIVE_HIGH>; wake-gpio = <&tlmm 57 GPIO_ACTIVE_HIGH>; pinctrl-names = "default", "sleep"; @@ -45,6 +48,7 @@ &pcie0_wake_default>; gdsc-vdd-supply = <&gcc_pcie_0_gdsc>; + gdsc-phy-vdd-supply = <&gcc_pcie_0_phy_gdsc>; vreg-1p8-supply = <&pm8150_l3>; vreg-0p9-supply = <&pm8150_l8>; vreg-cx-supply = <&VDD_CX_LEVEL>; @@ -89,7 +93,7 @@ clock-names = "pcie_0_pipe_clk", "pcie_0_ref_clk_src", "pcie_0_aux_clk", "pcie_0_cfg_ahb_clk", "pcie_0_mstr_axi_clk", "pcie_0_slv_axi_clk", - "pcie_clkref_en", "pcie_0_slv_q2a_axi_clk", + "pcie_0_ldo", "pcie_0_slv_q2a_axi_clk", "pcie_phy_refgen_clk", "pcie_ddrss_sf_tbu_clk", "pcie_aggre_noc_1_axi_clk", @@ -110,6 +114,7 @@ iommu-map = <0x0 &apps_smmu 0x1c00 0x1>, <0x100 &apps_smmu 0x1c01 0x1>; + qcom,device-vendor-id = <0x011317cb>; qcom,boot-option = <0x1>; qcom,aux-clk-freq = <20>; /* 19.2 MHz */ qcom,drv-supported; @@ -316,6 +321,8 @@ 0 0 0 3 &intc GIC_SPI 436 IRQ_TYPE_LEVEL_HIGH 0 0 0 4 &intc GIC_SPI 439 IRQ_TYPE_LEVEL_HIGH>; + msi-parent = <&pcie1_msi>; + perst-gpio = <&tlmm 58 GPIO_ACTIVE_HIGH>; wake-gpio = <&tlmm 60 GPIO_ACTIVE_HIGH>; pinctrl-names = "default", "sleep"; @@ -327,6 +334,7 @@ &pcie1_wake_default>; gdsc-vdd-supply = <&gcc_pcie_1_gdsc>; + gdsc-phy-vdd-supply = <&gcc_pcie_1_phy_gdsc>; vreg-1p8-supply = <&pm8150_l3>; vreg-0p9-supply = <&pm8150_l8>; vreg-cx-supply = <&VDD_CX_LEVEL>; @@ -370,7 +378,7 @@ clock-names = "pcie_1_pipe_clk", "pcie_1_ref_clk_src", "pcie_1_aux_clk", "pcie_1_cfg_ahb_clk", "pcie_1_mstr_axi_clk", "pcie_1_slv_axi_clk", - "pcie_clkref_en", "pcie_1_slv_q2a_axi_clk", + "pcie_1_ldo", "pcie_1_slv_q2a_axi_clk", "pcie_phy_refgen_clk", "pcie_ddrss_sf_tbu_clk", "pcie_aggre_noc_1_axi_clk", @@ -391,6 +399,7 @@ iommu-map = <0x0 &apps_smmu 0x1e00 0x1>, <0x100 &apps_smmu 0x1e01 0x1>; + qcom,device-vendor-id = <0x011317cb>; qcom,boot-option = <0x1>; qcom,aux-clk-freq = <20>; /* 19.2 MHz */ qcom,drv-supported; diff --git a/qcom/neo-pinctrl.dtsi b/qcom/neo-pinctrl.dtsi index 6abdac5d..c43e33f9 100644 --- a/qcom/neo-pinctrl.dtsi +++ b/qcom/neo-pinctrl.dtsi @@ -535,7 +535,7 @@ pcie0_clkreq_default: pcie0_clkreq_default { mux { pins = "gpio56"; - function = "pcie0_clkreqn"; + function = "PCIE0_CLK_REQ_N"; }; config { @@ -589,7 +589,7 @@ pcie1_clkreq_default: pcie1_clkreq_default { mux { pins = "gpio59"; - function = "pcie1_clkreqn"; + function = "PCIE1_CLK_REQ_N"; }; config {