Ata bindings
Single-page view · as markdown
Common Properties for Serial ATA AHCI controllers
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ata bindings
Schema identifier ($id): "http://devicetree.org/schemas/ata/ahci-common.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Hans de Goede <hdegoede@redhat.com>", "Damien Le Moal <dlemoal@kernel.org>"
This document defines device tree properties for a common AHCI SATA controller implementation. It's hardware interface is supposed to conform to the technical standard defined by Intel (see Serial ATA Advanced Host Controller Interface specification for details). The document doesn't constitute a DT-node binding by itself but merely defines a set of common properties for the AHCI-compatible devices.
Automatic schema selection (select) #
false
Not selected automatically by this rule.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):sata-common.yaml#
Properties and child nodes (properties) #
reg — required here #
Generic AHCI registers space conforming to the Serial ATA AHCI specification.
reg-names — not listed as required here #
CSR space IDs
Rule for matching array elements (contains) #
Exact value (
const):"ahci"
interrupts — required here #
Generic AHCI state change interrupt. Can be implemented either as a single line attached to the controller or as a set of the signals indicating the particular port events.
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 32
ahci-supply — not listed as required here #
Power regulator for AHCI controller
target-supply — not listed as required here #
Power regulator for SATA target device
phy-supply — not listed as required here #
Power regulator for SATA PHY
phys — not listed as required here #
Reference to the SATA PHY node
Maximum number of items (maxItems): 1
phy-names — not listed as required here #
Exact value (const): "sata-phy"
hba-cap — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Bitfield of the HBA generic platform capabilities like Staggered Spin-up or Mechanical Presence Switch support. It can be used to appropriately initialize the HWinit fields of the HBA CAP register in case if the system firmware hasn't done it.
ports-implemented — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Mask that indicates which ports the HBA supports. Useful if PI is not programmed by the BIOS, which is true for some embedded SoC's.
Properties matching a name pattern (patternProperties) #
^sata-port@[0-9a-f]+$ — name matches this regular expression #
Shared schema rule ($ref): #/$defs/ahci-port
It is optionally possible to describe the ports as sub-nodes so to enable each port independently when dealing with multiple PHYs.
Required in this object (required): "reg", "interrupts"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Reusable definitions ($defs) #
ahci-port #
Shared schema rule ($ref): /schemas/ata/sata-common.yaml#/$defs/sata-port
Properties and child nodes (properties) #
reg — required here
AHCI SATA port identifier. By design AHCI controller can't have more than 32 ports due to the CAP.NP fields and PI register size constraints.
Minimum value (minimum): 0
Maximum value (maximum): 31
phys — not listed as required here
Individual AHCI SATA port PHY
Maximum number of items (maxItems): 1
phy-names — not listed as required here
AHCI SATA port PHY ID
Exact value (const): "sata-phy"
target-supply — not listed as required here
Power regulator for SATA port target device
hba-port-cap — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Bitfield of the HBA port-specific platform capabilities like Hot plugging, eSATA, FIS-based Switching, etc (see AHCI specification for details). It can be used to initialize the HWinit fields of the PxCMD register in case if the system firmware hasn't done it.
Required in this object (required): "reg"
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
AHCI SATA Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ata bindings
Schema identifier ($id): "http://devicetree.org/schemas/ata/ahci-platform.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
SATA nodes are defined to describe on-chip Serial ATA controllers. Each SATA controller should have its own node.
It is possible, but not required, to represent each port as a sub-node. It allows to enable each port independently when dealing with multiple PHYs.
Maintainers (maintainers): "Hans de Goede <hdegoede@redhat.com>", "Jens Axboe <axboe@kernel.dk>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"brcm,iproc-ahci","marvell,armada-8k-ahci","marvell,berlin2-ahci","marvell,berlin2q-ahci","qcom,apq8064-ahci","qcom,ipq806x-ahci","socionext,uniphier-pro4-ahci","socionext,uniphier-pxs2-ahci","socionext,uniphier-pxs3-ahci"Item 2
Exact value (
const):"generic-ahci"
Rule 2
Allowed values (
enum):"cavium,octeon-7130-ahci","hisilicon,hisi-ahci","ibm,476gtr-ahci","marvell,armada-3700-ahci"
reg — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
reg-names — not listed as required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 5
clock-names — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 5
interrupts — required here #
Maximum number of items (maxItems): 1
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
resets — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
iommus — not listed as required here #
Maximum number of items (maxItems): 1
Properties matching a name pattern (patternProperties) #
^sata-port@[0-9a-f]+$ — name matches this regular expression #
Shared schema rule ($ref): /schemas/ata/ahci-common.yaml#/$defs/ahci-port
At least one of these rules must match (anyOf) #
Rule 1
Rule 2
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "interrupts"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):ahci-common.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,apq8064-ahci","qcom,ipq806x-ahci"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— required hereMinimum number of items (
minItems):5
clock-names— required hereArray item rules (
items)Item 1
Exact value (
const):"slave_iface"Item 2
Exact value (
const):"iface"Item 3
Exact value (
const):"core"Item 4
Exact value (
const):"rxoob"Item 5
Exact value (
const):"pmalive"Required in this object (
required):"phys","phy-names","clocks","clock-names"
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"socionext,uniphier-pro4-ahci"When the condition matches (
then) #Properties and child nodes (
properties)
resets— required hereArray item rules (
items)Item 1
reset line for the parent
Item 2
reset line for the glue logic
Item 3
reset line for the controller
When the condition does not match (
else) #Condition (
if)Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"socionext,uniphier-pxs2-ahci","socionext,uniphier-pxs3-ahci"When the condition matches (
then)Properties and child nodes (
properties)
resets— required hereArray item rules (
items)Item 1
reset for the glue logic
Item 2
reset for the controller
When the condition does not match (
else)Properties and child nodes (
properties)
resets— not listed as required hereMaximum number of items (
maxItems):1
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
sata@ffe08000 {
compatible = "snps,spear-ahci";
reg = <0xffe08000 0x1000>;
interrupts = <115>;
};
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/berlin2q.h>
#include <dt-bindings/ata/ahci.h>
sata@f7e90000 {
compatible = "marvell,berlin2q-ahci", "generic-ahci";
reg = <0xf7e90000 0x1000>;
interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&chip CLKID_SATA>;
#address-cells = <1>;
#size-cells = <0>;
hba-cap = <HBA_SMPS>;
sata0: sata-port@0 {
reg = <0>;
phys = <&sata_phy 0>;
target-supply = <®_sata0>;
hba-port-cap = <(HBA_PORT_FBSCP | HBA_PORT_ESP)>;
};
sata1: sata-port@1 {
reg = <1>;
phys = <&sata_phy 1>;
target-supply = <®_sata1>;
hba-port-cap = <(HBA_PORT_HPCP | HBA_PORT_MPSP | HBA_PORT_FBSCP)>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Allwinner A10 AHCI SATA Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ata bindings
Schema identifier ($id): "http://devicetree.org/schemas/ata/allwinner,sun4i-a10-ahci.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "allwinner,sun4i-a10-ahci"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
AHCI Bus Clock
Item 2
AHCI Module Clock
interrupts — required here #
Maximum number of items (maxItems): 1
target-supply — not listed as required here #
Regulator for SATA target power
Required in this object (required): "compatible", "reg", "clocks", "interrupts"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
ahci: sata@1c18000 {
compatible = "allwinner,sun4i-a10-ahci";
reg = <0x01c18000 0x1000>;
interrupts = <56>;
clocks = <&pll6 0>, <&ahb_gates 25>;
target-supply = <®_ahci_5v>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Allwinner R40 AHCI SATA Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ata bindings
Schema identifier ($id): "http://devicetree.org/schemas/ata/allwinner,sun8i-r40-ahci.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "allwinner,sun8i-r40-ahci"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
AHCI Bus Clock
Item 2
AHCI Module Clock
interrupts — required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 1
reset-names — required here #
Exact value (const): "ahci"
ahci-supply — not listed as required here #
Regulator for the AHCI controller
phy-supply — not listed as required here #
Regulator for the SATA PHY power
Required in this object (required): "compatible", "reg", "clocks", "interrupts", "resets", "reset-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/sun8i-r40-ccu.h>
#include <dt-bindings/reset/sun8i-r40-ccu.h>
ahci: sata@1c18000 {
compatible = "allwinner,sun8i-r40-ahci";
reg = <0x01c18000 0x1000>;
interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&ccu CLK_BUS_SATA>, <&ccu CLK_SATA>;
resets = <&ccu RST_BUS_SATA>;
reset-names = "ahci";
ahci-supply = <®_dldo4>;
phy-supply = <®_eldo3>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
APM X-Gene 6.0 Gb/s SATA host controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ata bindings
Schema identifier ($id): "http://devicetree.org/schemas/ata/apm,xgene-ahci.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Rob Herring <robh@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "apm,xgene-ahci", "apm,xgene-ahci-v2"
reg — not listed as required here #
Minimum number of items (minItems): 4
Array item rules (items) #
Item 1
AHCI memory resource
Item 2
Host controller core
Item 3
Host controller diagnostic
Item 4
Host controller AXI
Item 5
Host controller MUX
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):ahci-common.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"apm,xgene-ahci"When the condition matches (
then) #Required in this object (
required):"clocks","phys","phy-names"
Examples (examples) #
sata@1a400000 {
compatible = "apm,xgene-ahci";
reg = <0x1a400000 0x1000>,
<0x1f220000 0x1000>,
<0x1f22d000 0x1000>,
<0x1f22e000 0x1000>,
<0x1f227000 0x1000>;
clocks = <&sataclk 0>;
dma-coherent;
interrupts = <0x0 0x87 0x4>;
phys = <&phy2 0>;
phy-names = "sata-phy";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Arasan PATA Compact Flash Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ata bindings
Schema identifier ($id): "http://devicetree.org/schemas/ata/arasan,cf-spear1340.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Viresh Kumar <viresh.kumar@linaro.org>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "arasan,cf-spear1340"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Maximum number of items (maxItems): 1
arasan,broken-udma — not listed as required here #
UDMA mode is unusable
Value type (type): "boolean"
arasan,broken-mwdma — not listed as required here #
MWDMA mode is unusable
Value type (type): "boolean"
arasan,broken-pio — not listed as required here #
PIO mode is unusable
Value type (type): "boolean"
dmas — not listed as required here #
Maximum number of items (maxItems): 1
dma-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"data"
Required in this object (required): "compatible", "reg", "interrupts"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #This rule must not match (
not)Required in this object (
required):"arasan,broken-udma","arasan,broken-mwdma"When the condition matches (
then) #
Examples (examples) #
cf@fc000000 {
compatible = "arasan,cf-spear1340";
reg = <0xfc000000 0x1000>;
interrupts = <12>;
dmas = <&dma 23>;
dma-names = "data";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Generic Parallel ATA Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ata bindings
Schema identifier ($id): "http://devicetree.org/schemas/ata/ata-generic.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"
Generic Parallel ATA controllers supporting PIO modes only.
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"arm,vexpress-cf","fsl,mpc8349emitx-pata"
Item 2
Exact value (
const):"ata-generic"
reg — required here #
Array item rules (items) #
Item 1
Command interface registers
Item 2
Control interface registers
reg-shift — not listed as required here #
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
ata-generic,use16bit — not listed as required here #
Value type (type): "boolean"
Use 16-bit accesses instead of 32-bit for data transfers
pio-mode — not listed as required here #
Maximum ATA PIO transfer mode
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Maximum value (maximum): 6
Default value (default): 0
Required in this object (required): "compatible", "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
compact-flash@1a000 {
compatible = "arm,vexpress-cf", "ata-generic";
reg = <0x1a000 0x100>,
<0x1a100 0xf00>;
reg-shift = <2>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Baikal-T1 SoC AHCI SATA controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ata bindings
Schema identifier ($id): "http://devicetree.org/schemas/ata/baikal,bt1-ahci.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Serge Semin <fancer.lancer@gmail.com>"
AHCI SATA controller embedded into the Baikal-T1 SoC is based on the DWC AHCI SATA v4.10a IP-core.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):snps,dwc-ahci-common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "baikal,bt1-ahci"
clocks — required here #
Array item rules (items) #
Item 1
Peripheral APB bus clock
Item 2
Application AXI BIU clock
Item 3
SATA Ports reference clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"pclk"
Item 2
Exact value (
const):"aclk"
Item 3
Exact value (
const):"ref"
resets — required here #
Array item rules (items) #
Item 1
Application AXI BIU domain reset
Item 2
SATA Ports clock domain reset
reset-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"arst"
Item 2
Exact value (
const):"ref"
ports-implemented — not listed as required here #
Maximum value (maximum): 3
Properties matching a name pattern (patternProperties) #
^sata-port@[0-1]$ — name matches this regular expression #
Shared schema rule ($ref): /schemas/ata/snps,dwc-ahci-common.yaml#/$defs/dwc-ahci-port
Properties and child nodes (properties) #
reg — not listed as required here
Minimum value (minimum): 0
Maximum value (maximum): 1
snps,tx-ts-max — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Due to having AXI3 bus interface utilized the maximum Tx DMA transaction size can't exceed 16 beats (AxLEN[3:0]).
Allowed values (enum): 1, 2, 4, 8, 16
snps,rx-ts-max — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Due to having AXI3 bus interface utilized the maximum Rx DMA transaction size can't exceed 16 beats (AxLEN[3:0]).
Allowed values (enum): 1, 2, 4, 8, 16
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "resets"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
sata@1f050000 {
compatible = "baikal,bt1-ahci";
reg = <0x1f050000 0x2000>;
#address-cells = <1>;
#size-cells = <0>;
interrupts = <0 64 4>;
clocks = <&ccu_sys 1>, <&ccu_axi 2>, <&sata_ref_clk>;
clock-names = "pclk", "aclk", "ref";
resets = <&ccu_axi 2>, <&ccu_sys 0>;
reset-names = "arst", "ref";
ports-implemented = <0x3>;
sata-port@0 {
reg = <0>;
snps,tx-ts-max = <4>;
snps,rx-ts-max = <4>;
};
sata-port@1 {
reg = <1>;
snps,tx-ts-max = <4>;
snps,rx-ts-max = <4>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Broadcom SATA3 AHCI Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ata bindings
Schema identifier ($id): "http://devicetree.org/schemas/ata/brcm,sata-brcm.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
SATA nodes are defined to describe on-chip Serial ATA controllers. Each SATA controller should have its own node.
Maintainers (maintainers): "Florian Fainelli <f.fainelli@gmail.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):ahci-common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"brcm,bcm7216-ahci","brcm,bcm7445-ahci","brcm,bcm7425-ahci","brcm,bcm63138-ahci"Item 2
Exact value (
const):"brcm,sata3-ahci"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"brcm,bcm-nsp-ahci"
reg — required here #
Maximum number of items (maxItems): 2
reg-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"ahci"
Item 2
Exact value (
const):"top-ctrl"
interrupts — required here #
Maximum number of items (maxItems): 1
Condition (if) #
Properties and child nodes (
properties) #
compatible— not listed as required here #Rule for matching array elements (
contains)Allowed values (
enum):"brcm,bcm7216-ahci","brcm,bcm63138-ahci"
When the condition matches (then) #
Properties and child nodes (
properties) #
resets— not listed as required here #Maximum number of items (
maxItems):1
reset-names— not listed as required here #
Required in this object (required): "compatible", "reg", "interrupts", "#address-cells", "#size-cells"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
sata@f045a000 {
compatible = "brcm,bcm7445-ahci", "brcm,sata3-ahci";
reg = <0xf045a000 0xa9c>, <0xf0458040 0x24>;
reg-names = "ahci", "top-ctrl";
interrupts = <0 30 0>;
#address-cells = <1>;
#size-cells = <0>;
sata0: sata-port@0 {
reg = <0>;
phys = <&sata_phy 0>;
};
sata1: sata-port@1 {
reg = <1>;
phys = <&sata_phy 1>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Cavium Compact Flash
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ata bindings
Schema identifier ($id): "http://devicetree.org/schemas/ata/cavium,ebt3000-compact-flash.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Rob Herring <robh@kernel.org>"
The Cavium Compact Flash device is connected to the Octeon Boot Bus, and is thus a child of the Boot Bus device. It can read and write industry standard compact flash devices.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "cavium,ebt3000-compact-flash"
reg — required here #
The base address of the CF chip select banks.
Array item rules (items) #
Item 1
CF chip select bank 0
Item 2
CF chip select bank 1
cavium,bus-width — not listed as required here #
The width of the connection to the CF devices.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
cavium,true-ide — not listed as required here #
True IDE mode when present.
Value type (type): "boolean"
cavium,dma-engine-handle — not listed as required here #
A phandle for the DMA Engine connected to this device.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Required in this object (required): "compatible", "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
bus {
#address-cells = <2>;
#size-cells = <1>;
compact-flash@5,0 {
compatible = "cavium,ebt3000-compact-flash";
reg = <5 0 0x10000>, <6 0 0x10000>;
cavium,bus-width = <16>;
cavium,true-ide;
cavium,dma-engine-handle = <&dma0>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Ceva AHCI SATA Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ata bindings
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)
Cirrus Logic EP9312 PATA controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ata bindings
Schema identifier ($id): "http://devicetree.org/schemas/ata/cirrus,ep9312-pata.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Damien Le Moal <dlemoal@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"cirrus,ep9312-pata"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"cirrus,ep9315-pata"Item 2
Exact value (
const):"cirrus,ep9312-pata"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
ide@800a0000 {
compatible = "cirrus,ep9312-pata";
reg = <0x800a0000 0x38>;
interrupt-parent = <&vic1>;
interrupts = <8>;
pinctrl-names = "default";
pinctrl-0 = <&ide_default_pins>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Cortina Systems Gemini SATA Bridge
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ata bindings
Schema identifier ($id): "http://devicetree.org/schemas/ata/cortina,gemini-sata-bridge.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"
The Gemini SATA bridge in a SoC-internal PATA to SATA bridge that takes two Faraday Technology FTIDE010 PATA controllers and bridges them in different configurations to two SATA ports.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "cortina,gemini-sata-bridge"
reg — required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 2
phandles to the reset lines for both SATA bridges
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"sata0"
Item 2
Exact value (
const):"sata1"
clocks — required here #
Maximum number of items (maxItems): 2
phandles to the compulsory peripheral clocks
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"SATA0_PCLK"
Item 2
Exact value (
const):"SATA1_PCLK"
syscon — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
a phandle to the global Gemini system controller
cortina,gemini-ata-muxmode — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 0, 1, 2, 3
Tell the desired multiplexing mode for the ATA controller and SATA
bridges.
Mode 0: ata0 master <-> sata0
ata1 master <-> sata1
ata0 slave interface brought out on IDE pads
Mode 1: ata0 master <-> sata0
ata1 master <-> sata1
ata1 slave interface brought out on IDE pads
Mode 2: ata1 master <-> sata1
ata1 slave <-> sata0
ata0 master and slave interfaces brought out on IDE pads
Mode 3: ata0 master <-> sata0
ata0 slave <-> sata1
ata1 master and slave interfaces brought out on IDE pads
cortina,gemini-enable-ide-pins — not listed as required here #
Value type (type): "boolean"
Enables the PATA to IDE connection. The muxmode setting decides whether ATA0 or ATA1 is brought out, and whether master, slave or both interfaces get brought out.
cortina,gemini-enable-sata-bridge — not listed as required here #
Value type (type): "boolean"
Enables the PATA to SATA bridge inside the Gemnini SoC. The Muxmode decides what PATA blocks will be muxed out and how.
Required in this object (required): "clocks", "clock-names", "cortina,gemini-ata-muxmode", "resets", "reset-names", "compatible", "reg", "syscon"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/cortina,gemini-clock.h>
sata@46000000 {
compatible = "cortina,gemini-sata-bridge";
reg = <0x46000000 0x100>;
resets = <&rcon 26>, <&rcon 27>;
reset-names = "sata0", "sata1";
clocks = <&gcc GEMINI_CLK_GATE_SATA0>,
<&gcc GEMINI_CLK_GATE_SATA1>;
clock-names = "SATA0_PCLK", "SATA1_PCLK";
syscon = <&syscon>;
cortina,gemini-ata-muxmode = <3>;
cortina,gemini-enable-ide-pins;
cortina,gemini-enable-sata-bridge;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Eswin EIC7700 SoC SATA Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ata bindings
Schema identifier ($id): "http://devicetree.org/schemas/ata/eswin,eic7700-ahci.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Yulin Lu <luyulin@eswincomputing.com>", "Huan He <hehuan1@eswincomputing.com>"
AHCI SATA controller embedded into the EIC7700 SoC is based on the DWC AHCI SATA v5.00a IP core.
Automatic schema selection (select) #
Properties and child nodes (
properties) #
compatible— required here #Exact value (
const):"eswin,eic7700-ahci"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):snps,dwc-ahci-common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Exact value (
const):"eswin,eic7700-ahci"
Item 2
Exact value (
const):"snps,dwc-ahci"
clocks — required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 2
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"pclk"
Item 2
Exact value (
const):"aclk"
resets — required here #
Maximum number of items (maxItems): 1
reset-names — required here #
Exact value (const): "arst"
ports-implemented — required here #
Exact value (const): 1
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "resets", "reset-names", "phys", "phy-names", "ports-implemented"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
sata@50420000 {
compatible = "eswin,eic7700-ahci", "snps,dwc-ahci";
reg = <0x50420000 0x10000>;
interrupt-parent = <&plic>;
interrupts = <58>;
clocks = <&clock 171>, <&clock 186>;
clock-names = "pclk", "aclk";
phys = <&sata_phy>;
phy-names = "sata-phy";
ports-implemented = <0x1>;
resets = <&reset 96>;
reset-names = "arst";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Faraday Technology FTIDE010 PATA controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ata bindings
Schema identifier ($id): "http://devicetree.org/schemas/ata/faraday,ftide010.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"
This controller is the first Faraday IDE interface block, used in the StorLink SL3512 and SL3516, later known as the Cortina Systems Gemini platform. The controller can do PIO modes 0 through 4, Multi-word DMA (MWDM) modes 0 through 2 and Ultra DMA modes 0 through 6.
On the Gemini platform, this PATA block is accompanied by a PATA to SATA bridge in order to support SATA. This is why a phandle to that controller is compulsory on that platform.
The timing properties are unique per-SoC, not per-board.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"faraday,ftide010"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"cortina,gemini-pata"Item 2
Exact value (
const):"faraday,ftide010"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Minimum number of items (minItems): 1
clock-names — not listed as required here #
Exact value (const): "PCLK"
sata — not listed as required here #
phandle to the Gemini PATA to SATA bridge, if available
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Required in this object (required): "compatible", "reg", "interrupts"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):pata-common.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"cortina,gemini-pata"When the condition matches (
then) #
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/clock/cortina,gemini-clock.h>
ide@63000000 {
compatible = "cortina,gemini-pata", "faraday,ftide010";
reg = <0x63000000 0x100>;
interrupts = <4 IRQ_TYPE_EDGE_RISING>;
clocks = <&gcc GEMINI_CLK_GATE_IDE>;
clock-names = "PCLK";
sata = <&sata>;
#address-cells = <1>;
#size-cells = <0>;
ide-port@0 {
reg = <0>;
};
ide-port@1 {
reg = <1>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Freescale QorIQ AHCI SATA Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ata bindings
Schema identifier ($id): "http://devicetree.org/schemas/ata/fsl,ahci.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
SATA controller for ls1012a
Array item rules (
items)Item 1
Exact value (
const):"fsl,ls1012a-ahci"Item 2
Exact value (
const):"fsl,ls1043a-ahci"
Rule 2
Allowed values (
enum):"fsl,ls1021a-ahci","fsl,ls1028a-ahci","fsl,ls1043a-ahci","fsl,ls1046a-ahci","fsl,ls1088a-ahci","fsl,ls2080a-ahci","fsl,lx2160a-ahci"
reg — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
reg-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"ahci"
Item 2
Exact value (
const):"sata-ecc"
Minimum number of items (minItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
dma-coherent — not listed as required here #
true — No constraints added by this property rule.
Required in this object (required): "compatible", "reg", "clocks", "interrupts"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
sata@3200000 {
compatible = "fsl,ls1021a-ahci";
reg = <0x3200000 0x10000>;
interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&platform_clk 1>;
dma-coherent;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Freescale i.MX PATA Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ata bindings
Schema identifier ($id): "http://devicetree.org/schemas/ata/fsl,imx-pata.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Animesh Agarwal <animeshagarwal28@gmail.com>"
Properties and child nodes (properties) #
compatible — not listed as required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Item 2
Exact value (
const):"fsl,imx27-pata"
Rule 2
Exact value (
const):"fsl,imx27-pata"
reg — not listed as required here #
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
Array item rules (items) #
Item 1
PATA Controller interrupts
clocks — not listed as required here #
Array item rules (items) #
Item 1
PATA Controller clocks
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
pata: pata@83fe0000 {
compatible = "fsl,imx51-pata", "fsl,imx27-pata";
reg = <0x83fe0000 0x4000>;
interrupts = <70>;
clocks = <&clks 161>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Freescale 8xxx/3.0 Gb/s SATA nodes
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ata bindings
Schema identifier ($id): "http://devicetree.org/schemas/ata/fsl,pq-sata.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "J. Neuschäfer <j.ne@posteo.net>"
SATA nodes are defined to describe on-chip Serial ATA controllers. Each SATA controller should have its own node.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"fsl,mpc8377-sata","fsl,mpc8536-sata","fsl,mpc8315-sata","fsl,mpc8379-sata"Item 2
Exact value (
const):"fsl,pq-sata"
Rule 2
Exact value (
const):"fsl,pq-sata-v2"
reg — not listed as required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
cell-index — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 1, 2, 3, 4
1 for controller @ 0x18000 2 for controller @ 0x19000 3 for controller @ 0x1a000 4 for controller @ 0x1b000
Required in this object (required): "compatible", "interrupts", "cell-index"
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>
sata@18000 {
compatible = "fsl,mpc8379-sata", "fsl,pq-sata";
reg = <0x18000 0x1000>;
cell-index = <1>;
interrupts = <44 IRQ_TYPE_LEVEL_LOW>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Freescale i.MX AHCI SATA Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ata bindings
Schema identifier ($id): "http://devicetree.org/schemas/ata/imx-sata.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Shawn Guo <shawn.guo@linaro.org>"
The Freescale i.MX SATA controller mostly conforms to the AHCI interface with some special extensions at integration level.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "fsl,imx53-ahci", "fsl,imx6q-ahci", "fsl,imx6qp-ahci", "fsl,imx8qm-ahci"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 2
Array item rules (items) #
Item 1
sata clock
Item 2
sata reference clock
Item 3
ahb clock
clock-names — required here #
Minimum number of items (minItems): 2
Array item rules (items) #
Item 1
Exact value (
const):"sata"
Item 2
Exact value (
const):"sata_ref"
Item 3
Exact value (
const):"ahb"
fsl,transmit-level-mV — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
transmit voltage level, in millivolts.
fsl,transmit-boost-mdB — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
transmit boost level, in milli-decibels.
fsl,transmit-atten-16ths — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
transmit attenuation, in 16ths.
fsl,receive-eq-mdB — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
receive equalisation, in milli-decibels.
fsl,no-spread-spectrum — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
if present, disable spread-spectrum clocking on the SATA link.
phys — not listed as required here #
Array item rules (items) #
Item 1
phandle to SATA PHY. Since "REXT" pin is only present for first lane of i.MX8QM PHY, it's calibration result will be stored, passed through second lane, and shared with all three lanes PHY. The first two lanes PHY are used as calibration PHYs, although only the third lane PHY is used by SATA.
Item 2
phandle to the first lane PHY of i.MX8QM.
Item 3
phandle to the second lane PHY of i.MX8QM.
phy-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"sata-phy"
Item 2
Exact value (
const):"cali-phy0"
Item 3
Exact value (
const):"cali-phy1"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
target-supply — not listed as required here #
Power regulator for the SATA target device.
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"fsl,imx53-ahci","fsl,imx6q-ahci","fsl,imx6qp-ahci"When the condition matches (
then) #Properties and child nodes (
properties)
clock-names— not listed as required hereMinimum number of items (
minItems):3
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
clock-names— not listed as required hereMinimum number of items (
minItems):2
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/imx6qdl-clock.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
sata@2200000 {
compatible = "fsl,imx6q-ahci";
reg = <0x02200000 0x4000>;
interrupts = <0 39 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clks IMX6QDL_CLK_SATA>,
<&clks IMX6QDL_CLK_SATA_REF_100M>,
<&clks IMX6QDL_CLK_AHB>;
clock-names = "sata", "sata_ref", "ahb";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Intel IXP4xx CompactFlash Card Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ata bindings
Schema identifier ($id): "http://devicetree.org/schemas/ata/intel,ixp4xx-compact-flash.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"
The IXP4xx network processors have a CompactFlash interface that presents a CompactFlash card to the system as a true IDE (parallel ATA) device. The device is always connected to the expansion bus of the IXP4xx SoCs using one or two chip select areas and address translating logic on the board. The node must be placed inside a chip select node on the IXP4xx expansion bus.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "intel,ixp4xx-compact-flash"
reg — required here #
Array item rules (items) #
Item 1
Command interface registers
Item 2
Control interface registers
interrupts — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):pata-common.yaml#
Rule 2 #
Shared schema rule (
$ref):/schemas/memory-controllers/intel,ixp4xx-expansion-peripheral-props.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
bus@c4000000 {
compatible = "intel,ixp43x-expansion-bus-controller", "syscon";
reg = <0xc4000000 0x1000>;
native-endian;
#address-cells = <2>;
#size-cells = <1>;
ranges = <0 0x0 0x50000000 0x01000000>, <1 0x0 0x51000000 0x01000000>;
dma-ranges = <0 0x0 0x50000000 0x01000000>, <1 0x0 0x51000000 0x01000000>;
ide@1,0 {
compatible = "intel,ixp4xx-compact-flash";
reg = <1 0x00000000 0x1000>, <1 0x00040000 0x1000>;
interrupt-parent = <&gpio0>;
interrupts = <12 IRQ_TYPE_EDGE_RISING>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Marvell Orion SATA
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ata bindings
Schema identifier ($id): "http://devicetree.org/schemas/ata/marvell,orion-sata.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Andrew Lunn <andrew@lunn.ch>", "Gregory Clement <gregory.clement@bootlin.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):sata-common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "marvell,orion-sata", "marvell,armada-370-sata"
reg — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 8
clock-names — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"0"
Item 2
Exact value (
const):"1"
Item 3
Exact value (
const):"2"
Item 4
Exact value (
const):"3"
Item 5
Exact value (
const):"4"
Item 6
Exact value (
const):"5"
Item 7
Exact value (
const):"6"
Item 8
Exact value (
const):"7"
interrupts — required here #
Maximum number of items (maxItems): 1
nr-ports — required here #
Number of SATA ports in use.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Maximum value (maximum): 8
phys — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 8
phy-names — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"port0"
Item 2
Exact value (
const):"port1"
Item 3
Exact value (
const):"port2"
Item 4
Exact value (
const):"port3"
Item 5
Exact value (
const):"port4"
Item 6
Exact value (
const):"port5"
Item 7
Exact value (
const):"port6"
Item 8
Exact value (
const):"port7"
Required in this object (required): "compatible", "reg", "interrupts", "nr-ports"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
sata@80000 {
compatible = "marvell,orion-sata";
reg = <0x80000 0x5000>;
interrupts = <21>;
phys = <&sata_phy0>, <&sata_phy1>;
phy-names = "port0", "port1";
nr-ports = <2>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
MediaTek Serial ATA controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ata bindings
Schema identifier ($id): "http://devicetree.org/schemas/ata/mediatek,mtk-ahci.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Ryder Lee <ryder.lee@mediatek.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):ahci-common.yaml#
Properties and child nodes (properties) #
compatible — not listed as required here #
Array item rules (items) #
Item 1
Item 2
Exact value (
const):"mediatek,mtk-ahci"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
interrupt-names — required here #
Exact value (const): "hostc"
clocks — required here #
Maximum number of items (maxItems): 5
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ahb"
Item 2
Exact value (
const):"axi"
Item 3
Exact value (
const):"asic"
Item 4
Exact value (
const):"rbc"
Item 5
Exact value (
const):"pm"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
resets — not listed as required here #
Maximum number of items (maxItems): 3
reset-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"axi"
Item 2
Exact value (
const):"sw"
Item 3
Exact value (
const):"reg"
mediatek,phy-mode — not listed as required here #
System controller phandle, used to enable SATA function
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Required in this object (required): "reg", "interrupts", "interrupt-names", "clocks", "clock-names", "phys", "phy-names", "ports-implemented"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/mt7622-clk.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/phy/phy.h>
#include <dt-bindings/power/mt7622-power.h>
#include <dt-bindings/reset/mt7622-reset.h>
sata@1a200000 {
compatible = "mediatek,mt7622-ahci", "mediatek,mtk-ahci";
reg = <0x1a200000 0x1100>;
interrupts = <GIC_SPI 233 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "hostc";
clocks = <&pciesys CLK_SATA_AHB_EN>,
<&pciesys CLK_SATA_AXI_EN>,
<&pciesys CLK_SATA_ASIC_EN>,
<&pciesys CLK_SATA_RBC_EN>,
<&pciesys CLK_SATA_PM_EN>;
clock-names = "ahb", "axi", "asic", "rbc", "pm";
phys = <&u3port1 PHY_TYPE_SATA>;
phy-names = "sata-phy";
ports-implemented = <0x1>;
power-domains = <&scpsys MT7622_POWER_DOMAIN_HIF0>;
resets = <&pciesys MT7622_SATA_AXI_BUS_RST>,
<&pciesys MT7622_SATA_PHY_SW_RST>,
<&pciesys MT7622_SATA_PHY_REG_RST>;
reset-names = "axi", "sw", "reg";
mediatek,phy-mode = <&pciesys>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Tegra AHCI SATA Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ata bindings
Schema identifier ($id): "http://devicetree.org/schemas/ata/nvidia,tegra-ahci.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Thierry Reding <thierry.reding@gmail.com>", "Jonathan Hunter <jonathanh@nvidia.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "nvidia,tegra124-ahci", "nvidia,tegra132-ahci", "nvidia,tegra210-ahci", "nvidia,tegra186-ahci"
reg — required here #
Minimum number of items (minItems): 2
Array item rules (items) #
Item 1
AHCI registers
Item 2
SATA configuration and IPFS registers
Item 3
SATA AUX registers
interrupts — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"sata"
Item 2
Exact value (
const):"sata-oob"
clocks — required here #
Maximum number of items (maxItems): 2
reset-names — required here #
Minimum number of items (minItems): 2
Array item rules (items) #
Item 1
Exact value (
const):"sata"
Item 2
Exact value (
const):"sata-cold"
Item 3
Exact value (
const):"sata-oob"
resets — required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 3
iommus — not listed as required here #
Maximum number of items (maxItems): 1
interconnect-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"dma-mem"
Item 2
Exact value (
const):"write"
interconnects — not listed as required here #
Maximum number of items (maxItems): 2
power-domains — not listed as required here #
Array item rules (items) #
Item 1
SAX power-domain
phy-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"sata-0"
phys — not listed as required here #
Maximum number of items (maxItems): 1
hvdd-supply — not listed as required here #
SATA HVDD regulator supply.
vddio-supply — not listed as required here #
SATA VDDIO regulator supply.
avdd-supply — not listed as required here #
SATA AVDD regulator supply.
target-5v-supply — not listed as required here #
SATA 5V power regulator supply.
target-12v-supply — not listed as required here #
SATA 12V power regulator supply.
Required in this object (required): "compatible", "reg", "interrupts", "clock-names", "clocks", "reset-names", "resets"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"nvidia,tegra124-ahci","nvidia,tegra132-ahci"When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereMaximum number of items (
maxItems):2
reset-names— not listed as required hereMinimum number of items (
minItems):3
resets— not listed as required hereMinimum number of items (
minItems):3Required in this object (
required):"phys","phy-names","hvdd-supply","vddio-supply","avdd-supply"
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereMinimum number of items (
minItems):3
reset-names— not listed as required hereMinimum number of items (
minItems):3
resets— not listed as required hereMinimum number of items (
minItems):3
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereMinimum number of items (
minItems):3
reset-names— not listed as required hereMaximum number of items (
maxItems):2
resets— not listed as required hereMaximum number of items (
maxItems):2Required in this object (
required):"iommus","interconnect-names","interconnects","power-domains"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/tegra210-car.h>
#include <dt-bindings/reset/tegra210-car.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
sata@70020000 {
compatible = "nvidia,tegra210-ahci";
reg = <0x70027000 0x00002000>, /* AHCI */
<0x70020000 0x00007000>, /* SATA */
<0x70001100 0x00010000>; /* SATA AUX */
interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&tegra_car TEGRA210_CLK_SATA>,
<&tegra_car TEGRA210_CLK_SATA_OOB>;
clock-names = "sata", "sata-oob";
resets = <&tegra_car 124>,
<&tegra_car 129>,
<&tegra_car 123>;
reset-names = "sata", "sata-cold", "sata-oob";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Common Properties for Parallel AT attachment (PATA) controllers
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ata bindings
Schema identifier ($id): "http://devicetree.org/schemas/ata/pata-common.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"
This document defines device tree properties common to most Parallel ATA (PATA, also known as IDE) AT attachment storage devices. It doesn't constitute a device tree binding specification by itself but is meant to be referenced by device tree bindings.
The PATA (IDE) controller-specific device tree bindings are responsible for defining whether each property is required or optional.
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^ide(@.*)?$"
Specifies the host controller node. PATA host controller nodes are named "ide".
#address-cells — not listed as required here #
Exact value (const): 1
#size-cells — not listed as required here #
Exact value (const): 0
Properties matching a name pattern (patternProperties) #
^ide-port@[0-1]$ — name matches this regular expression #
DT nodes for ports connected on the PATA host. The master drive will have ID number 0 and the slave drive will have ID number 1. The PATA port nodes will be named "ide-port".
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
reg — not listed as required here
Minimum value (minimum): 0
Maximum value (maximum): 1
The ID number of the drive port, 0 for the master port and 1 for the slave port.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Renesas R-Car Serial-ATA Interface
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ata bindings
Schema identifier ($id): "http://devicetree.org/schemas/ata/renesas,rcar-sata.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Geert Uytterhoeven <geert+renesas@glider.be>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,sata-r8a7742","renesas,sata-r8a7790-es1","renesas,sata-r8a7790","renesas,sata-r8a7791","renesas,sata-r8a7793"Item 2
Exact value (
const):"renesas,rcar-gen2-sata"
Rule 3
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,sata-r8a774b1","renesas,sata-r8a774e1","renesas,sata-r8a7795","renesas,sata-r8a77965"Item 2
Exact value (
const):"renesas,rcar-gen3-sata"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
iommus — not listed as required here #
Maximum number of items (maxItems): 1
power-domains — required here #
Maximum number of items (maxItems): 1
resets — not listed as required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "power-domains"
Condition (if) #
This rule must not match (
not) #Properties and child nodes (
properties) #
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"renesas,sata-r8a7779"
When the condition matches (then) #
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/r8a7791-cpg-mssr.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/r8a7791-sysc.h>
sata@ee300000 {
compatible = "renesas,sata-r8a7791", "renesas,rcar-gen2-sata";
reg = <0xee300000 0x200000>;
interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 815>;
power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
resets = <&cpg 815>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 17: R-Car H1
Line 20: RZ/G1H
Line 21: R-Car H2 ES1
Line 22: R-Car H2 other than ES1
Line 23: R-Car M2-W
Line 24: R-Car M2-N
Line 25: generic R-Car Gen2
Line 28: RZ/G2N
Line 29: RZ/G2H
Line 30: R-Car H3
Line 31: R-Car M3-N
Line 32: generic R-Car Gen3 or RZ/G2
Synopsys DWC AHCI SATA controller for Rockchip devices
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ata bindings
Schema identifier ($id): "http://devicetree.org/schemas/ata/rockchip,dwc-ahci.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Serge Semin <fancer.lancer@gmail.com>"
This document defines device tree bindings for the Synopsys DWC implementation of the AHCI SATA controller found in Rockchip devices.
Automatic schema selection (select) #
Properties and child nodes (
properties) #
compatible— required here #Rule for matching array elements (
contains)Allowed values (
enum):"rockchip,rk3568-dwc-ahci","rockchip,rk3576-dwc-ahci","rockchip,rk3588-dwc-ahci"
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"rockchip,rk3568-dwc-ahci","rockchip,rk3576-dwc-ahci","rockchip,rk3588-dwc-ahci"
Item 2
Exact value (
const):"snps,dwc-ahci"
ports-implemented — required here #
Exact value (const): 1
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
sata-port@0 — not listed as required here #
Shared schema rule ($ref): /schemas/ata/snps,dwc-ahci-common.yaml#/$defs/dwc-ahci-port
Properties and child nodes (properties) #
reg — not listed as required here
Exact value (const): 0
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Properties matching a name pattern (patternProperties) #
^sata-port@[1-9a-e]$ — name matches this regular expression #
false — Not permitted by this property rule.
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "ports-implemented"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):snps,dwc-ahci-common.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):5
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"sata"Item 2
Exact value (
const):"pmalive"Item 3
Exact value (
const):"rxoob"Item 4
Exact value (
const):"ref"Item 5
Exact value (
const):"asic"
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"rockchip,rk3568-dwc-ahci","rockchip,rk3576-dwc-ahci"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):3
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"sata"Item 2
Exact value (
const):"pmalive"Item 3
Exact value (
const):"rxoob"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/rockchip,rk3588-cru.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/ata/ahci.h>
#include <dt-bindings/phy/phy.h>
sata@fe210000 {
compatible = "rockchip,rk3588-dwc-ahci", "snps,dwc-ahci";
reg = <0xfe210000 0x1000>;
clocks = <&cru ACLK_SATA0>, <&cru CLK_PMALIVE0>,
<&cru CLK_RXOOB0>, <&cru CLK_PIPEPHY0_REF>,
<&cru CLK_PIPEPHY0_PIPE_ASIC_G>;
clock-names = "sata", "pmalive", "rxoob", "ref", "asic";
interrupts = <GIC_SPI 273 IRQ_TYPE_LEVEL_HIGH 0>;
ports-implemented = <0x1>;
#address-cells = <1>;
#size-cells = <0>;
sata-port@0 {
reg = <0>;
hba-port-cap = <HBA_PORT_FBSCP>;
phys = <&combphy0_ps PHY_TYPE_SATA>;
phy-names = "sata-phy";
snps,rx-ts-max = <32>;
snps,tx-ts-max = <32>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Common Properties for Serial AT attachment (SATA) controllers
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ata bindings
Schema identifier ($id): "http://devicetree.org/schemas/ata/sata-common.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"
This document defines device tree properties common to most Serial AT attachment (SATA) storage devices. It doesn't constitute a device tree binding specification by itself but is meant to be referenced by device tree bindings.
The SATA controller-specific device tree bindings are responsible for defining whether each property is required or optional.
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^sata(@.*)?$"
Specifies the host controller node. SATA host controller nodes are named "sata"
#address-cells — not listed as required here #
Exact value (const): 1
#size-cells — not listed as required here #
Exact value (const): 0
dma-coherent — not listed as required here #
true — No constraints added by this property rule.
Properties matching a name pattern (patternProperties) #
^sata-port@[0-9a-e]$ — name matches this regular expression #
Shared schema rule ($ref): #/$defs/sata-port
DT nodes for ports connected on the SATA host. The SATA port nodes will be named "sata-port".
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Reusable definitions ($defs) #
sata-port #
Value type (type): "object"
Properties and child nodes (properties) #
reg — not listed as required here
Minimum value (minimum): 0
The ID number of the SATA port. Aside with being directly used, each port can have a Port Multiplier attached thus allowing to access more than one drive by means of a single SATA port.
port — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Calxeda AHCI SATA Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ata bindings
Schema identifier ($id): "http://devicetree.org/schemas/ata/sata_highbank.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
The Calxeda SATA controller mostly conforms to the AHCI interface with some special extensions to add functionality, to map GPIOs for activity LEDs and for mapping the ComboPHYs.
Maintainers (maintainers): "Andre Przywara <andre.przywara@arm.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "calxeda,hb-ahci"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
dma-coherent — not listed as required here #
true — No constraints added by this property rule.
calxeda,pre-clocks — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Indicates the number of additional clock cycles to transmit before sending an SGPIO pattern.
calxeda,post-clocks — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Indicates the number of additional clock cycles to transmit after sending an SGPIO pattern.
calxeda,led-order — not listed as required here #
Maps port numbers to offsets within the SGPIO bitstream.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 8
calxeda,port-phys — not listed as required here #
phandle-combophy and lane assignment, which maps each SATA port to a combophy and a lane within that combophy
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 8
Array item rules (items) #
Maximum number of items (
maxItems):2
calxeda,tx-atten — not listed as required here #
Contains TX attenuation override codes, one per port. The upper 24 bits of each entry are always 0 and thus ignored.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 8
calxeda,sgpio-gpio — not listed as required here #
Maximum number of items (maxItems): 3
phandle-gpio bank, bit offset, and default on or off, which indicates that the driver supports SGPIO indicator lights using the indicated GPIOs.
Required in this object (required): "compatible", "reg", "interrupts"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
sata@ffe08000 {
compatible = "calxeda,hb-ahci";
reg = <0xffe08000 0x1000>;
interrupts = <115>;
dma-coherent;
calxeda,port-phys = <&combophy5 0>, <&combophy0 0>, <&combophy0 1>,
<&combophy0 2>, <&combophy0 3>;
calxeda,sgpio-gpio = <&gpioh 5 1>, <&gpioh 6 1>, <&gpioh 7 1>;
calxeda,led-order = <4 0 1 2 3>;
calxeda,tx-atten = <0xff 22 0xff 0xff 23>;
calxeda,pre-clocks = <10>;
calxeda,post-clocks = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Synopsys DWC AHCI SATA controller properties
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ata bindings
Schema identifier ($id): "http://devicetree.org/schemas/ata/snps,dwc-ahci-common.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Serge Semin <fancer.lancer@gmail.com>"
This document defines device tree schema for the generic Synopsys DWC AHCI controller properties.
Automatic schema selection (select) #
false
Not selected automatically by this rule.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):ahci-common.yaml#
Properties and child nodes (properties) #
reg — not listed as required here #
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Basic DWC AHCI SATA clock sources like application AXI/AHB BIU clock, PM-alive clock, RxOOB detection clock, embedded PHYs reference (Rx/Tx) clock, etc.
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 6
clock-names — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 6
Array item rules (items) #
Exactly one of these rules must match (
oneOf)Rule 1
Application APB/AHB/AXI BIU clock
Rule 2
Power Module keep-alive clock
Exact value (
const):"pmalive"Rule 3
RxOOB detection clock
Exact value (
const):"rxoob"Rule 4
PHY Transmit Clock
Exact value (
const):"asic"Rule 5
PHY Receive Clock
Exact value (
const):"rbc"Rule 6
SATA Ports reference clock
Exact value (
const):"ref"
resets — not listed as required here #
At least basic application and reference clock domains resets are normally supported by the DWC AHCI SATA controller.
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
reset-names — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
Array item rules (items) #
Exactly one of these rules must match (
oneOf)Rule 1
Application AHB/AXI BIU clock domain reset control
Rule 2
Power Module keep-alive clock domain reset control
Exact value (
const):"pmalive"Rule 3
RxOOB detection clock domain reset control
Exact value (
const):"rxoob"Rule 4
Reference clock domain reset control
Exact value (
const):"ref"
Properties matching a name pattern (patternProperties) #
^sata-port@[0-9a-e]$ — name matches this regular expression #
Shared schema rule ($ref): #/$defs/dwc-ahci-port
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Reusable definitions ($defs) #
dwc-ahci-port #
Shared schema rule ($ref): /schemas/ata/ahci-common.yaml#/$defs/ahci-port
Properties and child nodes (properties) #
reg — not listed as required here
Minimum value (minimum): 0
Maximum value (maximum): 7
snps,tx-ts-max — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Maximal size of Tx DMA transactions in FIFO words
Allowed values (enum): 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024
snps,rx-ts-max — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Maximal size of Rx DMA transactions in FIFO words
Allowed values (enum): 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Synopsys DWC AHCI SATA controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ata bindings
Schema identifier ($id): "http://devicetree.org/schemas/ata/snps,dwc-ahci.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Serge Semin <fancer.lancer@gmail.com>"
This document defines device tree bindings for the generic Synopsys DWC implementation of the AHCI SATA controller.
Automatic schema selection (select) #
Properties and child nodes (
properties) #
compatible— required here #
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):snps,dwc-ahci-common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Synopsys AHCI SATA-compatible devices
Exact value (
const):"snps,dwc-ahci"
Rule 2
SPEAr1340 AHCI SATA device
Exact value (
const):"snps,spear-ahci"
iommus — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
Properties matching a name pattern (patternProperties) #
^sata-port@[0-9a-e]$ — name matches this regular expression #
Shared schema rule ($ref): /schemas/ata/snps,dwc-ahci-common.yaml#/$defs/dwc-ahci-port
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "interrupts"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/ata/ahci.h>
sata@122f0000 {
compatible = "snps,dwc-ahci";
reg = <0x122F0000 0x1ff>;
#address-cells = <1>;
#size-cells = <0>;
interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clock1>, <&clock2>;
clock-names = "aclk", "ref";
phys = <&sata_phy>;
phy-names = "sata-phy";
ports-implemented = <0x1>;
sata-port@0 {
reg = <0>;
hba-port-cap = <HBA_PORT_FBSCP>;
snps,tx-ts-max = <512>;
snps,rx-ts-max = <512>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
STMicroelectronics STi SATA controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ata bindings
Schema identifier ($id): "http://devicetree.org/schemas/ata/st,ahci.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Patrice Chotard <patrice.chotard@foss.st.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):ahci-common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "st,ahci"
interrupt-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"hostc"
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ahci_clk"
resets — not listed as required here #
Array item rules (items) #
Item 1
Power-down line
Item 2
Soft-reset line
Item 3
Power-reset line
reset-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"pwr-dwn"
Item 2
Exact value (
const):"sw-rst"
Item 3
Exact value (
const):"pwr-rst"
Required in this object (required): "compatible", "interrupt-names", "phys", "phy-names", "clocks", "clock-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/phy/phy.h>
#include <dt-bindings/reset/stih407-resets.h>
#include <dt-bindings/clock/stih407-clks.h>
sata@9b20000 {
compatible = "st,ahci";
reg = <0x9b20000 0x1000>;
interrupts = <GIC_SPI 159 IRQ_TYPE_NONE>;
interrupt-names = "hostc";
phys = <&phy_port0 PHY_TYPE_SATA>;
phy-names = "sata-phy";
resets = <&powerdown STIH407_SATA0_POWERDOWN>,
<&softreset STIH407_SATA0_SOFTRESET>,
<&softreset STIH407_SATA0_PWR_SOFTRESET>;
reset-names = "pwr-dwn", "sw-rst", "pwr-rst";
clocks = <&clk_s_c0_flexgen CLK_ICN_REG>;
clock-names = "ahci_clk";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
TI DA850 AHCI SATA Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ata bindings
Schema identifier ($id): "http://devicetree.org/schemas/ata/ti,da850-ahci.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Animesh Agarwal <animeshagarwal28@gmail.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "ti,da850-ahci"
reg — required here #
Array item rules (items) #
Item 1
Address and size of the register map as defined by the AHCI 1.1 standard.
Item 2
Address and size of Power Down Control Register (PWRDN) for enabling/disabling the SATA clock receiver.
interrupts — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
sata@218000 {
compatible = "ti,da850-ahci";
reg = <0x218000 0x2000>, <0x22c018 0x4>;
interrupts = <67>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
TI DM816 AHCI SATA Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ata bindings
Schema identifier ($id): "http://devicetree.org/schemas/ata/ti,dm816-ahci.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bartosz Golaszewski <brgl@bgdev.pl>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):ahci-common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "ti,dm816-ahci"
reg — not listed as required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
functional clock
Item 2
external reference clock
ti,hwmods — not listed as required here #
Exact value (const): "sata"
Required in this object (required): "compatible", "clocks"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
sata@4a140000 {
compatible = "ti,dm816-ahci";
reg = <0x4a140000 0x10000>;
interrupts = <16>;
clocks = <&sysclk5_ck>, <&sata_refclk>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)