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