xref: /freebsd/sys/contrib/device-tree/Bindings/mmc/zx-dw-mshc.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* ZTE specific extensions to the Synopsys Designware Mobile Storage
2*c66ec88fSEmmanuel Vadot  Host Controller
3*c66ec88fSEmmanuel Vadot
4*c66ec88fSEmmanuel VadotThe Synopsys designware mobile storage host controller is used to interface
5*c66ec88fSEmmanuel Vadota SoC with storage medium such as eMMC or SD/MMC cards. This file documents
6*c66ec88fSEmmanuel Vadotdifferences between the core Synopsys dw mshc controller properties described
7*c66ec88fSEmmanuel Vadotby synopsys-dw-mshc.txt and the properties used by the ZTE specific
8*c66ec88fSEmmanuel Vadotextensions to the Synopsys Designware Mobile Storage Host Controller.
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel VadotRequired Properties:
11*c66ec88fSEmmanuel Vadot
12*c66ec88fSEmmanuel Vadot* compatible: should be
13*c66ec88fSEmmanuel Vadot	- "zte,zx296718-dw-mshc": for ZX SoCs
14*c66ec88fSEmmanuel Vadot
15*c66ec88fSEmmanuel VadotExample:
16*c66ec88fSEmmanuel Vadot
17*c66ec88fSEmmanuel Vadot	mmc1: mmc@1110000 {
18*c66ec88fSEmmanuel Vadot		compatible = "zte,zx296718-dw-mshc";
19*c66ec88fSEmmanuel Vadot		reg = <0x01110000 0x1000>;
20*c66ec88fSEmmanuel Vadot		interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
21*c66ec88fSEmmanuel Vadot		fifo-depth = <32>;
22*c66ec88fSEmmanuel Vadot		data-addr = <0x200>;
23*c66ec88fSEmmanuel Vadot		fifo-watermark-aligned;
24*c66ec88fSEmmanuel Vadot		bus-width = <4>;
25*c66ec88fSEmmanuel Vadot		clock-frequency = <50000000>;
26*c66ec88fSEmmanuel Vadot		clocks = <&topcrm SD0_AHB>, <&topcrm SD0_WCLK>;
27*c66ec88fSEmmanuel Vadot		clock-names = "biu", "ciu";
28*c66ec88fSEmmanuel Vadot		max-frequency = <50000000>;
29*c66ec88fSEmmanuel Vadot		cap-sdio-irq;
30*c66ec88fSEmmanuel Vadot		cap-sd-highspeed;
31*c66ec88fSEmmanuel Vadot	};
32