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