Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / usb / allwinner,sun4i-a10-musb.txt
1 Allwinner sun4i A10 musb DRC/OTG controller
2 -------------------------------------------
3
4 Required properties:
5  - compatible      : "allwinner,sun4i-a10-musb", "allwinner,sun6i-a31-musb",
6                      "allwinner,sun8i-a33-musb" or "allwinner,sun8i-h3-musb"
7  - reg             : mmio address range of the musb controller
8  - clocks          : clock specifier for the musb controller ahb gate clock
9  - reset           : reset specifier for the ahb reset (A31 and newer only)
10  - interrupts      : interrupt to which the musb controller is connected
11  - interrupt-names : must be "mc"
12  - phys            : phy specifier for the otg phy
13  - phy-names       : must be "usb"
14  - dr_mode         : Dual-Role mode must be "host" or "otg"
15  - extcon          : extcon specifier for the otg phy
16
17 Example:
18
19         usb_otg: usb@01c13000 {
20                 compatible = "allwinner,sun4i-a10-musb";
21                 reg = <0x01c13000 0x0400>;
22                 clocks = <&ahb_gates 0>;
23                 interrupts = <38>;
24                 interrupt-names = "mc";
25                 phys = <&usbphy 0>;
26                 phy-names = "usb";
27                 extcon = <&usbphy 0>;
28         };