1 * Qualcomm PCI express root complex
5 Value type: <stringlist>
6 Definition: Value should contain
7 - "qcom,pcie-ipq8064" for ipq8064
8 - "qcom,pcie-apq8064" for apq8064
9 - "qcom,pcie-apq8084" for apq8084
10 - "qcom,pcie-msm8996" for msm8996 or apq8096
11 - "qcom,pcie-ipq4019" for ipq4019
12 - "qcom,pcie-ipq8074" for ipq8074
16 Value type: <prop-encoded-array>
17 Definition: Register ranges as listed in the reg-names property
21 Value type: <stringlist>
22 Definition: Must include the following entries
23 - "parf" Qualcomm specific registers
24 - "dbi" DesignWare PCIe registers
25 - "elbi" External local bus interface registers
26 - "config" PCIe configuration space
31 Definition: Should be "pci". As specified in designware-pcie.txt
36 Definition: Should be 3. As specified in designware-pcie.txt
41 Definition: Should be 2. As specified in designware-pcie.txt
45 Value type: <prop-encoded-array>
46 Definition: As specified in designware-pcie.txt
50 Value type: <prop-encoded-array>
51 Definition: MSI interrupt
55 Value type: <stringlist>
56 Definition: Should contain "msi"
61 Definition: Should be 1. As specified in designware-pcie.txt
65 Value type: <prop-encoded-array>
66 Definition: As specified in designware-pcie.txt
70 Value type: <prop-encoded-array>
71 Definition: As specified in designware-pcie.txt
75 Value type: <prop-encoded-array>
76 Definition: List of phandle and clock specifier pairs as listed
77 in clock-names property
81 Value type: <stringlist>
82 Definition: Should contain the following entries
83 - "iface" Configuration AHB clock
86 Usage: required for ipq/apq8064
87 Value type: <stringlist>
88 Definition: Should contain the following entries
89 - "core" Clocks the pcie hw block
90 - "phy" Clocks the pcie PHY block
92 Usage: required for apq8084/ipq4019
93 Value type: <stringlist>
94 Definition: Should contain the following entries
95 - "aux" Auxiliary (AUX) clock
96 - "bus_master" Master AXI clock
97 - "bus_slave" Slave AXI clock
100 Usage: required for msm8996/apq8096
101 Value type: <stringlist>
102 Definition: Should contain the following entries
103 - "pipe" Pipe Clock driving internal logic
104 - "aux" Auxiliary (AUX) clock
105 - "cfg" Configuration clock
106 - "bus_master" Master AXI clock
107 - "bus_slave" Slave AXI clock
110 Usage: required for ipq8074
111 Value type: <stringlist>
112 Definition: Should contain the following entries
113 - "iface" PCIe to SysNOC BIU clock
114 - "axi_m" AXI Master clock
115 - "axi_s" AXI Slave clock
117 - "aux" Auxiliary clock
121 Value type: <prop-encoded-array>
122 Definition: List of phandle and reset specifier pairs as listed
123 in reset-names property
126 Usage: required for ipq/apq8064
127 Value type: <stringlist>
128 Definition: Should contain the following entries
136 Usage: required for apq8084
137 Value type: <stringlist>
138 Definition: Should contain the following entries
142 Usage: required for ipq/apq8064
143 Value type: <stringlist>
144 Definition: Should contain the following entries
145 - "axi_m" AXI master reset
146 - "axi_s" AXI slave reset
148 - "axi_m_vmid" VMID reset
149 - "axi_s_xpu" XPU reset
152 - "axi_m_sticky" AXI sticky reset
153 - "pipe_sticky" PIPE sticky reset
156 - "phy_ahb" PHY AHB reset
159 Usage: required for ipq8074
160 Value type: <stringlist>
161 Definition: Should contain the following entries
163 - "sleep" Sleep reset
164 - "sticky" Core Sticky reset
165 - "axi_m" AXI Master reset
166 - "axi_s" AXI Slave reset
168 - "axi_m_sticky" AXI Master Sticky reset
171 Usage: required for apq8084 and msm8996/apq8096
172 Value type: <prop-encoded-array>
173 Definition: A phandle and power domain specifier pair to the
174 power domain which is responsible for collapsing
175 and restoring power to the peripheral
179 Value type: <phandle>
180 Definition: A phandle to the core analog power supply
183 Usage: required for ipq/apq8064
184 Value type: <phandle>
185 Definition: A phandle to the analog power supply for PHY
187 - vdda_refclk-supply:
188 Usage: required for ipq/apq8064
189 Value type: <phandle>
190 Definition: A phandle to the analog power supply for IC which generates
194 Usage: required for apq8084
195 Value type: <phandle>
196 Definition: List of phandle(s) as listed in phy-names property
199 Usage: required for apq8084
200 Value type: <stringlist>
201 Definition: Should contain "pciephy"
205 Value type: <prop-encoded-array>
206 Definition: List of phandle and GPIO specifier pairs. Should contain
207 - "perst-gpios" PCIe endpoint reset signal line
208 - "wake-gpios" PCIe endpoint wake signal line
210 * Example for ipq/apq8064
212 compatible = "qcom,pcie-apq8064", "qcom,pcie-ipq8064", "snps,dw-pcie";
213 reg = <0x1b500000 0x1000
216 0x0ff00000 0x100000>;
217 reg-names = "dbi", "elbi", "parf", "config";
219 linux,pci-domain = <0>;
220 bus-range = <0x00 0xff>;
222 #address-cells = <3>;
224 ranges = <0x81000000 0 0 0x0fe00000 0 0x00100000 /* I/O */
225 0x82000000 0 0 0x08000000 0 0x07e00000>; /* memory */
226 interrupts = <GIC_SPI 238 IRQ_TYPE_NONE>;
227 interrupt-names = "msi";
228 #interrupt-cells = <1>;
229 interrupt-map-mask = <0 0 0 0x7>;
230 interrupt-map = <0 0 0 1 &intc 0 36 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
231 <0 0 0 2 &intc 0 37 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
232 <0 0 0 3 &intc 0 38 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
233 <0 0 0 4 &intc 0 39 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
234 clocks = <&gcc PCIE_A_CLK>,
237 clock-names = "core", "iface", "phy";
238 resets = <&gcc PCIE_ACLK_RESET>,
239 <&gcc PCIE_HCLK_RESET>,
240 <&gcc PCIE_POR_RESET>,
241 <&gcc PCIE_PCI_RESET>,
242 <&gcc PCIE_PHY_RESET>;
243 reset-names = "axi", "ahb", "por", "pci", "phy";
244 pinctrl-0 = <&pcie_pins_default>;
245 pinctrl-names = "default";
248 * Example for apq8084
250 compatible = "qcom,pcie-apq8084", "snps,dw-pcie";
251 reg = <0xfc520000 0x2000>,
255 reg-names = "parf", "dbi", "elbi", "config";
257 linux,pci-domain = <0>;
258 bus-range = <0x00 0xff>;
260 #address-cells = <3>;
262 ranges = <0x81000000 0 0 0xff200000 0 0x00100000 /* I/O */
263 0x82000000 0 0x00300000 0xff300000 0 0x00d00000>; /* memory */
264 interrupts = <GIC_SPI 243 IRQ_TYPE_NONE>;
265 interrupt-names = "msi";
266 #interrupt-cells = <1>;
267 interrupt-map-mask = <0 0 0 0x7>;
268 interrupt-map = <0 0 0 1 &intc 0 244 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
269 <0 0 0 2 &intc 0 245 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
270 <0 0 0 3 &intc 0 247 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
271 <0 0 0 4 &intc 0 248 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
272 clocks = <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
273 <&gcc GCC_PCIE_0_MSTR_AXI_CLK>,
274 <&gcc GCC_PCIE_0_SLV_AXI_CLK>,
275 <&gcc GCC_PCIE_0_AUX_CLK>;
276 clock-names = "iface", "master_bus", "slave_bus", "aux";
277 resets = <&gcc GCC_PCIE_0_BCR>;
278 reset-names = "core";
279 power-domains = <&gcc PCIE0_GDSC>;
280 vdda-supply = <&pma8084_l3>;
282 phy-names = "pciephy";
283 perst-gpio = <&tlmm 70 GPIO_ACTIVE_LOW>;
284 pinctrl-0 = <&pcie0_pins_default>;
285 pinctrl-names = "default";