1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 # Copyright (C) 2022-2023 Renesas Electronics Corp.
5 $id: http://devicetree.org/schemas/pci/rcar-gen4-pci-host.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Renesas R-Car Gen4 PCIe Host
11 - Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
14 - $ref: snps,dw-pcie.yaml#
19 - const: renesas,r8a779f0-pcie # R-Car S4-8
20 - const: renesas,rcar-gen4-pcie # R-Car Gen4
81 unevaluatedProperties: false
85 #include <dt-bindings/clock/r8a779f0-cpg-mssr.h>
86 #include <dt-bindings/interrupt-controller/arm-gic.h>
87 #include <dt-bindings/power/r8a779f0-sysc.h>
94 compatible = "renesas,r8a779f0-pcie", "renesas,rcar-gen4-pcie";
95 reg = <0 0xe65d0000 0 0x1000>, <0 0xe65d2000 0 0x0800>,
96 <0 0xe65d3000 0 0x2000>, <0 0xe65d5000 0 0x1200>,
97 <0 0xe65d6200 0 0x0e00>, <0 0xe65d7000 0 0x0400>,
98 <0 0xfe000000 0 0x400000>;
99 reg-names = "dbi", "dbi2", "atu", "dma", "app", "phy", "config";
100 interrupts = <GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH>,
101 <GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH>,
102 <GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>,
103 <GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>;
104 interrupt-names = "msi", "dma", "sft_ce", "app";
105 clocks = <&cpg CPG_MOD 624>, <&pcie0_clkref>;
106 clock-names = "core", "ref";
107 power-domains = <&sysc R8A779F0_PD_ALWAYS_ON>;
110 max-link-speed = <4>;
112 #address-cells = <3>;
114 bus-range = <0x00 0xff>;
116 ranges = <0x01000000 0 0x00000000 0 0xfe000000 0 0x00400000>,
117 <0x02000000 0 0x30000000 0 0x30000000 0 0x10000000>;
118 dma-ranges = <0x42000000 0 0x00000000 0 0x00000000 1 0x00000000>;
119 #interrupt-cells = <1>;
120 interrupt-map-mask = <0 0 0 7>;
121 interrupt-map = <0 0 0 1 &gic GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH>,
122 <0 0 0 2 &gic GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH>,
123 <0 0 0 3 &gic GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH>,
124 <0 0 0 4 &gic GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH>;
125 snps,enable-cdm-check;