2012-08-27 13:07:18 +08:00
|
|
|
* ARASAN PATA COMPACT FLASH CONTROLLER
|
|
|
|
|
|
|
|
Required properties:
|
|
|
|
- compatible: "arasan,cf-spear1340"
|
|
|
|
- reg: Address range of the CF registers
|
|
|
|
- interrupt-parent: Should be the phandle for the interrupt controller
|
|
|
|
that services interrupts for this device
|
|
|
|
- interrupt: Should contain the CF interrupt number
|
2013-01-29 01:42:24 +08:00
|
|
|
- clock-frequency: Interface clock rate, in Hz, one of
|
|
|
|
25000000
|
|
|
|
33000000
|
|
|
|
40000000
|
|
|
|
50000000
|
|
|
|
66000000
|
|
|
|
75000000
|
|
|
|
100000000
|
|
|
|
125000000
|
|
|
|
150000000
|
|
|
|
166000000
|
|
|
|
200000000
|
|
|
|
|
|
|
|
Optional properties:
|
|
|
|
- arasan,broken-udma: if present, UDMA mode is unusable
|
|
|
|
- arasan,broken-mwdma: if present, MWDMA mode is unusable
|
|
|
|
- arasan,broken-pio: if present, PIO mode is unusable
|
|
|
|
- dmas: one DMA channel, as described in bindings/dma/dma.txt
|
|
|
|
required unless both UDMA and MWDMA mode are broken
|
|
|
|
- dma-names: the corresponding channel name, must be "data"
|
2012-08-27 13:07:18 +08:00
|
|
|
|
|
|
|
Example:
|
|
|
|
|
|
|
|
cf@fc000000 {
|
|
|
|
compatible = "arasan,cf-spear1340";
|
|
|
|
reg = <0xfc000000 0x1000>;
|
|
|
|
interrupt-parent = <&vic1>;
|
|
|
|
interrupts = <12>;
|
2013-01-29 01:42:24 +08:00
|
|
|
dmas = <&dma-controller 23>;
|
|
|
|
dma-names = "data";
|
2012-08-27 13:07:18 +08:00
|
|
|
};
|