diff options
Diffstat (limited to 'Documentation/devicetree/bindings/ata/ahci-platform.txt')
| -rw-r--r-- | Documentation/devicetree/bindings/ata/ahci-platform.txt | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/Documentation/devicetree/bindings/ata/ahci-platform.txt b/Documentation/devicetree/bindings/ata/ahci-platform.txt index 89de1564950c..48b285ffa3a6 100644 --- a/Documentation/devicetree/bindings/ata/ahci-platform.txt +++ b/Documentation/devicetree/bindings/ata/ahci-platform.txt | |||
| @@ -4,17 +4,33 @@ SATA nodes are defined to describe on-chip Serial ATA controllers. | |||
| 4 | Each SATA controller should have its own node. | 4 | Each SATA controller should have its own node. |
| 5 | 5 | ||
| 6 | Required properties: | 6 | Required properties: |
| 7 | - compatible : compatible list, contains "snps,spear-ahci" | 7 | - compatible : compatible list, one of "snps,spear-ahci", |
| 8 | "snps,exynos5440-ahci", "ibm,476gtr-ahci", | ||
| 9 | "allwinner,sun4i-a10-ahci", "fsl,imx53-ahci" | ||
| 10 | "fsl,imx6q-ahci" or "snps,dwc-ahci" | ||
| 8 | - interrupts : <interrupt mapping for SATA IRQ> | 11 | - interrupts : <interrupt mapping for SATA IRQ> |
| 9 | - reg : <registers mapping> | 12 | - reg : <registers mapping> |
| 10 | 13 | ||
| 11 | Optional properties: | 14 | Optional properties: |
| 12 | - dma-coherent : Present if dma operations are coherent | 15 | - dma-coherent : Present if dma operations are coherent |
| 16 | - clocks : a list of phandle + clock specifier pairs | ||
| 17 | - target-supply : regulator for SATA target power | ||
| 13 | 18 | ||
| 14 | Example: | 19 | "fsl,imx53-ahci", "fsl,imx6q-ahci" required properties: |
| 20 | - clocks : must contain the sata, sata_ref and ahb clocks | ||
| 21 | - clock-names : must contain "ahb" for the ahb clock | ||
| 22 | |||
| 23 | Examples: | ||
| 15 | sata@ffe08000 { | 24 | sata@ffe08000 { |
| 16 | compatible = "snps,spear-ahci"; | 25 | compatible = "snps,spear-ahci"; |
| 17 | reg = <0xffe08000 0x1000>; | 26 | reg = <0xffe08000 0x1000>; |
| 18 | interrupts = <115>; | 27 | interrupts = <115>; |
| 19 | |||
| 20 | }; | 28 | }; |
| 29 | |||
| 30 | ahci: sata@01c18000 { | ||
| 31 | compatible = "allwinner,sun4i-a10-ahci"; | ||
| 32 | reg = <0x01c18000 0x1000>; | ||
| 33 | interrupts = <56>; | ||
| 34 | clocks = <&pll6 0>, <&ahb_gates 25>; | ||
| 35 | target-supply = <®_ahci_5v>; | ||
| 36 | }; | ||
