emmc

emmc Driven by drivers/mmc/host/dw_mmc-exynos.c
static const struct of_device_id dw_mci_exynos_match[] = {       { .compatible
= "samsung,exynos4412-dw-mshc",                       .data = &exynos_drv_data,
},       { .compatible = "samsung,exynos5250-dw-mshc",                      
.data = &exynos_drv_data, },       { .compatible =
"samsung,exynos5420-dw-mshc",                       .data = &exynos_drv_data,
},       { .compatible = "samsung,exynos5420-dw-mshc-smu",                    
  .data = &exynos_drv_data, },       { .compatible = "samsung,exynos7-dw-mshc",
                      .data = &exynos_drv_data, },       { .compatible =
"samsung,exynos7-dw-mshc-smu",                       .data = &exynos_drv_data,
},       {}, };
stay vim arch/arm/boot/dts/exynos4412.dtsi
mshc_0: mmc@12550000 {                        compatible =
"samsung,exynos4412-dw-mshc";                        reg = <0x12550000 0x1000>;
                       interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;          
             #address-cells = <1>;                        #size-cells = <0>;  
                     fifo-depth = <0x80>;                        clocks =
<&clock CLK_SDMMC4>, <&clock CLK_SCLK_MMC4>;                        clock-names
= "biu", "ciu";                        status = "disabled";               };
And reference exynos4412-origen.dts
&mshc_0 {        pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>;      
 pinctrl-names = "default";        status = "okay"; ​        broken-cd;      
 card-detect-delay = <200>;        samsung,dw-mshc-ciu-div = <3>;      
 samsung,dw-mshc-sdr-timing = <2 3>;        samsung,dw-mshc-ddr-timing = <1 2>;
       bus-width = <8>;        cap-mmc-highspeed; };
So we are exynos4412-tiny4412.dts Also add the above

in addition ,make menuconfig Configuration add
Device Drivers  --->    <*> MMC/SD/SDIO card support  --->        <*>   MMC
block device driver (NEW)        <*>   Synopsys DesignWare Memory Card
Interface         <*>     Exynos specific extensions for Synopsys DW Memory
Card Interface
After startup

 
/ # fdisk -l Disk /dev/mmcblk0: 15.7 GB, 15707668480 bytes 255 heads, 63
sectors/track, 1909 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System /dev/mmcblk0p1 20 1910 15184896 c Win95
FAT32 (LBA) Disk /dev/mmcblk1: 7818 MB, [ 181.275363] dma-pl330 12680000.pdma:
Reset Channel-1 CS-20000f FTC-20000 83 Linux Partition table entries are not in
disk order / # ls /dev/mmcblk0 /dev/mmcblk0
 

Technology
©2019-2020 Toolsou All rights reserved,
SQL Server Database Glossary CSS Animation effect dedecms Website is hacked How to solve hijacking to other websites Count the number of letters (java Language implementation )Java Basics ( Three ) String In depth analysis The difference between static method and non static method And storage location Django Personal blog building tutorial --- Time classified archiving Keras Save and load model (JSON+HDF5)hive Summary of processing methods for a large number of small files Website mobile phone number capture method