Daniel Mack | 1139b45 | 2012-07-30 09:29:12 +0200 | [diff] [blame^] | 1 | PXA USB controllers |
| 2 | |
| 3 | OHCI |
| 4 | |
| 5 | Required properties: |
| 6 | - compatible: Should be "marvell,pxa-ohci" for USB controllers |
| 7 | used in host mode. |
| 8 | |
| 9 | Optional 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 | |
| 22 | Example: |
| 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 | |