xref: /linux/Documentation/devicetree/bindings/ata/fsl,ahci.yaml (revision a3a02a52bcfcbcc4a637d4b68bf1bc391c9fad02)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/ata/fsl,ahci.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Freescale QorIQ AHCI SATA Controller
8
9maintainers:
10  - Frank Li <Frank.Li@nxp.com>
11
12properties:
13  compatible:
14    oneOf:
15      - description: SATA controller for ls1012a
16        items:
17          - const: fsl,ls1012a-ahci
18          - const: fsl,ls1043a-ahci
19      - enum:
20          - fsl,ls1021a-ahci
21          - fsl,ls1028a-ahci
22          - fsl,ls1043a-ahci
23          - fsl,ls1046a-ahci
24          - fsl,ls1088a-ahci
25          - fsl,ls2080a-ahci
26          - fsl,lx2160a-ahci
27
28  reg:
29    minItems: 1
30    maxItems: 2
31
32  reg-names:
33    items:
34      - const: ahci
35      - const: sata-ecc
36    minItems: 1
37
38  clocks:
39    maxItems: 1
40
41  interrupts:
42    maxItems: 1
43
44  dma-coherent: true
45
46required:
47  - compatible
48  - reg
49  - clocks
50  - interrupts
51
52additionalProperties: false
53
54examples:
55  - |
56    #include <dt-bindings/interrupt-controller/arm-gic.h>
57
58    sata@3200000 {
59        compatible = "fsl,ls1021a-ahci";
60        reg = <0x3200000 0x10000>;
61        interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
62        clocks = <&platform_clk 1>;
63        dma-coherent;
64    };
65