Back to home page

OSCL-LXR

 
 

    


0001 PXA USB controllers
0002 
0003 OHCI
0004 
0005 Required properties:
0006  - compatible: Should be "marvell,pxa-ohci" for USB controllers
0007    used in host mode.
0008 
0009 Optional properties:
0010  - "marvell,enable-port1", "marvell,enable-port2", "marvell,enable-port3"
0011    If present, enables the appropriate USB port of the controller.
0012  - "marvell,port-mode" selects the mode of the ports:
0013         1 = PMM_NPS_MODE
0014         2 = PMM_GLOBAL_MODE
0015         3 = PMM_PERPORT_MODE
0016  - "marvell,power-sense-low" - power sense pin is low-active.
0017  - "marvell,power-control-low" - power control pin is low-active.
0018  - "marvell,no-oc-protection" - disable over-current protection.
0019  - "marvell,oc-mode-perport" - enable per-port over-current protection.
0020  - "marvell,power_on_delay" Power On to Power Good time - in ms.
0021 
0022 Example:
0023 
0024         usb0: ohci@4c000000 {
0025                 compatible = "marvell,pxa-ohci", "usb-ohci";
0026                 reg = <0x4c000000 0x100000>;
0027                 interrupts = <18>;
0028                 marvell,enable-port1;
0029                 marvell,port-mode = <2>; /* PMM_GLOBAL_MODE */
0030         };
0031 
0032 UDC
0033 
0034 Required properties:
0035  - compatible: Should be "marvell,pxa270-udc" for USB controllers
0036    used in device mode.
0037  - reg: usb device MMIO address space
0038  - interrupts: single interrupt generated by the UDC IP
0039  - clocks: input clock of the UDC IP (see clock-bindings.txt)
0040 
0041 Optional properties:
0042  - gpios:
0043    - gpio activated to control the USB D+ pullup (see gpio.txt)
0044 
0045 Example:
0046 
0047                 pxa27x_udc: udc@40600000 {
0048                         compatible = "marvell,pxa270-udc";
0049                         reg = <0x40600000 0x10000>;
0050                         interrupts = <11>;
0051                         clocks = <&pxa2xx_clks 11>;
0052                         gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
0053                 };