summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/usb/ehci-omap.txt
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@ti.com>2013-03-12 12:44:48 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-15 11:51:47 -0700
commita1ae0affee119e6deb937d157aa8b43319c1d6f3 (patch)
tree217067f110ad543c5500eeec55c9781ba272406c /Documentation/devicetree/bindings/usb/ehci-omap.txt
parent5867320dec346c2dc26f224f876d780111ca149d (diff)
USB: ehci-omap: Add device tree support and binding information
Allows the OMAP EHCI controller to be specified via device tree. Signed-off-by: Roger Quadros <rogerq@ti.com> Reviewed-by: Mark Rutland <mark.rutland@arm.com> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/devicetree/bindings/usb/ehci-omap.txt')
-rw-r--r--Documentation/devicetree/bindings/usb/ehci-omap.txt32
1 files changed, 32 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/usb/ehci-omap.txt b/Documentation/devicetree/bindings/usb/ehci-omap.txt
new file mode 100644
index 00000000000..485a9a1efa7
--- /dev/null
+++ b/Documentation/devicetree/bindings/usb/ehci-omap.txt
@@ -0,0 +1,32 @@
+OMAP HS USB EHCI controller
+
+This device is usually the child of the omap-usb-host
+Documentation/devicetree/bindings/mfd/omap-usb-host.txt
+
+Required properties:
+
+- compatible: should be "ti,ehci-omap"
+- reg: should contain one register range i.e. start and length
+- interrupts: description of the interrupt line
+
+Optional properties:
+
+- phys: list of phandles to PHY nodes.
+ This property is required if at least one of the ports are in
+ PHY mode i.e. OMAP_EHCI_PORT_MODE_PHY
+
+To specify the port mode, see
+Documentation/devicetree/bindings/mfd/omap-usb-host.txt
+
+Example for OMAP4:
+
+usbhsehci: ehci@4a064c00 {
+ compatible = "ti,ehci-omap", "usb-ehci";
+ reg = <0x4a064c00 0x400>;
+ interrupts = <0 77 0x4>;
+};
+
+&usbhsehci {
+ phys = <&hsusb1_phy 0 &hsusb3_phy>;
+};
+