STMicroelectronics STi SATA controller
Schema identifier ($id): "http://devicetree.org/schemas/ata/st,ahci.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Patrice Chotard <patrice.chotard@foss.st.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):ahci-common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "st,ahci"
interrupt-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"hostc"
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ahci_clk"
resets — not listed as required here #
Array item rules (items) #
Item 1
Power-down line
Item 2
Soft-reset line
Item 3
Power-reset line
reset-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"pwr-dwn"
Item 2
Exact value (
const):"sw-rst"
Item 3
Exact value (
const):"pwr-rst"
Required in this object (required): "compatible", "interrupt-names", "phys", "phy-names", "clocks", "clock-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/phy/phy.h>
#include <dt-bindings/reset/stih407-resets.h>
#include <dt-bindings/clock/stih407-clks.h>
sata@9b20000 {
compatible = "st,ahci";
reg = <0x9b20000 0x1000>;
interrupts = <GIC_SPI 159 IRQ_TYPE_NONE>;
interrupt-names = "hostc";
phys = <&phy_port0 PHY_TYPE_SATA>;
phy-names = "sata-phy";
resets = <&powerdown STIH407_SATA0_POWERDOWN>,
<&softreset STIH407_SATA0_SOFTRESET>,
<&softreset STIH407_SATA0_PWR_SOFTRESET>;
reset-names = "pwr-dwn", "sw-rst", "pwr-rst";
clocks = <&clk_s_c0_flexgen CLK_ICN_REG>;
clock-names = "ahci_clk";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)