mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 13:22:23 +00:00
4f6743d5ca
This patch makes it possible to set the chipidea udc into full-speed only mode. It is set by the oftree property "maximum-speed = full-speed". Signed-off-by: Peter Chen <peter.chen@freescale.com> Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
34 lines
1.2 KiB
Plaintext
34 lines
1.2 KiB
Plaintext
* Freescale i.MX ci13xxx usb controllers
|
|
|
|
Required properties:
|
|
- compatible: Should be "fsl,imx27-usb"
|
|
- reg: Should contain registers location and length
|
|
- interrupts: Should contain controller interrupt
|
|
|
|
Recommended properies:
|
|
- phy_type: the type of the phy connected to the core. Should be one
|
|
of "utmi", "utmi_wide", "ulpi", "serial" or "hsic". Without this
|
|
property the PORTSC register won't be touched
|
|
- dr_mode: One of "host", "peripheral" or "otg". Defaults to "otg"
|
|
|
|
Optional properties:
|
|
- fsl,usbphy: phandler of usb phy that connects to the only one port
|
|
- fsl,usbmisc: phandler of non-core register device, with one argument
|
|
that indicate usb controller index
|
|
- vbus-supply: regulator for vbus
|
|
- disable-over-current: disable over current detect
|
|
- external-vbus-divider: enables off-chip resistor divider for Vbus
|
|
- maximum-speed: limit the maximum connection speed to "full-speed".
|
|
|
|
Examples:
|
|
usb@02184000 { /* USB OTG */
|
|
compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
|
|
reg = <0x02184000 0x200>;
|
|
interrupts = <0 43 0x04>;
|
|
fsl,usbphy = <&usbphy1>;
|
|
fsl,usbmisc = <&usbmisc 0>;
|
|
disable-over-current;
|
|
external-vbus-divider;
|
|
maximum-speed = "full-speed";
|
|
};
|