Freescale 8xxx/3.0 Gb/s SATA nodes

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)

Edit this page