2013-04-23 04:00:19 +07:00
|
|
|
Platform DesignWare HS OTG USB 2.0 controller
|
|
|
|
-----------------------------------------------------
|
|
|
|
|
|
|
|
Required properties:
|
2013-11-27 08:58:01 +07:00
|
|
|
- compatible : One of:
|
|
|
|
- brcm,bcm2835-usb: The DWC2 USB controller instance in the BCM2835 SoC.
|
2015-11-18 14:39:47 +07:00
|
|
|
- hisilicon,hi6220-usb: The DWC2 USB controller instance in the hi6220 SoC.
|
2014-08-08 10:55:56 +07:00
|
|
|
- rockchip,rk3066-usb: The DWC2 USB controller instance in the rk3066 Soc;
|
|
|
|
- "rockchip,rk3188-usb", "rockchip,rk3066-usb", "snps,dwc2": for rk3188 Soc;
|
|
|
|
- "rockchip,rk3288-usb", "rockchip,rk3066-usb", "snps,dwc2": for rk3288 Soc;
|
2016-02-27 17:31:24 +07:00
|
|
|
- "lantiq,arx100-usb": The DWC2 USB controller instance in Lantiq ARX SoCs;
|
|
|
|
- "lantiq,xrx200-usb": The DWC2 USB controller instance in Lantiq XRX SoCs;
|
2017-05-07 00:37:45 +07:00
|
|
|
- "amlogic,meson8-usb": The DWC2 USB controller instance in Amlogic Meson8 SoCs;
|
2016-09-11 20:41:06 +07:00
|
|
|
- "amlogic,meson8b-usb": The DWC2 USB controller instance in Amlogic Meson8b SoCs;
|
|
|
|
- "amlogic,meson-gxbb-usb": The DWC2 USB controller instance in Amlogic S905 SoCs;
|
2016-11-16 06:03:40 +07:00
|
|
|
- "amcc,dwc-otg": The DWC2 USB controller instance in AMCC Canyonlands 460EX SoCs;
|
2013-11-27 08:58:01 +07:00
|
|
|
- snps,dwc2: A generic DWC2 USB controller with default parameters.
|
2017-02-01 08:25:00 +07:00
|
|
|
- "st,stm32f4x9-fsotg": The DWC2 USB FS/HS controller instance in STM32F4x9 SoCs
|
|
|
|
configured in FS mode;
|
|
|
|
- "st,stm32f4x9-hsotg": The DWC2 USB HS controller instance in STM32F4x9 SoCs
|
|
|
|
configured in HS mode;
|
2013-04-23 04:00:19 +07:00
|
|
|
- reg : Should contain 1 register range (address and length)
|
|
|
|
- interrupts : Should contain 1 interrupt
|
2013-12-19 21:23:03 +07:00
|
|
|
- clocks: clock provider specifier
|
|
|
|
- clock-names: shall be "otg"
|
|
|
|
Refer to clk/clock-bindings.txt for generic clock consumer properties
|
|
|
|
|
|
|
|
Optional properties:
|
|
|
|
- phys: phy provider specifier
|
2014-04-25 00:12:56 +07:00
|
|
|
- phy-names: shall be "usb2-phy"
|
2013-12-19 21:23:03 +07:00
|
|
|
Refer to phy/phy-bindings.txt for generic phy consumer properties
|
2014-08-06 08:01:49 +07:00
|
|
|
- dr_mode: shall be one of "host", "peripheral" and "otg"
|
|
|
|
Refer to usb/generic.txt
|
2015-01-09 19:38:53 +07:00
|
|
|
- g-rx-fifo-size: size of rx fifo size in gadget mode.
|
|
|
|
- g-np-tx-fifo-size: size of non-periodic tx fifo size in gadget mode.
|
2016-10-18 07:36:28 +07:00
|
|
|
- g-tx-fifo-size: size of periodic tx fifo per endpoint (except ep0) in gadget mode.
|
2013-04-23 04:00:19 +07:00
|
|
|
|
2016-11-10 10:27:40 +07:00
|
|
|
Deprecated properties:
|
|
|
|
- g-use-dma: gadget DMA mode is automatically detected
|
|
|
|
|
2013-04-23 04:00:19 +07:00
|
|
|
Example:
|
|
|
|
|
|
|
|
usb@101c0000 {
|
|
|
|
compatible = "ralink,rt3050-usb, snps,dwc2";
|
|
|
|
reg = <0x101c0000 40000>;
|
|
|
|
interrupts = <18>;
|
2013-12-19 21:23:03 +07:00
|
|
|
clocks = <&usb_otg_ahb_clk>;
|
|
|
|
clock-names = "otg";
|
|
|
|
phys = <&usbphy>;
|
|
|
|
phy-names = "usb2-phy";
|
2013-04-23 04:00:19 +07:00
|
|
|
};
|