| 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 <[email protected]> |
| 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 |
}; |