1 * Samsung Exynos specific extensions to the Synopsys Designware Mobile
2 Storage Host Controller
4 The Synopsys designware mobile storage host controller is used to interface
5 a SoC with storage medium such as eMMC or SD/MMC cards. This file documents
6 differences between the core Synopsys dw mshc controller properties described
7 by synopsys-dw-mshc.txt and the properties used by the Samsung Exynos specific
8 extensions to the Synopsys Designware Mobile Storage Host Controller.
12 * compatible: should be
13 - "samsung,exynos4210-dw-mshc": for controllers with Samsung Exynos4210
15 - "samsung,exynos4412-dw-mshc": for controllers with Samsung Exynos4412
17 - "samsung,exynos5250-dw-mshc": for controllers with Samsung Exynos5250
19 - "samsung,exynos5420-dw-mshc": for controllers with Samsung Exynos5420
21 - "samsung,exynos7-dw-mshc": for controllers with Samsung Exynos7
23 - "samsung,exynos7-dw-mshc-smu": for controllers with Samsung Exynos7
24 specific extensions having an SMU.
26 * samsung,dw-mshc-ciu-div: Specifies the divider value for the card interface
27 unit (ciu) clock. This property is applicable only for Exynos5 SoC's and
28 ignored for Exynos4 SoC's. The valid range of divider value is 0 to 7.
30 * samsung,dw-mshc-sdr-timing: Specifies the value of CIU clock phase shift value
31 in transmit mode and CIU clock phase shift value in receive mode for single
32 data rate mode operation. Refer notes below for the order of the cells and the
35 * samsung,dw-mshc-ddr-timing: Specifies the value of CUI clock phase shift value
36 in transmit mode and CIU clock phase shift value in receive mode for double
37 data rate mode operation. Refer notes below for the order of the cells and the
40 Notes for the sdr-timing and ddr-timing values:
42 The order of the cells should be
43 - First Cell: CIU clock phase shift value for tx mode.
44 - Second Cell: CIU clock phase shift value for rx mode.
46 Valid values for SDR and DDR CIU clock timing for Exynos5250:
47 - valid value for tx phase shift and rx phase shift is 0 to 7.
48 - when CIU clock divider value is set to 3, all possible 8 phase shift
50 - if CIU clock divider value is 0 (that is divide by 1), both tx and rx
51 phase shift clocks should be 0.
53 Required properties for a slot (Deprecated - Recommend to use one slot per host):
55 * gpios: specifies a list of gpios used for command, clock and data bus. The
56 first gpio is the command line and the second gpio is the clock line. The
57 rest of the gpios (depending on the bus-width property) are the data lines in
58 no particular order. The format of the gpio specifier depends on the gpio
60 (Deprecated - Refer to Documentation/devicetree/binding/pinctrl/samsung-pinctrl.txt)
64 The MSHC controller node can be split into two portions, SoC specific and
65 board specific portions as listed below.
68 compatible = "samsung,exynos5250-dw-mshc";
69 reg = <0x12200000 0x1000>;
70 interrupts = <0 75 0>;
81 card-detect-delay = <200>;
82 samsung,dw-mshc-ciu-div = <3>;
83 samsung,dw-mshc-sdr-timing = <2 3>;
84 samsung,dw-mshc-ddr-timing = <1 2>;