1 From c9d5ba0157fcfe48c0ec3448bdaecbabb8cefbca Mon Sep 17 00:00:00 2001
2 From: Alexey Brodkin <abrodkin@synopsys.com>
3 Date: Tue, 31 Jan 2017 19:02:44 +0300
4 Subject: [PATCH 2/3] arc: vdk: Add support of MMC controller
6 ARC VDK virtual platform emulates host MMC controller (DW Mobile Storage)
7 and moreover rootfs is situated on that virtual card.
9 Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
11 arch/arc/boot/dts/vdk_axs10x_mb.dtsi | 18 ++++++++++++++++++
12 arch/arc/configs/vdk_hs38_smp_defconfig | 5 ++++-
13 2 files changed, 22 insertions(+), 1 deletion(-)
15 diff --git a/arch/arc/boot/dts/vdk_axs10x_mb.dtsi b/arch/arc/boot/dts/vdk_axs10x_mb.dtsi
16 index 99498a4b4216..1953914b9f4f 100644
17 --- a/arch/arc/boot/dts/vdk_axs10x_mb.dtsi
18 +++ b/arch/arc/boot/dts/vdk_axs10x_mb.dtsi
24 + compatible = "fixed-clock";
25 + clock-frequency = <50000000>;
31 compatible = "fixed-clock";
34 interrupt-names = "arc_ps2_irq";
38 + compatible = "snps,dw-mshc";
39 + reg = <0x15000 0x400>;
41 + fifo-depth = <1024>;
42 + card-detect-delay = <200>;
43 + clocks = <&apbclk>, <&mmcclk>;
44 + clock-names = "biu", "ciu";
50 diff --git a/arch/arc/configs/vdk_hs38_smp_defconfig b/arch/arc/configs/vdk_hs38_smp_defconfig
51 index 00036e814dc1..85c697a7ef1c 100644
52 --- a/arch/arc/configs/vdk_hs38_smp_defconfig
53 +++ b/arch/arc/configs/vdk_hs38_smp_defconfig
54 @@ -79,9 +79,12 @@ CONFIG_USB_OHCI_HCD=y
55 CONFIG_USB_OHCI_HCD_PLATFORM=y
60 +CONFIG_MMC_SDHCI_PLTFM=y
62 # CONFIG_IOMMU_SUPPORT is not set