xref: /freebsd/sys/contrib/device-tree/Bindings/ata/cavium,ebt3000-compact-flash.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/cavium,ebt3000-compact-flash.yaml#
5*ae5de77eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*ae5de77eSEmmanuel Vadot
7*ae5de77eSEmmanuel Vadottitle: Cavium Compact Flash
8*ae5de77eSEmmanuel Vadot
9*ae5de77eSEmmanuel Vadotmaintainers:
10*ae5de77eSEmmanuel Vadot  - Rob Herring <robh@kernel.org>
11*ae5de77eSEmmanuel Vadot
12*ae5de77eSEmmanuel Vadotdescription:
13*ae5de77eSEmmanuel Vadot  The Cavium Compact Flash device is connected to the Octeon Boot Bus, and is
14*ae5de77eSEmmanuel Vadot  thus a child of the Boot Bus device.  It can read and write industry standard
15*ae5de77eSEmmanuel Vadot  compact flash devices.
16*ae5de77eSEmmanuel Vadot
17*ae5de77eSEmmanuel Vadotproperties:
18*ae5de77eSEmmanuel Vadot  compatible:
19*ae5de77eSEmmanuel Vadot    const: cavium,ebt3000-compact-flash
20*ae5de77eSEmmanuel Vadot
21*ae5de77eSEmmanuel Vadot  reg:
22*ae5de77eSEmmanuel Vadot    description: The base address of the CF chip select banks.
23*ae5de77eSEmmanuel Vadot    items:
24*ae5de77eSEmmanuel Vadot      - description: CF chip select bank 0
25*ae5de77eSEmmanuel Vadot      - description: CF chip select bank 1
26*ae5de77eSEmmanuel Vadot
27*ae5de77eSEmmanuel Vadot  cavium,bus-width:
28*ae5de77eSEmmanuel Vadot    description: The width of the connection to the CF devices.
29*ae5de77eSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/uint32
30*ae5de77eSEmmanuel Vadot    enum: [8, 16]
31*ae5de77eSEmmanuel Vadot
32*ae5de77eSEmmanuel Vadot  cavium,true-ide:
33*ae5de77eSEmmanuel Vadot    description: True IDE mode when present.
34*ae5de77eSEmmanuel Vadot    type: boolean
35*ae5de77eSEmmanuel Vadot
36*ae5de77eSEmmanuel Vadot  cavium,dma-engine-handle:
37*ae5de77eSEmmanuel Vadot    description: A phandle for the DMA Engine connected to this device.
38*ae5de77eSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/phandle
39*ae5de77eSEmmanuel Vadot
40*ae5de77eSEmmanuel Vadotrequired:
41*ae5de77eSEmmanuel Vadot  - compatible
42*ae5de77eSEmmanuel Vadot  - reg
43*ae5de77eSEmmanuel Vadot
44*ae5de77eSEmmanuel VadotadditionalProperties: false
45*ae5de77eSEmmanuel Vadot
46*ae5de77eSEmmanuel Vadotexamples:
47*ae5de77eSEmmanuel Vadot  - |
48*ae5de77eSEmmanuel Vadot    bus {
49*ae5de77eSEmmanuel Vadot        #address-cells = <2>;
50*ae5de77eSEmmanuel Vadot        #size-cells = <1>;
51*ae5de77eSEmmanuel Vadot
52*ae5de77eSEmmanuel Vadot        compact-flash@5,0 {
53*ae5de77eSEmmanuel Vadot            compatible = "cavium,ebt3000-compact-flash";
54*ae5de77eSEmmanuel Vadot            reg = <5 0 0x10000>, <6 0 0x10000>;
55*ae5de77eSEmmanuel Vadot            cavium,bus-width = <16>;
56*ae5de77eSEmmanuel Vadot            cavium,true-ide;
57*ae5de77eSEmmanuel Vadot            cavium,dma-engine-handle = <&dma0>;
58*ae5de77eSEmmanuel Vadot        };
59*ae5de77eSEmmanuel Vadot    };
60