1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 # Copyright (C) 2020 Renesas Electronics Corp.
5 $id: http://devicetree.org/schemas/pci/rcar-pci-host.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Renesas R-Car PCIe Host
11 - Marek Vasut <marek.vasut+renesas@gmail.com>
12 - Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
20 - const: renesas,pcie-r8a7779 # R-Car H1
23 - renesas,pcie-r8a7742 # RZ/G1H
24 - renesas,pcie-r8a7743 # RZ/G1M
25 - renesas,pcie-r8a7744 # RZ/G1N
26 - renesas,pcie-r8a7790 # R-Car H2
27 - renesas,pcie-r8a7791 # R-Car M2-W
28 - renesas,pcie-r8a7793 # R-Car M2-N
29 - const: renesas,pcie-rcar-gen2 # R-Car Gen2 and RZ/G1
32 - renesas,pcie-r8a774a1 # RZ/G2M
33 - renesas,pcie-r8a774b1 # RZ/G2N
34 - renesas,pcie-r8a774c0 # RZ/G2E
35 - renesas,pcie-r8a774e1 # RZ/G2H
36 - renesas,pcie-r8a7795 # R-Car H3
37 - renesas,pcie-r8a7796 # R-Car M3-W
38 - renesas,pcie-r8a77961 # R-Car M3-W+
39 - renesas,pcie-r8a77965 # R-Car M3-N
40 - renesas,pcie-r8a77980 # R-Car V3H
41 - renesas,pcie-r8a77990 # R-Car E3
42 - const: renesas,pcie-rcar-gen3 # R-Car Gen3 and RZ/G2
72 description: The 1.5v regulator to use for PCIe.
75 description: The 3.3v regulator to use for PCIe.
78 description: The 12v regulator to use for PCIe.
93 const: renesas,pcie-r8a7779
98 unevaluatedProperties: false
102 #include <dt-bindings/clock/r8a7791-cpg-mssr.h>
103 #include <dt-bindings/interrupt-controller/arm-gic.h>
104 #include <dt-bindings/power/r8a7791-sysc.h>
107 #address-cells = <2>;
110 pcie: pcie@fe000000 {
111 compatible = "renesas,pcie-r8a7791", "renesas,pcie-rcar-gen2";
112 reg = <0 0xfe000000 0 0x80000>;
113 #address-cells = <3>;
115 bus-range = <0x00 0xff>;
117 ranges = <0x01000000 0 0x00000000 0 0xfe100000 0 0x00100000>,
118 <0x02000000 0 0xfe200000 0 0xfe200000 0 0x00200000>,
119 <0x02000000 0 0x30000000 0 0x30000000 0 0x08000000>,
120 <0x42000000 0 0x38000000 0 0x38000000 0 0x08000000>;
121 dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x40000000>,
122 <0x42000000 2 0x00000000 2 0x00000000 0 0x40000000>;
123 interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
124 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
125 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
126 #interrupt-cells = <1>;
127 interrupt-map-mask = <0 0 0 0>;
128 interrupt-map = <0 0 0 0 &gic GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
129 clocks = <&cpg CPG_MOD 319>, <&pcie_bus_clk>;
130 clock-names = "pcie", "pcie_bus";
131 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
133 vpcie3v3-supply = <&pcie_3v3>;
134 vpcie12v-supply = <&pcie_12v>;