xref: /linux/Documentation/devicetree/bindings/pci/qcom,pcie-common.yaml (revision 3a39d672e7f48b8d6b91a09afa4b55352773b4b5)
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: 9
25
26  interrupt-names:
27    minItems: 1
28    maxItems: 9
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
81  vddpe-3v3-supply:
82    description: PCIe endpoint power supply
83
84required:
85  - reg
86  - reg-names
87  - interrupt-map-mask
88  - interrupt-map
89  - clocks
90  - clock-names
91
92anyOf:
93  - required:
94      - interrupts
95      - interrupt-names
96      - "#interrupt-cells"
97  - required:
98      - msi-map
99
100allOf:
101  - $ref: /schemas/pci/pci-host-bridge.yaml#
102
103additionalProperties: true
104