1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/ata/ahci-platform.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: AHCI SATA Controller
10 SATA nodes are defined to describe on-chip Serial ATA controllers.
11 Each SATA controller should have its own node.
13 It is possible, but not required, to represent each port as a sub-node.
14 It allows to enable each port independently when dealing with multiple
18 - Hans de Goede <hdegoede@redhat.com>
19 - Jens Axboe <axboe@kernel.dk>
27 - cavium,octeon-7130-ahci
30 - marvell,armada-3700-ahci
31 - marvell,armada-8k-ahci
32 - marvell,berlin2q-ahci
39 - $ref: "sata-common.yaml#"
48 - marvell,armada-8k-ahci
49 - marvell,berlin2-ahci
50 - marvell,berlin2q-ahci
54 - rockchip,rk3568-dwc-ahci
55 - const: snps,dwc-ahci
57 - cavium,octeon-7130-ahci
60 - marvell,armada-3700-ahci
73 Clock IDs array as required by the controller.
79 Names of clocks corresponding to IDs in the clock property.
88 regulator for AHCI controller
94 regulator for PHY power
98 List of all PHYs on this controller
103 Name specifier for the PHYs
107 $ref: '/schemas/types.yaml#/definitions/uint32'
109 Mask that indicates which ports that the HBA supports
110 are available for software to use. Useful if PORTS_IMPL
111 is not programmed by the BIOS, which is true with
123 regulator for SATA target power
131 "^sata-port@[0-9a-f]+$":
133 additionalProperties: false
135 Subnode with configuration of the Ports.
149 regulator for SATA target power
156 - required: [ target-supply ]
158 unevaluatedProperties: false
163 compatible = "snps,spear-ahci";
164 reg = <0xffe08000 0x1000>;
168 #include <dt-bindings/interrupt-controller/arm-gic.h>
169 #include <dt-bindings/clock/berlin2q.h>
171 compatible = "marvell,berlin2q-ahci", "generic-ahci";
172 reg = <0xf7e90000 0x1000>;
173 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
174 clocks = <&chip CLKID_SATA>;
175 #address-cells = <1>;
180 phys = <&sata_phy 0>;
181 target-supply = <®_sata0>;
186 phys = <&sata_phy 1>;
187 target-supply = <®_sata1>;