blob: b6040563e51a36de00900c2b5c0192cdd4b5d540 [file] [log] [blame]
Yoshihiro Shimoda630a84a2014-09-03 14:25:40 +09001Renesas Electronics USBHS driver
2
3Required properties:
Simon Horman2f1a9932015-12-16 13:51:51 +09004 - compatible: Must contain one or more of the following:
5
Simon Horman89d75bf2015-12-16 13:51:50 +09006 - "renesas,usbhs-r8a7790" for r8a7790 (R-Car H2) compatible device
7 - "renesas,usbhs-r8a7791" for r8a7791 (R-Car M2-W) compatible device
Simon Hormand0450272015-12-16 13:51:52 +09008 - "renesas,usbhs-r8a7792" for r8a7792 (R-Car V2H) compatible device
9 - "renesas,usbhs-r8a7793" for r8a7793 (R-Car M2-N) compatible device
Simon Horman89d75bf2015-12-16 13:51:50 +090010 - "renesas,usbhs-r8a7794" for r8a7794 (R-Car E2) compatible device
11 - "renesas,usbhs-r8a7795" for r8a7795 (R-Car H3) compatible device
Simon Horman2f1a9932015-12-16 13:51:51 +090012 - "renesas,rcar-gen2-usbhs" for R-Car Gen2 compatible device
13 - "renesas,rcar-gen3-usbhs" for R-Car Gen3 compatible device
14
15 When compatible with the generic version, nodes must list the
16 SoC-specific version corresponding to the platform first followed
17 by the generic version.
18
Yoshihiro Shimoda630a84a2014-09-03 14:25:40 +090019 - reg: Base address and length of the register for the USBHS
20 - interrupts: Interrupt specifier for the USBHS
21 - clocks: A list of phandle + clock specifier pairs
22
23Optional properties:
24 - renesas,buswait: Integer to use BUSWAIT register
25 - renesas,enable-gpio: A gpio specifier to check GPIO determining if USB
26 function should be enabled
27 - phys: phandle + phy specifier pair
28 - phy-names: must be "usb"
Yoshihiro Shimodaabd2dbf2015-01-19 12:53:17 +090029 - dmas: Must contain a list of references to DMA specifiers.
Yoshihiro Shimoda5a294e52015-04-08 19:42:24 +090030 - dma-names : named "ch%d", where %d is the channel number ranging from zero
31 to the number of channels (DnFIFOs) minus one.
Yoshihiro Shimoda630a84a2014-09-03 14:25:40 +090032
33Example:
34 usbhs: usb@e6590000 {
Simon Horman2f1a9932015-12-16 13:51:51 +090035 compatible = "renesas,usbhs-r8a7790", "renesas,rcar-gen2-usbhs";
Yoshihiro Shimoda630a84a2014-09-03 14:25:40 +090036 reg = <0 0xe6590000 0 0x100>;
37 interrupts = <0 107 IRQ_TYPE_LEVEL_HIGH>;
38 clocks = <&mstp7_clks R8A7790_CLK_HSUSB>;
39 };