Marvell Orion SATA
Schema identifier ($id): "http://devicetree.org/schemas/ata/marvell,orion-sata.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Andrew Lunn <andrew@lunn.ch>", "Gregory Clement <gregory.clement@bootlin.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):sata-common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "marvell,orion-sata", "marvell,armada-370-sata"
reg — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 8
clock-names — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"0"
Item 2
Exact value (
const):"1"
Item 3
Exact value (
const):"2"
Item 4
Exact value (
const):"3"
Item 5
Exact value (
const):"4"
Item 6
Exact value (
const):"5"
Item 7
Exact value (
const):"6"
Item 8
Exact value (
const):"7"
interrupts — required here #
Maximum number of items (maxItems): 1
nr-ports — required here #
Number of SATA ports in use.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Maximum value (maximum): 8
phys — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 8
phy-names — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"port0"
Item 2
Exact value (
const):"port1"
Item 3
Exact value (
const):"port2"
Item 4
Exact value (
const):"port3"
Item 5
Exact value (
const):"port4"
Item 6
Exact value (
const):"port5"
Item 7
Exact value (
const):"port6"
Item 8
Exact value (
const):"port7"
Required in this object (required): "compatible", "reg", "interrupts", "nr-ports"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
sata@80000 {
compatible = "marvell,orion-sata";
reg = <0x80000 0x5000>;
interrupts = <21>;
phys = <&sata_phy0>, <&sata_phy1>;
phy-names = "port0", "port1";
nr-ports = <2>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)