xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/ata/cavium-compact-flash.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* Compact Flash
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunThe Cavium Compact Flash device is connected to the Octeon Boot Bus,
4*4882a593Smuzhiyunand is thus a child of the Boot Bus device.  It can read and write
5*4882a593Smuzhiyunindustry standard compact flash devices.
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunProperties:
8*4882a593Smuzhiyun- compatible: "cavium,ebt3000-compact-flash";
9*4882a593Smuzhiyun
10*4882a593Smuzhiyun  Compatibility with many Cavium evaluation boards.
11*4882a593Smuzhiyun
12*4882a593Smuzhiyun- reg: The base address of the CF chip select banks.  Depending on
13*4882a593Smuzhiyun  the device configuration, there may be one or two banks.
14*4882a593Smuzhiyun
15*4882a593Smuzhiyun- cavium,bus-width: The width of the connection to the CF devices.  Valid
16*4882a593Smuzhiyun  values are 8 and 16.
17*4882a593Smuzhiyun
18*4882a593Smuzhiyun- cavium,true-ide: Optional, if present the CF connection is in True IDE mode.
19*4882a593Smuzhiyun
20*4882a593Smuzhiyun- cavium,dma-engine-handle: Optional, a phandle for the DMA Engine connected
21*4882a593Smuzhiyun  to this device.
22*4882a593Smuzhiyun
23*4882a593SmuzhiyunExample:
24*4882a593Smuzhiyun	compact-flash@5,0 {
25*4882a593Smuzhiyun		compatible = "cavium,ebt3000-compact-flash";
26*4882a593Smuzhiyun		reg = <5 0 0x10000>, <6 0 0x10000>;
27*4882a593Smuzhiyun		cavium,bus-width = <16>;
28*4882a593Smuzhiyun		cavium,true-ide;
29*4882a593Smuzhiyun		cavium,dma-engine-handle = <&dma0>;
30*4882a593Smuzhiyun	};
31