forked from Minki/linux
d142d6be23
i.MX usb controllers share non-core registers, which may include SoC specific controls. We turn it into a usbmisc device and usbmisc driver set operations needed by ci13xxx_imx driver. For example, Sabrelite board has bad over-current design, we can usbmisc to disable over-current detection. Acked-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Richard Zhao <richard.zhao@freescale.com> Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
24 lines
713 B
Plaintext
24 lines
713 B
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
|
|
|
|
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
|
|
|
|
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;
|
|
};
|