Hello,
It turned out that only a minor modification in the device tree was needed. Here’s my solution for anyone who’s facing the same problem in the future:
look for sdhci@700b0400 in the device tree source. I changed the properties to the following:
sdhci@700b0400 {
compatible = "nvidia,tegra210-sdhci";
reg = <0x0 0x700b0400 0x0 0x200>;
interrupts = <0x0 0x13 0x4>;
iommus = <0x46 0x1b>;
pwrdet-support;
pad-controllers = <0x99 0x1d>;
pad-names = "sdmmc";
nvidia,runtime-pm-type = <0x1>;
status = "okay";
vddio_sdmmc-supply = <0x56>;
vddio_sd_slot-supply = <0x5b>;
tap-delay = <0x1>;
trim-delay = <0x3>;
max-clk-limit = <0xbebc200>;
ddr-clk-limit = <0x2dc6c00>;
bus-width = <0x4>;
calib-3v3-offsets = <0x7d>;
calib-1v8-offsets = <0x7b7b>;
compad-vref-3v3 = <0x7>;
compad-vref-1v8 = <0x7>;
pll_source = "pll_p";
nvidia,en-io-trim-volt;
nvidia,en-periodic-calib;
mmc-ocr-mask = <0x0>;
uhs-mask = <0x60>;
power-off-rail;
nvidia,update-pinctrl-settings;
pinctrl-names = "sdmmc_schmitt_enable", "sdmmc_schmitt_disable", "sdmmc_clk_schmitt_enable", "sdmmc_clk_schmitt_disable", "sdmmc_drv_code", "sdmmc_default_drv_code";
pinctrl-0 = <0x9a>;
pinctrl-1 = <0x9b>;
pinctrl-2 = <0x9c>;
pinctrl-3 = <0x9d>;
pinctrl-4 = <0x9e>;
pinctrl-5 = <0x9f>;
nvidia,sd-device;
};
Maybe you want modify the tree otherwise for a given situation. The key thing was to change status from ‘disabled’ to ‘okay’