dwc2.txt 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. Platform DesignWare HS OTG USB 2.0 controller
  2. -----------------------------------------------------
  3. Required properties:
  4. - compatible : One of:
  5. - brcm,bcm2835-usb: The DWC2 USB controller instance in the BCM2835 SoC.
  6. - hisilicon,hi6220-usb: The DWC2 USB controller instance in the hi6220 SoC.
  7. - rockchip,rk3066-usb: The DWC2 USB controller instance in the rk3066 Soc;
  8. - "rockchip,rk3188-usb", "rockchip,rk3066-usb", "snps,dwc2": for rk3188 Soc;
  9. - "rockchip,rk3288-usb", "rockchip,rk3066-usb", "snps,dwc2": for rk3288 Soc;
  10. - "lantiq,arx100-usb": The DWC2 USB controller instance in Lantiq ARX SoCs;
  11. - "lantiq,xrx200-usb": The DWC2 USB controller instance in Lantiq XRX SoCs;
  12. - "amlogic,meson8-usb": The DWC2 USB controller instance in Amlogic Meson8 SoCs;
  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;
  15. - "amcc,dwc-otg": The DWC2 USB controller instance in AMCC Canyonlands 460EX SoCs;
  16. - snps,dwc2: A generic DWC2 USB controller with default parameters.
  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;
  21. - "st,stm32f7-hsotg": The DWC2 USB HS controller instance in STM32F7 SoCs
  22. configured in HS mode;
  23. - reg : Should contain 1 register range (address and length)
  24. - interrupts : Should contain 1 interrupt
  25. - clocks: clock provider specifier
  26. - clock-names: shall be "otg"
  27. Refer to clk/clock-bindings.txt for generic clock consumer properties
  28. Optional properties:
  29. - phys: phy provider specifier
  30. - phy-names: shall be "usb2-phy"
  31. Refer 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.
  37. Deprecated properties:
  38. - g-use-dma: gadget DMA mode is automatically detected
  39. Example:
  40. usb@101c0000 {
  41. compatible = "ralink,rt3050-usb, snps,dwc2";
  42. reg = <0x101c0000 40000>;
  43. interrupts = <18>;
  44. clocks = <&usb_otg_ahb_clk>;
  45. clock-names = "otg";
  46. phys = <&usbphy>;
  47. phy-names = "usb2-phy";
  48. };