sata-uctl.txt 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. * UCTL SATA controller glue
  2. UCTL is the bridge unit between the I/O interconnect (an internal bus)
  3. and the SATA AHCI host controller (UAHC). It performs the following functions:
  4. - provides interfaces for the applications to access the UAHC AHCI
  5. registers on the CN71XX I/O space.
  6. - provides a bridge for UAHC to fetch AHCI command table entries and data
  7. buffers from Level 2 Cache.
  8. - posts interrupts to the CIU.
  9. - contains registers that:
  10. - control the behavior of the UAHC
  11. - control the clock/reset generation to UAHC
  12. - control endian swapping for all UAHC registers and DMA accesses
  13. Properties:
  14. - compatible: "cavium,octeon-7130-sata-uctl"
  15. Compatibility with the cn7130 SOC.
  16. - reg: The base address of the UCTL register bank.
  17. - #address-cells, #size-cells, ranges and dma-ranges must be present and hold
  18. suitable values to map all child nodes.
  19. Example:
  20. uctl@118006c000000 {
  21. compatible = "cavium,octeon-7130-sata-uctl";
  22. reg = <0x11800 0x6c000000 0x0 0x100>;
  23. ranges; /* Direct mapping */
  24. dma-ranges;
  25. #address-cells = <2>;
  26. #size-cells = <2>;
  27. sata: sata@16c0000000000 {
  28. compatible = "cavium,octeon-7130-ahci";
  29. reg = <0x16c00 0x00000000 0x0 0x200>;
  30. interrupt-parent = <&cibsata>;
  31. interrupts = <2 4>; /* Bit: 2, level */
  32. };
  33. };