octeon-usb.txt 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. OCTEON/OCTEON+ USB BLOCK
  2. 1) Main node
  3. Required properties:
  4. - compatible: must be "cavium,octeon-5750-usbn"
  5. - reg: specifies the physical base address of the USBN block and
  6. the length of the memory mapped region.
  7. - #address-cells: specifies the number of cells needed to encode an
  8. address. The value must be 2.
  9. - #size-cells: specifies the number of cells used to represent the size
  10. of an address. The value must be 2.
  11. - ranges: specifies the translation between child address space and parent
  12. address space.
  13. - clock-frequency: speed of the USB reference clock. Allowed values are
  14. 12000000, 24000000 or 48000000.
  15. - cavium,refclk-type: type of the USB reference clock. Allowed values are
  16. "crystal" or "external".
  17. - refclk-frequency: deprecated, use "clock-frequency".
  18. - refclk-type: deprecated, use "cavium,refclk-type".
  19. 2) Child node
  20. The main node must have one child node which describes the built-in
  21. USB controller.
  22. Required properties:
  23. - compatible: must be "cavium,octeon-5750-usbc"
  24. - reg: specifies the physical base address of the USBC block and
  25. the length of the memory mapped region.
  26. - interrupts: specifies the interrupt number for the USB controller.
  27. 3) Example:
  28. usbn: usbn@1180068000000 {
  29. compatible = "cavium,octeon-5750-usbn";
  30. reg = <0x11800 0x68000000 0x0 0x1000>;
  31. ranges; /* Direct mapping */
  32. #address-cells = <2>;
  33. #size-cells = <2>;
  34. clock-frequency = <12000000>;
  35. cavium,refclk-type = "crystal";
  36. usbc@16f0010000000 {
  37. compatible = "cavium,octeon-5750-usbc";
  38. reg = <0x16f00 0x10000000 0x0 0x80000>;
  39. interrupts = <0 56>;
  40. };
  41. };