Cannot use SD card on TX2 NX module

I used TX2 NX to carry our own mounts, but I could not identify the SD card when using jetpack4.6. The same board, equipped with XavierNX module, jetpack4.6 system, can normally use SD card. Mmc1 can be viewed through the “dmesg” message.

nvidia@nvidia-desktop:~$ dmesg | grep mmc1
[ 0.501685] vddio-sdmmc1: 1800 <–> 3300 mV at 3300 mV
[ 1.465535] mmc1: SDHCI controller on 3440000.sdhci [3440000.sdhci] using ADMA 64-bit with 64 bit addr
[ 31.818334] vddio-sdmmc1: disabling

The modified device tree is as follows:
sdhci_y_c6:sdhci@3440000 {
status = “okay”;
mmc-ocr-mask = <3>;
sd-uhs-sdr104;
sd-uhs-sdr50;
sd-uhs-sdr25;
sd-uhs-sdr12;
mmc-ddr-1_8v;
mmc-hs200-1_8v;
vmmc-supply = <&spmic_sd3>;
cd-gpio = <&tegra_main_gpio TEGRA_MAIN_GPIO(L,1) 0>;
/*
/delete-property/ non-removable;
/delete-property/ force-non-removable-rescan;
*/
};

Sorry for the late response, is this still an issue to support?

Thanks

Please add nvidia,vmmc-always-on if your vmmc-supply does not have gpio to control the ON/OFF.

It’s been settled。The device tree that I can use is as follows:

    sdhci_y_c6:sdhci@3440000 {
            status = "okay";
            mmc-ocr-mask = <3>;
            sd-uhs-sdr104;
            sd-uhs-sdr50;
            sd-uhs-sdr25;
            sd-uhs-sdr12;
            mmc-ddr-1_8v;
            mmc-hs200-1_8v;
            vmmc-supply = <&spmic_sd3>;
            nvidia,vmmc-always-on;
            cd-gpio = <&tegra_main_gpio TEGRA_MAIN_GPIO(L,1) 0>;
            /delete-property/ non-removable;
            /delete-property/ force-non-removable-rescan;
            /delete-property/ only-1-8-v;
    };
1 Like

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