18c2ecf20Sopenharmony_ci* Hisilicon Hi3798CV200 specific extensions to the Synopsys Designware Mobile
28c2ecf20Sopenharmony_ci  Storage Host Controller
38c2ecf20Sopenharmony_ci
48c2ecf20Sopenharmony_ciRead synopsys-dw-mshc.txt for more details
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ciThe Synopsys designware mobile storage host controller is used to interface
78c2ecf20Sopenharmony_cia SoC with storage medium such as eMMC or SD/MMC cards. This file documents
88c2ecf20Sopenharmony_cidifferences between the core Synopsys dw mshc controller properties described
98c2ecf20Sopenharmony_ciby synopsys-dw-mshc.txt and the properties used by the Hisilicon Hi3798CV200
108c2ecf20Sopenharmony_cispecific extensions to the Synopsys Designware Mobile Storage Host Controller.
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ciRequired Properties:
138c2ecf20Sopenharmony_ci- compatible: Should contain "hisilicon,hi3798cv200-dw-mshc".
148c2ecf20Sopenharmony_ci- clocks: A list of phandle + clock-specifier pairs for the clocks listed
158c2ecf20Sopenharmony_ci  in clock-names.
168c2ecf20Sopenharmony_ci- clock-names: Should contain the following:
178c2ecf20Sopenharmony_ci	"ciu" - The ciu clock described in synopsys-dw-mshc.txt.
188c2ecf20Sopenharmony_ci	"biu" - The biu clock described in synopsys-dw-mshc.txt.
198c2ecf20Sopenharmony_ci	"ciu-sample" - Hi3798CV200 extended phase clock for ciu sampling.
208c2ecf20Sopenharmony_ci	"ciu-drive"  - Hi3798CV200 extended phase clock for ciu driving.
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ciExample:
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ci	emmc: mmc@9830000 {
258c2ecf20Sopenharmony_ci		compatible = "hisilicon,hi3798cv200-dw-mshc";
268c2ecf20Sopenharmony_ci		reg = <0x9830000 0x10000>;
278c2ecf20Sopenharmony_ci		interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
288c2ecf20Sopenharmony_ci		clocks = <&crg HISTB_MMC_CIU_CLK>,
298c2ecf20Sopenharmony_ci			 <&crg HISTB_MMC_BIU_CLK>,
308c2ecf20Sopenharmony_ci			 <&crg HISTB_MMC_SAMPLE_CLK>,
318c2ecf20Sopenharmony_ci			 <&crg HISTB_MMC_DRV_CLK>;
328c2ecf20Sopenharmony_ci		clock-names = "ciu", "biu", "ciu-sample", "ciu-drive";
338c2ecf20Sopenharmony_ci		fifo-depth = <256>;
348c2ecf20Sopenharmony_ci		clock-frequency = <200000000>;
358c2ecf20Sopenharmony_ci		cap-mmc-highspeed;
368c2ecf20Sopenharmony_ci		mmc-ddr-1_8v;
378c2ecf20Sopenharmony_ci		mmc-hs200-1_8v;
388c2ecf20Sopenharmony_ci		non-removable;
398c2ecf20Sopenharmony_ci		bus-width = <8>;
408c2ecf20Sopenharmony_ci	};
41