Merge tag 'cramfs_fixes' of git://git.linaro.org/people/nicolas.pitre/linux
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / phy / rcar-gen3-phy-usb2.txt
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 and RZ/G2 USB 2.0 PHY contain.
5
6 Required properties:
7 - compatible: "renesas,usb2-phy-r8a774a1" if the device is a part of an R8A774A1
8               SoC.
9               "renesas,usb2-phy-r8a7795" if the device is a part of an R8A7795
10               SoC.
11               "renesas,usb2-phy-r8a7796" if the device is a part of an R8A7796
12               SoC.
13               "renesas,usb2-phy-r8a77965" if the device is a part of an
14               R8A77965 SoC.
15               "renesas,usb2-phy-r8a77990" if the device is a part of an
16               R8A77990 SoC.
17               "renesas,usb2-phy-r8a77995" if the device is a part of an
18               R8A77995 SoC.
19               "renesas,rcar-gen3-usb2-phy" for a generic R-Car Gen3 or RZ/G2
20               compatible device.
21
22               When compatible with the generic version, nodes must list the
23               SoC-specific version corresponding to the platform first
24               followed by the generic version.
25
26 - reg: offset and length of the partial USB 2.0 Host register block.
27 - clocks: clock phandle and specifier pair(s).
28 - #phy-cells: see phy-bindings.txt in the same directory, must be <0>.
29
30 Optional properties:
31 To use a USB channel where USB 2.0 Host and HSUSB (USB 2.0 Peripheral) are
32 combined, the device tree node should set interrupt properties to use the
33 channel as USB OTG:
34 - interrupts: interrupt specifier for the PHY.
35 - vbus-supply: Phandle to a regulator that provides power to the VBUS. This
36                regulator will be managed during the PHY power on/off sequence.
37 - renesas,no-otg-pins: boolean, specify when a board does not provide proper
38                        otg pins.
39
40 Example (R-Car H3):
41
42         usb-phy@ee080200 {
43                 compatible = "renesas,usb2-phy-r8a7795", "renesas,rcar-gen3-usb2-phy";
44                 reg = <0 0xee080200 0 0x700>;
45                 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
46                 clocks = <&cpg CPG_MOD 703>;
47         };
48
49         usb-phy@ee0a0200 {
50                 compatible = "renesas,usb2-phy-r8a7795", "renesas,rcar-gen3-usb2-phy";
51                 reg = <0 0xee0a0200 0 0x700>;
52                 clocks = <&cpg CPG_MOD 702>;
53         };