Renesas R-Car Serial-ATA Interface

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

Allowed values (enum): "renesas,sata-r8a7779"

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 here

Rule for matching array elements (contains)

Exact value (const): "renesas,sata-r8a7779"

When the condition matches (then) #

Required in this object (required): "resets"

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

Edit this page