1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/pci/renesas,pci-rcar-gen2.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Renesas AHB to PCI bridge
10 - Marek Vasut <marek.vasut+renesas@gmail.com>
11 - Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
14 This is the bridge used internally to connect the USB controllers to the
15 AHB. There is one bridge instance per USB port connected to the internal
16 OHCI and EHCI controllers.
23 - renesas,pci-r8a7742 # RZ/G1H
24 - renesas,pci-r8a7743 # RZ/G1M
25 - renesas,pci-r8a7744 # RZ/G1N
26 - renesas,pci-r8a7745 # RZ/G1E
27 - renesas,pci-r8a7790 # R-Car H2
28 - renesas,pci-r8a7791 # R-Car M2-W
29 - renesas,pci-r8a7793 # R-Car M2-N
30 - renesas,pci-r8a7794 # R-Car E2
31 - const: renesas,pci-rcar-gen2 # R-Car Gen2 and RZ/G1
34 - renesas,pci-r9a06g032 # RZ/N1D
35 - const: renesas,pci-rzn1 # RZ/N1
39 - description: Operational registers for the OHCI/EHCI controllers.
40 - description: Bridge configuration and control registers.
61 The PCI bus number range; as this is a single bus, the range
62 should be specified as the same value twice.
66 A single range for the inbound memory region. If not supplied,
67 defaults to 1GiB at 0x40000000. Note there are hardware restrictions on
68 the allowed combinations of address and size.
76 This a USB controller PCI device
81 Identify the correct bus, device and function number in the
90 Reference to the USB phy
101 unevaluatedProperties: false
117 - $ref: /schemas/pci/pci-host-bridge.yaml#
129 - description: Internal bus clock (AHB) for HOST
130 - description: Internal bus clock (AHB) Power Management
131 - description: PCI clock for USB subsystem
143 - description: Device clock
150 unevaluatedProperties: false
154 #include <dt-bindings/interrupt-controller/arm-gic.h>
155 #include <dt-bindings/clock/r8a7790-cpg-mssr.h>
156 #include <dt-bindings/power/r8a7790-sysc.h>
159 compatible = "renesas,pci-r8a7790", "renesas,pci-rcar-gen2";
161 reg = <0xee090000 0xc00>,
163 clocks = <&cpg CPG_MOD 703>;
164 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
166 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
169 #address-cells = <3>;
171 #interrupt-cells = <1>;
172 ranges = <0x02000000 0 0xee080000 0xee080000 0 0x00010000>;
173 dma-ranges = <0x42000000 0 0x40000000 0x40000000 0 0x40000000>;
174 interrupt-map-mask = <0xf800 0 0 0x7>;
175 interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
176 <0x0800 0 0 1 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
177 <0x1000 0 0 2 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
180 reg = <0x800 0 0 0 0>;
186 reg = <0x1000 0 0 0 0>;