pxa-usb.txt 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. PXA USB controllers
  2. OHCI
  3. Required properties:
  4. - compatible: Should be "marvell,pxa-ohci" for USB controllers
  5. used in host mode.
  6. Optional properties:
  7. - "marvell,enable-port1", "marvell,enable-port2", "marvell,enable-port3"
  8. If present, enables the appropriate USB port of the controller.
  9. - "marvell,port-mode" selects the mode of the ports:
  10. 1 = PMM_NPS_MODE
  11. 2 = PMM_GLOBAL_MODE
  12. 3 = PMM_PERPORT_MODE
  13. - "marvell,power-sense-low" - power sense pin is low-active.
  14. - "marvell,power-control-low" - power control pin is low-active.
  15. - "marvell,no-oc-protection" - disable over-current protection.
  16. - "marvell,oc-mode-perport" - enable per-port over-current protection.
  17. - "marvell,power_on_delay" Power On to Power Good time - in ms.
  18. Example:
  19. usb0: ohci@4c000000 {
  20. compatible = "marvell,pxa-ohci", "usb-ohci";
  21. reg = <0x4c000000 0x100000>;
  22. interrupts = <18>;
  23. marvell,enable-port1;
  24. marvell,port-mode = <2>; /* PMM_GLOBAL_MODE */
  25. };
  26. UDC
  27. Required properties:
  28. - compatible: Should be "marvell,pxa270-udc" for USB controllers
  29. used in device mode.
  30. - reg: usb device MMIO address space
  31. - interrupts: single interrupt generated by the UDC IP
  32. - clocks: input clock of the UDC IP (see clock-bindings.txt)
  33. Optional properties:
  34. - gpios:
  35. - gpio activated to control the USB D+ pullup (see gpio.txt)
  36. Example:
  37. pxa27x_udc: udc@40600000 {
  38. compatible = "marvell,pxa270-udc";
  39. reg = <0x40600000 0x10000>;
  40. interrupts = <11>;
  41. clocks = <&pxa2xx_clks 11>;
  42. gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
  43. };