xref: /freebsd/sys/contrib/device-tree/Bindings/pci/cdns,cdns-pcie-ep.yaml (revision 2b8331622f0b212cf3bb4fc4914a501e5321d506)
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
15properties:
16  compatible:
17    const: cdns,cdns-pcie-ep
18
19  reg:
20    maxItems: 2
21
22  reg-names:
23    items:
24      - const: reg
25      - const: mem
26
27required:
28  - reg
29  - reg-names
30
31unevaluatedProperties: false
32
33examples:
34  - |
35    bus {
36        #address-cells = <2>;
37        #size-cells = <2>;
38
39        pcie-ep@fc000000 {
40                compatible = "cdns,cdns-pcie-ep";
41                reg = <0x0 0xfc000000 0x0 0x01000000>,
42                      <0x0 0x80000000 0x0 0x40000000>;
43                reg-names = "reg", "mem";
44                cdns,max-outbound-regions = <16>;
45                max-functions = /bits/ 8 <8>;
46                phys = <&pcie_phy0>;
47                phy-names = "pcie-phy";
48        };
49    };
50...
51