The SDHC controller on mpc512x is compatible with i.MX31 SDHC controller, the existing MMC host driver can be used on mpc512x with some modifications, the patch series extends the existing driver. It is based on the following v3 mxcmmc DT support patch:
https://patchwork.kernel.org/patch/2368631 Changes in v2 series are mentioned in each patch Anatolij Gustschin (5): mmc: mxcmmc: add mpc512x SDHC support mmc: mxcmmc: use slot-gpio API for write-protect detection mmc: mxcmmc: constify mxcmci_devtype mmc: mxcmmc: enable DMA support on mpc512x mmc: mxcmmc: fix race conditions for host->req and host->data access arch/powerpc/boot/dts/mpc5121.dtsi | 2 + drivers/mmc/host/Kconfig | 10 +- drivers/mmc/host/mxcmmc.c | 209 ++++++++++++++++++++++++++---------- 3 files changed, 159 insertions(+), 62 deletions(-) -- 1.7.5.4 _______________________________________________ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https://lists.ozlabs.org/listinfo/devicetree-discuss