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.
57 The PCI bus number range; as this is a single bus, the range
58 should be specified as the same value twice.
62 A single range for the inbound memory region. If not supplied,
63 defaults to 1GiB at 0x40000000. Note there are hardware restrictions on
64 the allowed combinations of address and size.
72 This a USB controller PCI device
77 Identify the correct bus, device and function number in the
86 Reference to the USB phy
97 unevaluatedProperties: false
113 - $ref: /schemas/pci/pci-bus.yaml#
125 - description: Internal bus clock (AHB) for HOST
126 - description: Internal bus clock (AHB) Power Management
127 - description: PCI clock for USB subsystem
139 - description: Device clock
146 unevaluatedProperties: false
150 #include <dt-bindings/interrupt-controller/arm-gic.h>
151 #include <dt-bindings/clock/r8a7790-cpg-mssr.h>
152 #include <dt-bindings/power/r8a7790-sysc.h>
155 compatible = "renesas,pci-r8a7790", "renesas,pci-rcar-gen2";
157 reg = <0xee090000 0xc00>,
159 clocks = <&cpg CPG_MOD 703>;
160 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
162 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
165 #address-cells = <3>;
167 #interrupt-cells = <1>;
168 ranges = <0x02000000 0 0xee080000 0xee080000 0 0x00010000>;
169 dma-ranges = <0x42000000 0 0x40000000 0x40000000 0 0x40000000>;
170 interrupt-map-mask = <0xf800 0 0 0x7>;
171 interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
172 <0x0800 0 0 1 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
173 <0x1000 0 0 2 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
176 reg = <0x800 0 0 0 0>;
182 reg = <0x1000 0 0 0 0>;