Documentation / devicetree / bindings / ata / fsl,pq-sata.yaml


Based on kernel version 6.15. Page generated on 2025-05-29 09:08 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/ata/fsl,pq-sata.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Freescale 8xxx/3.0 Gb/s SATA nodes

maintainers:
  - J. Neuschäfer <j.ne@posteo.net>

description:
  SATA nodes are defined to describe on-chip Serial ATA controllers.
  Each SATA controller should have its own node.

properties:
  compatible:
    oneOf:
      - items:
          - enum:
              - fsl,mpc8377-sata
              - fsl,mpc8536-sata
              - fsl,mpc8315-sata
              - fsl,mpc8379-sata
          - const: fsl,pq-sata
      - const: fsl,pq-sata-v2

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  cell-index:
    $ref: /schemas/types.yaml#/definitions/uint32
    enum: [1, 2, 3, 4]
    description: |
      1 for controller @ 0x18000
      2 for controller @ 0x19000
      3 for controller @ 0x1a000
      4 for controller @ 0x1b000

required:
  - compatible
  - interrupts
  - cell-index

additionalProperties: false

examples:
  - |
    #include <dt-bindings/interrupt-controller/irq.h>
    sata@18000 {
        compatible = "fsl,mpc8379-sata", "fsl,pq-sata";
        reg = <0x18000 0x1000>;
        cell-index = <1>;
        interrupts = <44 IRQ_TYPE_LEVEL_LOW>;
    };

...