Path: blob/master/Documentation/devicetree/bindings/ata/imx-sata.yaml
26308 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/ata/imx-sata.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Freescale i.MX AHCI SATA Controller78maintainers:9- Shawn Guo <shawn.guo@linaro.org>1011description: |12The Freescale i.MX SATA controller mostly conforms to the AHCI interface13with some special extensions at integration level.1415properties:16compatible:17enum:18- fsl,imx53-ahci19- fsl,imx6q-ahci20- fsl,imx6qp-ahci21- fsl,imx8qm-ahci2223reg:24maxItems: 12526interrupts:27maxItems: 12829clocks:30minItems: 231items:32- description: sata clock33- description: sata reference clock34- description: ahb clock3536clock-names:37minItems: 238items:39- const: sata40- const: sata_ref41- const: ahb4243fsl,transmit-level-mV:44$ref: /schemas/types.yaml#/definitions/uint3245description: transmit voltage level, in millivolts.4647fsl,transmit-boost-mdB:48$ref: /schemas/types.yaml#/definitions/uint3249description: transmit boost level, in milli-decibels.5051fsl,transmit-atten-16ths:52$ref: /schemas/types.yaml#/definitions/uint3253description: transmit attenuation, in 16ths.5455fsl,receive-eq-mdB:56$ref: /schemas/types.yaml#/definitions/uint3257description: receive equalisation, in milli-decibels.5859fsl,no-spread-spectrum:60$ref: /schemas/types.yaml#/definitions/flag61description: if present, disable spread-spectrum clocking on the SATA link.6263phys:64items:65- description: phandle to SATA PHY.66Since "REXT" pin is only present for first lane of i.MX8QM PHY, it's67calibration result will be stored, passed through second lane, and68shared with all three lanes PHY. The first two lanes PHY are used as69calibration PHYs, although only the third lane PHY is used by SATA.70- description: phandle to the first lane PHY of i.MX8QM.71- description: phandle to the second lane PHY of i.MX8QM.7273phy-names:74items:75- const: sata-phy76- const: cali-phy077- const: cali-phy17879power-domains:80maxItems: 18182required:83- compatible84- reg85- interrupts86- clocks87- clock-names8889allOf:90- if:91properties:92compatible:93contains:94enum:95- fsl,imx53-ahci96- fsl,imx6q-ahci97- fsl,imx6qp-ahci98then:99properties:100clock-names:101minItems: 3102103- if:104properties:105compatible:106contains:107enum:108- fsl,imx8qm-ahci109then:110properties:111clock-names:112minItems: 2113114additionalProperties: false115116examples:117- |118#include <dt-bindings/clock/imx6qdl-clock.h>119#include <dt-bindings/interrupt-controller/arm-gic.h>120121sata@2200000 {122compatible = "fsl,imx6q-ahci";123reg = <0x02200000 0x4000>;124interrupts = <0 39 IRQ_TYPE_LEVEL_HIGH>;125clocks = <&clks IMX6QDL_CLK_SATA>,126<&clks IMX6QDL_CLK_SATA_REF_100M>,127<&clks IMX6QDL_CLK_AHB>;128clock-names = "sata", "sata_ref", "ahb";129};130131132