blob: 00bea038639e4ea341735c875040ea55a12e8be3 [file] [log] [blame]
Matthijs Kooijman5b9974b2013-04-22 14:00:19 -07001Platform DesignWare HS OTG USB 2.0 controller
2-----------------------------------------------------
3
4Required properties:
Stephen Warren831eae62013-11-26 18:58:01 -07005- compatible : One of:
6 - brcm,bcm2835-usb: The DWC2 USB controller instance in the BCM2835 SoC.
Zhangfei Gao37dd9d62015-11-18 15:39:47 +08007 - hisilicon,hi6220-usb: The DWC2 USB controller instance in the hi6220 SoC.
Kever Yang36750292014-08-08 11:55:56 +08008 - 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ä6c0c0952016-02-27 12:31:24 +020011 - "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 Brunetf94310a2016-09-11 15:41:06 +020013 - "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 Lamparter3922fb42016-11-15 15:03:40 -080015 - "amcc,dwc-otg": The DWC2 USB controller instance in AMCC Canyonlands 460EX SoCs;
Stephen Warren831eae62013-11-26 18:58:01 -070016 - snps,dwc2: A generic DWC2 USB controller with default parameters.
Bruno Herrera21b825e2017-02-01 02:25:00 +010017 - "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 Kooijman5b9974b2013-04-22 14:00:19 -070021- reg : Should contain 1 register range (address and length)
22- interrupts : Should contain 1 interrupt
Matt Porter65b4eb92013-12-19 09:23:03 -050023- clocks: clock provider specifier
24- clock-names: shall be "otg"
25Refer to clk/clock-bindings.txt for generic clock consumer properties
26
27Optional properties:
28- phys: phy provider specifier
Matt Porter9d4bde52014-04-24 13:12:56 -040029- phy-names: shall be "usb2-phy"
Matt Porter65b4eb92013-12-19 09:23:03 -050030Refer to phy/phy-bindings.txt for generic phy consumer properties
Kever Yangfc1b0e22014-08-06 09:01:49 +080031- dr_mode: shall be one of "host", "peripheral" and "otg"
32 Refer to usb/generic.txt
Gregory Herrerobb8693a2015-01-09 13:38:53 +010033- 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 Youna1aa8cf2016-10-17 17:36:28 -070035- g-tx-fifo-size: size of periodic tx fifo per endpoint (except ep0) in gadget mode.
Matthijs Kooijman5b9974b2013-04-22 14:00:19 -070036
John Youn9962b622016-11-09 19:27:40 -080037Deprecated properties:
38- g-use-dma: gadget DMA mode is automatically detected
39
Matthijs Kooijman5b9974b2013-04-22 14:00:19 -070040Example:
41
42 usb@101c0000 {
43 compatible = "ralink,rt3050-usb, snps,dwc2";
44 reg = <0x101c0000 40000>;
45 interrupts = <18>;
Matt Porter65b4eb92013-12-19 09:23:03 -050046 clocks = <&usb_otg_ahb_clk>;
47 clock-names = "otg";
48 phys = <&usbphy>;
49 phy-names = "usb2-phy";
Matthijs Kooijman5b9974b2013-04-22 14:00:19 -070050 };