Viresh Kumar | 5f098a3 | 2012-04-21 17:40:12 +0530 | [diff] [blame] | 1 | * AHCI SATA Controller |
Rob Herring | 02aac31 | 2010-11-03 21:04:59 -0500 | [diff] [blame] | 2 | |
| 3 | SATA nodes are defined to describe on-chip Serial ATA controllers. |
| 4 | Each SATA controller should have its own node. |
| 5 | |
| 6 | Required properties: |
Thomas Petazzoni | 5799d6d | 2014-04-15 17:00:02 +0200 | [diff] [blame] | 7 | - compatible : compatible string, one of: |
| 8 | - "allwinner,sun4i-a10-ahci" |
| 9 | - "fsl,imx53-ahci" |
| 10 | - "fsl,imx6q-ahci" |
| 11 | - "ibm,476gtr-ahci" |
Thomas Petazzoni | a3464ed | 2014-04-15 17:00:03 +0200 | [diff] [blame^] | 12 | - "marvell,armada-380-ahci" |
Thomas Petazzoni | 5799d6d | 2014-04-15 17:00:02 +0200 | [diff] [blame] | 13 | - "snps,dwc-ahci" |
| 14 | - "snps,exynos5440-ahci" |
| 15 | - "snps,spear-ahci" |
Rob Herring | 02aac31 | 2010-11-03 21:04:59 -0500 | [diff] [blame] | 16 | - interrupts : <interrupt mapping for SATA IRQ> |
| 17 | - reg : <registers mapping> |
| 18 | |
Mark Langsdorf | 8996b89 | 2012-09-06 16:03:30 -0500 | [diff] [blame] | 19 | Optional properties: |
Rob Herring | 1dc737c | 2012-08-21 12:31:06 +0200 | [diff] [blame] | 20 | - dma-coherent : Present if dma operations are coherent |
Hans de Goede | 156c588 | 2014-02-22 16:53:31 +0100 | [diff] [blame] | 21 | - clocks : a list of phandle + clock specifier pairs |
Hans de Goede | 4b3e603 | 2014-02-22 16:53:32 +0100 | [diff] [blame] | 22 | - target-supply : regulator for SATA target power |
Mark Langsdorf | 8996b89 | 2012-09-06 16:03:30 -0500 | [diff] [blame] | 23 | |
Hans de Goede | 90870d7 | 2014-02-22 16:53:37 +0100 | [diff] [blame] | 24 | "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 Schinagl | c5754b5 | 2014-02-22 16:53:36 +0100 | [diff] [blame] | 28 | Examples: |
Rob Herring | 02aac31 | 2010-11-03 21:04:59 -0500 | [diff] [blame] | 29 | sata@ffe08000 { |
Mark Langsdorf | 91c2095 | 2013-08-14 15:40:11 -0500 | [diff] [blame] | 30 | compatible = "snps,spear-ahci"; |
| 31 | reg = <0xffe08000 0x1000>; |
| 32 | interrupts = <115>; |
Rob Herring | 02aac31 | 2010-11-03 21:04:59 -0500 | [diff] [blame] | 33 | }; |
Olliver Schinagl | c5754b5 | 2014-02-22 16:53:36 +0100 | [diff] [blame] | 34 | |
| 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 = <®_ahci_5v>; |
| 41 | }; |