Matthijs Kooijman | 5b9974b | 2013-04-22 14:00:19 -0700 | [diff] [blame] | 1 | Platform DesignWare HS OTG USB 2.0 controller |
| 2 | ----------------------------------------------------- |
| 3 | |
| 4 | Required properties: |
Stephen Warren | 831eae6 | 2013-11-26 18:58:01 -0700 | [diff] [blame] | 5 | - compatible : One of: |
| 6 | - brcm,bcm2835-usb: The DWC2 USB controller instance in the BCM2835 SoC. |
Zhangfei Gao | 37dd9d6 | 2015-11-18 15:39:47 +0800 | [diff] [blame] | 7 | - hisilicon,hi6220-usb: The DWC2 USB controller instance in the hi6220 SoC. |
Kever Yang | 3675029 | 2014-08-08 11:55:56 +0800 | [diff] [blame] | 8 | - rockchip,rk3066-usb: The DWC2 USB controller instance in the rk3066 Soc; |
| 9 | - "rockchip,rk3188-usb", "rockchip,rk3066-usb", "snps,dwc2": for rk3188 Soc; |
| 10 | - "rockchip,rk3288-usb", "rockchip,rk3066-usb", "snps,dwc2": for rk3288 Soc; |
Antti Seppälä | 6c0c095 | 2016-02-27 12:31:24 +0200 | [diff] [blame] | 11 | - "lantiq,arx100-usb": The DWC2 USB controller instance in Lantiq ARX SoCs; |
| 12 | - "lantiq,xrx200-usb": The DWC2 USB controller instance in Lantiq XRX SoCs; |
Jerome Brunet | f94310a | 2016-09-11 15:41:06 +0200 | [diff] [blame] | 13 | - "amlogic,meson8b-usb": The DWC2 USB controller instance in Amlogic Meson8b SoCs; |
| 14 | - "amlogic,meson-gxbb-usb": The DWC2 USB controller instance in Amlogic S905 SoCs; |
Christian Lamparter | 3922fb4 | 2016-11-15 15:03:40 -0800 | [diff] [blame] | 15 | - "amcc,dwc-otg": The DWC2 USB controller instance in AMCC Canyonlands 460EX SoCs; |
Stephen Warren | 831eae6 | 2013-11-26 18:58:01 -0700 | [diff] [blame] | 16 | - snps,dwc2: A generic DWC2 USB controller with default parameters. |
Bruno Herrera | 21b825e | 2017-02-01 02:25:00 +0100 | [diff] [blame] | 17 | - "st,stm32f4x9-fsotg": The DWC2 USB FS/HS controller instance in STM32F4x9 SoCs |
| 18 | configured in FS mode; |
| 19 | - "st,stm32f4x9-hsotg": The DWC2 USB HS controller instance in STM32F4x9 SoCs |
| 20 | configured in HS mode; |
Matthijs Kooijman | 5b9974b | 2013-04-22 14:00:19 -0700 | [diff] [blame] | 21 | - reg : Should contain 1 register range (address and length) |
| 22 | - interrupts : Should contain 1 interrupt |
Matt Porter | 65b4eb9 | 2013-12-19 09:23:03 -0500 | [diff] [blame] | 23 | - clocks: clock provider specifier |
| 24 | - clock-names: shall be "otg" |
| 25 | Refer to clk/clock-bindings.txt for generic clock consumer properties |
| 26 | |
| 27 | Optional properties: |
| 28 | - phys: phy provider specifier |
Matt Porter | 9d4bde5 | 2014-04-24 13:12:56 -0400 | [diff] [blame] | 29 | - phy-names: shall be "usb2-phy" |
Matt Porter | 65b4eb9 | 2013-12-19 09:23:03 -0500 | [diff] [blame] | 30 | Refer to phy/phy-bindings.txt for generic phy consumer properties |
Kever Yang | fc1b0e2 | 2014-08-06 09:01:49 +0800 | [diff] [blame] | 31 | - dr_mode: shall be one of "host", "peripheral" and "otg" |
| 32 | Refer to usb/generic.txt |
Gregory Herrero | bb8693a | 2015-01-09 13:38:53 +0100 | [diff] [blame] | 33 | - g-rx-fifo-size: size of rx fifo size in gadget mode. |
| 34 | - g-np-tx-fifo-size: size of non-periodic tx fifo size in gadget mode. |
John Youn | a1aa8cf | 2016-10-17 17:36:28 -0700 | [diff] [blame] | 35 | - g-tx-fifo-size: size of periodic tx fifo per endpoint (except ep0) in gadget mode. |
Matthijs Kooijman | 5b9974b | 2013-04-22 14:00:19 -0700 | [diff] [blame] | 36 | |
John Youn | 9962b62 | 2016-11-09 19:27:40 -0800 | [diff] [blame] | 37 | Deprecated properties: |
| 38 | - g-use-dma: gadget DMA mode is automatically detected |
| 39 | |
Matthijs Kooijman | 5b9974b | 2013-04-22 14:00:19 -0700 | [diff] [blame] | 40 | Example: |
| 41 | |
| 42 | usb@101c0000 { |
| 43 | compatible = "ralink,rt3050-usb, snps,dwc2"; |
| 44 | reg = <0x101c0000 40000>; |
| 45 | interrupts = <18>; |
Matt Porter | 65b4eb9 | 2013-12-19 09:23:03 -0500 | [diff] [blame] | 46 | clocks = <&usb_otg_ahb_clk>; |
| 47 | clock-names = "otg"; |
| 48 | phys = <&usbphy>; |
| 49 | phy-names = "usb2-phy"; |
Matthijs Kooijman | 5b9974b | 2013-04-22 14:00:19 -0700 | [diff] [blame] | 50 | }; |