Commit | Line | Data |
---|---|---|
036f29d5 ZG |
1 | * Hisilicon specific extensions to the Synopsys Designware Mobile |
2 | Storage Host Controller | |
3 | ||
4 | Read synopsys-dw-mshc.txt for more details | |
5 | ||
6 | The Synopsys designware mobile storage host controller is used to interface | |
7 | a SoC with storage medium such as eMMC or SD/MMC cards. This file documents | |
8 | differences between the core Synopsys dw mshc controller properties described | |
9 | by synopsys-dw-mshc.txt and the properties used by the Hisilicon specific | |
10 | extensions to the Synopsys Designware Mobile Storage Host Controller. | |
11 | ||
12 | Required Properties: | |
13 | ||
14 | * compatible: should be one of the following. | |
15 | - "hisilicon,hi4511-dw-mshc": for controllers with hi4511 specific extentions. | |
16 | ||
036f29d5 ZG |
17 | Example: |
18 | ||
19 | /* for Hi3620 */ | |
20 | ||
21 | /* SoC portion */ | |
22 | dwmmc_0: dwmmc0@fcd03000 { | |
23 | compatible = "hisilicon,hi4511-dw-mshc"; | |
24 | reg = <0xfcd03000 0x1000>; | |
25 | interrupts = <0 16 4>; | |
26 | #address-cells = <1>; | |
27 | #size-cells = <0>; | |
28 | clocks = <&mmc_clock HI3620_SD_CIUCLK>, <&clock HI3620_DDRC_PER_CLK>; | |
29 | clock-names = "ciu", "biu"; | |
036f29d5 ZG |
30 | }; |
31 | ||
32 | /* Board portion */ | |
33 | dwmmc0@fcd03000 { | |
34 | num-slots = <1>; | |
35 | vmmc-supply = <&ldo12>; | |
36 | fifo-depth = <0x100>; | |
37 | supports-highspeed; | |
38 | pinctrl-names = "default"; | |
39 | pinctrl-0 = <&sd_pmx_pins &sd_cfg_func1 &sd_cfg_func2>; | |
40 | slot@0 { | |
41 | reg = <0>; | |
42 | bus-width = <4>; | |
43 | disable-wp; | |
44 | cd-gpios = <&gpio10 3 0>; | |
45 | }; | |
46 | }; |