2012-04-21 19:10:12 +07:00
|
|
|
* AHCI SATA Controller
|
2010-11-04 09:04:59 +07:00
|
|
|
|
|
|
|
SATA nodes are defined to describe on-chip Serial ATA controllers.
|
|
|
|
Each SATA controller should have its own node.
|
|
|
|
|
|
|
|
Required properties:
|
2014-04-15 22:00:02 +07:00
|
|
|
- compatible : compatible string, one of:
|
|
|
|
- "allwinner,sun4i-a10-ahci"
|
|
|
|
- "fsl,imx53-ahci"
|
|
|
|
- "fsl,imx6q-ahci"
|
|
|
|
- "ibm,476gtr-ahci"
|
2014-04-15 22:00:03 +07:00
|
|
|
- "marvell,armada-380-ahci"
|
2014-04-15 22:00:02 +07:00
|
|
|
- "snps,dwc-ahci"
|
|
|
|
- "snps,exynos5440-ahci"
|
|
|
|
- "snps,spear-ahci"
|
2010-11-04 09:04:59 +07:00
|
|
|
- interrupts : <interrupt mapping for SATA IRQ>
|
|
|
|
- reg : <registers mapping>
|
|
|
|
|
2012-09-07 04:03:30 +07:00
|
|
|
Optional properties:
|
2012-08-21 17:31:06 +07:00
|
|
|
- dma-coherent : Present if dma operations are coherent
|
2014-02-22 22:53:31 +07:00
|
|
|
- clocks : a list of phandle + clock specifier pairs
|
2014-02-22 22:53:32 +07:00
|
|
|
- target-supply : regulator for SATA target power
|
2012-09-07 04:03:30 +07:00
|
|
|
|
2014-02-22 22:53:37 +07:00
|
|
|
"fsl,imx53-ahci", "fsl,imx6q-ahci" required properties:
|
|
|
|
- clocks : must contain the sata, sata_ref and ahb clocks
|
|
|
|
- clock-names : must contain "ahb" for the ahb clock
|
|
|
|
|
2014-02-22 22:53:36 +07:00
|
|
|
Examples:
|
2010-11-04 09:04:59 +07:00
|
|
|
sata@ffe08000 {
|
2013-08-15 03:40:11 +07:00
|
|
|
compatible = "snps,spear-ahci";
|
|
|
|
reg = <0xffe08000 0x1000>;
|
|
|
|
interrupts = <115>;
|
2010-11-04 09:04:59 +07:00
|
|
|
};
|
2014-02-22 22:53:36 +07:00
|
|
|
|
|
|
|
ahci: sata@01c18000 {
|
|
|
|
compatible = "allwinner,sun4i-a10-ahci";
|
|
|
|
reg = <0x01c18000 0x1000>;
|
|
|
|
interrupts = <56>;
|
|
|
|
clocks = <&pll6 0>, <&ahb_gates 25>;
|
|
|
|
target-supply = <®_ahci_5v>;
|
|
|
|
};
|