-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Daniel Mack
authored and
Greg Kroah-Hartman
committed
Aug 10, 2012
1 parent
0d7614f
commit 1139b45
Showing
2 changed files
with
99 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
PXA USB controllers | ||
|
||
OHCI | ||
|
||
Required properties: | ||
- compatible: Should be "marvell,pxa-ohci" for USB controllers | ||
used in host mode. | ||
|
||
Optional properties: | ||
- "marvell,enable-port1", "marvell,enable-port2", "marvell,enable-port3" | ||
If present, enables the appropriate USB port of the controller. | ||
- "marvell,port-mode" selects the mode of the ports: | ||
1 = PMM_NPS_MODE | ||
2 = PMM_GLOBAL_MODE | ||
3 = PMM_PERPORT_MODE | ||
- "marvell,power-sense-low" - power sense pin is low-active. | ||
- "marvell,power-control-low" - power control pin is low-active. | ||
- "marvell,no-oc-protection" - disable over-current protection. | ||
- "marvell,oc-mode-perport" - enable per-port over-current protection. | ||
- "marvell,power_on_delay" Power On to Power Good time - in ms. | ||
|
||
Example: | ||
|
||
usb0: ohci@4c000000 { | ||
compatible = "marvell,pxa-ohci", "usb-ohci"; | ||
reg = <0x4c000000 0x100000>; | ||
interrupts = <18>; | ||
marvell,enable-port1; | ||
marvell,port-mode = <2>; /* PMM_GLOBAL_MODE */ | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters