blob: 9a87202d4b9e5f4ac829c8d9e4b7ba4a1583965e [file] [log] [blame]
Patrick Delaunay75150542019-03-29 15:42:15 +01001Platform DesignWare HS OTG USB 2.0 controller
2-----------------------------------------------------
3
4Required properties:
5- compatible : One of:
6 - brcm,bcm2835-usb: The DWC2 USB controller instance in the BCM2835 SoC.
Junhui Liueb6a9692025-01-15 00:46:37 +08007 - canaan,k230-otg: The DWC2 USB controller instance in the K230 SoC.
Patrick Delaunay75150542019-03-29 15:42:15 +01008 - hisilicon,hi6220-usb: The DWC2 USB controller instance in the hi6220 SoC.
Patrick Delaunay75150542019-03-29 15:42:15 +01009 - "lantiq,arx100-usb": The DWC2 USB controller instance in Lantiq ARX SoCs;
10 - "lantiq,xrx200-usb": The DWC2 USB controller instance in Lantiq XRX SoCs;
11 - "amlogic,meson8-usb": The DWC2 USB controller instance in Amlogic Meson8 SoCs;
12 - "amlogic,meson8b-usb": The DWC2 USB controller instance in Amlogic Meson8b SoCs;
13 - "amlogic,meson-gxbb-usb": The DWC2 USB controller instance in Amlogic S905 SoCs;
14 - "amcc,dwc-otg": The DWC2 USB controller instance in AMCC Canyonlands 460EX SoCs;
15 - snps,dwc2: A generic DWC2 USB controller with default parameters.
16 - "st,stm32f4x9-fsotg": The DWC2 USB FS/HS controller instance in STM32F4x9 SoCs
17 configured in FS mode;
18 - "st,stm32f4x9-hsotg": The DWC2 USB HS controller instance in STM32F4x9 SoCs
19 configured in HS mode;
20 - "st,stm32f7-hsotg": The DWC2 USB HS controller instance in STM32F7 SoCs
21 configured in HS mode;
22- reg : Should contain 1 register range (address and length)
23- interrupts : Should contain 1 interrupt
24- clocks: clock provider specifier
25- clock-names: shall be "otg"
26Refer to clk/clock-bindings.txt for generic clock consumer properties
27
28Optional properties:
29- phys: phy provider specifier
30- phy-names: shall be "usb2-phy"
31Refer to phy/phy-bindings.txt for generic phy consumer properties
32- dr_mode: shall be one of "host", "peripheral" and "otg"
33 Refer to usb/generic.txt
34- g-rx-fifo-size: size of rx fifo size in gadget mode.
35- g-np-tx-fifo-size: size of non-periodic tx fifo size in gadget mode.
36- g-tx-fifo-size: size of periodic tx fifo per endpoint (except ep0) in gadget mode.
Patrick Delaunaye014cb62019-03-29 15:42:21 +010037- usb33d-supply: external VBUS and ID sensing comparators supply, in order to
38 perform OTG operation, used on STM32MP1 SoCs.
Patrick Delaunay7f3384d2019-03-29 15:42:24 +010039- u-boot,force-b-session-valid: force B-peripheral session instead of relying on
40 VBUS sensing (only valid when dr_mode = "peripheral" and for u-boot).
Patrick Delaunay75150542019-03-29 15:42:15 +010041
42Deprecated properties:
43- g-use-dma: gadget DMA mode is automatically detected
44
45Example:
46
47 usb@101c0000 {
48 compatible = "ralink,rt3050-usb, snps,dwc2";
49 reg = <0x101c0000 40000>;
50 interrupts = <18>;
51 clocks = <&usb_otg_ahb_clk>;
52 clock-names = "otg";
53 phys = <&usbphy>;
54 phy-names = "usb2-phy";
55 };