ahci-st.txt 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. STMicroelectronics STi SATA controller
  2. This binding describes a SATA device.
  3. Required properties:
  4. - compatible : Must be "st,ahci"
  5. - reg : Physical base addresses and length of register sets
  6. - interrupts : Interrupt associated with the SATA device
  7. - interrupt-names : Associated name must be; "hostc"
  8. - clocks : The phandle for the clock
  9. - clock-names : Associated name must be; "ahci_clk"
  10. - phys : The phandle for the PHY port
  11. - phy-names : Associated name must be; "ahci_phy"
  12. Optional properties:
  13. - resets : The power-down, soft-reset and power-reset lines of SATA IP
  14. - reset-names : Associated names must be; "pwr-dwn", "sw-rst" and "pwr-rst"
  15. Example:
  16. /* Example for stih416 */
  17. sata0: sata@fe380000 {
  18. compatible = "st,ahci";
  19. reg = <0xfe380000 0x1000>;
  20. interrupts = <GIC_SPI 157 IRQ_TYPE_NONE>;
  21. interrupt-names = "hostc";
  22. phys = <&phy_port0 PHY_TYPE_SATA>;
  23. phy-names = "ahci_phy";
  24. resets = <&powerdown STIH416_SATA0_POWERDOWN>,
  25. <&softreset STIH416_SATA0_SOFTRESET>;
  26. reset-names = "pwr-dwn", "sw-rst";
  27. clocks = <&clk_s_a0_ls CLK_ICN_REG>;
  28. clock-names = "ahci_clk";
  29. };
  30. /* Example for stih407 family silicon */
  31. sata0: sata@9b20000 {
  32. compatible = "st,ahci";
  33. reg = <0x9b20000 0x1000>;
  34. interrupts = <GIC_SPI 159 IRQ_TYPE_NONE>;
  35. interrupt-names = "hostc";
  36. phys = <&phy_port0 PHY_TYPE_SATA>;
  37. phy-names = "ahci_phy";
  38. resets = <&powerdown STIH407_SATA0_POWERDOWN>,
  39. <&softreset STIH407_SATA0_SOFTRESET>,
  40. <&softreset STIH407_SATA0_PWR_SOFTRESET>;
  41. reset-names = "pwr-dwn", "sw-rst", "pwr-rst";
  42. clocks = <&clk_s_c0_flexgen CLK_ICN_REG>;
  43. clock-names = "ahci_clk";
  44. };