apm-xgene.txt 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. * APM X-Gene 6.0 Gb/s SATA host controller nodes
  2. SATA host controller nodes are defined to describe on-chip Serial ATA
  3. controllers. Each SATA controller (pair of ports) have its own node.
  4. Required properties:
  5. - compatible : Shall contain:
  6. * "apm,xgene-ahci"
  7. - reg : First memory resource shall be the AHCI memory
  8. resource.
  9. Second memory resource shall be the host controller
  10. core memory resource.
  11. Third memory resource shall be the host controller
  12. diagnostic memory resource.
  13. 4th memory resource shall be the host controller
  14. AXI memory resource.
  15. 5th optional memory resource shall be the host
  16. controller MUX memory resource if required.
  17. - interrupts : Interrupt-specifier for SATA host controller IRQ.
  18. - clocks : Reference to the clock entry.
  19. - phys : A list of phandles + phy-specifiers, one for each
  20. entry in phy-names.
  21. - phy-names : Should contain:
  22. * "sata-phy" for the SATA 6.0Gbps PHY
  23. Optional properties:
  24. - dma-coherent : Present if dma operations are coherent
  25. - status : Shall be "ok" if enabled or "disabled" if disabled.
  26. Default is "ok".
  27. Example:
  28. sataclk: sataclk {
  29. compatible = "fixed-clock";
  30. #clock-cells = <1>;
  31. clock-frequency = <100000000>;
  32. clock-output-names = "sataclk";
  33. };
  34. phy2: phy@1f22a000 {
  35. compatible = "apm,xgene-phy";
  36. reg = <0x0 0x1f22a000 0x0 0x100>;
  37. #phy-cells = <1>;
  38. };
  39. phy3: phy@1f23a000 {
  40. compatible = "apm,xgene-phy";
  41. reg = <0x0 0x1f23a000 0x0 0x100>;
  42. #phy-cells = <1>;
  43. };
  44. sata2: sata@1a400000 {
  45. compatible = "apm,xgene-ahci";
  46. reg = <0x0 0x1a400000 0x0 0x1000>,
  47. <0x0 0x1f220000 0x0 0x1000>,
  48. <0x0 0x1f22d000 0x0 0x1000>,
  49. <0x0 0x1f22e000 0x0 0x1000>,
  50. <0x0 0x1f227000 0x0 0x1000>;
  51. interrupts = <0x0 0x87 0x4>;
  52. dma-coherent;
  53. status = "ok";
  54. clocks = <&sataclk 0>;
  55. phys = <&phy2 0>;
  56. phy-names = "sata-phy";
  57. };
  58. sata3: sata@1a800000 {
  59. compatible = "apm,xgene-ahci-pcie";
  60. reg = <0x0 0x1a800000 0x0 0x1000>,
  61. <0x0 0x1f230000 0x0 0x1000>,
  62. <0x0 0x1f23d000 0x0 0x1000>,
  63. <0x0 0x1f23e000 0x0 0x1000>,
  64. <0x0 0x1f237000 0x0 0x1000>;
  65. interrupts = <0x0 0x88 0x4>;
  66. dma-coherent;
  67. status = "ok";
  68. clocks = <&sataclk 0>;
  69. phys = <&phy3 0>;
  70. phy-names = "sata-phy";
  71. };