Broadcom SATA3 AHCI Controller

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 #

Allowed values (enum): "rescal", "ahci"

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)

Edit this page