atmel-usb.txt 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. Atmel SOC USB controllers
  2. OHCI
  3. Required properties:
  4. - compatible: Should be "atmel,at91rm9200-ohci" for USB controllers
  5. used in host mode.
  6. - num-ports: Number of ports.
  7. - atmel,vbus-gpio: If present, specifies a gpio that needs to be
  8. activated for the bus to be powered.
  9. - atmel,oc-gpio: If present, specifies a gpio that needs to be
  10. activated for the overcurrent detection.
  11. usb0: ohci@00500000 {
  12. compatible = "atmel,at91rm9200-ohci", "usb-ohci";
  13. reg = <0x00500000 0x100000>;
  14. interrupts = <20 4>;
  15. num-ports = <2>;
  16. };
  17. EHCI
  18. Required properties:
  19. - compatible: Should be "atmel,at91sam9g45-ehci" for USB controllers
  20. used in host mode.
  21. usb1: ehci@00800000 {
  22. compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
  23. reg = <0x00800000 0x100000>;
  24. interrupts = <22 4>;
  25. };
  26. AT91 USB device controller
  27. Required properties:
  28. - compatible: Should be "atmel,at91rm9200-udc"
  29. - reg: Address and length of the register set for the device
  30. - interrupts: Should contain macb interrupt
  31. Optional properties:
  32. - atmel,vbus-gpio: If present, specifies a gpio that needs to be
  33. activated for the bus to be powered.
  34. usb1: gadget@fffa4000 {
  35. compatible = "atmel,at91rm9200-udc";
  36. reg = <0xfffa4000 0x4000>;
  37. interrupts = <10 4>;
  38. atmel,vbus-gpio = <&pioC 5 0>;
  39. };