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