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