Merge branch 'akpm' (patches from Andrew)
[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 - reg: offset and length of the partial USB 2.0 Host register block.
10 - reg-names: must be "usb2_host".
11 - clocks: clock phandle and specifier pair(s).
12 - #phy-cells: see phy-bindings.txt in the same directory, must be <0>.
13
14 Optional properties:
15 To use a USB channel where USB 2.0 Host and HSUSB (USB 2.0 Peripheral) are
16 combined, the device tree node should set HSUSB properties to reg and reg-names
17 properties. This is because HSUSB has registers to select USB 2.0 host or
18 peripheral at that channel:
19 - reg: offset and length of the partial HSUSB register block.
20 - reg-names: must be "hsusb".
21 - interrupts: interrupt specifier for the PHY.
22
23 Example (R-Car H3):
24
25         usb-phy@ee080200 {
26                 compatible = "renesas,usb2-phy-r8a7795";
27                 reg = <0 0xee080200 0 0x700>, <0 0xe6590100 0 0x100>;
28                 reg-names = "usb2_host", "hsusb";
29                 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
30                 clocks = <&mstp7_clks R8A7795_CLK_EHCI0>,
31                          <&mstp7_clks R8A7795_CLK_HSUSB>;
32         };
33
34         usb-phy@ee0a0200 {
35                 compatible = "renesas,usb2-phy-r8a7795";
36                 reg = <0 0xee0a0200 0 0x700>;
37                 reg-names = "usb2_host";
38                 clocks = <&mstp7_clks R8A7795_CLK_EHCI0>;
39         };