aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Andrey <david.andrey@netmodule.com>2014-10-17 10:48:05 +0200
committerElvis Dowson <elvis.dowson@gmail.com>2014-10-20 21:48:26 +0400
commit02e7ca09886d46e58ef52132749d2270be52024f (patch)
treee000f1e31a7f83cf5bdd588bc407db56ed9f10dd
parent1b20c2534f5993cbb1603b2904f02df4a11a2368 (diff)
downloadmeta-xilinx-community-02e7ca09886d46e58ef52132749d2270be52024f.tar.gz
meta-xilinx-community-02e7ca09886d46e58ef52132749d2270be52024f.tar.bz2
meta-xilinx-community-02e7ca09886d46e58ef52132749d2270be52024f.zip
zx3-pm3: sdhc: add support
Add SDCard support for the Enclustra PM3 Evalboard as board up from Rev D have this interface by default. Signed-off-by: David Andrey <david.andrey@netmodule.com> Signed-off-by: Elvis Dowson <elvis.dowson@gmail.com>
-rw-r--r--conf/machine/boards/zx3-pm3/zx3-pm3-zynq7.dts6
-rw-r--r--recipes-kernel/linux/linux-xlnx/zx3-pm3-zynq7/defconfig10
2 files changed, 10 insertions, 6 deletions
diff --git a/conf/machine/boards/zx3-pm3/zx3-pm3-zynq7.dts b/conf/machine/boards/zx3-pm3/zx3-pm3-zynq7.dts
index 021b1cd..30625f8 100644
--- a/conf/machine/boards/zx3-pm3/zx3-pm3-zynq7.dts
+++ b/conf/machine/boards/zx3-pm3/zx3-pm3-zynq7.dts
@@ -73,6 +73,11 @@
} ;
} ;
+ ps7_sd_0: ps7-sdio@e0100000 {
+ clock-frequency = <125000000>;
+ xlnx,sdio-clk-freq-hz = <0x3f93e10>;
+ } ;
+
ps7_i2c_0: ps7-i2c@e0004000 {
rtc@6F {
@@ -83,7 +88,6 @@
/* Disabled Devices */
ps7_uart_0: serial@e0000000 { compatible = "invalid"; };
- ps7_sd_0: ps7-sdio@e0100000 { compatible = "invalid"; };
ps7_sd_1: ps7-sdio@e0101000 { compatible = "invalid"; };
ps7_wdt_0: ps7-wdt@f8005000 { compatible = "invalid"; };
ps7_can_0: ps7-can@e0008000 { compatible = "invalid"; };
diff --git a/recipes-kernel/linux/linux-xlnx/zx3-pm3-zynq7/defconfig b/recipes-kernel/linux/linux-xlnx/zx3-pm3-zynq7/defconfig
index bbe3c46..f4f7ede 100644
--- a/recipes-kernel/linux/linux-xlnx/zx3-pm3-zynq7/defconfig
+++ b/recipes-kernel/linux/linux-xlnx/zx3-pm3-zynq7/defconfig
@@ -1915,7 +1915,7 @@ CONFIG_USB_ZERO=m
# CONFIG_USB_G_MULTI is not set
# CONFIG_USB_G_HID is not set
# CONFIG_USB_G_DBGP is not set
-CONFIG_MMC=m
+CONFIG_MMC=y
# CONFIG_MMC_DEBUG is not set
# CONFIG_MMC_UNSAFE_RESUME is not set
# CONFIG_MMC_CLKGATE is not set
@@ -1923,7 +1923,7 @@ CONFIG_MMC=m
#
# MMC/SD/SDIO Card Drivers
#
-CONFIG_MMC_BLOCK=m
+CONFIG_MMC_BLOCK=y
CONFIG_MMC_BLOCK_MINORS=8
CONFIG_MMC_BLOCK_BOUNCE=y
# CONFIG_SDIO_UART is not set
@@ -1933,9 +1933,9 @@ CONFIG_MMC_BLOCK_BOUNCE=y
# MMC/SD/SDIO Host Controller Drivers
#
# CONFIG_MMC_ARMMMCI is not set
-CONFIG_MMC_SDHCI=m
-CONFIG_MMC_SDHCI_PLTFM=m
-CONFIG_MMC_SDHCI_OF_ARASAN=m
+CONFIG_MMC_SDHCI=y
+CONFIG_MMC_SDHCI_PLTFM=y
+CONFIG_MMC_SDHCI_OF_ARASAN=y
# CONFIG_MMC_SDHCI_PXAV3 is not set
# CONFIG_MMC_SDHCI_PXAV2 is not set
# CONFIG_MMC_DW is not set