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