hello Wayne.
I found a forum with almost the same configuration such as a circuit diagram and set up the same device tree.
The CD is connected to UART0_RTS * (GPIO3_PD.03).
Still, the SD card could not be detected.
Attached is SDMMC3D and regulator device tree and dmesg.
Do you know what the problem is?
sdhci@700b0400 {
compatible = "nvidia,tegra210-sdhci";
reg = <0x0 0x700b0400 0x0 0x200>;
interrupts = <0x0 0x13 0x4>;
aux-device-name = "sdhci-tegra.2";
iommus = <0x30 0x1b>;
nvidia,runtime-pm-type = <0x0>;
clocks = <0x26 0x45 0x26 0xf3 0x26 0x136 0x26 0xc1>;
clock-names = "sdmmc", "pll_p", "pll_c4_out2", "sdmmc_legacy_tm";
resets = <0x26 0x45>;
reset-names = "sdhci";
status = "okay";
tap-delay = <0x3>;
trim-delay = <0x3>;
mmc-ocr-mask = <0x3>;
max-clk-limit = <0xc28cb00>;
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", "pll_c4_out2";
ignore-pm-notify;
cap-mmc-highspeed;
cap-sd-highspeed;
nvidia,en-io-trim-volt;
nvidia,en-periodic-calib;
cd-inverted;
wp-inverted;
pwrdet-support;
nvidia,min-tap-delay = <0x6a>;
nvidia,max-tap-delay = <0xb9>;
pinctrl-names = "sdmmc_schmitt_enable", "sdmmc_schmitt_disable", "sdmmc_clk_schmitt_enable", "sdmmc_clk_schmitt_disable", "sdmmc_drv_code", "sdmmc_default_drv_code", "sdmmc_e_33v_enable", "sdmmc_e_33v_disable";
pinctrl-0 = <0x8d>;
pinctrl-1 = <0x8e>;
pinctrl-2 = <0x8f>;
pinctrl-3 = <0x90>;
pinctrl-4 = <0x91>;
pinctrl-5 = <0x92>;
pinctrl-6 = <0x93>;
pinctrl-7 = <0x94>;
vqmmc-supply = <0x3b>;
vmmc-supply = <0x95>;
mmc-ddr-1_8v;
uhs-mask = <0x0>;
cd-gpios = <0x5b 0x1b 0x0>;
nvidia,vmmc-always-on;
sd-uhs-sdr104;
sd-uhs-sdr50;
sd-uhs-sdr25;
sd-uhs-sdr12;
mmc-hs200-1_8v;
no-sdio;
no-mmc;
linux,phandle = <0xbd>;
phandle = <0xbd>;
prod-settings {
#prod-cells = <0x3>;
prod_c_ds {
prod = <0x100 0xff0000 0x10000 0x1e0 0xf 0x7 0x1e4 0x30077f7f 0x3000007d>;
};
prod_c_hs {
prod = <0x100 0xff0000 0x10000 0x1e0 0xf 0x7 0x1e4 0x30077f7f 0x3000007d>;
};
prod_c_sdr12 {
prod = <0x100 0xff0000 0x10000 0x1e0 0xf 0x7 0x1e4 0x30077f7f 0x30007b7b>;
};
prod_c_sdr25 {
prod = <0x100 0xff0000 0x10000 0x1e0 0xf 0x7 0x1e4 0x30077f7f 0x30007b7b>;
};
prod_c_sdr50 {
prod = <0x100 0xff0000 0x10000 0x1c0 0xe000 0x8000 0x1e0 0xf 0x7 0x1e4 0x30077f7f 0x30007b7b>;
};
prod_c_sdr104 {
prod = <0x100 0xff0000 0x10000 0x1c0 0xe000 0x4000 0x1e0 0xf 0x7 0x1e4 0x30077f7f 0x30007b7b>;
};
prod_c_ddr52 {
prod = <0x100 0x1fff0000 0x0 0x1e0 0xf 0x7 0x1e4 0x30077f7f 0x30007b7b>;
};
prod {
prod = <0x100 0x1fff000e 0x3090028 0x1c0 0x8001fc0 0x8000040 0x1c4 0x77 0x0 0x120 0x20001 0x1 0x128 0x43000000 0x0 0x1f0 0x80000 0x80000>;
};
};
};
sd3 {
regulator-name = "vdd-1v8";
regulator-min-microvolt = <0x1b7740>;
regulator-max-microvolt = <0x1b7740>;
regulator-always-on;
regulator-boot-on;
maxim,active-fps-source = <0x0>;
regulator-init-mode = <0x2>;
maxim,active-fps-power-up-slot = <0x3>;
maxim,active-fps-power-down-slot = <0x4>;
regulator-enable-ramp-delay = <0xf2>;
regulator-disable-ramp-delay = <0x1ccf0>;
regulator-ramp-delay = <0x6b6c>;
regulator-ramp-delay-scale = <0x168>;
linux,phandle = <0x3b>;
phandle = <0x3b>;
};
regulator@3 {
compatible = "regulator-fixed-sync";
reg = <0x3>;
regulator-name = "vdd-3v3-sd";
regulator-min-microvolt = <0x325aa0>;
regulator-max-microvolt = <0x325aa0>;
gpio = <0x5b 0xcb 0x0>;
enable-active-high;
regulator-boot-on;
vin-supply = <0x4c>;
linux,phandle = <0x95>;
phandle = <0x95>;
dmesg.txt (58.4 KB)
dmesg | grep mmc
[ 0.000000] Kernel command line: tegraid=21.1.2.0.0 ddr_die=4096M@2048M section=512M memtype=0 vpr_resize usb_port_owner_info=0 lane_owner_info=0 emc_max_dvfs=0 touch_id=0@63 video=tegrafb no_console_suspend=1 console=ttyS0,115200n8 debug_uartport=lsport,4 earlyprintk=uart8250-32bit,0x70006000 maxcpus=4 usbcore.old_scheme_first=1 lp0_vec=0x1000@0xff780000 core_edp_mv=1075 core_edp_ma=4000 gpt earlycon=uart8250,mmio32,0x70006000 root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 sdhci_tegra.en_boot_part_access=1 quiet root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 sdhci_tegra.en_boot_part_access=1
[ 0.584907] vddio-sdmmc-ap: 1800 <--> 3300 mV at 3300 mV
[ 0.589538] vddio-sdmmc3-ap: Bringing 2800000uV into 3300000-3300000uV
[ 0.592239] vddio-sdmmc3-ap: 3300 mV
[ 0.613789] tegra210_dvfs: no clock found for sdmmc2_ddr
[ 0.613806] tegra210_dvfs: no clock found for sdmmc4_ddr
[ 0.613860] tegra210_dvfs: no clock found for sdmmc1_ddr
[ 0.613875] tegra210_dvfs: no clock found for sdmmc3_ddr
[ 4.158043] mmc0: SDHCI controller on sdhci-tegra.3 [sdhci-tegra.3] using ADMA 64-bit with 64 bit addr
[ 4.166237] mmc1: SDHCI controller on sdhci-tegra.2 [sdhci-tegra.2] using ADMA 64-bit with 64 bit addr
[ 4.210117] mmc0: new HS400 Enhanced strobe MMC card at address 0001
[ 4.210546] mmcblk0: mmc0:0001 DG4016 14.7 GiB
[ 4.210819] mmcblk0boot0: mmc0:0001 DG4016 partition 1 4.00 MiB
[ 4.211021] mmcblk0boot1: mmc0:0001 DG4016 partition 2 4.00 MiB
[ 4.211175] mmcblk0rpmb: mmc0:0001 DG4016 partition 3 4.00 MiB
[ 4.213845] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17
[ 4.316302] mmc1: Switching to 1.8V signalling voltage failed
[ 4.367818] mmc1: error -110 whilst initialising SD card
[ 5.332605] mmcblk mmc0:0001: Card claimed for testing.
[ 5.361829] Root device found: mmcblk0p1
[ 5.363292] Found dev node: /dev/mmcblk0p1
[ 5.382667] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[ 5.384478] Rootfs mounted over mmcblk0p1
[ 5.763305] EXT4-fs (mmcblk0p1): re-mounted. Opts: (null)
[ 35.956895] vddio-sdmmc-ap: disabling
[ 148.114172] mmc1: Switching to 1.8V signalling voltage failed
[ 148.176416] mmc1: error -110 whilst initialising SD card
[ 153.521733] mmc1: Switching to 1.8V signalling voltage failed
[ 153.584835] mmc1: error -110 whilst initialising SD card