Documentation: dt-bindings: add dt binding info for Rockchip dwc2
[linux-2.6-microblaze.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   - 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   - snps,dwc2: A generic DWC2 USB controller with default parameters.
11 - reg : Should contain 1 register range (address and length)
12 - interrupts : Should contain 1 interrupt
13 - clocks: clock provider specifier
14 - clock-names: shall be "otg"
15 Refer to clk/clock-bindings.txt for generic clock consumer properties
16
17 Optional properties:
18 - phys: phy provider specifier
19 - phy-names: shall be "usb2-phy"
20 Refer to phy/phy-bindings.txt for generic phy consumer properties
21
22 Example:
23
24         usb@101c0000 {
25                 compatible = "ralink,rt3050-usb, snps,dwc2";
26                 reg = <0x101c0000 40000>;
27                 interrupts = <18>;
28                 clocks = <&usb_otg_ahb_clk>;
29                 clock-names = "otg";
30                 phys = <&usbphy>;
31                 phy-names = "usb2-phy";
32         };