Commit | Line | Data |
---|---|---|
f3b5a8d9 YS |
1 | * Renesas R-Car generation 3 USB 2.0 PHY |
2 | ||
3 | This file provides information on what the device node for the R-Car generation | |
4 | 3 USB 2.0 PHY contains. | |
5 | ||
6 | Required properties: | |
7 | - compatible: "renesas,usb2-phy-r8a7795" if the device is a part of an R8A7795 | |
8 | SoC. | |
cde7bc36 SH |
9 | "renesas,rcar-gen3-usb2-phy" for a generic R-Car Gen3 compatible device. |
10 | ||
11 | When compatible with the generic version, nodes must list the | |
12 | SoC-specific version corresponding to the platform first | |
13 | followed by the generic version. | |
14 | ||
f3b5a8d9 | 15 | - reg: offset and length of the partial USB 2.0 Host register block. |
f3b5a8d9 YS |
16 | - clocks: clock phandle and specifier pair(s). |
17 | - #phy-cells: see phy-bindings.txt in the same directory, must be <0>. | |
18 | ||
19 | Optional properties: | |
20 | To use a USB channel where USB 2.0 Host and HSUSB (USB 2.0 Peripheral) are | |
b9564016 YS |
21 | combined, the device tree node should set interrupt properties to use the |
22 | channel as USB OTG: | |
9f391c57 | 23 | - interrupts: interrupt specifier for the PHY. |
6dcfd7c3 YS |
24 | - vbus-supply: Phandle to a regulator that provides power to the VBUS. This |
25 | regulator will be managed during the PHY power on/off sequence. | |
f3b5a8d9 YS |
26 | |
27 | Example (R-Car H3): | |
28 | ||
29 | usb-phy@ee080200 { | |
cde7bc36 | 30 | compatible = "renesas,usb2-phy-r8a7795", "renesas,rcar-gen3-usb2-phy"; |
b9564016 | 31 | reg = <0 0xee080200 0 0x700>; |
9f391c57 | 32 | interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>; |
b9564016 | 33 | clocks = <&mstp7_clks R8A7795_CLK_EHCI0>; |
f3b5a8d9 YS |
34 | }; |
35 | ||
36 | usb-phy@ee0a0200 { | |
cde7bc36 | 37 | compatible = "renesas,usb2-phy-r8a7795", "renesas,rcar-gen3-usb2-phy"; |
f3b5a8d9 | 38 | reg = <0 0xee0a0200 0 0x700>; |
f3b5a8d9 YS |
39 | clocks = <&mstp7_clks R8A7795_CLK_EHCI0>; |
40 | }; |