Tom Rini | 6b642ac | 2024-10-01 12:20:28 -0600 | [diff] [blame] | 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 | |
| 7 | title: PLDA XpressRICH PCIe host common properties |
| 8 | |
| 9 | maintainers: |
| 10 | - Daire McNamara <daire.mcnamara@microchip.com> |
| 11 | - Kevin Xie <kevin.xie@starfivetech.com> |
| 12 | |
| 13 | description: |
| 14 | Generic PLDA XpressRICH PCIe host common properties. |
| 15 | |
| 16 | allOf: |
| 17 | - $ref: /schemas/pci/pci-host-bridge.yaml# |
| 18 | |
| 19 | properties: |
| 20 | reg: |
| 21 | maxItems: 2 |
| 22 | |
| 23 | reg-names: |
| 24 | items: |
| 25 | - const: cfg |
| 26 | - const: apb |
| 27 | |
| 28 | interrupts: |
| 29 | minItems: 1 |
| 30 | items: |
| 31 | - description: PCIe host controller |
| 32 | - description: builtin MSI controller |
| 33 | |
| 34 | interrupt-names: |
| 35 | minItems: 1 |
| 36 | items: |
| 37 | - const: pcie |
| 38 | - const: msi |
| 39 | |
| 40 | msi-controller: |
| 41 | description: Identifies the node as an MSI controller. |
| 42 | |
| 43 | msi-parent: |
| 44 | description: MSI controller the device is capable of using. |
| 45 | |
| 46 | interrupt-controller: |
| 47 | type: object |
| 48 | properties: |
| 49 | '#address-cells': |
| 50 | const: 0 |
| 51 | |
| 52 | '#interrupt-cells': |
| 53 | const: 1 |
| 54 | |
| 55 | interrupt-controller: true |
| 56 | |
| 57 | required: |
| 58 | - '#address-cells' |
| 59 | - '#interrupt-cells' |
| 60 | - interrupt-controller |
| 61 | |
| 62 | additionalProperties: false |
| 63 | |
| 64 | required: |
| 65 | - reg |
| 66 | - reg-names |
| 67 | - interrupts |
| 68 | - msi-controller |
| 69 | - "#interrupt-cells" |
| 70 | - interrupt-map-mask |
| 71 | - interrupt-map |
| 72 | |
| 73 | additionalProperties: true |
| 74 | |
| 75 | ... |