xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mmc/hi3798cv200-dw-mshc.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* Hisilicon Hi3798CV200 specific extensions to the Synopsys Designware Mobile
2*4882a593Smuzhiyun  Storage Host Controller
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunRead synopsys-dw-mshc.txt for more details
5*4882a593Smuzhiyun
6*4882a593SmuzhiyunThe Synopsys designware mobile storage host controller is used to interface
7*4882a593Smuzhiyuna SoC with storage medium such as eMMC or SD/MMC cards. This file documents
8*4882a593Smuzhiyundifferences between the core Synopsys dw mshc controller properties described
9*4882a593Smuzhiyunby synopsys-dw-mshc.txt and the properties used by the Hisilicon Hi3798CV200
10*4882a593Smuzhiyunspecific extensions to the Synopsys Designware Mobile Storage Host Controller.
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunRequired Properties:
13*4882a593Smuzhiyun- compatible: Should contain "hisilicon,hi3798cv200-dw-mshc".
14*4882a593Smuzhiyun- clocks: A list of phandle + clock-specifier pairs for the clocks listed
15*4882a593Smuzhiyun  in clock-names.
16*4882a593Smuzhiyun- clock-names: Should contain the following:
17*4882a593Smuzhiyun	"ciu" - The ciu clock described in synopsys-dw-mshc.txt.
18*4882a593Smuzhiyun	"biu" - The biu clock described in synopsys-dw-mshc.txt.
19*4882a593Smuzhiyun	"ciu-sample" - Hi3798CV200 extended phase clock for ciu sampling.
20*4882a593Smuzhiyun	"ciu-drive"  - Hi3798CV200 extended phase clock for ciu driving.
21*4882a593Smuzhiyun
22*4882a593SmuzhiyunExample:
23*4882a593Smuzhiyun
24*4882a593Smuzhiyun	emmc: mmc@9830000 {
25*4882a593Smuzhiyun		compatible = "hisilicon,hi3798cv200-dw-mshc";
26*4882a593Smuzhiyun		reg = <0x9830000 0x10000>;
27*4882a593Smuzhiyun		interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
28*4882a593Smuzhiyun		clocks = <&crg HISTB_MMC_CIU_CLK>,
29*4882a593Smuzhiyun			 <&crg HISTB_MMC_BIU_CLK>,
30*4882a593Smuzhiyun			 <&crg HISTB_MMC_SAMPLE_CLK>,
31*4882a593Smuzhiyun			 <&crg HISTB_MMC_DRV_CLK>;
32*4882a593Smuzhiyun		clock-names = "ciu", "biu", "ciu-sample", "ciu-drive";
33*4882a593Smuzhiyun		fifo-depth = <256>;
34*4882a593Smuzhiyun		clock-frequency = <200000000>;
35*4882a593Smuzhiyun		cap-mmc-highspeed;
36*4882a593Smuzhiyun		mmc-ddr-1_8v;
37*4882a593Smuzhiyun		mmc-hs200-1_8v;
38*4882a593Smuzhiyun		non-removable;
39*4882a593Smuzhiyun		bus-width = <8>;
40*4882a593Smuzhiyun	};
41