Commit | Line | Data |
---|---|---|
26fdaa74 VK |
1 | * ARASAN PATA COMPACT FLASH CONTROLLER |
2 | ||
3 | Required properties: | |
4 | - compatible: "arasan,cf-spear1340" | |
5 | - reg: Address range of the CF registers | |
6 | - interrupt-parent: Should be the phandle for the interrupt controller | |
7 | that services interrupts for this device | |
8 | - interrupt: Should contain the CF interrupt number | |
e34d3865 AB |
9 | - clock-frequency: Interface clock rate, in Hz, one of |
10 | 25000000 | |
11 | 33000000 | |
12 | 40000000 | |
13 | 50000000 | |
14 | 66000000 | |
15 | 75000000 | |
16 | 100000000 | |
17 | 125000000 | |
18 | 150000000 | |
19 | 166000000 | |
20 | 200000000 | |
21 | ||
22 | Optional properties: | |
23 | - arasan,broken-udma: if present, UDMA mode is unusable | |
24 | - arasan,broken-mwdma: if present, MWDMA mode is unusable | |
25 | - arasan,broken-pio: if present, PIO mode is unusable | |
26 | - dmas: one DMA channel, as described in bindings/dma/dma.txt | |
27 | required unless both UDMA and MWDMA mode are broken | |
28 | - dma-names: the corresponding channel name, must be "data" | |
26fdaa74 VK |
29 | |
30 | Example: | |
31 | ||
32 | cf@fc000000 { | |
33 | compatible = "arasan,cf-spear1340"; | |
34 | reg = <0xfc000000 0x1000>; | |
35 | interrupt-parent = <&vic1>; | |
36 | interrupts = <12>; | |
e34d3865 AB |
37 | dmas = <&dma-controller 23>; |
38 | dma-names = "data"; | |
26fdaa74 | 39 | }; |