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
14 Value type: <prop-encoded-array>
15 Definition: Register ranges as listed in the reg-names property
19 Value type: <stringlist>
20 Definition: Must include the following entries
21 - "parf" Qualcomm specific registers
22 - "dbi" Designware PCIe registers
23 - "elbi" External local bus interface registers
24 - "config" PCIe configuration space
29 Definition: Should be "pci". As specified in designware-pcie.txt
34 Definition: Should be 3. As specified in designware-pcie.txt
39 Definition: Should be 2. As specified in designware-pcie.txt
43 Value type: <prop-encoded-array>
44 Definition: As specified in designware-pcie.txt
48 Value type: <prop-encoded-array>
49 Definition: MSI interrupt
53 Value type: <stringlist>
54 Definition: Should contain "msi"
59 Definition: Should be 1. As specified in designware-pcie.txt
63 Value type: <prop-encoded-array>
64 Definition: As specified in designware-pcie.txt
68 Value type: <prop-encoded-array>
69 Definition: As specified in designware-pcie.txt
73 Value type: <prop-encoded-array>
74 Definition: List of phandle and clock specifier pairs as listed
75 in clock-names property
79 Value type: <stringlist>
80 Definition: Should contain the following entries
81 - "iface" Configuration AHB clock
84 Usage: required for ipq/apq8064
85 Value type: <stringlist>
86 Definition: Should contain the following entries
87 - "core" Clocks the pcie hw block
88 - "phy" Clocks the pcie PHY block
90 Usage: required for apq8084
91 Value type: <stringlist>
92 Definition: Should contain the following entries
93 - "aux" Auxiliary (AUX) clock
94 - "bus_master" Master AXI clock
95 - "bus_slave" Slave AXI clock
98 Usage: required for msm8996/apq8096
99 Value type: <stringlist>
100 Definition: Should contain the following entries
101 - "pipe" Pipe Clock driving internal logic
102 - "aux" Auxiliary (AUX) clock
103 - "cfg" Configuration clock
104 - "bus_master" Master AXI clock
105 - "bus_slave" Slave AXI clock
109 Value type: <prop-encoded-array>
110 Definition: List of phandle and reset specifier pairs as listed
111 in reset-names property
114 Usage: required for ipq/apq8064
115 Value type: <stringlist>
116 Definition: Should contain the following entries
124 Usage: required for apq8084
125 Value type: <stringlist>
126 Definition: Should contain the following entries
130 Usage: required for apq8084 and msm8996/apq8096
131 Value type: <prop-encoded-array>
132 Definition: A phandle and power domain specifier pair to the
133 power domain which is responsible for collapsing
134 and restoring power to the peripheral
138 Value type: <phandle>
139 Definition: A phandle to the core analog power supply
142 Usage: required for ipq/apq8064
143 Value type: <phandle>
144 Definition: A phandle to the analog power supply for PHY
146 - vdda_refclk-supply:
147 Usage: required for ipq/apq8064
148 Value type: <phandle>
149 Definition: A phandle to the analog power supply for IC which generates
153 Usage: required for apq8084
154 Value type: <phandle>
155 Definition: List of phandle(s) as listed in phy-names property
158 Usage: required for apq8084
159 Value type: <stringlist>
160 Definition: Should contain "pciephy"
164 Value type: <prop-encoded-array>
165 Definition: List of phandle and gpio specifier pairs. Should contain
166 - "perst-gpios" PCIe endpoint reset signal line
167 - "wake-gpios" PCIe endpoint wake signal line
169 * Example for ipq/apq8064
171 compatible = "qcom,pcie-apq8064", "qcom,pcie-ipq8064", "snps,dw-pcie";
172 reg = <0x1b500000 0x1000
175 0x0ff00000 0x100000>;
176 reg-names = "dbi", "elbi", "parf", "config";
178 linux,pci-domain = <0>;
179 bus-range = <0x00 0xff>;
181 #address-cells = <3>;
183 ranges = <0x81000000 0 0 0x0fe00000 0 0x00100000 /* I/O */
184 0x82000000 0 0 0x08000000 0 0x07e00000>; /* memory */
185 interrupts = <GIC_SPI 238 IRQ_TYPE_NONE>;
186 interrupt-names = "msi";
187 #interrupt-cells = <1>;
188 interrupt-map-mask = <0 0 0 0x7>;
189 interrupt-map = <0 0 0 1 &intc 0 36 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
190 <0 0 0 2 &intc 0 37 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
191 <0 0 0 3 &intc 0 38 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
192 <0 0 0 4 &intc 0 39 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
193 clocks = <&gcc PCIE_A_CLK>,
196 clock-names = "core", "iface", "phy";
197 resets = <&gcc PCIE_ACLK_RESET>,
198 <&gcc PCIE_HCLK_RESET>,
199 <&gcc PCIE_POR_RESET>,
200 <&gcc PCIE_PCI_RESET>,
201 <&gcc PCIE_PHY_RESET>;
202 reset-names = "axi", "ahb", "por", "pci", "phy";
203 pinctrl-0 = <&pcie_pins_default>;
204 pinctrl-names = "default";
207 * Example for apq8084
209 compatible = "qcom,pcie-apq8084", "snps,dw-pcie";
210 reg = <0xfc520000 0x2000>,
214 reg-names = "parf", "dbi", "elbi", "config";
216 linux,pci-domain = <0>;
217 bus-range = <0x00 0xff>;
219 #address-cells = <3>;
221 ranges = <0x81000000 0 0 0xff200000 0 0x00100000 /* I/O */
222 0x82000000 0 0x00300000 0xff300000 0 0x00d00000>; /* memory */
223 interrupts = <GIC_SPI 243 IRQ_TYPE_NONE>;
224 interrupt-names = "msi";
225 #interrupt-cells = <1>;
226 interrupt-map-mask = <0 0 0 0x7>;
227 interrupt-map = <0 0 0 1 &intc 0 244 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
228 <0 0 0 2 &intc 0 245 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
229 <0 0 0 3 &intc 0 247 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
230 <0 0 0 4 &intc 0 248 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
231 clocks = <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
232 <&gcc GCC_PCIE_0_MSTR_AXI_CLK>,
233 <&gcc GCC_PCIE_0_SLV_AXI_CLK>,
234 <&gcc GCC_PCIE_0_AUX_CLK>;
235 clock-names = "iface", "master_bus", "slave_bus", "aux";
236 resets = <&gcc GCC_PCIE_0_BCR>;
237 reset-names = "core";
238 power-domains = <&gcc PCIE0_GDSC>;
239 vdda-supply = <&pma8084_l3>;
241 phy-names = "pciephy";
242 perst-gpio = <&tlmm 70 GPIO_ACTIVE_LOW>;
243 pinctrl-0 = <&pcie0_pins_default>;
244 pinctrl-names = "default";