Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[cascardo/linux.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 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.
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
15 - reg: offset and length of the partial USB 2.0 Host register block.
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
21 combined, the device tree node should set interrupt properties to use the
22 channel as USB OTG:
23 - interrupts: interrupt specifier for the PHY.
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.
26
27 Example (R-Car H3):
28
29         usb-phy@ee080200 {
30                 compatible = "renesas,usb2-phy-r8a7795", "renesas,rcar-gen3-usb2-phy";
31                 reg = <0 0xee080200 0 0x700>;
32                 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
33                 clocks = <&mstp7_clks R8A7795_CLK_EHCI0>;
34         };
35
36         usb-phy@ee0a0200 {
37                 compatible = "renesas,usb2-phy-r8a7795", "renesas,rcar-gen3-usb2-phy";
38                 reg = <0 0xee0a0200 0 0x700>;
39                 clocks = <&mstp7_clks R8A7795_CLK_EHCI0>;
40         };