1e67e8565SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2e67e8565SEmmanuel Vadot%YAML 1.2 3e67e8565SEmmanuel Vadot--- 4e67e8565SEmmanuel Vadot$id: http://devicetree.org/schemas/ata/brcm,sata-brcm.yaml# 5e67e8565SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6e67e8565SEmmanuel Vadot 7e67e8565SEmmanuel Vadottitle: Broadcom SATA3 AHCI Controller 8e67e8565SEmmanuel Vadot 9e67e8565SEmmanuel Vadotdescription: 10e67e8565SEmmanuel Vadot SATA nodes are defined to describe on-chip Serial ATA controllers. 11e67e8565SEmmanuel Vadot Each SATA controller should have its own node. 12e67e8565SEmmanuel Vadot 13e67e8565SEmmanuel Vadotmaintainers: 14e67e8565SEmmanuel Vadot - Florian Fainelli <f.fainelli@gmail.com> 15e67e8565SEmmanuel Vadot 16e67e8565SEmmanuel VadotallOf: 17*7ef62cebSEmmanuel Vadot - $ref: ahci-common.yaml# 18e67e8565SEmmanuel Vadot 19e67e8565SEmmanuel Vadotproperties: 20e67e8565SEmmanuel Vadot compatible: 21e67e8565SEmmanuel Vadot oneOf: 22e67e8565SEmmanuel Vadot - items: 23e67e8565SEmmanuel Vadot - enum: 24e67e8565SEmmanuel Vadot - brcm,bcm7216-ahci 25e67e8565SEmmanuel Vadot - brcm,bcm7445-ahci 26e67e8565SEmmanuel Vadot - brcm,bcm7425-ahci 27e67e8565SEmmanuel Vadot - brcm,bcm63138-ahci 28e67e8565SEmmanuel Vadot - const: brcm,sata3-ahci 29e67e8565SEmmanuel Vadot - items: 30e67e8565SEmmanuel Vadot - const: brcm,bcm-nsp-ahci 31e67e8565SEmmanuel Vadot 32e67e8565SEmmanuel Vadot reg: 33e67e8565SEmmanuel Vadot maxItems: 2 34e67e8565SEmmanuel Vadot 35e67e8565SEmmanuel Vadot reg-names: 36e67e8565SEmmanuel Vadot items: 37e67e8565SEmmanuel Vadot - const: ahci 38e67e8565SEmmanuel Vadot - const: top-ctrl 39e67e8565SEmmanuel Vadot 40e67e8565SEmmanuel Vadot interrupts: 41e67e8565SEmmanuel Vadot maxItems: 1 42e67e8565SEmmanuel Vadot 43e67e8565SEmmanuel Vadotif: 44e67e8565SEmmanuel Vadot properties: 45e67e8565SEmmanuel Vadot compatible: 46e67e8565SEmmanuel Vadot contains: 47e67e8565SEmmanuel Vadot enum: 48e67e8565SEmmanuel Vadot - brcm,bcm7216-ahci 49e67e8565SEmmanuel Vadot - brcm,bcm63138-ahci 50e67e8565SEmmanuel Vadotthen: 51e67e8565SEmmanuel Vadot properties: 52e67e8565SEmmanuel Vadot resets: 53e67e8565SEmmanuel Vadot maxItems: 1 54e67e8565SEmmanuel Vadot reset-names: 55e67e8565SEmmanuel Vadot enum: 56e67e8565SEmmanuel Vadot - rescal 57e67e8565SEmmanuel Vadot - ahci 58e67e8565SEmmanuel Vadot 59e67e8565SEmmanuel Vadotrequired: 60e67e8565SEmmanuel Vadot - compatible 61e67e8565SEmmanuel Vadot - reg 62e67e8565SEmmanuel Vadot - interrupts 63e67e8565SEmmanuel Vadot - "#address-cells" 64e67e8565SEmmanuel Vadot - "#size-cells" 65e67e8565SEmmanuel Vadot 66e67e8565SEmmanuel VadotunevaluatedProperties: false 67e67e8565SEmmanuel Vadot 68e67e8565SEmmanuel Vadotexamples: 69e67e8565SEmmanuel Vadot - | 70e67e8565SEmmanuel Vadot sata@f045a000 { 71e67e8565SEmmanuel Vadot compatible = "brcm,bcm7445-ahci", "brcm,sata3-ahci"; 72e67e8565SEmmanuel Vadot reg = <0xf045a000 0xa9c>, <0xf0458040 0x24>; 73e67e8565SEmmanuel Vadot reg-names = "ahci", "top-ctrl"; 74e67e8565SEmmanuel Vadot interrupts = <0 30 0>; 75e67e8565SEmmanuel Vadot #address-cells = <1>; 76e67e8565SEmmanuel Vadot #size-cells = <0>; 77e67e8565SEmmanuel Vadot 78e67e8565SEmmanuel Vadot sata0: sata-port@0 { 79e67e8565SEmmanuel Vadot reg = <0>; 80e67e8565SEmmanuel Vadot phys = <&sata_phy 0>; 81e67e8565SEmmanuel Vadot }; 82e67e8565SEmmanuel Vadot 83e67e8565SEmmanuel Vadot sata1: sata-port@1 { 84e67e8565SEmmanuel Vadot reg = <1>; 85e67e8565SEmmanuel Vadot phys = <&sata_phy 1>; 86e67e8565SEmmanuel Vadot }; 87e67e8565SEmmanuel Vadot }; 88