Documentation / devicetree / bindings / ata / apm,xgene-ahci.yaml


Based on kernel version 6.16. Page generated on 2025-08-06 08:56 EST.

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 48 49 50 51 52 53 54 55 56 57 58
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/ata/apm,xgene-ahci.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: APM X-Gene 6.0 Gb/s SATA host controller

maintainers:
  - Rob Herring <robh@kernel.org>

allOf:
  - $ref: ahci-common.yaml#

properties:
  compatible:
    enum:
      - apm,xgene-ahci
      - apm,xgene-ahci-pcie

  reg:
    minItems: 4
    items:
      - description: AHCI memory resource
      - description: Host controller core
      - description: Host controller diagnostic
      - description: Host controller AXI
      - description: Host controller MUX

  interrupts:
    maxItems: 1

  clocks:
    maxItems: 1

required:
  - compatible
  - clocks
  - phys
  - phy-names

unevaluatedProperties: false

examples:
  - |
    sata@1a400000 {
        compatible = "apm,xgene-ahci";
        reg = <0x1a400000 0x1000>,
              <0x1f220000 0x1000>,
              <0x1f22d000 0x1000>,
              <0x1f22e000 0x1000>,
              <0x1f227000 0x1000>;
        clocks = <&sataclk 0>;
        dma-coherent;
        interrupts = <0x0 0x87 0x4>;
        phys = <&phy2 0>;
        phy-names = "sata-phy";
    };