]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/ata/faraday,ftide010.txt
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi...
[karo-tx-linux.git] / Documentation / devicetree / bindings / ata / faraday,ftide010.txt
1 * Faraday Technology FTIDE010 PATA controller
2
3 This controller is the first Faraday IDE interface block, used in the
4 StorLink SL2312 and SL3516, later known as the Cortina Systems Gemini
5 platform. The controller can do PIO modes 0 through 4, Multi-word DMA
6 (MWDM)modes 0 through 2 and Ultra DMA modes 0 through 6.
7
8 On the Gemini platform, this PATA block is accompanied by a PATA to
9 SATA bridge in order to support SATA. This is why a phandle to that
10 controller is compulsory on that platform.
11
12 The timing properties are unique per-SoC, not per-board.
13
14 Required properties:
15 - compatible: should be one of
16   "cortina,gemini-pata", "faraday,ftide010"
17   "faraday,ftide010"
18 - interrupts: interrupt for the block
19 - reg: registers and size for the block
20
21 Optional properties:
22 - clocks: a SoC clock running the peripheral.
23 - clock-names: should be set to "PCLK" for the peripheral clock.
24
25 Required properties for "cortina,gemini-pata" compatible:
26 - sata: a phande to the Gemini PATA to SATA bridge, see
27   cortina,gemini-sata-bridge.txt for details.
28
29 Example:
30
31 ata@63000000 {
32         compatible = "cortina,gemini-pata", "faraday,ftide010";
33         reg = <0x63000000 0x100>;
34         interrupts = <4 IRQ_TYPE_EDGE_RISING>;
35         clocks = <&gcc GEMINI_CLK_GATE_IDE>;
36         clock-names = "PCLK";
37         sata = <&sata>;
38 };