// SPDX-License-Identifier: BSD-3-Clause /* * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. */ #include #include &soc { pcie0: qcom,pcie@1c00000 { compatible = "qcom,pci-msm"; device_type = "pci"; reg = <0x01c00000 0x3000>, <0x01c06000 0x2000>, <0x40000000 0xf1d>, <0x40000f20 0xa8>, <0x40001000 0x1000>, <0x40100000 0x100000>; reg-names = "parf", "phy", "dm_core", "elbi", "iatu", "conf"; cell-index = <0>; linux,pci-domain = <0>; #address-cells = <3>; #size-cells = <2>; ranges = <0x01000000 0x0 0x60200000 0x60200000 0x0 0x100000>, <0x02000000 0x0 0x60300000 0x60300000 0x0 0x3d00000>; interrupts = ; interrupt-names = "int_global_int", "int_a", "int_b", "int_c", "int_d"; msi-map = <0x0 &gic_its 0x1400 0x1>, <0x100 &gic_its 0x1401 0x1>; /* 32 event IDs */ perst-gpio = <&tlmm 102 GPIO_ACTIVE_HIGH>; wake-gpio = <&tlmm 104 GPIO_ACTIVE_HIGH>; pinctrl-names = "default", "sleep"; pinctrl-0 = <&pcie0_perst_default &pcie0_clkreq_default &pcie0_wake_default>; pinctrl-1 = <&pcie0_perst_default &pcie0_clkreq_sleep &pcie0_wake_default>; gdsc-core-vdd-supply = <&gcc_pcie_0_gdsc>; gdsc-phy-vdd-supply = <&gcc_pcie_0_phy_gdsc>; vreg-1p2-supply = <&pm_v8g_l3>; vreg-0p9-supply = <&pm_v6f_l1>; vreg-cx-supply = <&VDD_CX_LEVEL>; vreg-mx-supply = <&VDD_MXA_LEVEL>; qcom,vreg-1p2-voltage-level = <1200000 1200000 18200>; qcom,vreg-0p9-voltage-level = <912000 880000 80900>; qcom,vreg-cx-voltage-level = ; qcom,vreg-mx-voltage-level = ; qcom,bw-scale = /* Gen1 */ ; interconnect-names = "icc_path"; interconnects = <&pcie_noc MASTER_PCIE_3 &mc_virt SLAVE_EBI1>; clocks = <&gcc GCC_PCIE_0_PIPE_CLK>, <&rpmhcc RPMH_CXO_CLK>, <&gcc GCC_PCIE_0_AUX_CLK>, <&gcc GCC_PCIE_0_CFG_AHB_CLK>, <&gcc GCC_PCIE_0_MSTR_AXI_CLK>, <&gcc GCC_PCIE_0_SLV_AXI_CLK>, <&tcsrcc TCSR_PCIE_0_CLKREF_EN>, <&gcc GCC_PCIE_0_SLV_Q2A_AXI_CLK>, <&gcc GCC_PCIE_0_PHY_RCHNG_CLK>, <&gcc GCC_DDRSS_PCIE_SF_QTB_CLK>, <&gcc GCC_AGGRE_NOC_PCIE_AXI_CLK>, <&gcc GCC_CNOC_PCIE_SF_AXI_CLK>, <&gcc GCC_PCIE_0_PIPE_CLK_SRC>, <&pcie_0_pipe_clk>; clock-names = "pcie_pipe_clk", "pcie_ref_clk_src", "pcie_aux_clk", "pcie_cfg_ahb_clk", "pcie_mstr_axi_clk", "pcie_slv_axi_clk", "pcie_clkref_en", "pcie_slv_q2a_axi_clk", "pcie_rate_change_clk", "gcc_ddrss_pcie_sf_qtb_clk", "pcie_aggre_noc_axi_clk", "gcc_cnoc_pcie_sf_axi_clk", "pcie_pipe_clk_mux", "pcie_pipe_clk_ext_src"; qcom,pcie-clock-frequency = <0>, <0>, <19200000>, <0>, <0>, <0>, <0>, <0>, <100000000>, <0>, <0>, <0>, <0>, <0>; clock-suppressible = <0>, <0>, <0>, <0>, <0>, <0>, <1>, <0>, <0>, <0>, <0>, <1>, <0>, <0>; resets = <&gcc GCC_PCIE_0_BCR>, <&gcc GCC_PCIE_0_PHY_BCR>; reset-names = "pcie_0_core_reset", "pcie_0_phy_reset"; dma-coherent; qcom,smmu-sid-base = <0x1400>; iommu-map = <0x0 &apps_smmu 0x1400 0x1>, <0x100 &apps_smmu 0x1401 0x1>; qcom,boot-option = <0x1>; qcom,aux-clk-freq = <20>; /* 19.2 MHz */ qcom,l1-2-th-scale = <2>; qcom,l1-2-th-value = <150>; qcom,slv-addr-space-size = <0x4000000>; qcom,ep-latency = <10>; qcom,num-parf-testbus-sel = <0xb9>; qcom,phy-status-offset = <0x414>; qcom,phy-status-bit = <6>; qcom,phy-power-down-offset = <0x440>; pcie0_rp: pcie0_rp { reg = <0 0 0 0 0>; }; }; pcie0_msi: qcom,pcie0_msi@16110040 { compatible = "qcom,pci-msi"; msi-controller; reg = <0x17110040 0x0>; interrupt-parent = <&intc>; interrupts = , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ; status = "disabled"; }; };