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