Allwinner R40 AHCI SATA Controller

Schema identifier ($id): "http://devicetree.org/schemas/ata/allwinner,sun8i-r40-ahci.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "allwinner,sun8i-r40-ahci"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

AHCI Bus Clock

Item 2

AHCI Module Clock

interrupts — required here #

Maximum number of items (maxItems): 1

resets — required here #

Maximum number of items (maxItems): 1

reset-names — required here #

Exact value (const): "ahci"

ahci-supply — not listed as required here #

Regulator for the AHCI controller

phy-supply — not listed as required here #

Regulator for the SATA PHY power

Required in this object (required): "compatible", "reg", "clocks", "interrupts", "resets", "reset-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/sun8i-r40-ccu.h>
#include <dt-bindings/reset/sun8i-r40-ccu.h>

ahci: sata@1c18000 {
    compatible = "allwinner,sun8i-r40-ahci";
    reg = <0x01c18000 0x1000>;
    interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&ccu CLK_BUS_SATA>, <&ccu CLK_SATA>;
    resets = <&ccu RST_BUS_SATA>;
    reset-names = "ahci";
    ahci-supply = <&reg_dldo4>;
    phy-supply = <&reg_eldo3>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Edit this page