APM X-Gene 6.0 Gb/s SATA host controller
Schema identifier ($id): "http://devicetree.org/schemas/ata/apm,xgene-ahci.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Rob Herring <robh@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "apm,xgene-ahci", "apm,xgene-ahci-v2"
reg — not listed as required here #
Minimum number of items (minItems): 4
Array item rules (items) #
Item 1
AHCI memory resource
Item 2
Host controller core
Item 3
Host controller diagnostic
Item 4
Host controller AXI
Item 5
Host controller MUX
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):ahci-common.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"apm,xgene-ahci"When the condition matches (
then) #Required in this object (
required):"clocks","phys","phy-names"
Examples (examples) #
sata@1a400000 {
compatible = "apm,xgene-ahci";
reg = <0x1a400000 0x1000>,
<0x1f220000 0x1000>,
<0x1f22d000 0x1000>,
<0x1f22e000 0x1000>,
<0x1f227000 0x1000>;
clocks = <&sataclk 0>;
dma-coherent;
interrupts = <0x0 0x87 0x4>;
phys = <&phy2 0>;
phy-names = "sata-phy";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)