Tegra AHCI SATA Controller

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 here

Rule 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 here

Maximum number of items (maxItems): 2

reset-names — not listed as required here

Minimum number of items (minItems): 3

resets — not listed as required here

Minimum number of items (minItems): 3

Required 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 here

Rule for matching array elements (contains)

Allowed values (enum): "nvidia,tegra210-ahci"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

Minimum number of items (minItems): 3

reset-names — not listed as required here

Minimum number of items (minItems): 3

resets — not listed as required here

Minimum number of items (minItems): 3

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "nvidia,tegra186-ahci"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

Minimum number of items (minItems): 3

reset-names — not listed as required here

Maximum number of items (maxItems): 2

resets — not listed as required here

Maximum number of items (maxItems): 2

Required 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)

Edit this page