xref: /linux/Documentation/devicetree/bindings/pci/plda,xpressrich3-axi-common.yaml (revision 7f71507851fc7764b36a3221839607d3a45c2025)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/pci/plda,xpressrich3-axi-common.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: PLDA XpressRICH PCIe host common properties
8
9maintainers:
10  - Daire McNamara <daire.mcnamara@microchip.com>
11  - Kevin Xie <kevin.xie@starfivetech.com>
12
13description:
14  Generic PLDA XpressRICH PCIe host common properties.
15
16allOf:
17  - $ref: /schemas/pci/pci-host-bridge.yaml#
18
19properties:
20  reg:
21    maxItems: 3
22    minItems: 2
23
24  reg-names:
25    oneOf:
26      - items:
27          - const: cfg
28          - const: apb
29      - items:
30          - const: cfg
31          - const: bridge
32          - const: ctrl
33
34  interrupts:
35    minItems: 1
36    items:
37      - description: PCIe host controller
38      - description: builtin MSI controller
39
40  interrupt-names:
41    minItems: 1
42    items:
43      - const: pcie
44      - const: msi
45
46  msi-controller:
47    description: Identifies the node as an MSI controller.
48
49  msi-parent:
50    description: MSI controller the device is capable of using.
51
52  interrupt-controller:
53    type: object
54    properties:
55      '#address-cells':
56        const: 0
57
58      '#interrupt-cells':
59        const: 1
60
61      interrupt-controller: true
62
63    required:
64      - '#address-cells'
65      - '#interrupt-cells'
66      - interrupt-controller
67
68    additionalProperties: false
69
70required:
71  - reg
72  - reg-names
73  - interrupts
74  - msi-controller
75  - "#interrupt-cells"
76  - interrupt-map-mask
77  - interrupt-map
78
79additionalProperties: true
80
81...
82