hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/Documentation/devicetree/bindings/pci/qcom,pcie.txt
....@@ -5,11 +5,14 @@
55 Value type: <stringlist>
66 Definition: Value should contain
77 - "qcom,pcie-ipq8064" for ipq8064
8
+ - "qcom,pcie-ipq8064-v2" for ipq8064 rev 2 or ipq8065
89 - "qcom,pcie-apq8064" for apq8064
910 - "qcom,pcie-apq8084" for apq8084
1011 - "qcom,pcie-msm8996" for msm8996 or apq8096
1112 - "qcom,pcie-ipq4019" for ipq4019
1213 - "qcom,pcie-ipq8074" for ipq8074
14
+ - "qcom,pcie-qcs404" for qcs404
15
+ - "qcom,pcie-sdm845" for sdm845
1316
1417 - reg:
1518 Usage: required
....@@ -88,6 +91,8 @@
8891 Definition: Should contain the following entries
8992 - "core" Clocks the pcie hw block
9093 - "phy" Clocks the pcie PHY block
94
+ - "aux" Clocks the pcie AUX block
95
+ - "ref" Clocks the pcie ref block
9196 - clock-names:
9297 Usage: required for apq8084/ipq4019
9398 Value type: <stringlist>
....@@ -115,6 +120,27 @@
115120 - "axi_s" AXI Slave clock
116121 - "ahb" AHB clock
117122 - "aux" Auxiliary clock
123
+
124
+- clock-names:
125
+ Usage: required for qcs404
126
+ Value type: <stringlist>
127
+ Definition: Should contain the following entries
128
+ - "iface" AHB clock
129
+ - "aux" Auxiliary clock
130
+ - "master_bus" AXI Master clock
131
+ - "slave_bus" AXI Slave clock
132
+
133
+-clock-names:
134
+ Usage: required for sdm845
135
+ Value type: <stringlist>
136
+ Definition: Should contain the following entries
137
+ - "aux" Auxiliary clock
138
+ - "cfg" Configuration clock
139
+ - "bus_master" Master AXI clock
140
+ - "bus_slave" Slave AXI clock
141
+ - "slave_q2a" Slave Q2A clock
142
+ - "tbu" PCIe TBU clock
143
+ - "pipe" PIPE clock
118144
119145 - resets:
120146 Usage: required
....@@ -154,6 +180,7 @@
154180 - "pwr" PWR reset
155181 - "ahb" AHB reset
156182 - "phy_ahb" PHY AHB reset
183
+ - "ext" EXT reset
157184
158185 - reset-names:
159186 Usage: required for ipq8074
....@@ -166,6 +193,23 @@
166193 - "axi_s" AXI Slave reset
167194 - "ahb" AHB Reset
168195 - "axi_m_sticky" AXI Master Sticky reset
196
+
197
+- reset-names:
198
+ Usage: required for qcs404
199
+ Value type: <stringlist>
200
+ Definition: Should contain the following entries
201
+ - "axi_m" AXI Master reset
202
+ - "axi_s" AXI Slave reset
203
+ - "axi_m_sticky" AXI Master Sticky reset
204
+ - "pipe_sticky" PIPE sticky reset
205
+ - "pwr" PWR reset
206
+ - "ahb" AHB reset
207
+
208
+- reset-names:
209
+ Usage: required for sdm845
210
+ Value type: <stringlist>
211
+ Definition: Should contain the following entries
212
+ - "pci" PCIe core reset
169213
170214 - power-domains:
171215 Usage: required for apq8084 and msm8996/apq8096
....@@ -195,12 +239,12 @@
195239 Definition: A phandle to the PCIe endpoint power supply
196240
197241 - phys:
198
- Usage: required for apq8084
242
+ Usage: required for apq8084 and qcs404
199243 Value type: <phandle>
200244 Definition: List of phandle(s) as listed in phy-names property
201245
202246 - phy-names:
203
- Usage: required for apq8084
247
+ Usage: required for apq8084 and qcs404
204248 Value type: <stringlist>
205249 Definition: Should contain "pciephy"
206250
....@@ -237,14 +281,17 @@
237281 <0 0 0 4 &intc 0 39 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
238282 clocks = <&gcc PCIE_A_CLK>,
239283 <&gcc PCIE_H_CLK>,
240
- <&gcc PCIE_PHY_CLK>;
241
- clock-names = "core", "iface", "phy";
284
+ <&gcc PCIE_PHY_CLK>,
285
+ <&gcc PCIE_AUX_CLK>,
286
+ <&gcc PCIE_ALT_REF_CLK>;
287
+ clock-names = "core", "iface", "phy", "aux", "ref";
242288 resets = <&gcc PCIE_ACLK_RESET>,
243289 <&gcc PCIE_HCLK_RESET>,
244290 <&gcc PCIE_POR_RESET>,
245291 <&gcc PCIE_PCI_RESET>,
246
- <&gcc PCIE_PHY_RESET>;
247
- reset-names = "axi", "ahb", "por", "pci", "phy";
292
+ <&gcc PCIE_PHY_RESET>,
293
+ <&gcc PCIE_EXT_RESET>;
294
+ reset-names = "axi", "ahb", "por", "pci", "phy", "ext";
248295 pinctrl-0 = <&pcie_pins_default>;
249296 pinctrl-names = "default";
250297 };