Hans de Goede | 744543c | 2015-07-08 16:41:38 +0200 | [diff] [blame] | 1 | Allwinner sun4i A10 musb DRC/OTG controller |
| 2 | ------------------------------------------- |
| 3 | |
| 4 | Required properties: |
Hans de Goede | d91de09 | 2015-07-08 16:41:40 +0200 | [diff] [blame] | 5 | - compatible : "allwinner,sun4i-a10-musb", "allwinner,sun6i-a31-musb" |
| 6 | or "allwinner,sun8i-a33-musb" |
Hans de Goede | 744543c | 2015-07-08 16:41:38 +0200 | [diff] [blame] | 7 | - reg : mmio address range of the musb controller |
| 8 | - clocks : clock specifier for the musb controller ahb gate clock |
Hans de Goede | 132e237 | 2015-07-08 16:41:39 +0200 | [diff] [blame] | 9 | - reset : reset specifier for the ahb reset (A31 and newer only) |
Hans de Goede | 744543c | 2015-07-08 16:41:38 +0200 | [diff] [blame] | 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 | status = "disabled"; |
| 29 | }; |