18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci%YAML 1.2
38c2ecf20Sopenharmony_ci---
48c2ecf20Sopenharmony_ci$id: http://devicetree.org/schemas/pci/cdns,cdns-pcie-host.yaml#
58c2ecf20Sopenharmony_ci$schema: http://devicetree.org/meta-schemas/core.yaml#
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_cititle: Cadence PCIe host controller
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_cimaintainers:
108c2ecf20Sopenharmony_ci  - Tom Joseph <tjoseph@cadence.com>
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ciallOf:
138c2ecf20Sopenharmony_ci  - $ref: /schemas/pci/pci-bus.yaml#
148c2ecf20Sopenharmony_ci  - $ref: "cdns-pcie-host.yaml#"
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ciproperties:
178c2ecf20Sopenharmony_ci  compatible:
188c2ecf20Sopenharmony_ci    const: cdns,cdns-pcie-host
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ci  reg:
218c2ecf20Sopenharmony_ci    maxItems: 2
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ci  reg-names:
248c2ecf20Sopenharmony_ci    items:
258c2ecf20Sopenharmony_ci      - const: reg
268c2ecf20Sopenharmony_ci      - const: cfg
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_ci  msi-parent: true
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_cirequired:
318c2ecf20Sopenharmony_ci  - reg
328c2ecf20Sopenharmony_ci  - reg-names
338c2ecf20Sopenharmony_ci
348c2ecf20Sopenharmony_ciunevaluatedProperties: false
358c2ecf20Sopenharmony_ci
368c2ecf20Sopenharmony_ciexamples:
378c2ecf20Sopenharmony_ci  - |
388c2ecf20Sopenharmony_ci    bus {
398c2ecf20Sopenharmony_ci        #address-cells = <2>;
408c2ecf20Sopenharmony_ci        #size-cells = <2>;
418c2ecf20Sopenharmony_ci
428c2ecf20Sopenharmony_ci        pcie@fb000000 {
438c2ecf20Sopenharmony_ci            compatible = "cdns,cdns-pcie-host";
448c2ecf20Sopenharmony_ci            device_type = "pci";
458c2ecf20Sopenharmony_ci            #address-cells = <3>;
468c2ecf20Sopenharmony_ci            #size-cells = <2>;
478c2ecf20Sopenharmony_ci            bus-range = <0x0 0xff>;
488c2ecf20Sopenharmony_ci            linux,pci-domain = <0>;
498c2ecf20Sopenharmony_ci            vendor-id = <0x17cd>;
508c2ecf20Sopenharmony_ci            device-id = <0x0200>;
518c2ecf20Sopenharmony_ci
528c2ecf20Sopenharmony_ci            reg = <0x0 0xfb000000  0x0 0x01000000>,
538c2ecf20Sopenharmony_ci                  <0x0 0x41000000  0x0 0x00001000>;
548c2ecf20Sopenharmony_ci            reg-names = "reg", "cfg";
558c2ecf20Sopenharmony_ci
568c2ecf20Sopenharmony_ci            ranges = <0x02000000 0x0 0x42000000  0x0 0x42000000  0x0 0x1000000>,
578c2ecf20Sopenharmony_ci                     <0x01000000 0x0 0x43000000  0x0 0x43000000  0x0 0x0010000>;
588c2ecf20Sopenharmony_ci            dma-ranges = <0x02000000 0x0 0x0 0x0 0x0 0x1 0x00000000>;
598c2ecf20Sopenharmony_ci
608c2ecf20Sopenharmony_ci            #interrupt-cells = <0x1>;
618c2ecf20Sopenharmony_ci
628c2ecf20Sopenharmony_ci            interrupt-map = <0x0 0x0 0x0  0x1  &gic  0x0 0x0 0x0 14 0x1>,
638c2ecf20Sopenharmony_ci                 <0x0 0x0 0x0  0x2  &gic  0x0 0x0 0x0 15 0x1>,
648c2ecf20Sopenharmony_ci                 <0x0 0x0 0x0  0x3  &gic  0x0 0x0 0x0 16 0x1>,
658c2ecf20Sopenharmony_ci                 <0x0 0x0 0x0  0x4  &gic  0x0 0x0 0x0 17 0x1>;
668c2ecf20Sopenharmony_ci
678c2ecf20Sopenharmony_ci            interrupt-map-mask = <0x0 0x0 0x0  0x7>;
688c2ecf20Sopenharmony_ci
698c2ecf20Sopenharmony_ci            msi-parent = <&its_pci>;
708c2ecf20Sopenharmony_ci
718c2ecf20Sopenharmony_ci            phys = <&pcie_phy0>;
728c2ecf20Sopenharmony_ci            phy-names = "pcie-phy";
738c2ecf20Sopenharmony_ci        };
748c2ecf20Sopenharmony_ci    };
758c2ecf20Sopenharmony_ci...
76