1fe96df93SMaxime Ripard# SPDX-License-Identifier: GPL-2.0 2fe96df93SMaxime Ripard%YAML 1.2 3fe96df93SMaxime Ripard--- 4fe96df93SMaxime Ripard$id: http://devicetree.org/schemas/ata/allwinner,sun8i-r40-ahci.yaml# 5fe96df93SMaxime Ripard$schema: http://devicetree.org/meta-schemas/core.yaml# 6fe96df93SMaxime Ripard 7*84e85359SKrzysztof Kozlowskititle: Allwinner R40 AHCI SATA Controller 8fe96df93SMaxime Ripard 9fe96df93SMaxime Ripardmaintainers: 10fe96df93SMaxime Ripard - Chen-Yu Tsai <wens@csie.org> 11fe96df93SMaxime Ripard - Maxime Ripard <mripard@kernel.org> 12fe96df93SMaxime Ripard 13fe96df93SMaxime Ripardproperties: 14fe96df93SMaxime Ripard compatible: 15fe96df93SMaxime Ripard const: allwinner,sun8i-r40-ahci 16fe96df93SMaxime Ripard 17fe96df93SMaxime Ripard reg: 18fe96df93SMaxime Ripard maxItems: 1 19fe96df93SMaxime Ripard 20fe96df93SMaxime Ripard clocks: 21fe96df93SMaxime Ripard items: 22fe96df93SMaxime Ripard - description: AHCI Bus Clock 23fe96df93SMaxime Ripard - description: AHCI Module Clock 24fe96df93SMaxime Ripard 25fe96df93SMaxime Ripard interrupts: 26fe96df93SMaxime Ripard maxItems: 1 27fe96df93SMaxime Ripard 28fe96df93SMaxime Ripard resets: 29fe96df93SMaxime Ripard maxItems: 1 30fe96df93SMaxime Ripard 31fe96df93SMaxime Ripard reset-names: 32fe96df93SMaxime Ripard const: ahci 33fe96df93SMaxime Ripard 34fe96df93SMaxime Ripard ahci-supply: 35fe96df93SMaxime Ripard description: Regulator for the AHCI controller 36fe96df93SMaxime Ripard 37fe96df93SMaxime Ripard phy-supply: 38fe96df93SMaxime Ripard description: Regulator for the SATA PHY power 39fe96df93SMaxime Ripard 40fe96df93SMaxime Ripardrequired: 41fe96df93SMaxime Ripard - compatible 42fe96df93SMaxime Ripard - reg 43fe96df93SMaxime Ripard - clocks 44fe96df93SMaxime Ripard - interrupts 45fe96df93SMaxime Ripard - resets 46fe96df93SMaxime Ripard - reset-names 47fe96df93SMaxime Ripard 48fe96df93SMaxime RipardadditionalProperties: false 49fe96df93SMaxime Ripard 50fe96df93SMaxime Ripardexamples: 51fe96df93SMaxime Ripard - | 52fe96df93SMaxime Ripard #include <dt-bindings/interrupt-controller/arm-gic.h> 53fe96df93SMaxime Ripard #include <dt-bindings/clock/sun8i-r40-ccu.h> 54fe96df93SMaxime Ripard #include <dt-bindings/reset/sun8i-r40-ccu.h> 55fe96df93SMaxime Ripard 56fe96df93SMaxime Ripard ahci: sata@1c18000 { 57fe96df93SMaxime Ripard compatible = "allwinner,sun8i-r40-ahci"; 58fe96df93SMaxime Ripard reg = <0x01c18000 0x1000>; 59fe96df93SMaxime Ripard interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>; 60fe96df93SMaxime Ripard clocks = <&ccu CLK_BUS_SATA>, <&ccu CLK_SATA>; 61fe96df93SMaxime Ripard resets = <&ccu RST_BUS_SATA>; 62fe96df93SMaxime Ripard reset-names = "ahci"; 63fe96df93SMaxime Ripard ahci-supply = <®_dldo4>; 64fe96df93SMaxime Ripard phy-supply = <®_eldo3>; 65fe96df93SMaxime Ripard }; 66fe96df93SMaxime Ripard 67fe96df93SMaxime Ripard... 68