Merge tag 'cris-for-4.9' of git://git.kernel.org/pub/scm/linux/kernel/git/jesper...
[cascardo/linux.git] / Documentation / devicetree / bindings / usb / renesas_usbhs.txt
1 Renesas Electronics USBHS driver
2
3 Required properties:
4   - compatible: Must contain one or more of the following:
5
6         - "renesas,usbhs-r8a7790" for r8a7790 (R-Car H2) compatible device
7         - "renesas,usbhs-r8a7791" for r8a7791 (R-Car M2-W) compatible device
8         - "renesas,usbhs-r8a7792" for r8a7792 (R-Car V2H) compatible device
9         - "renesas,usbhs-r8a7793" for r8a7793 (R-Car M2-N) compatible device
10         - "renesas,usbhs-r8a7794" for r8a7794 (R-Car E2) compatible device
11         - "renesas,usbhs-r8a7795" for r8a7795 (R-Car H3) compatible device
12         - "renesas,usbhs-r8a7796" for r8a7796 (R-Car M3-W) compatible device
13         - "renesas,rcar-gen2-usbhs" for R-Car Gen2 compatible device
14         - "renesas,rcar-gen3-usbhs" for R-Car Gen3 compatible device
15
16         When compatible with the generic version, nodes must list the
17         SoC-specific version corresponding to the platform first followed
18         by the generic version.
19
20   - reg: Base address and length of the register for the USBHS
21   - interrupts: Interrupt specifier for the USBHS
22   - clocks: A list of phandle + clock specifier pairs
23
24 Optional properties:
25   - renesas,buswait: Integer to use BUSWAIT register
26   - renesas,enable-gpio: A gpio specifier to check GPIO determining if USB
27                          function should be enabled
28   - phys: phandle + phy specifier pair
29   - phy-names: must be "usb"
30   - dmas: Must contain a list of references to DMA specifiers.
31   - dma-names : named "ch%d", where %d is the channel number ranging from zero
32                 to the number of channels (DnFIFOs) minus one.
33
34 Example:
35         usbhs: usb@e6590000 {
36                 compatible = "renesas,usbhs-r8a7790", "renesas,rcar-gen2-usbhs";
37                 reg = <0 0xe6590000 0 0x100>;
38                 interrupts = <0 107 IRQ_TYPE_LEVEL_HIGH>;
39                 clocks = <&mstp7_clks R8A7790_CLK_HSUSB>;
40         };