Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/Documentation/devicetree/bindings/ata/arasan,cf-spear1340.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/arasan,cf-spear1340.yaml#
5
$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7
title: Arasan PATA Compact Flash Controller
8
9
maintainers:
10
- Viresh Kumar <viresh.kumar@linaro.org>
11
12
properties:
13
compatible:
14
const: arasan,cf-spear1340
15
16
reg:
17
maxItems: 1
18
19
interrupts:
20
maxItems: 1
21
22
clocks:
23
maxItems: 1
24
25
arasan,broken-udma:
26
description: UDMA mode is unusable
27
type: boolean
28
29
arasan,broken-mwdma:
30
description: MWDMA mode is unusable
31
type: boolean
32
33
arasan,broken-pio:
34
description: PIO mode is unusable
35
type: boolean
36
37
dmas:
38
maxItems: 1
39
40
dma-names:
41
items:
42
- const: data
43
44
required:
45
- compatible
46
- reg
47
- interrupts
48
49
additionalProperties: false
50
51
allOf:
52
- if:
53
not:
54
required:
55
- arasan,broken-udma
56
- arasan,broken-mwdma
57
then:
58
required:
59
- dmas
60
- dma-names
61
62
examples:
63
- |
64
cf@fc000000 {
65
compatible = "arasan,cf-spear1340";
66
reg = <0xfc000000 0x1000>;
67
interrupts = <12>;
68
dmas = <&dma 23>;
69
dma-names = "data";
70
};
71
72