blob: 553e2fae3a76f5be43b6fa2bfc00b18756892b44 [file] [log] [blame]
Antoine Tenartd7d30c92014-11-26 13:44:37 +08001* USB2 ChipIdea USB controller for ci13xxx
2
3Required properties:
Rob Herring9d062b92015-05-29 11:38:44 -05004- compatible: should be one of:
5 "fsl,imx27-usb"
6 "lsi,zevio-usb"
7 "qcom,ci-hdrc"
8 "chipidea,usb2"
Antoine Tenartd7d30c92014-11-26 13:44:37 +08009- reg: base address and length of the registers
10- interrupts: interrupt for the USB controller
11
Rob Herring9d062b92015-05-29 11:38:44 -050012Recommended properies:
13- phy_type: the type of the phy connected to the core. Should be one
14 of "utmi", "utmi_wide", "ulpi", "serial" or "hsic". Without this
15 property the PORTSC register won't be touched.
16- dr_mode: One of "host", "peripheral" or "otg". Defaults to "otg"
17
18Deprecated properties:
19- usb-phy: phandle for the PHY device. Use "phys" instead.
20- fsl,usbphy: phandle of usb phy that connects to the port. Use "phys" instead.
21
Antoine Tenartd7d30c92014-11-26 13:44:37 +080022Optional properties:
23- clocks: reference to the USB clock
24- phys: reference to the USB PHY
25- phy-names: should be "usb-phy"
26- vbus-supply: reference to the VBUS regulator
Rob Herring9d062b92015-05-29 11:38:44 -050027- maximum-speed: limit the maximum connection speed to "full-speed".
28- tpl-support: TPL (Targeted Peripheral List) feature for targeted hosts
29- fsl,usbmisc: (FSL only) phandler of non-core register device, with one
30 argument that indicate usb controller index
31- disable-over-current: (FSL only) disable over current detect
32- external-vbus-divider: (FSL only) enables off-chip resistor divider for Vbus
Antoine Tenartd7d30c92014-11-26 13:44:37 +080033
34Example:
35
36 usb@f7ed0000 {
37 compatible = "chipidea,usb2";
38 reg = <0xf7ed0000 0x10000>;
39 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
40 clocks = <&chip CLKID_USB0>;
41 phys = <&usb_phy0>;
42 phy-names = "usb-phy";
43 vbus-supply = <&reg_usb0_vbus>;
44 };