Path: blob/main/sys/contrib/device-tree/Bindings/ata/ceva,ahci-1v84.yaml
48376 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- Mubin Sayyed <mubin.sayyed@amd.com>10- Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>1112description: |13The Ceva SATA controller mostly conforms to the AHCI interface with some14special extensions to add functionality, is a high-performance dual-port15SATA host controller with an AHCI compliant command layer which supports16advanced features such as native command queuing and frame information17structure (FIS) based switching for systems employing port multipliers.1819properties:20compatible:21const: ceva,ahci-1v842223reg:24maxItems: 12526clocks:27maxItems: 12829dma-coherent: true3031interrupts:32maxItems: 13334iommus:35maxItems: 43637power-domains:38maxItems: 13940ceva,p0-cominit-params:41$ref: /schemas/types.yaml#/definitions/uint8-array42description: |43OOB timing value for COMINIT parameter for port 0.44The fields for the above parameter must be as shown below:-45ceva,p0-cominit-params = /bits/ 8 <CIBGMN CIBGMX CIBGN CINMP>;46items:47- description: CINMP - COMINIT Negate Minimum Period.48- description: CIBGN - COMINIT Burst Gap Nominal.49- description: CIBGMX - COMINIT Burst Gap Maximum.50- description: CIBGMN - COMINIT Burst Gap Minimum.5152ceva,p0-comwake-params:53$ref: /schemas/types.yaml#/definitions/uint8-array54description: |55OOB timing value for COMWAKE parameter for port 0.56The fields for the above parameter must be as shown below:-57ceva,p0-comwake-params = /bits/ 8 <CWBGMN CWBGMX CWBGN CWNMP>;58items:59- description: CWBGMN - COMWAKE Burst Gap Minimum.60- description: CWBGMX - COMWAKE Burst Gap Maximum.61- description: CWBGN - COMWAKE Burst Gap Nominal.62- description: CWNMP - COMWAKE Negate Minimum Period.6364ceva,p0-burst-params:65$ref: /schemas/types.yaml#/definitions/uint8-array66description: |67Burst timing value for COM parameter for port 0.68The fields for the above parameter must be as shown below:-69ceva,p0-burst-params = /bits/ 8 <BMX BNM SFD PTST>;70items:71- description: BMX - COM Burst Maximum.72- description: BNM - COM Burst Nominal.73- description: SFD - Signal Failure Detection value.74- description: PTST - Partial to Slumber timer value.7576ceva,p0-retry-params:77$ref: /schemas/types.yaml#/definitions/uint16-array78description: |79Retry interval timing value for port 0.80The fields for the above parameter must be as shown below:-81ceva,p0-retry-params = /bits/ 16 <RIT RCT>;82items:83- description: RIT - Retry Interval Timer.84- description: RCT - Rate Change Timer.8586ceva,p1-cominit-params:87$ref: /schemas/types.yaml#/definitions/uint8-array88description: |89OOB timing value for COMINIT parameter for port 1.90The fields for the above parameter must be as shown below:-91ceva,p1-cominit-params = /bits/ 8 <CIBGMN CIBGMX CIBGN CINMP>;92items:93- description: CINMP - COMINIT Negate Minimum Period.94- description: CIBGN - COMINIT Burst Gap Nominal.95- description: CIBGMX - COMINIT Burst Gap Maximum.96- description: CIBGMN - COMINIT Burst Gap Minimum.9798ceva,p1-comwake-params:99$ref: /schemas/types.yaml#/definitions/uint8-array100description: |101OOB timing value for COMWAKE parameter for port 1.102The fields for the above parameter must be as shown below:-103ceva,p1-comwake-params = /bits/ 8 <CWBGMN CWBGMX CWBGN CWNMP>;104items:105- description: CWBGMN - COMWAKE Burst Gap Minimum.106- description: CWBGMX - COMWAKE Burst Gap Maximum.107- description: CWBGN - COMWAKE Burst Gap Nominal.108- description: CWNMP - COMWAKE Negate Minimum Period.109110ceva,p1-burst-params:111$ref: /schemas/types.yaml#/definitions/uint8-array112description: |113Burst timing value for COM parameter for port 1.114The fields for the above parameter must be as shown below:-115ceva,p1-burst-params = /bits/ 8 <BMX BNM SFD PTST>;116items:117- description: BMX - COM Burst Maximum.118- description: BNM - COM Burst Nominal.119- description: SFD - Signal Failure Detection value.120- description: PTST - Partial to Slumber timer value.121122ceva,p1-retry-params:123$ref: /schemas/types.yaml#/definitions/uint16-array124description: |125Retry interval timing value for port 1.126The fields for the above parameter must be as shown below:-127ceva,pN-retry-params = /bits/ 16 <RIT RCT>;128items:129- description: RIT - Retry Interval Timer.130- description: RCT - Rate Change Timer.131132ceva,broken-gen2:133$ref: /schemas/types.yaml#/definitions/flag134description: |135limit to gen1 speed instead of gen2.136137phys:138maxItems: 1139140phy-names:141items:142- const: sata-phy143144resets:145maxItems: 1146147required:148- compatible149- reg150- clocks151- interrupts152- ceva,p0-cominit-params153- ceva,p0-comwake-params154- ceva,p0-burst-params155- ceva,p0-retry-params156- ceva,p1-cominit-params157- ceva,p1-comwake-params158- ceva,p1-burst-params159- ceva,p1-retry-params160161additionalProperties: false162163examples:164- |165#include <dt-bindings/clock/xlnx-zynqmp-clk.h>166#include <dt-bindings/interrupt-controller/irq.h>167#include <dt-bindings/power/xlnx-zynqmp-power.h>168#include <dt-bindings/reset/xlnx-zynqmp-resets.h>169#include <dt-bindings/clock/xlnx-zynqmp-clk.h>170#include <dt-bindings/phy/phy.h>171172sata: ahci@fd0c0000 {173compatible = "ceva,ahci-1v84";174reg = <0xfd0c0000 0x200>;175interrupt-parent = <&gic>;176interrupts = <0 133 IRQ_TYPE_LEVEL_HIGH>;177clocks = <&zynqmp_clk SATA_REF>;178ceva,p0-cominit-params = /bits/ 8 <0x0F 0x25 0x18 0x29>;179ceva,p0-comwake-params = /bits/ 8 <0x04 0x0B 0x08 0x0F>;180ceva,p0-burst-params = /bits/ 8 <0x0A 0x08 0x4A 0x06>;181ceva,p0-retry-params = /bits/ 16 <0x0216 0x7F06>;182ceva,p1-cominit-params = /bits/ 8 <0x0F 0x25 0x18 0x29>;183ceva,p1-comwake-params = /bits/ 8 <0x04 0x0B 0x08 0x0F>;184ceva,p1-burst-params = /bits/ 8 <0x0A 0x08 0x4A 0x06>;185ceva,p1-retry-params = /bits/ 16 <0x0216 0x7F06>;186ceva,broken-gen2;187phys = <&psgtr 1 PHY_TYPE_SATA 1 1>;188resets = <&zynqmp_reset ZYNQMP_RESET_SATA>;189};190191192