Ceva AHCI SATA Controller
Schema identifier ($id): "http://devicetree.org/schemas/ata/ceva,ahci-1v84.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>"
The Ceva SATA controller mostly conforms to the AHCI interface with some special extensions to add functionality, is a high-performance dual-port SATA host controller with an AHCI compliant command layer which supports advanced features such as native command queuing and frame information structure (FIS) based switching for systems employing port multipliers.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "ceva,ahci-1v84"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
dma-coherent — not listed as required here #
true — No constraints added by this property rule.
interrupts — required here #
Maximum number of items (maxItems): 1
iommus — not listed as required here #
Maximum number of items (maxItems): 4
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
ceva,p0-cominit-params — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8-array
OOB timing value for COMINIT parameter for port 0. The fields for the above parameter must be as shown below:- ceva,p0-cominit-params = /bits/ 8 <CIBGMN CIBGMX CIBGN CINMP>;
Array item rules (items) #
Item 1
CINMP - COMINIT Negate Minimum Period.
Item 2
CIBGN - COMINIT Burst Gap Nominal.
Item 3
CIBGMX - COMINIT Burst Gap Maximum.
Item 4
CIBGMN - COMINIT Burst Gap Minimum.
ceva,p0-comwake-params — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8-array
OOB timing value for COMWAKE parameter for port 0. The fields for the above parameter must be as shown below:- ceva,p0-comwake-params = /bits/ 8 <CWBGMN CWBGMX CWBGN CWNMP>;
Array item rules (items) #
Item 1
CWBGMN - COMWAKE Burst Gap Minimum.
Item 2
CWBGMX - COMWAKE Burst Gap Maximum.
Item 3
CWBGN - COMWAKE Burst Gap Nominal.
Item 4
CWNMP - COMWAKE Negate Minimum Period.
ceva,p0-burst-params — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8-array
Burst timing value for COM parameter for port 0. The fields for the above parameter must be as shown below:- ceva,p0-burst-params = /bits/ 8 <BMX BNM SFD PTST>;
Array item rules (items) #
Item 1
BMX - COM Burst Maximum.
Item 2
BNM - COM Burst Nominal.
Item 3
SFD - Signal Failure Detection value.
Item 4
PTST - Partial to Slumber timer value.
ceva,p0-retry-params — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint16-array
Retry interval timing value for port 0. The fields for the above parameter must be as shown below:- ceva,p0-retry-params = /bits/ 16 <RIT RCT>;
Array item rules (items) #
Item 1
RIT - Retry Interval Timer.
Item 2
RCT - Rate Change Timer.
ceva,p1-cominit-params — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8-array
OOB timing value for COMINIT parameter for port 1. The fields for the above parameter must be as shown below:- ceva,p1-cominit-params = /bits/ 8 <CIBGMN CIBGMX CIBGN CINMP>;
Array item rules (items) #
Item 1
CINMP - COMINIT Negate Minimum Period.
Item 2
CIBGN - COMINIT Burst Gap Nominal.
Item 3
CIBGMX - COMINIT Burst Gap Maximum.
Item 4
CIBGMN - COMINIT Burst Gap Minimum.
ceva,p1-comwake-params — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8-array
OOB timing value for COMWAKE parameter for port 1. The fields for the above parameter must be as shown below:- ceva,p1-comwake-params = /bits/ 8 <CWBGMN CWBGMX CWBGN CWNMP>;
Array item rules (items) #
Item 1
CWBGMN - COMWAKE Burst Gap Minimum.
Item 2
CWBGMX - COMWAKE Burst Gap Maximum.
Item 3
CWBGN - COMWAKE Burst Gap Nominal.
Item 4
CWNMP - COMWAKE Negate Minimum Period.
ceva,p1-burst-params — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8-array
Burst timing value for COM parameter for port 1. The fields for the above parameter must be as shown below:- ceva,p1-burst-params = /bits/ 8 <BMX BNM SFD PTST>;
Array item rules (items) #
Item 1
BMX - COM Burst Maximum.
Item 2
BNM - COM Burst Nominal.
Item 3
SFD - Signal Failure Detection value.
Item 4
PTST - Partial to Slumber timer value.
ceva,p1-retry-params — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint16-array
Retry interval timing value for port 1. The fields for the above parameter must be as shown below:- ceva,pN-retry-params = /bits/ 16 <RIT RCT>;
Array item rules (items) #
Item 1
RIT - Retry Interval Timer.
Item 2
RCT - Rate Change Timer.
ceva,broken-gen2 — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
limit to gen1 speed instead of gen2.
phys — not listed as required here #
Maximum number of items (maxItems): 1
phy-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"sata-phy"
resets — not listed as required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "clocks", "interrupts", "ceva,p0-cominit-params", "ceva,p0-comwake-params", "ceva,p0-burst-params", "ceva,p0-retry-params", "ceva,p1-cominit-params", "ceva,p1-comwake-params", "ceva,p1-burst-params", "ceva,p1-retry-params"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/power/xlnx-zynqmp-power.h>
#include <dt-bindings/reset/xlnx-zynqmp-resets.h>
#include <dt-bindings/phy/phy.h>
sata: ahci@fd0c0000 {
compatible = "ceva,ahci-1v84";
reg = <0xfd0c0000 0x200>;
interrupt-parent = <&gic>;
interrupts = <0 133 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&zynqmp_clk 22>;
ceva,p0-cominit-params = /bits/ 8 <0x0F 0x25 0x18 0x29>;
ceva,p0-comwake-params = /bits/ 8 <0x04 0x0B 0x08 0x0F>;
ceva,p0-burst-params = /bits/ 8 <0x0A 0x08 0x4A 0x06>;
ceva,p0-retry-params = /bits/ 16 <0x0216 0x7F06>;
ceva,p1-cominit-params = /bits/ 8 <0x0F 0x25 0x18 0x29>;
ceva,p1-comwake-params = /bits/ 8 <0x04 0x0B 0x08 0x0F>;
ceva,p1-burst-params = /bits/ 8 <0x0A 0x08 0x4A 0x06>;
ceva,p1-retry-params = /bits/ 16 <0x0216 0x7F06>;
ceva,broken-gen2;
phys = <&psgtr 1 PHY_TYPE_SATA 1 1>;
resets = <&zynqmp_reset ZYNQMP_RESET_SATA>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)