Beaglebone black MMC3

Hi,

Configuring MMC3 for SDIO communiction. I have configured pins as below, but still sdio communication is not up.

If clock is not enabled by default how can it be done in device tree,

mmc3_pins: pinmux_mmc3_pins {
pinctrl-single,pins = <
0x3C (PIN_INPUT_PULLUP | MUX_MODE3) /* mmc2_dat3 /
0x38 (PIN_INPUT_PULLUP | MUX_MODE3) /
mmc2_dat2 /
0x34 (PIN_INPUT_PULLUP | MUX_MODE3) /
mmc2_dat1 /
0x30 (PIN_INPUT_PULLUP | MUX_MODE3) /
mmc2_dat0 /
0x8c (PIN_INPUT_PULLUP | MUX_MODE3) /
mmc2_clk /
0x88 (PIN_INPUT_PULLUP | MUX_MODE3) /
mmc2_cmd */

;
};

&mmc3 {
/* these are on the crossbar and are outlined in the
xbar-event-map element */
dmas = <&edma 32 &edma 33>;
dma-names = “tx”, “rx”;

status = “okay”;
vmmc-supply = <&wl12xx_vmmc>;
ti,non-removable;
bus-width = <4>;
cap-power-off-card;
pinctrl-names = “default”;
pinctrl-0 = <&mmc3_pins>;

#address-cells = <1>;
#size-cells = <0>;
wlcore: wlcore@2 {
compatible = “ti,wl1271”;
reg = <2>;
interrupt-parent = <&gpio0>;
interrupts = <26 0x4>; /* gpio 31 */
ref-clock-frequency = <38400000>;
};
};

&edma {
ti,edma-xbar-event-map = /bits/ 16 <1 32 2 33>;
};

wl12xx_vmmc: fixedregulator@2 {
pinctrl-names = “default”;
pinctrl-0 = <&wl12xx_gpio>;
compatible = “regulator-fixed”;
regulator-name = “vwl1271”;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
gpio = <&gpio0 27 0>;
startup-delay-us = <70000>;
enable-active-high;
};

dmesg log shows:

[ 4.259093] omap_hsmmc 47810000.mmc: unable to get vmmc regulator -517

You may have to mess with some kernel source files: http://beagleboard.org/Community/Forums?place=topic%2Fbeagleboard%2FpPX-7HSt9E0%2Fdiscussion