Common Properties for Serial AT attachment (SATA) controllers

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)

Edit this page