Richard Zhao | 1530280 | 2012-07-07 22:56:48 +0800 | [diff] [blame] | 1 | * Freescale i.MX ci13xxx usb controllers |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible: Should be "fsl,imx27-usb" |
| 5 | - reg: Should contain registers location and length |
| 6 | - interrupts: Should contain controller interrupt |
| 7 | |
Michael Grzeschik | 40dcd0e | 2013-06-13 17:59:56 +0300 | [diff] [blame] | 8 | Recommended properies: |
| 9 | - phy_type: the type of the phy connected to the core. Should be one |
| 10 | of "utmi", "utmi_wide", "ulpi", "serial" or "hsic". Without this |
| 11 | property the PORTSC register won't be touched |
Sascha Hauer | 691962d | 2013-06-13 17:59:57 +0300 | [diff] [blame] | 12 | - dr_mode: One of "host", "peripheral" or "otg". Defaults to "otg" |
Michael Grzeschik | 40dcd0e | 2013-06-13 17:59:56 +0300 | [diff] [blame] | 13 | |
Richard Zhao | 1530280 | 2012-07-07 22:56:48 +0800 | [diff] [blame] | 14 | Optional properties: |
| 15 | - fsl,usbphy: phandler of usb phy that connects to the only one port |
Richard Zhao | d142d6b | 2012-09-12 14:58:05 +0300 | [diff] [blame] | 16 | - fsl,usbmisc: phandler of non-core register device, with one argument |
| 17 | that indicate usb controller index |
Richard Zhao | 1530280 | 2012-07-07 22:56:48 +0800 | [diff] [blame] | 18 | - vbus-supply: regulator for vbus |
Richard Zhao | d142d6b | 2012-09-12 14:58:05 +0300 | [diff] [blame] | 19 | - disable-over-current: disable over current detect |
Michael Grzeschik | a068533 | 2013-03-30 12:54:01 +0200 | [diff] [blame] | 20 | - external-vbus-divider: enables off-chip resistor divider for Vbus |
Richard Zhao | 1530280 | 2012-07-07 22:56:48 +0800 | [diff] [blame] | 21 | |
| 22 | Examples: |
| 23 | usb@02184000 { /* USB OTG */ |
| 24 | compatible = "fsl,imx6q-usb", "fsl,imx27-usb"; |
| 25 | reg = <0x02184000 0x200>; |
| 26 | interrupts = <0 43 0x04>; |
| 27 | fsl,usbphy = <&usbphy1>; |
Richard Zhao | d142d6b | 2012-09-12 14:58:05 +0300 | [diff] [blame] | 28 | fsl,usbmisc = <&usbmisc 0>; |
| 29 | disable-over-current; |
Michael Grzeschik | a068533 | 2013-03-30 12:54:01 +0200 | [diff] [blame] | 30 | external-vbus-divider; |
Richard Zhao | 1530280 | 2012-07-07 22:56:48 +0800 | [diff] [blame] | 31 | }; |