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
32unevaluatedProperties: false
33
34examples:
35  - |
36    bus {
37        #address-cells = <2>;
38        #size-cells = <2>;
39
40        pcie-ep@fc000000 {
41                compatible = "cdns,cdns-pcie-ep";
42                reg = <0x0 0xfc000000 0x0 0x01000000>,
43                      <0x0 0x80000000 0x0 0x40000000>;
44                reg-names = "reg", "mem";
45                cdns,max-outbound-regions = <16>;
46                max-functions = /bits/ 8 <8>;
47                phys = <&pcie_phy0>;
48                phy-names = "pcie-phy";
49        };
50    };
51...
52