Hi, all
The following are DTS for mmc0 in my am335x based board:
mmc0: mmc@0x48060000 {
compatible = "ti,omap4-hsmmc";
pinctrl-names = "default";
pinctrl-0 = <&mmc0_pins>;
reg = <0x48060000 0x400>;
interrupts = <64>;
ti,hwmods = "mmc1";
bus-width = <4>;
max-frequency = <50000000>; /* 50MHz */
cd-gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>; /* SD_DET, GPIO_ACTIVE_HIGH = 0, GPIO_ACTIVE_LOW = 1 */
/*wp-gpios = <&gpiox y 0>;*/
ti,dual-volt;
vmmc-supply = <&vmmc>; /* phandle to regulator node */
ti,non-removable;
dmas = <&edma 43 /* read channel */
&edma 42>; /* write channel */
dma-names = "rx", "tx";
status = "okay";
};
mmc driver (omap_hsmmc.c) can be loaded, and the driver can detect state of card inserted or removed. But device node "/dev/mmcblk.0" can not be found unless a pr_info() is placed in function omap_hsmmc_request(..). As my understanding, the pr_info() plays a role of delay, which means something is not ready. Need some help to figure it out. Thanks!
BR
Cheng Shi