| 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"; |
| 26 |
reg = <0x4c000000 0x100000>; |
| 27 |
interrupts = <18>; |
| 28 |
marvell,enable-port1; |
| 29 |
marvell,port-mode = <2>; /* PMM_GLOBAL_MODE */ |
| 30 |
}; |
| 31 |
|
| 32 |
UDC |
| 33 |
|
| 34 |
Required properties: |
| 35 |
- compatible: Should be "marvell,pxa270-udc" for USB controllers |
| 36 |
used in device mode. |
| 37 |
- reg: usb device MMIO address space |
| 38 |
- interrupts: single interrupt generated by the UDC IP |
| 39 |
- clocks: input clock of the UDC IP (see clock-bindings.txt) |
| 40 |
|
| 41 |
Optional properties: |
| 42 |
- gpios: |
| 43 |
- gpio activated to control the USB D+ pullup (see gpio.txt) |
| 44 |
|
| 45 |
Example: |
| 46 |
|
| 47 |
pxa27x_udc: udc@40600000 { |
| 48 |
compatible = "marvell,pxa270-udc"; |
| 49 |
reg = <0x40600000 0x10000>; |
| 50 |
interrupts = <11>; |
| 51 |
clocks = <&pxa2xx_clks 11>; |
| 52 |
gpios = <&gpio 22 GPIO_ACTIVE_LOW>; |
| 53 |
}; |