Path: blob/master/Documentation/devicetree/bindings/ata/st,ahci.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/st,ahci.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: STMicroelectronics STi SATA controller78maintainers:9- Patrice Chotard <patrice.chotard@foss.st.com>1011allOf:12- $ref: ahci-common.yaml#1314properties:15compatible:16const: st,ahci1718interrupt-names:19items:20- const: hostc2122clocks:23maxItems: 12425clock-names:26items:27- const: ahci_clk2829resets:30items:31- description: Power-down line32- description: Soft-reset line33- description: Power-reset line3435reset-names:36items:37- const: pwr-dwn38- const: sw-rst39- const: pwr-rst4041required:42- compatible43- interrupt-names44- phys45- phy-names46- clocks47- clock-names4849unevaluatedProperties: false5051examples:52- |53#include <dt-bindings/interrupt-controller/arm-gic.h>54#include <dt-bindings/phy/phy.h>55#include <dt-bindings/reset/stih407-resets.h>56#include <dt-bindings/clock/stih407-clks.h>5758sata@9b20000 {59compatible = "st,ahci";60reg = <0x9b20000 0x1000>;61interrupts = <GIC_SPI 159 IRQ_TYPE_NONE>;62interrupt-names = "hostc";63phys = <&phy_port0 PHY_TYPE_SATA>;64phy-names = "sata-phy";65resets = <&powerdown STIH407_SATA0_POWERDOWN>,66<&softreset STIH407_SATA0_SOFTRESET>,67<&softreset STIH407_SATA0_PWR_SOFTRESET>;68reset-names = "pwr-dwn", "sw-rst", "pwr-rst";69clocks = <&clk_s_c0_flexgen CLK_ICN_REG>;70clock-names = "ahci_clk";71};727374