blob: f656ea9223d6bffa45c3f0487ca3e1b5c0f5a208 (
plain)
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/ata/marvell,orion-sata.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Marvell Orion SATA
maintainers:
- Andrew Lunn <andrew@lunn.ch>
- Gregory Clement <gregory.clement@bootlin.com>
allOf:
- $ref: sata-common.yaml#
properties:
compatible:
enum:
- marvell,orion-sata
- marvell,armada-370-sata
reg:
maxItems: 1
clocks:
minItems: 1
maxItems: 8
clock-names:
minItems: 1
items:
- const: '0'
- const: '1'
- const: '2'
- const: '3'
- const: '4'
- const: '5'
- const: '6'
- const: '7'
interrupts:
maxItems: 1
nr-ports:
description:
Number of SATA ports in use.
$ref: /schemas/types.yaml#/definitions/uint32
maximum: 8
phys:
minItems: 1
maxItems: 8
phy-names:
minItems: 1
items:
- const: port0
- const: port1
- const: port2
- const: port3
- const: port4
- const: port5
- const: port6
- const: port7
required:
- compatible
- reg
- interrupts
- nr-ports
unevaluatedProperties: false
examples:
- |
sata@80000 {
compatible = "marvell,orion-sata";
reg = <0x80000 0x5000>;
interrupts = <21>;
phys = <&sata_phy0>, <&sata_phy1>;
phy-names = "port0", "port1";
nr-ports = <2>;
};
|