diff options
author | tianshuliang <tianshuliang@hisilicon.com> | 2018-03-07 20:01:33 -0500 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2018-03-15 09:43:21 -0400 |
commit | 8a9cdf985258d3409e5647fbcb8a573da35ee4f8 (patch) | |
tree | 29d553f8892232eda448c16f31391200ce92347d | |
parent | 974e85e90c84a32f49b70c6615f1e8f156f38a3c (diff) |
dt-bindings: mmc: add bindings for hi3798cv200-dw-mshc
Hisilicon hi3798cv200 SoC extends the dw-mshc controller
for additional clock control. Add device tree bindings for
hi3798cv200-dw-mshc.
Signed-off-by: tianshuliang <tianshuliang@hisilicon.com>
Signed-off-by: Jiancheng Xue <xuejiancheng@hisilicon.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
-rw-r--r-- | Documentation/devicetree/bindings/mmc/hi3798cv200-dw-mshc.txt | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mmc/hi3798cv200-dw-mshc.txt b/Documentation/devicetree/bindings/mmc/hi3798cv200-dw-mshc.txt new file mode 100644 index 000000000000..a0693b7145f2 --- /dev/null +++ b/Documentation/devicetree/bindings/mmc/hi3798cv200-dw-mshc.txt | |||
@@ -0,0 +1,40 @@ | |||
1 | * Hisilicon Hi3798CV200 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 Hi3798CV200 | ||
10 | specific extensions to the Synopsys Designware Mobile Storage Host Controller. | ||
11 | |||
12 | Required Properties: | ||
13 | - compatible: Should contain "hisilicon,hi3798cv200-dw-mshc". | ||
14 | - clocks: A list of phandle + clock-specifier pairs for the clocks listed | ||
15 | in clock-names. | ||
16 | - clock-names: Should contain the following: | ||
17 | "ciu" - The ciu clock described in synopsys-dw-mshc.txt. | ||
18 | "biu" - The biu clock described in synopsys-dw-mshc.txt. | ||
19 | "ciu-sample" - Hi3798CV200 extended phase clock for ciu sampling. | ||
20 | "ciu-drive" - Hi3798CV200 extended phase clock for ciu driving. | ||
21 | |||
22 | Example: | ||
23 | |||
24 | emmc: mmc@9830000 { | ||
25 | compatible = "hisilicon,hi3798cv200-dw-mshc"; | ||
26 | reg = <0x9830000 0x10000>; | ||
27 | interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; | ||
28 | clocks = <&crg HISTB_MMC_CIU_CLK>, | ||
29 | <&crg HISTB_MMC_BIU_CLK>, | ||
30 | <&crg HISTB_MMC_SAMPLE_CLK>, | ||
31 | <&crg HISTB_MMC_DRV_CLK>; | ||
32 | clock-names = "ciu", "biu", "ciu-sample", "ciu-drive"; | ||
33 | fifo-depth = <256>; | ||
34 | clock-frequency = <200000000>; | ||
35 | cap-mmc-highspeed; | ||
36 | mmc-ddr-1_8v; | ||
37 | mmc-hs200-1_8v; | ||
38 | non-removable; | ||
39 | bus-width = <8>; | ||
40 | }; | ||