Merge tag 'tiny/no-advice-fixup-3.18' of git://git.kernel.org/pub/scm/linux/kernel...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / usb / ci-hdrc-imx.txt
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 - fsl,usbphy: phandle of usb phy that connects to the port
8
9 Recommended properies:
10 - phy_type: the type of the phy connected to the core. Should be one
11   of "utmi", "utmi_wide", "ulpi", "serial" or "hsic". Without this
12   property the PORTSC register won't be touched
13 - dr_mode: One of "host", "peripheral" or "otg". Defaults to "otg"
14
15 Optional properties:
16 - fsl,usbmisc: phandler of non-core register device, with one argument
17   that indicate usb controller index
18 - vbus-supply: regulator for vbus
19 - disable-over-current: disable over current detect
20 - external-vbus-divider: enables off-chip resistor divider for Vbus
21 - maximum-speed: limit the maximum connection speed to "full-speed".
22 - tpl-support: TPL (Targeted Peripheral List) feature for targeted hosts
23
24 Examples:
25 usb@02184000 { /* USB OTG */
26         compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
27         reg = <0x02184000 0x200>;
28         interrupts = <0 43 0x04>;
29         fsl,usbphy = <&usbphy1>;
30         fsl,usbmisc = <&usbmisc 0>;
31         disable-over-current;
32         external-vbus-divider;
33         maximum-speed = "full-speed";
34         tpl-support;
35 };