xref: /freebsd/sys/contrib/device-tree/Bindings/ata/arasan,cf-spear1340.yaml (revision ae5de77ed78ae54d86cead5604869212e8008e6b)
1*ae5de77eSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*ae5de77eSEmmanuel Vadot%YAML 1.2
3*ae5de77eSEmmanuel Vadot---
4*ae5de77eSEmmanuel Vadot$id: http://devicetree.org/schemas/ata/arasan,cf-spear1340.yaml#
5*ae5de77eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*ae5de77eSEmmanuel Vadot
7*ae5de77eSEmmanuel Vadottitle: Arasan PATA Compact Flash Controller
8*ae5de77eSEmmanuel Vadot
9*ae5de77eSEmmanuel Vadotmaintainers:
10*ae5de77eSEmmanuel Vadot  - Viresh Kumar <viresh.kumar@linaro.org>
11*ae5de77eSEmmanuel Vadot
12*ae5de77eSEmmanuel Vadotproperties:
13*ae5de77eSEmmanuel Vadot  compatible:
14*ae5de77eSEmmanuel Vadot    const: arasan,cf-spear1340
15*ae5de77eSEmmanuel Vadot
16*ae5de77eSEmmanuel Vadot  reg:
17*ae5de77eSEmmanuel Vadot    maxItems: 1
18*ae5de77eSEmmanuel Vadot
19*ae5de77eSEmmanuel Vadot  interrupts:
20*ae5de77eSEmmanuel Vadot    maxItems: 1
21*ae5de77eSEmmanuel Vadot
22*ae5de77eSEmmanuel Vadot  clocks:
23*ae5de77eSEmmanuel Vadot    maxItems: 1
24*ae5de77eSEmmanuel Vadot
25*ae5de77eSEmmanuel Vadot  arasan,broken-udma:
26*ae5de77eSEmmanuel Vadot    description: UDMA mode is unusable
27*ae5de77eSEmmanuel Vadot    type: boolean
28*ae5de77eSEmmanuel Vadot
29*ae5de77eSEmmanuel Vadot  arasan,broken-mwdma:
30*ae5de77eSEmmanuel Vadot    description: MWDMA mode is unusable
31*ae5de77eSEmmanuel Vadot    type: boolean
32*ae5de77eSEmmanuel Vadot
33*ae5de77eSEmmanuel Vadot  arasan,broken-pio:
34*ae5de77eSEmmanuel Vadot    description: PIO mode is unusable
35*ae5de77eSEmmanuel Vadot    type: boolean
36*ae5de77eSEmmanuel Vadot
37*ae5de77eSEmmanuel Vadot  dmas:
38*ae5de77eSEmmanuel Vadot    maxItems: 1
39*ae5de77eSEmmanuel Vadot
40*ae5de77eSEmmanuel Vadot  dma-names:
41*ae5de77eSEmmanuel Vadot    items:
42*ae5de77eSEmmanuel Vadot      - const: data
43*ae5de77eSEmmanuel Vadot
44*ae5de77eSEmmanuel Vadotrequired:
45*ae5de77eSEmmanuel Vadot  - compatible
46*ae5de77eSEmmanuel Vadot  - reg
47*ae5de77eSEmmanuel Vadot  - interrupts
48*ae5de77eSEmmanuel Vadot
49*ae5de77eSEmmanuel VadotadditionalProperties: false
50*ae5de77eSEmmanuel Vadot
51*ae5de77eSEmmanuel VadotallOf:
52*ae5de77eSEmmanuel Vadot  - if:
53*ae5de77eSEmmanuel Vadot      not:
54*ae5de77eSEmmanuel Vadot        required:
55*ae5de77eSEmmanuel Vadot          - arasan,broken-udma
56*ae5de77eSEmmanuel Vadot          - arasan,broken-mwdma
57*ae5de77eSEmmanuel Vadot    then:
58*ae5de77eSEmmanuel Vadot      required:
59*ae5de77eSEmmanuel Vadot        - dmas
60*ae5de77eSEmmanuel Vadot        - dma-names
61*ae5de77eSEmmanuel Vadot
62*ae5de77eSEmmanuel Vadotexamples:
63*ae5de77eSEmmanuel Vadot  - |
64*ae5de77eSEmmanuel Vadot    cf@fc000000 {
65*ae5de77eSEmmanuel Vadot        compatible = "arasan,cf-spear1340";
66*ae5de77eSEmmanuel Vadot        reg = <0xfc000000 0x1000>;
67*ae5de77eSEmmanuel Vadot        interrupts = <12>;
68*ae5de77eSEmmanuel Vadot        dmas = <&dma 23>;
69*ae5de77eSEmmanuel Vadot        dma-names = "data";
70*ae5de77eSEmmanuel Vadot    };
71