Freescale i.MX AHCI SATA Controller
Schema identifier ($id): "http://devicetree.org/schemas/ata/imx-sata.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Shawn Guo <shawn.guo@linaro.org>"
The Freescale i.MX SATA controller mostly conforms to the AHCI interface with some special extensions at integration level.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "fsl,imx53-ahci", "fsl,imx6q-ahci", "fsl,imx6qp-ahci", "fsl,imx8qm-ahci"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 2
Array item rules (items) #
Item 1
sata clock
Item 2
sata reference clock
Item 3
ahb clock
clock-names — required here #
Minimum number of items (minItems): 2
Array item rules (items) #
Item 1
Exact value (
const):"sata"
Item 2
Exact value (
const):"sata_ref"
Item 3
Exact value (
const):"ahb"
fsl,transmit-level-mV — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
transmit voltage level, in millivolts.
fsl,transmit-boost-mdB — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
transmit boost level, in milli-decibels.
fsl,transmit-atten-16ths — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
transmit attenuation, in 16ths.
fsl,receive-eq-mdB — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
receive equalisation, in milli-decibels.
fsl,no-spread-spectrum — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
if present, disable spread-spectrum clocking on the SATA link.
phys — not listed as required here #
Array item rules (items) #
Item 1
phandle to SATA PHY. Since "REXT" pin is only present for first lane of i.MX8QM PHY, it's calibration result will be stored, passed through second lane, and shared with all three lanes PHY. The first two lanes PHY are used as calibration PHYs, although only the third lane PHY is used by SATA.
Item 2
phandle to the first lane PHY of i.MX8QM.
Item 3
phandle to the second lane PHY of i.MX8QM.
phy-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"sata-phy"
Item 2
Exact value (
const):"cali-phy0"
Item 3
Exact value (
const):"cali-phy1"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
target-supply — not listed as required here #
Power regulator for the SATA target device.
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"fsl,imx53-ahci","fsl,imx6q-ahci","fsl,imx6qp-ahci"When the condition matches (
then) #Properties and child nodes (
properties)
clock-names— not listed as required hereMinimum number of items (
minItems):3
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
clock-names— not listed as required hereMinimum number of items (
minItems):2
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/imx6qdl-clock.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
sata@2200000 {
compatible = "fsl,imx6q-ahci";
reg = <0x02200000 0x4000>;
interrupts = <0 39 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clks IMX6QDL_CLK_SATA>,
<&clks IMX6QDL_CLK_SATA_REF_100M>,
<&clks IMX6QDL_CLK_AHB>;
clock-names = "sata", "sata_ref", "ahb";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)