Yoshihiro Shimoda | 630a84a | 2014-09-03 14:25:40 +0900 | [diff] [blame] | 1 | Renesas Electronics USBHS driver |
| 2 | |
| 3 | Required properties: |
Simon Horman | 2f1a993 | 2015-12-16 13:51:51 +0900 | [diff] [blame] | 4 | - compatible: Must contain one or more of the following: |
| 5 | |
Biju Das | e0d63c4 | 2017-10-06 17:49:34 +0100 | [diff] [blame] | 6 | - "renesas,usbhs-r8a7743" for r8a7743 (RZ/G1M) compatible device |
| 7 | - "renesas,usbhs-r8a7745" for r8a7745 (RZ/G1E) compatible device |
Simon Horman | 89d75bf | 2015-12-16 13:51:50 +0900 | [diff] [blame] | 8 | - "renesas,usbhs-r8a7790" for r8a7790 (R-Car H2) compatible device |
| 9 | - "renesas,usbhs-r8a7791" for r8a7791 (R-Car M2-W) compatible device |
Simon Horman | d045027 | 2015-12-16 13:51:52 +0900 | [diff] [blame] | 10 | - "renesas,usbhs-r8a7792" for r8a7792 (R-Car V2H) compatible device |
| 11 | - "renesas,usbhs-r8a7793" for r8a7793 (R-Car M2-N) compatible device |
Simon Horman | 89d75bf | 2015-12-16 13:51:50 +0900 | [diff] [blame] | 12 | - "renesas,usbhs-r8a7794" for r8a7794 (R-Car E2) compatible device |
| 13 | - "renesas,usbhs-r8a7795" for r8a7795 (R-Car H3) compatible device |
Yoshihiro Shimoda | aae819e | 2016-08-24 16:39:53 +0900 | [diff] [blame] | 14 | - "renesas,usbhs-r8a7796" for r8a7796 (R-Car M3-W) compatible device |
Yoshihiro Shimoda | 0f38672 | 2017-10-03 20:09:14 +0900 | [diff] [blame] | 15 | - "renesas,usbhs-r8a77995" for r8a77995 (R-Car D3) compatible device |
Chris Brandt | e7053e6 | 2018-01-08 07:30:54 -0500 | [diff] [blame] | 16 | - "renesas,usbhs-r7s72100" for r7s72100 (RZ/A1) compatible device |
Biju Das | e0d63c4 | 2017-10-06 17:49:34 +0100 | [diff] [blame] | 17 | - "renesas,rcar-gen2-usbhs" for R-Car Gen2 or RZ/G1 compatible devices |
Simon Horman | 2f1a993 | 2015-12-16 13:51:51 +0900 | [diff] [blame] | 18 | - "renesas,rcar-gen3-usbhs" for R-Car Gen3 compatible device |
Chris Brandt | e7053e6 | 2018-01-08 07:30:54 -0500 | [diff] [blame] | 19 | - "renesas,rza1-usbhs" for RZ/A1 compatible device |
Simon Horman | 2f1a993 | 2015-12-16 13:51:51 +0900 | [diff] [blame] | 20 | |
| 21 | When compatible with the generic version, nodes must list the |
| 22 | SoC-specific version corresponding to the platform first followed |
| 23 | by the generic version. |
| 24 | |
Yoshihiro Shimoda | 630a84a | 2014-09-03 14:25:40 +0900 | [diff] [blame] | 25 | - reg: Base address and length of the register for the USBHS |
| 26 | - interrupts: Interrupt specifier for the USBHS |
| 27 | - clocks: A list of phandle + clock specifier pairs |
| 28 | |
| 29 | Optional properties: |
| 30 | - renesas,buswait: Integer to use BUSWAIT register |
| 31 | - renesas,enable-gpio: A gpio specifier to check GPIO determining if USB |
| 32 | function should be enabled |
| 33 | - phys: phandle + phy specifier pair |
| 34 | - phy-names: must be "usb" |
Yoshihiro Shimoda | abd2dbf | 2015-01-19 12:53:17 +0900 | [diff] [blame] | 35 | - dmas: Must contain a list of references to DMA specifiers. |
Yoshihiro Shimoda | 5a294e5 | 2015-04-08 19:42:24 +0900 | [diff] [blame] | 36 | - dma-names : named "ch%d", where %d is the channel number ranging from zero |
| 37 | to the number of channels (DnFIFOs) minus one. |
Yoshihiro Shimoda | 630a84a | 2014-09-03 14:25:40 +0900 | [diff] [blame] | 38 | |
| 39 | Example: |
| 40 | usbhs: usb@e6590000 { |
Simon Horman | 2f1a993 | 2015-12-16 13:51:51 +0900 | [diff] [blame] | 41 | compatible = "renesas,usbhs-r8a7790", "renesas,rcar-gen2-usbhs"; |
Yoshihiro Shimoda | 630a84a | 2014-09-03 14:25:40 +0900 | [diff] [blame] | 42 | reg = <0 0xe6590000 0 0x100>; |
| 43 | interrupts = <0 107 IRQ_TYPE_LEVEL_HIGH>; |
| 44 | clocks = <&mstp7_clks R8A7790_CLK_HSUSB>; |
| 45 | }; |