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