python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / board / synopsys / vdk / patches / linux / 0002-arc-vdk-Add-support-of-MMC-controller.patch
blobbd5dedb1ff29478bc2a2e79b37ab8fde4155edda
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>
10 ---
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
19 @@ -23,6 +23,12 @@
20 #clock-cells = <0>;
23 + mmcclk: mmcclk {
24 + compatible = "fixed-clock";
25 + clock-frequency = <50000000>;
26 + #clock-cells = <0>;
27 + };
29 pguclk: pguclk {
30 #clock-cells = <0>;
31 compatible = "fixed-clock";
32 @@ -94,5 +100,17 @@
33 interrupts = <5>;
34 interrupt-names = "arc_ps2_irq";
37 + mmc@0x15000 {
38 + compatible = "snps,dw-mshc";
39 + reg = <0x15000 0x400>;
40 + num-slots = <1>;
41 + fifo-depth = <1024>;
42 + card-detect-delay = <200>;
43 + clocks = <&apbclk>, <&mmcclk>;
44 + clock-names = "biu", "ciu";
45 + interrupts = <7>;
46 + bus-width = <4>;
47 + };
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
56 CONFIG_USB_STORAGE=y
57 CONFIG_USB_SERIAL=y
58 +CONFIG_MMC=y
59 +CONFIG_MMC_SDHCI=y
60 +CONFIG_MMC_SDHCI_PLTFM=y
61 +CONFIG_MMC_DW=y
62 # CONFIG_IOMMU_SUPPORT is not set
63 CONFIG_EXT3_FS=y
64 -CONFIG_EXT4_FS=y
65 CONFIG_MSDOS_FS=y
66 CONFIG_VFAT_FS=y
67 CONFIG_NTFS_FS=y
68 --
69 2.7.4