]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blob - Documentation/devicetree/bindings/usb/dwc2.txt
usb: dwc2: add support for Meson8b and GXBB SoCs
[mirror_ubuntu-zesty-kernel.git] / Documentation / devicetree / bindings / usb / dwc2.txt
1 Platform DesignWare HS OTG USB 2.0 controller
2 -----------------------------------------------------
3
4 Required properties:
5 - compatible : One of:
6 - brcm,bcm2835-usb: The DWC2 USB controller instance in the BCM2835 SoC.
7 - hisilicon,hi6220-usb: The DWC2 USB controller instance in the hi6220 SoC.
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;
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;
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 - snps,dwc2: A generic DWC2 USB controller with default parameters.
16 - reg : Should contain 1 register range (address and length)
17 - interrupts : Should contain 1 interrupt
18 - clocks: clock provider specifier
19 - clock-names: shall be "otg"
20 Refer to clk/clock-bindings.txt for generic clock consumer properties
21
22 Optional properties:
23 - phys: phy provider specifier
24 - phy-names: shall be "usb2-phy"
25 Refer to phy/phy-bindings.txt for generic phy consumer properties
26 - dr_mode: shall be one of "host", "peripheral" and "otg"
27 Refer to usb/generic.txt
28 - g-use-dma: enable dma usage in gadget driver.
29 - g-rx-fifo-size: size of rx fifo size in gadget mode.
30 - g-np-tx-fifo-size: size of non-periodic tx fifo size in gadget mode.
31 - g-tx-fifo-size: size of periodic tx fifo per endpoint (except ep0) in gadget mode.
32
33 Example:
34
35 usb@101c0000 {
36 compatible = "ralink,rt3050-usb, snps,dwc2";
37 reg = <0x101c0000 40000>;
38 interrupts = <18>;
39 clocks = <&usb_otg_ahb_clk>;
40 clock-names = "otg";
41 phys = <&usbphy>;
42 phy-names = "usb2-phy";
43 };