Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/Documentation/devicetree/bindings/ata/fsl,pq-sata.yaml
26308 views
1
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2
%YAML 1.2
3
---
4
$id: http://devicetree.org/schemas/ata/fsl,pq-sata.yaml#
5
$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7
title: Freescale 8xxx/3.0 Gb/s SATA nodes
8
9
maintainers:
10
- J. Neuschäfer <j.ne@posteo.net>
11
12
description:
13
SATA nodes are defined to describe on-chip Serial ATA controllers.
14
Each SATA controller should have its own node.
15
16
properties:
17
compatible:
18
oneOf:
19
- items:
20
- enum:
21
- fsl,mpc8377-sata
22
- fsl,mpc8536-sata
23
- fsl,mpc8315-sata
24
- fsl,mpc8379-sata
25
- const: fsl,pq-sata
26
- const: fsl,pq-sata-v2
27
28
reg:
29
maxItems: 1
30
31
interrupts:
32
maxItems: 1
33
34
cell-index:
35
$ref: /schemas/types.yaml#/definitions/uint32
36
enum: [1, 2, 3, 4]
37
description: |
38
1 for controller @ 0x18000
39
2 for controller @ 0x19000
40
3 for controller @ 0x1a000
41
4 for controller @ 0x1b000
42
43
required:
44
- compatible
45
- interrupts
46
- cell-index
47
48
additionalProperties: false
49
50
examples:
51
- |
52
#include <dt-bindings/interrupt-controller/irq.h>
53
sata@18000 {
54
compatible = "fsl,mpc8379-sata", "fsl,pq-sata";
55
reg = <0x18000 0x1000>;
56
cell-index = <1>;
57
interrupts = <44 IRQ_TYPE_LEVEL_LOW>;
58
};
59
60
...
61
62