1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 # Copyright (C) 2015, 2019, 2024, Intel Corporation
5 $id: http://devicetree.org/schemas/altr,pcie-root-port.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Altera PCIe Root Port
11 - Matthew Gerlach <matthew.gerlach@linux.intel.com>
16 - altr,pcie-root-port-1.0
17 - altr,pcie-root-port-2.0
21 - description: TX slave port region
22 - description: Control register access region
23 - description: Hard IP region
36 interrupt-controller: true
59 - interrupt-controller
64 - $ref: /schemas/pci/pci-host-bridge.yaml#
69 - altr,pcie-root-port-1.0
87 unevaluatedProperties: false
91 #include <dt-bindings/interrupt-controller/arm-gic.h>
92 #include <dt-bindings/interrupt-controller/irq.h>
93 pcie_0: pcie@c00000000 {
94 compatible = "altr,pcie-root-port-1.0";
95 reg = <0xc0000000 0x20000000>,
96 <0xff220000 0x00004000>;
97 reg-names = "Txs", "Cra";
98 interrupt-parent = <&hps_0_arm_gic_0>;
99 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
100 interrupt-controller;
101 #interrupt-cells = <1>;
102 bus-range = <0x0 0xff>;
104 msi-parent = <&msi_to_gic_gen_0>;
105 #address-cells = <3>;
107 interrupt-map-mask = <0 0 0 7>;
108 interrupt-map = <0 0 0 1 &pcie_0 0 0 0 1>,
109 <0 0 0 2 &pcie_0 0 0 0 2>,
110 <0 0 0 3 &pcie_0 0 0 0 3>,
111 <0 0 0 4 &pcie_0 0 0 0 4>;
112 ranges = <0x82000000 0x00000000 0x00000000 0xc0000000 0x00000000 0x10000000>,
113 <0x82000000 0x00000000 0x10000000 0xd0000000 0x00000000 0x10000000>;