xref: /linux/Documentation/devicetree/bindings/pci/qcom,pcie-common.yaml (revision c8073025c0e4d4b441b83950a7fcc2e5cb44eb5d)
1b8d34040SKrzysztof Kozlowski# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2b8d34040SKrzysztof Kozlowski%YAML 1.2
3b8d34040SKrzysztof Kozlowski---
4b8d34040SKrzysztof Kozlowski$id: http://devicetree.org/schemas/pci/qcom,pcie-common.yaml#
5b8d34040SKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml#
6b8d34040SKrzysztof Kozlowski
7b8d34040SKrzysztof Kozlowskititle: Qualcomm PCI Express Root Complex Common Properties
8b8d34040SKrzysztof Kozlowski
9b8d34040SKrzysztof Kozlowskimaintainers:
10b8d34040SKrzysztof Kozlowski  - Bjorn Andersson <andersson@kernel.org>
11b8d34040SKrzysztof Kozlowski  - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
12b8d34040SKrzysztof Kozlowski
13b8d34040SKrzysztof Kozlowskiproperties:
14b8d34040SKrzysztof Kozlowski  reg:
15b8d34040SKrzysztof Kozlowski    minItems: 4
16b8d34040SKrzysztof Kozlowski    maxItems: 6
17b8d34040SKrzysztof Kozlowski
18b8d34040SKrzysztof Kozlowski  reg-names:
19b8d34040SKrzysztof Kozlowski    minItems: 4
20b8d34040SKrzysztof Kozlowski    maxItems: 6
21b8d34040SKrzysztof Kozlowski
22b8d34040SKrzysztof Kozlowski  interrupts:
23b8d34040SKrzysztof Kozlowski    minItems: 1
24b8d34040SKrzysztof Kozlowski    maxItems: 8
25b8d34040SKrzysztof Kozlowski
26b8d34040SKrzysztof Kozlowski  interrupt-names:
27b8d34040SKrzysztof Kozlowski    minItems: 1
28b8d34040SKrzysztof Kozlowski    maxItems: 8
29b8d34040SKrzysztof Kozlowski
30b8d34040SKrzysztof Kozlowski  iommu-map:
31b8d34040SKrzysztof Kozlowski    minItems: 1
32b8d34040SKrzysztof Kozlowski    maxItems: 16
33b8d34040SKrzysztof Kozlowski
34b8d34040SKrzysztof Kozlowski  clocks:
35b8d34040SKrzysztof Kozlowski    minItems: 3
36b8d34040SKrzysztof Kozlowski    maxItems: 13
37b8d34040SKrzysztof Kozlowski
38b8d34040SKrzysztof Kozlowski  clock-names:
39b8d34040SKrzysztof Kozlowski    minItems: 3
40b8d34040SKrzysztof Kozlowski    maxItems: 13
41b8d34040SKrzysztof Kozlowski
42b8d34040SKrzysztof Kozlowski  dma-coherent: true
43b8d34040SKrzysztof Kozlowski
44b8d34040SKrzysztof Kozlowski  interconnects:
45b8d34040SKrzysztof Kozlowski    maxItems: 2
46b8d34040SKrzysztof Kozlowski
47b8d34040SKrzysztof Kozlowski  interconnect-names:
48b8d34040SKrzysztof Kozlowski    items:
49b8d34040SKrzysztof Kozlowski      - const: pcie-mem
50b8d34040SKrzysztof Kozlowski      - const: cpu-pcie
51b8d34040SKrzysztof Kozlowski
52b8d34040SKrzysztof Kozlowski  phys:
53b8d34040SKrzysztof Kozlowski    maxItems: 1
54b8d34040SKrzysztof Kozlowski
55b8d34040SKrzysztof Kozlowski  phy-names:
56b8d34040SKrzysztof Kozlowski    items:
57b8d34040SKrzysztof Kozlowski      - const: pciephy
58b8d34040SKrzysztof Kozlowski
59b8d34040SKrzysztof Kozlowski  power-domains:
60b8d34040SKrzysztof Kozlowski    maxItems: 1
61b8d34040SKrzysztof Kozlowski
62*c8073025SJohan Hovold  required-opps:
63*c8073025SJohan Hovold    maxItems: 1
64*c8073025SJohan Hovold
65b8d34040SKrzysztof Kozlowski  resets:
66b8d34040SKrzysztof Kozlowski    minItems: 1
67b8d34040SKrzysztof Kozlowski    maxItems: 12
68b8d34040SKrzysztof Kozlowski
69b8d34040SKrzysztof Kozlowski  reset-names:
70b8d34040SKrzysztof Kozlowski    minItems: 1
71b8d34040SKrzysztof Kozlowski    maxItems: 12
72b8d34040SKrzysztof Kozlowski
73b8d34040SKrzysztof Kozlowski  perst-gpios:
74b8d34040SKrzysztof Kozlowski    description: GPIO controlled connection to PERST# signal
75b8d34040SKrzysztof Kozlowski    maxItems: 1
76b8d34040SKrzysztof Kozlowski
77b8d34040SKrzysztof Kozlowski  wake-gpios:
78b8d34040SKrzysztof Kozlowski    description: GPIO controlled connection to WAKE# signal
79b8d34040SKrzysztof Kozlowski    maxItems: 1
80b8d34040SKrzysztof Kozlowski
81b8d34040SKrzysztof Kozlowskirequired:
82b8d34040SKrzysztof Kozlowski  - reg
83b8d34040SKrzysztof Kozlowski  - reg-names
84b8d34040SKrzysztof Kozlowski  - interrupt-map-mask
85b8d34040SKrzysztof Kozlowski  - interrupt-map
86b8d34040SKrzysztof Kozlowski  - clocks
87b8d34040SKrzysztof Kozlowski  - clock-names
88b8d34040SKrzysztof Kozlowski
89b8d34040SKrzysztof KozlowskianyOf:
90b8d34040SKrzysztof Kozlowski  - required:
91b8d34040SKrzysztof Kozlowski      - interrupts
92b8d34040SKrzysztof Kozlowski      - interrupt-names
93b8d34040SKrzysztof Kozlowski      - "#interrupt-cells"
94b8d34040SKrzysztof Kozlowski  - required:
95b8d34040SKrzysztof Kozlowski      - msi-map
96b8d34040SKrzysztof Kozlowski      - msi-map-mask
97b8d34040SKrzysztof Kozlowski
98b8d34040SKrzysztof KozlowskiallOf:
99b8d34040SKrzysztof Kozlowski  - $ref: /schemas/pci/pci-bus.yaml#
100b8d34040SKrzysztof Kozlowski
101b8d34040SKrzysztof KozlowskiadditionalProperties: true
102