Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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: Should contain the CF interrupt number |
| 7 | - clock-frequency: Interface clock rate, in Hz, one of |
| 8 | 25000000 |
| 9 | 33000000 |
| 10 | 40000000 |
| 11 | 50000000 |
| 12 | 66000000 |
| 13 | 75000000 |
| 14 | 100000000 |
| 15 | 125000000 |
| 16 | 150000000 |
| 17 | 166000000 |
| 18 | 200000000 |
| 19 | |
| 20 | Optional properties: |
| 21 | - arasan,broken-udma: if present, UDMA mode is unusable |
| 22 | - arasan,broken-mwdma: if present, MWDMA mode is unusable |
| 23 | - arasan,broken-pio: if present, PIO mode is unusable |
| 24 | - dmas: one DMA channel, as described in bindings/dma/dma.txt |
| 25 | required unless both UDMA and MWDMA mode are broken |
| 26 | - dma-names: the corresponding channel name, must be "data" |
| 27 | |
| 28 | Example: |
| 29 | |
| 30 | cf@fc000000 { |
| 31 | compatible = "arasan,cf-spear1340"; |
| 32 | reg = <0xfc000000 0x1000>; |
| 33 | interrupt-parent = <&vic1>; |
| 34 | interrupts = <12>; |
| 35 | dmas = <&dma-controller 23>; |
| 36 | dma-names = "data"; |
| 37 | }; |