Commit | Line | Data |
---|---|---|
744543c5 HG |
1 | Allwinner sun4i A10 musb DRC/OTG controller |
2 | ------------------------------------------- | |
3 | ||
4 | Required properties: | |
c1fce66e IZ |
5 | - compatible : "allwinner,sun4i-a10-musb", "allwinner,sun6i-a31-musb", |
6 | "allwinner,sun8i-a33-musb" or "allwinner,sun8i-h3-musb" | |
744543c5 HG |
7 | - reg : mmio address range of the musb controller |
8 | - clocks : clock specifier for the musb controller ahb gate clock | |
132e2377 | 9 | - reset : reset specifier for the ahb reset (A31 and newer only) |
744543c5 HG |
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>; | |
744543c5 | 28 | }; |