Skip to content

Commit ca7cf1f

Browse files
robherringdamien-lemoal
authored andcommitted
dt-bindings: ata: Convert cavium,ebt3000-compact-flash to DT schema
Convert the Cavium Compact Flash Controller to DT schema format. It's a straight-forward conversion. Signed-off-by: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
1 parent b562d78 commit ca7cf1f

File tree

2 files changed

+59
-30
lines changed

2 files changed

+59
-30
lines changed
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/ata/cavium,ebt3000-compact-flash.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Cavium Compact Flash
8+
9+
maintainers:
10+
- Rob Herring <robh@kernel.org>
11+
12+
description:
13+
The Cavium Compact Flash device is connected to the Octeon Boot Bus, and is
14+
thus a child of the Boot Bus device. It can read and write industry standard
15+
compact flash devices.
16+
17+
properties:
18+
compatible:
19+
const: cavium,ebt3000-compact-flash
20+
21+
reg:
22+
description: The base address of the CF chip select banks.
23+
items:
24+
- description: CF chip select bank 0
25+
- description: CF chip select bank 1
26+
27+
cavium,bus-width:
28+
description: The width of the connection to the CF devices.
29+
$ref: /schemas/types.yaml#/definitions/uint32
30+
enum: [8, 16]
31+
32+
cavium,true-ide:
33+
description: True IDE mode when present.
34+
type: boolean
35+
36+
cavium,dma-engine-handle:
37+
description: A phandle for the DMA Engine connected to this device.
38+
$ref: /schemas/types.yaml#/definitions/phandle
39+
40+
required:
41+
- compatible
42+
- reg
43+
44+
additionalProperties: false
45+
46+
examples:
47+
- |
48+
bus {
49+
#address-cells = <2>;
50+
#size-cells = <1>;
51+
52+
compact-flash@5,0 {
53+
compatible = "cavium,ebt3000-compact-flash";
54+
reg = <5 0 0x10000>, <6 0 0x10000>;
55+
cavium,bus-width = <16>;
56+
cavium,true-ide;
57+
cavium,dma-engine-handle = <&dma0>;
58+
};
59+
};

Documentation/devicetree/bindings/ata/cavium-compact-flash.txt

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)