Path: blob/master/Documentation/devicetree/bindings/ata/baikal,bt1-ahci.yaml
26308 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/ata/baikal,bt1-ahci.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Baikal-T1 SoC AHCI SATA controller78maintainers:9- Serge Semin <fancer.lancer@gmail.com>1011description:12AHCI SATA controller embedded into the Baikal-T1 SoC is based on the13DWC AHCI SATA v4.10a IP-core.1415allOf:16- $ref: snps,dwc-ahci-common.yaml#1718properties:19compatible:20const: baikal,bt1-ahci2122clocks:23items:24- description: Peripheral APB bus clock25- description: Application AXI BIU clock26- description: SATA Ports reference clock2728clock-names:29items:30- const: pclk31- const: aclk32- const: ref3334resets:35items:36- description: Application AXI BIU domain reset37- description: SATA Ports clock domain reset3839reset-names:40items:41- const: arst42- const: ref4344ports-implemented:45maximum: 0x34647patternProperties:48"^sata-port@[0-1]$":49$ref: /schemas/ata/snps,dwc-ahci-common.yaml#/$defs/dwc-ahci-port5051properties:52reg:53minimum: 054maximum: 15556snps,tx-ts-max:57$ref: /schemas/types.yaml#/definitions/uint3258description:59Due to having AXI3 bus interface utilized the maximum Tx DMA60transaction size can't exceed 16 beats (AxLEN[3:0]).61enum: [ 1, 2, 4, 8, 16 ]6263snps,rx-ts-max:64$ref: /schemas/types.yaml#/definitions/uint3265description:66Due to having AXI3 bus interface utilized the maximum Rx DMA67transaction size can't exceed 16 beats (AxLEN[3:0]).68enum: [ 1, 2, 4, 8, 16 ]6970unevaluatedProperties: false7172required:73- compatible74- reg75- interrupts76- clocks77- clock-names78- resets7980unevaluatedProperties: false8182examples:83- |84sata@1f050000 {85compatible = "baikal,bt1-ahci";86reg = <0x1f050000 0x2000>;87#address-cells = <1>;88#size-cells = <0>;8990interrupts = <0 64 4>;9192clocks = <&ccu_sys 1>, <&ccu_axi 2>, <&sata_ref_clk>;93clock-names = "pclk", "aclk", "ref";9495resets = <&ccu_axi 2>, <&ccu_sys 0>;96reset-names = "arst", "ref";9798ports-implemented = <0x3>;99100sata-port@0 {101reg = <0>;102103snps,tx-ts-max = <4>;104snps,rx-ts-max = <4>;105};106107sata-port@1 {108reg = <1>;109110snps,tx-ts-max = <4>;111snps,rx-ts-max = <4>;112};113};114...115116117