3 SATA nodes are defined to describe on-chip Serial ATA controllers.
4 Each SATA controller should have its own node.
6 It is possible, but not required, to represent each port as a sub-node.
7 It allows to enable each port independently when dealing with multiple
11 - compatible : compatible string, one of:
12 - "allwinner,sun4i-a10-ahci"
13 - "allwinner,sun8i-r40-ahci"
15 - "hisilicon,hisi-ahci"
16 - "cavium,octeon-7130-ahci"
18 - "marvell,armada-380-ahci"
19 - "marvell,armada-3700-ahci"
23 - interrupts : <interrupt mapping for SATA IRQ>
24 - reg : <registers mapping>
26 Please note that when using "generic-ahci" you must also specify a SoC specific
28 compatible = "manufacturer,soc-model-ahci", "generic-ahci";
31 - dma-coherent : Present if dma operations are coherent
32 - clocks : a list of phandle + clock specifier pairs
33 - resets : a list of phandle + reset specifier pairs
34 - target-supply : regulator for SATA target power
35 - phy-supply : regulator for PHY power
36 - phys : reference to the SATA PHY node
37 - phy-names : must be "sata-phy"
38 - ahci-supply : regulator for AHCI controller
39 - ports-implemented : Mask that indicates which ports that the HBA supports
40 are available for software to use. Useful if PORTS_IMPL
41 is not programmed by the BIOS, which is true with
44 Required properties when using sub-nodes:
45 - #address-cells : number of cells to encode an address
46 - #size-cells : number of cells representing the size of an address
48 For allwinner,sun8i-r40-ahci, the reset propertie must be present.
50 Sub-nodes required properties:
51 - reg : the port number
52 And at least one of the following properties:
53 - phys : reference to the SATA PHY node
54 - target-supply : regulator for SATA target power
58 compatible = "snps,spear-ahci";
59 reg = <0xffe08000 0x1000>;
64 compatible = "allwinner,sun4i-a10-ahci";
65 reg = <0x01c18000 0x1000>;
67 clocks = <&pll6 0>, <&ahb_gates 25>;
68 target-supply = <®_ahci_5v>;
73 compatible = "marvell,berlin2q-achi", "generic-ahci";
74 reg = <0xe90000 0x1000>;
75 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
76 clocks = <&chip CLKID_SATA>;
83 target-supply = <®_sata0>;
89 target-supply = <®_sata1>;;