Path: blob/master/Documentation/devicetree/bindings/ata/snps,dwc-ahci.yaml
54199 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/ata/snps,dwc-ahci.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Synopsys DWC AHCI SATA controller78maintainers:9- Serge Semin <fancer.lancer@gmail.com>1011description:12This document defines device tree bindings for the generic Synopsys DWC13implementation of the AHCI SATA controller.1415select:16properties:17compatible:18enum:19- snps,dwc-ahci20- snps,spear-ahci21required:22- compatible2324allOf:25- $ref: snps,dwc-ahci-common.yaml#2627properties:28compatible:29oneOf:30- description: Synopsys AHCI SATA-compatible devices31const: snps,dwc-ahci32- description: SPEAr1340 AHCI SATA device33const: snps,spear-ahci3435iommus:36minItems: 137maxItems: 33839patternProperties:40"^sata-port@[0-9a-e]$":41$ref: /schemas/ata/snps,dwc-ahci-common.yaml#/$defs/dwc-ahci-port4243unevaluatedProperties: false4445required:46- compatible47- reg48- interrupts4950unevaluatedProperties: false5152examples:53- |54#include <dt-bindings/interrupt-controller/arm-gic.h>55#include <dt-bindings/ata/ahci.h>5657sata@122f0000 {58compatible = "snps,dwc-ahci";59reg = <0x122F0000 0x1ff>;60#address-cells = <1>;61#size-cells = <0>;6263interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;6465clocks = <&clock1>, <&clock2>;66clock-names = "aclk", "ref";6768phys = <&sata_phy>;69phy-names = "sata-phy";7071ports-implemented = <0x1>;7273sata-port@0 {74reg = <0>;7576hba-port-cap = <HBA_PORT_FBSCP>;7778snps,tx-ts-max = <512>;79snps,rx-ts-max = <512>;80};81};8283...848586