Path: blob/master/Documentation/devicetree/bindings/ata/ceva,ahci-1v84.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/ceva,ahci-1v84.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Ceva AHCI SATA Controller78maintainers:9- Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>1011description: |12The Ceva SATA controller mostly conforms to the AHCI interface with some13special extensions to add functionality, is a high-performance dual-port14SATA host controller with an AHCI compliant command layer which supports15advanced features such as native command queuing and frame information16structure (FIS) based switching for systems employing port multipliers.1718properties:19compatible:20const: ceva,ahci-1v842122reg:23maxItems: 12425clocks:26maxItems: 12728dma-coherent: true2930interrupts:31maxItems: 13233iommus:34maxItems: 43536power-domains:37maxItems: 13839ceva,p0-cominit-params:40$ref: /schemas/types.yaml#/definitions/uint8-array41description: |42OOB timing value for COMINIT parameter for port 0.43The fields for the above parameter must be as shown below:-44ceva,p0-cominit-params = /bits/ 8 <CIBGMN CIBGMX CIBGN CINMP>;45items:46- description: CINMP - COMINIT Negate Minimum Period.47- description: CIBGN - COMINIT Burst Gap Nominal.48- description: CIBGMX - COMINIT Burst Gap Maximum.49- description: CIBGMN - COMINIT Burst Gap Minimum.5051ceva,p0-comwake-params:52$ref: /schemas/types.yaml#/definitions/uint8-array53description: |54OOB timing value for COMWAKE parameter for port 0.55The fields for the above parameter must be as shown below:-56ceva,p0-comwake-params = /bits/ 8 <CWBGMN CWBGMX CWBGN CWNMP>;57items:58- description: CWBGMN - COMWAKE Burst Gap Minimum.59- description: CWBGMX - COMWAKE Burst Gap Maximum.60- description: CWBGN - COMWAKE Burst Gap Nominal.61- description: CWNMP - COMWAKE Negate Minimum Period.6263ceva,p0-burst-params:64$ref: /schemas/types.yaml#/definitions/uint8-array65description: |66Burst timing value for COM parameter for port 0.67The fields for the above parameter must be as shown below:-68ceva,p0-burst-params = /bits/ 8 <BMX BNM SFD PTST>;69items:70- description: BMX - COM Burst Maximum.71- description: BNM - COM Burst Nominal.72- description: SFD - Signal Failure Detection value.73- description: PTST - Partial to Slumber timer value.7475ceva,p0-retry-params:76$ref: /schemas/types.yaml#/definitions/uint16-array77description: |78Retry interval timing value for port 0.79The fields for the above parameter must be as shown below:-80ceva,p0-retry-params = /bits/ 16 <RIT RCT>;81items:82- description: RIT - Retry Interval Timer.83- description: RCT - Rate Change Timer.8485ceva,p1-cominit-params:86$ref: /schemas/types.yaml#/definitions/uint8-array87description: |88OOB timing value for COMINIT parameter for port 1.89The fields for the above parameter must be as shown below:-90ceva,p1-cominit-params = /bits/ 8 <CIBGMN CIBGMX CIBGN CINMP>;91items:92- description: CINMP - COMINIT Negate Minimum Period.93- description: CIBGN - COMINIT Burst Gap Nominal.94- description: CIBGMX - COMINIT Burst Gap Maximum.95- description: CIBGMN - COMINIT Burst Gap Minimum.9697ceva,p1-comwake-params:98$ref: /schemas/types.yaml#/definitions/uint8-array99description: |100OOB timing value for COMWAKE parameter for port 1.101The fields for the above parameter must be as shown below:-102ceva,p1-comwake-params = /bits/ 8 <CWBGMN CWBGMX CWBGN CWNMP>;103items:104- description: CWBGMN - COMWAKE Burst Gap Minimum.105- description: CWBGMX - COMWAKE Burst Gap Maximum.106- description: CWBGN - COMWAKE Burst Gap Nominal.107- description: CWNMP - COMWAKE Negate Minimum Period.108109ceva,p1-burst-params:110$ref: /schemas/types.yaml#/definitions/uint8-array111description: |112Burst timing value for COM parameter for port 1.113The fields for the above parameter must be as shown below:-114ceva,p1-burst-params = /bits/ 8 <BMX BNM SFD PTST>;115items:116- description: BMX - COM Burst Maximum.117- description: BNM - COM Burst Nominal.118- description: SFD - Signal Failure Detection value.119- description: PTST - Partial to Slumber timer value.120121ceva,p1-retry-params:122$ref: /schemas/types.yaml#/definitions/uint16-array123description: |124Retry interval timing value for port 1.125The fields for the above parameter must be as shown below:-126ceva,pN-retry-params = /bits/ 16 <RIT RCT>;127items:128- description: RIT - Retry Interval Timer.129- description: RCT - Rate Change Timer.130131ceva,broken-gen2:132$ref: /schemas/types.yaml#/definitions/flag133description: |134limit to gen1 speed instead of gen2.135136phys:137maxItems: 1138139phy-names:140items:141- const: sata-phy142143resets:144maxItems: 1145146required:147- compatible148- reg149- clocks150- interrupts151- ceva,p0-cominit-params152- ceva,p0-comwake-params153- ceva,p0-burst-params154- ceva,p0-retry-params155- ceva,p1-cominit-params156- ceva,p1-comwake-params157- ceva,p1-burst-params158- ceva,p1-retry-params159160additionalProperties: false161162examples:163- |164#include <dt-bindings/interrupt-controller/irq.h>165#include <dt-bindings/power/xlnx-zynqmp-power.h>166#include <dt-bindings/reset/xlnx-zynqmp-resets.h>167#include <dt-bindings/phy/phy.h>168169sata: ahci@fd0c0000 {170compatible = "ceva,ahci-1v84";171reg = <0xfd0c0000 0x200>;172interrupt-parent = <&gic>;173interrupts = <0 133 IRQ_TYPE_LEVEL_HIGH>;174clocks = <&zynqmp_clk 22>;175ceva,p0-cominit-params = /bits/ 8 <0x0F 0x25 0x18 0x29>;176ceva,p0-comwake-params = /bits/ 8 <0x04 0x0B 0x08 0x0F>;177ceva,p0-burst-params = /bits/ 8 <0x0A 0x08 0x4A 0x06>;178ceva,p0-retry-params = /bits/ 16 <0x0216 0x7F06>;179ceva,p1-cominit-params = /bits/ 8 <0x0F 0x25 0x18 0x29>;180ceva,p1-comwake-params = /bits/ 8 <0x04 0x0B 0x08 0x0F>;181ceva,p1-burst-params = /bits/ 8 <0x0A 0x08 0x4A 0x06>;182ceva,p1-retry-params = /bits/ 16 <0x0216 0x7F06>;183ceva,broken-gen2;184phys = <&psgtr 1 PHY_TYPE_SATA 1 1>;185resets = <&zynqmp_reset ZYNQMP_RESET_SATA>;186};187188189