xref: /openbmc/linux/Documentation/devicetree/bindings/ata/pata-arasan.txt (revision 3eb66e91a25497065c5322b1268cbc3953642227)
126fdaa74SViresh Kumar* ARASAN PATA COMPACT FLASH CONTROLLER
226fdaa74SViresh Kumar
326fdaa74SViresh KumarRequired properties:
426fdaa74SViresh Kumar- compatible: "arasan,cf-spear1340"
526fdaa74SViresh Kumar- reg: Address range of the CF registers
626fdaa74SViresh Kumar- interrupt: Should contain the CF interrupt number
7*e34d3865SArnd Bergmann- clock-frequency: Interface clock rate, in Hz, one of
8*e34d3865SArnd Bergmann       25000000
9*e34d3865SArnd Bergmann       33000000
10*e34d3865SArnd Bergmann       40000000
11*e34d3865SArnd Bergmann       50000000
12*e34d3865SArnd Bergmann       66000000
13*e34d3865SArnd Bergmann       75000000
14*e34d3865SArnd Bergmann      100000000
15*e34d3865SArnd Bergmann      125000000
16*e34d3865SArnd Bergmann      150000000
17*e34d3865SArnd Bergmann      166000000
18*e34d3865SArnd Bergmann      200000000
19*e34d3865SArnd Bergmann
20*e34d3865SArnd BergmannOptional properties:
21*e34d3865SArnd Bergmann- arasan,broken-udma: if present, UDMA mode is unusable
22*e34d3865SArnd Bergmann- arasan,broken-mwdma: if present, MWDMA mode is unusable
23*e34d3865SArnd Bergmann- arasan,broken-pio: if present, PIO mode is unusable
24*e34d3865SArnd Bergmann- dmas: one DMA channel, as described in bindings/dma/dma.txt
25*e34d3865SArnd Bergmann  required unless both UDMA and MWDMA mode are broken
26*e34d3865SArnd Bergmann- dma-names: the corresponding channel name, must be "data"
2726fdaa74SViresh Kumar
2826fdaa74SViresh KumarExample:
2926fdaa74SViresh Kumar
3026fdaa74SViresh Kumar	cf@fc000000 {
3126fdaa74SViresh Kumar		compatible = "arasan,cf-spear1340";
3226fdaa74SViresh Kumar		reg = <0xfc000000 0x1000>;
3326fdaa74SViresh Kumar		interrupt-parent = <&vic1>;
3426fdaa74SViresh Kumar		interrupts = <12>;
35*e34d3865SArnd Bergmann		dmas = <&dma-controller 23>;
36*e34d3865SArnd Bergmann		dma-names = "data";
3726fdaa74SViresh Kumar	};
38