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