xref: /linux/Documentation/devicetree/bindings/pci/qcom,pcie-common.yaml (revision 79d2e1919a2728ef49d938eb20ebd5903c14dfb0)
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
84  operating-points-v2: true
85  opp-table:
86    type: object
87
88required:
89  - reg
90  - reg-names
91  - interrupt-map-mask
92  - interrupt-map
93  - clocks
94  - clock-names
95
96anyOf:
97  - required:
98      - interrupts
99      - interrupt-names
100      - "#interrupt-cells"
101  - required:
102      - msi-map
103
104allOf:
105  - $ref: /schemas/pci/pci-host-bridge.yaml#
106
107additionalProperties: true
108