blob: d6b07e87aa936e5f7a974c28bcf911e645c81f88 [file] [log] [blame]
Viresh Kumar5f098a32012-04-21 17:40:12 +05301* AHCI SATA Controller
Rob Herring02aac312010-11-03 21:04:59 -05002
3SATA nodes are defined to describe on-chip Serial ATA controllers.
4Each SATA controller should have its own node.
5
6Required properties:
Thomas Petazzoni5799d6d2014-04-15 17:00:02 +02007- compatible : compatible string, one of:
8 - "allwinner,sun4i-a10-ahci"
9 - "fsl,imx53-ahci"
10 - "fsl,imx6q-ahci"
11 - "ibm,476gtr-ahci"
Thomas Petazzonia3464ed2014-04-15 17:00:03 +020012 - "marvell,armada-380-ahci"
Thomas Petazzoni5799d6d2014-04-15 17:00:02 +020013 - "snps,dwc-ahci"
14 - "snps,exynos5440-ahci"
15 - "snps,spear-ahci"
Rob Herring02aac312010-11-03 21:04:59 -050016- interrupts : <interrupt mapping for SATA IRQ>
17- reg : <registers mapping>
18
Mark Langsdorf8996b892012-09-06 16:03:30 -050019Optional properties:
Rob Herring1dc737c2012-08-21 12:31:06 +020020- dma-coherent : Present if dma operations are coherent
Hans de Goede156c5882014-02-22 16:53:31 +010021- clocks : a list of phandle + clock specifier pairs
Hans de Goede4b3e6032014-02-22 16:53:32 +010022- target-supply : regulator for SATA target power
Mark Langsdorf8996b892012-09-06 16:03:30 -050023
Hans de Goede90870d72014-02-22 16:53:37 +010024"fsl,imx53-ahci", "fsl,imx6q-ahci" required properties:
25- clocks : must contain the sata, sata_ref and ahb clocks
26- clock-names : must contain "ahb" for the ahb clock
27
Olliver Schinaglc5754b52014-02-22 16:53:36 +010028Examples:
Rob Herring02aac312010-11-03 21:04:59 -050029 sata@ffe08000 {
Mark Langsdorf91c20952013-08-14 15:40:11 -050030 compatible = "snps,spear-ahci";
31 reg = <0xffe08000 0x1000>;
32 interrupts = <115>;
Rob Herring02aac312010-11-03 21:04:59 -050033 };
Olliver Schinaglc5754b52014-02-22 16:53:36 +010034
35 ahci: sata@01c18000 {
36 compatible = "allwinner,sun4i-a10-ahci";
37 reg = <0x01c18000 0x1000>;
38 interrupts = <56>;
39 clocks = <&pll6 0>, <&ahb_gates 25>;
40 target-supply = <&reg_ahci_5v>;
41 };