summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/ata/allwinner,sun4i-a10-ahci.yaml
blob: 2011bd03cdcd9f0f159f80b4344102b723c5f178 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# SPDX-License-Identifier: GPL-2.0
%YAML 1.2
---
$id: http://devicetree.org/schemas/ata/allwinner,sun4i-a10-ahci.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Allwinner A10 AHCI SATA Controller

maintainers:
  - Chen-Yu Tsai <wens@csie.org>
  - Maxime Ripard <mripard@kernel.org>

properties:
  compatible:
    const: allwinner,sun4i-a10-ahci

  reg:
    maxItems: 1

  clocks:
    items:
      - description: AHCI Bus Clock
      - description: AHCI Module Clock

  interrupts:
    maxItems: 1

  target-supply:
    description: Regulator for SATA target power

required:
  - compatible
  - reg
  - clocks
  - interrupts

additionalProperties: false

examples:
  - |
    ahci: sata@1c18000 {
        compatible = "allwinner,sun4i-a10-ahci";
        reg = <0x01c18000 0x1000>;
        interrupts = <56>;
        clocks = <&pll6 0>, <&ahb_gates 25>;
        target-supply = <&reg_ahci_5v>;
    };