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

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/ata/apm,xgene-ahci.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/ata/apm,xgene-ahci.yaml
Extension
.yaml
Size
1353 bytes
Lines
66
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

# 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>

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

  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

unevaluatedProperties: false

allOf:
  - $ref: ahci-common.yaml#
  - if:
      properties:
        compatible:
          contains:
            const: apm,xgene-ahci
    then:
      required:
        - clocks
        - phys
        - phy-names

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";
    };

Annotation

Implementation Notes