dt-bindings: usb: renesas_usbhs: Add r8a774b1 support
[platform/kernel/linux-starfive.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-r8a7743" for r8a7743 (RZ/G1M) compatible device
7         - "renesas,usbhs-r8a7744" for r8a7744 (RZ/G1N) compatible device
8         - "renesas,usbhs-r8a7745" for r8a7745 (RZ/G1E) compatible device
9         - "renesas,usbhs-r8a77470" for r8a77470 (RZ/G1C) compatible device
10         - "renesas,usbhs-r8a774a1" for r8a774a1 (RZ/G2M) compatible device
11         - "renesas,usbhs-r8a774b1" for r8a774b1 (RZ/G2N) compatible device
12         - "renesas,usbhs-r8a774c0" for r8a774c0 (RZ/G2E) compatible device
13         - "renesas,usbhs-r8a7790" for r8a7790 (R-Car H2) compatible device
14         - "renesas,usbhs-r8a7791" for r8a7791 (R-Car M2-W) compatible device
15         - "renesas,usbhs-r8a7792" for r8a7792 (R-Car V2H) compatible device
16         - "renesas,usbhs-r8a7793" for r8a7793 (R-Car M2-N) compatible device
17         - "renesas,usbhs-r8a7794" for r8a7794 (R-Car E2) compatible device
18         - "renesas,usbhs-r8a7795" for r8a7795 (R-Car H3) compatible device
19         - "renesas,usbhs-r8a7796" for r8a7796 (R-Car M3-W) compatible device
20         - "renesas,usbhs-r8a77965" for r8a77965 (R-Car M3-N) compatible device
21         - "renesas,usbhs-r8a77990" for r8a77990 (R-Car E3) compatible device
22         - "renesas,usbhs-r8a77995" for r8a77995 (R-Car D3) compatible device
23         - "renesas,usbhs-r7s72100" for r7s72100 (RZ/A1) compatible device
24         - "renesas,usbhs-r7s9210" for r7s9210 (RZ/A2) compatible device
25         - "renesas,rcar-gen2-usbhs" for R-Car Gen2 or RZ/G1 compatible devices
26         - "renesas,rcar-gen3-usbhs" for R-Car Gen3 or RZ/G2 compatible devices
27         - "renesas,rza1-usbhs" for RZ/A1 compatible device
28         - "renesas,rza2-usbhs" for RZ/A2 compatible device
29
30         When compatible with the generic version, nodes must list the
31         SoC-specific version corresponding to the platform first followed
32         by the generic version.
33
34   - reg: Base address and length of the register for the USBHS
35   - interrupts: Interrupt specifier for the USBHS
36   - clocks: A list of phandle + clock specifier pairs.
37             - In case of "renesas,rcar-gen3-usbhs", two clocks are required.
38               First clock should be peripheral and second one should be host.
39             - In case of except above, one clock is required. First clock
40               should be peripheral.
41
42 Optional properties:
43   - renesas,buswait: Integer to use BUSWAIT register
44   - renesas,enable-gpio: A gpio specifier to check GPIO determining if USB
45                          function should be enabled
46   - phys: phandle + phy specifier pair
47   - phy-names: must be "usb"
48   - dmas: Must contain a list of references to DMA specifiers.
49   - dma-names : named "ch%d", where %d is the channel number ranging from zero
50                 to the number of channels (DnFIFOs) minus one.
51
52 Example:
53         usbhs: usb@e6590000 {
54                 compatible = "renesas,usbhs-r8a7790", "renesas,rcar-gen2-usbhs";
55                 reg = <0 0xe6590000 0 0x100>;
56                 interrupts = <0 107 IRQ_TYPE_LEVEL_HIGH>;
57                 clocks = <&mstp7_clks R8A7790_CLK_HSUSB>;
58         };