1# SPDX-License-Identifier: GPL-2.0-only
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/pci/cdns,cdns-pcie-ep.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Cadence PCIe EP Controller
8
9maintainers:
10  - Tom Joseph <tjoseph@cadence.com>
11
12allOf:
13  - $ref: "cdns-pcie-ep.yaml#"
14  - $ref: "pci-ep.yaml#"
15
16properties:
17  compatible:
18    const: cdns,cdns-pcie-ep
19
20  reg:
21    maxItems: 2
22
23  reg-names:
24    items:
25      - const: reg
26      - const: mem
27
28required:
29  - reg
30  - reg-names
31
32examples:
33  - |
34    bus {
35        #address-cells = <2>;
36        #size-cells = <2>;
37
38        pcie-ep@fc000000 {
39                compatible = "cdns,cdns-pcie-ep";
40                reg = <0x0 0xfc000000 0x0 0x01000000>,
41                      <0x0 0x80000000 0x0 0x40000000>;
42                reg-names = "reg", "mem";
43                cdns,max-outbound-regions = <16>;
44                max-functions = /bits/ 8 <8>;
45                phys = <&pcie_phy0>;
46                phy-names = "pcie-phy";
47        };
48    };
49...
50