1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/ata/allwinner,sun4i-a10-ahci.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Allwinner A10 AHCI SATA Controller
8
9maintainers:
10  - Chen-Yu Tsai <wens@csie.org>
11  - Maxime Ripard <mripard@kernel.org>
12
13properties:
14  compatible:
15    const: allwinner,sun4i-a10-ahci
16
17  reg:
18    maxItems: 1
19
20  clocks:
21    items:
22      - description: AHCI Bus Clock
23      - description: AHCI Module Clock
24
25  interrupts:
26    maxItems: 1
27
28  target-supply:
29    description: Regulator for SATA target power
30
31required:
32  - compatible
33  - reg
34  - clocks
35  - interrupts
36
37additionalProperties: false
38
39examples:
40  - |
41    ahci: sata@1c18000 {
42        compatible = "allwinner,sun4i-a10-ahci";
43        reg = <0x01c18000 0x1000>;
44        interrupts = <56>;
45        clocks = <&pll6 0>, <&ahb_gates 25>;
46        target-supply = <&reg_ahci_5v>;
47    };
48