This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/PROCESSOR-SDK-AM335X: Cannot enable MMC2

Part Number: PROCESSOR-SDK-AM335X

Tool/software: Linux

Hi,

Cannot Enable MMC-2 , Below are my details,

Kernel Log :

root@txsky:~# dmesg | grep "4781000"
[    1.546007] omap_hsmmc 47810000.mmc: GPIO lookup for consumer cd
[    1.546019] omap_hsmmc 47810000.mmc: using device tree for GPIO lookup
[    1.546031] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@47810000[0]'
[    1.546038] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@47810000[0]'
[    1.546043] omap_hsmmc 47810000.mmc: using lookup tables for GPIO lookup
[    1.546050] omap_hsmmc 47810000.mmc: lookup for GPIO cd failed
[    1.546058] omap_hsmmc 47810000.mmc: GPIO lookup for consumer wp
[    1.546064] omap_hsmmc 47810000.mmc: using device tree for GPIO lookup
[    1.546070] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@47810000[0]'
[    1.546077] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@47810000[0]'
[    1.546083] omap_hsmmc 47810000.mmc: using lookup tables for GPIO lookup
[    1.546090] omap_hsmmc 47810000.mmc: lookup for GPIO wp failed
[    1.546304] OF: /ocp/mmc@47810000: could not get #dma-cells for /ocp/l4_wkup@44c00000/prcm@200000/clocks/sysclkout_pre_ck@700
[    1.557766] omap_hsmmc 47810000.mmc: RX DMA channel request failed
root@txsky:~#

DTS :

&mmc3 {

      /* these are on the crossbar and are outlined in the
          xbar-event-map element */
      dmas = <&edma 30
              &edma 31>;
      dma-names = "tx", "rx";
      status = "okay";
      enable-sdio-wakeup;
      vmmc-supply = <&wlan_en_reg>;
      bus-width = <4>;
      pinctrl-names = "default";
      pinctrl-0 = <&mmc2_pins &wlan_pins>;
      ti,non-removable;
      ti,needs-special-hs-handling;
      cap-power-off-card;
      keep-power-in-suspend;
};

I tried with the following DMA configurations also,

      dmas = <&edma 12
                     &edma 13>;

 

But its not Working. Please help me to resolve this issue .