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-ep.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Renesas R-Car Gen4 PCIe Endpoint
11 - Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
14 - $ref: snps,dw-pcie-ep.yaml#
20 - renesas,r8a779f0-pcie-ep # R-Car S4-8
21 - renesas,r8a779g0-pcie-ep # R-Car V4H
22 - renesas,r8a779h0-pcie-ep # R-Car V4M
23 - const: renesas,rcar-gen4-pcie-ep # R-Car Gen4
86 unevaluatedProperties: false
90 #include <dt-bindings/clock/r8a779f0-cpg-mssr.h>
91 #include <dt-bindings/interrupt-controller/arm-gic.h>
92 #include <dt-bindings/power/r8a779f0-sysc.h>
98 pcie0_ep: pcie-ep@e65d0000 {
99 compatible = "renesas,r8a779f0-pcie-ep", "renesas,rcar-gen4-pcie-ep";
100 reg = <0 0xe65d0000 0 0x2000>, <0 0xe65d2000 0 0x1000>,
101 <0 0xe65d3000 0 0x2000>, <0 0xe65d5000 0 0x1200>,
102 <0 0xe65d6200 0 0x0e00>, <0 0xe65d7000 0 0x0400>,
103 <0 0xfe000000 0 0x400000>;
104 reg-names = "dbi", "dbi2", "atu", "dma", "app", "phy", "addr_space";
105 interrupts = <GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH>,
106 <GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>,
107 <GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>;
108 interrupt-names = "dma", "sft_ce", "app";
109 clocks = <&cpg CPG_MOD 624>, <&pcie0_clkref>;
110 clock-names = "core", "ref";
111 power-domains = <&sysc R8A779F0_PD_ALWAYS_ON>;
114 max-link-speed = <4>;
116 max-functions = /bits/ 8 <2>;