I'm trying to use MicroSD on a custom carrier board

Please compare your full dts with this one.

If all the properties are same, then we should check the hardware design.

1 Like

Hello,

Are you talking about this file?

Thank you.

Hello,

I’m using the diff function of the editor to compare.
It seems that there are other parts.

I don’t know when I see it.
Could you please confirm?

tegra210-p3448-0002-p3449-0000-b00_my.dts (327.0 KB)
tegra210-p3448-0002-p3449-0000-b00.dts (349.1 KB)

Thank you.

Just compare the sdmmc3 controller part…

Hello,

Everything seems to be the same except for the address value.
May I ask you to cross check the file I gave you?
I’m not sure

Thank you.

Sdmmc3 controller means the sdhci where you added the cd gpios and always-on property

Hello,

The left is the dts file I made, and the right is the dts file I told you to compare.
Something is different. And vmmc-always-on is not applied to the dts file you told me to compare.

Thank you.

Just add those missing on your side back. Except the phandle.

And don’t remove the always-on. It is needed.

1 Like

Hello,

Thank you for your hard work.

everything you told me
tegra210-porg-p3448-common.dtsi

I have added it to sdhci@700b0400
Can I add it here as well?

Thank you.

Hello,

Is it possible to exclude all lines containing phandle as follows?
linux,phandle = <0xc4>;
phandle = <0xc4>;

phandle is just a id and it differs on each person’s device tree. Thus, no need to care about others’ phandle.

1 Like

Hello,

sd card still not recognized
dmesg is attached.

dmesg12.txt (84.1 KB)

Thank you.

Please also share me the full dts.

1 Like

Hello,

heres full dts.
tegra210-p3448-0002-p3449-0000-b00.dts (327.2 KB)

Thank you.

non-removable;

This is not needed. Please remove it.

Can you also try a hotplug case and share log? Do not plug the sdcard during boot. Hotplug it after system boots up.

1 Like

Hello,

here’s.
dmesg_after_boot.txt (63.7 KB)
dmesg_after_boot_and_hotplug.txt (67.9 KB)

Thank you.

Hi,

Can you measure and check if there is 3.3v on the sdmmc power source when you insert the card?

1 Like

Hello,

Where can I take pictures with an oscilloscope?

Thank you.

Hello,

It is exactly 3.3v.

Thank you.

Hello, @WayneWWW

I checked it up to 3.3v.
What can we do now?

Thank you.