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