2020-03-05 03:30:16 -07:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
%YAML 1.2
|
|
|
|
---
|
|
|
|
$id: http://devicetree.org/schemas/pci/cdns,cdns-pcie-host.yaml#
|
|
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
|
|
|
|
title: Cadence PCIe host controller
|
|
|
|
|
|
|
|
maintainers:
|
|
|
|
- Tom Joseph <tjoseph@cadence.com>
|
|
|
|
|
|
|
|
allOf:
|
2023-03-20 16:39:11 -07:00
|
|
|
- $ref: cdns-pcie-host.yaml#
|
2020-03-05 03:30:16 -07:00
|
|
|
|
|
|
|
properties:
|
|
|
|
compatible:
|
|
|
|
const: cdns,cdns-pcie-host
|
|
|
|
|
|
|
|
reg:
|
2020-07-22 04:03:09 -07:00
|
|
|
maxItems: 2
|
2020-03-05 03:30:16 -07:00
|
|
|
|
|
|
|
reg-names:
|
|
|
|
items:
|
|
|
|
- const: reg
|
|
|
|
- const: cfg
|
|
|
|
|
|
|
|
required:
|
|
|
|
- reg
|
|
|
|
- reg-names
|
|
|
|
|
2020-10-05 11:38:27 -07:00
|
|
|
unevaluatedProperties: false
|
|
|
|
|
2020-03-05 03:30:16 -07:00
|
|
|
examples:
|
|
|
|
- |
|
|
|
|
bus {
|
|
|
|
#address-cells = <2>;
|
|
|
|
#size-cells = <2>;
|
|
|
|
|
|
|
|
pcie@fb000000 {
|
|
|
|
compatible = "cdns,cdns-pcie-host";
|
|
|
|
device_type = "pci";
|
|
|
|
#address-cells = <3>;
|
|
|
|
#size-cells = <2>;
|
|
|
|
bus-range = <0x0 0xff>;
|
|
|
|
linux,pci-domain = <0>;
|
|
|
|
vendor-id = <0x17cd>;
|
|
|
|
device-id = <0x0200>;
|
|
|
|
|
|
|
|
reg = <0x0 0xfb000000 0x0 0x01000000>,
|
2020-07-22 04:03:09 -07:00
|
|
|
<0x0 0x41000000 0x0 0x00001000>;
|
|
|
|
reg-names = "reg", "cfg";
|
2020-03-05 03:30:16 -07:00
|
|
|
|
|
|
|
ranges = <0x02000000 0x0 0x42000000 0x0 0x42000000 0x0 0x1000000>,
|
|
|
|
<0x01000000 0x0 0x43000000 0x0 0x43000000 0x0 0x0010000>;
|
2020-05-08 06:06:43 -07:00
|
|
|
dma-ranges = <0x02000000 0x0 0x0 0x0 0x0 0x1 0x00000000>;
|
2020-03-05 03:30:16 -07:00
|
|
|
|
|
|
|
#interrupt-cells = <0x1>;
|
|
|
|
|
|
|
|
interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0x0 0x0 14 0x1>,
|
|
|
|
<0x0 0x0 0x0 0x2 &gic 0x0 0x0 0x0 15 0x1>,
|
|
|
|
<0x0 0x0 0x0 0x3 &gic 0x0 0x0 0x0 16 0x1>,
|
|
|
|
<0x0 0x0 0x0 0x4 &gic 0x0 0x0 0x0 17 0x1>;
|
|
|
|
|
|
|
|
interrupt-map-mask = <0x0 0x0 0x0 0x7>;
|
|
|
|
|
|
|
|
msi-parent = <&its_pci>;
|
|
|
|
|
|
|
|
phys = <&pcie_phy0>;
|
|
|
|
phy-names = "pcie-phy";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
...
|