TX2 NX sdmmc can not enable in custom board

Dear all,

I have a custom board and I can not enable sdmmc3 sd card slot with TX2 NX module. But I can enable sdmmc3 success with Xavier NX in the same board. I use GPIO 7 be sd detect pin.

        sdmmc3: sdhci@3440000 {
                mmc-ocr-mask = <0x0>;
                cd-gpios = <&tegra_aon_gpio TEGRA_AON_GPIO(U, 0) 0>;  // I also try &tegre_main_gpio, but not work.
                mmc-ocr-mask = <0>;
                vmmc-supply = <&spmic_sd3>;
                status = "okay";

Can not find sd card:

Full log:
dmesg.log (60.3 KB)
Full dts:
output.dts (241.2 KB)

If you are using some new release, you need to remove bcmdhd from your device tree. It is using sdmmc3.

1 Like

Thanks Sir.
I use 32.6.1 now and delete the part of hcmdhd. But not work. I will try the older l4t release (32.5.1). Update the result later.

With 32.6.1, remove hcmdhd device tree, the problem can not be solve. Use the same sdmmc3 device tree in 32.5.1, the problem is solved. Sdmmc3 is enable. 32.5.1 will be used in our product.

You better using the device tree directly from 32.5. Not use the one from 32.6.

Though I am not sure what your issue is.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.