aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2012-07-30 03:29:12 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-08-10 14:59:32 -0400
commit1139b4516f3927ae835ed3b0a9c69a0dfaf4cdd4 (patch)
treeb2fdb8094aca478bdbdcce15b767a78dbb9f5997 /Documentation
parent0d7614f09c1ebdbaa1599a5aba7593f147bf96ee (diff)
USB: ohci-pxa27x: add DT bindings
Add DT bindings to the ohci-pxa27x driver and some documentation. Successfully tested on a PXA3xx board. Signed-off-by: Daniel Mack <zonque@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/usb/pxa-usb.txt31
1 files changed, 31 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/usb/pxa-usb.txt b/Documentation/devicetree/bindings/usb/pxa-usb.txt
new file mode 100644
index 000000000000..79729a948d5a
--- /dev/null
+++ b/Documentation/devicetree/bindings/usb/pxa-usb.txt
@@ -0,0 +1,31 @@
1PXA USB controllers
2
3OHCI
4
5Required properties:
6 - compatible: Should be "marvell,pxa-ohci" for USB controllers
7 used in host mode.
8
9Optional properties:
10 - "marvell,enable-port1", "marvell,enable-port2", "marvell,enable-port3"
11 If present, enables the appropriate USB port of the controller.
12 - "marvell,port-mode" selects the mode of the ports:
13 1 = PMM_NPS_MODE
14 2 = PMM_GLOBAL_MODE
15 3 = PMM_PERPORT_MODE
16 - "marvell,power-sense-low" - power sense pin is low-active.
17 - "marvell,power-control-low" - power control pin is low-active.
18 - "marvell,no-oc-protection" - disable over-current protection.
19 - "marvell,oc-mode-perport" - enable per-port over-current protection.
20 - "marvell,power_on_delay" Power On to Power Good time - in ms.
21
22Example:
23
24 usb0: ohci@4c000000 {
25 compatible = "marvell,pxa-ohci", "usb-ohci";
26 reg = <0x4c000000 0x100000>;
27 interrupts = <18>;
28 marvell,enable-port1;
29 marvell,port-mode = <2>; /* PMM_GLOBAL_MODE */
30 };
31