I have custom design with Jetson Nano (SOM from devkit 945-13450-0000-100). This design has two variants, A - uSD card mount, B - eMMC (never mount both parts). OS is on uSD card in SOM.
These memory is for files, not for OS. I tried run up only uSD card and it doesn’t recognize in system.
I change device tree, for SDMMC3 now I have (:
sdhci@700b0400 {
default-drv-type = <1>;
cd-gpios = <64 0>;
sd-uhs-sdr104;
sd-uhs-sdr50;
sd-uhs-sdr25;
sd-uhs-sdr12;
mmc-ddr-1_8v;
mmc-hs200-1_8v;
nvidia,cd-wakeup-capable;
nvidia,update-pinctrl-settings;
nvidia,pmc-wakeup = <&tegra_pmc PMC_WAKE_TYPE_GPIO 35 PMC_TRIGGER_TYPE_NONE>;
uhs-mask = <0xc>;
no-sdio;
no-mmc;
disable-wp;
status = “okay”;
}
I have few question about device tree and section sdhci@700b0400:
what does the line mean: default-drv-type = <1>;? This line is set the priority where the system is search?
cd-gpios = <64 0>; I assume that this is place to set pin card detect (pin 130 = PI.00 = 64. Is it correct?
what is “nvidia,cd-wakeup-capable;”?
Which type pin I must set in: “nvidia,pmc-wakeup = <&tegra_pmc PMC_WAKE_TYPE_GPIO 35 PMC_TRIGGER_TYPE_NONE>;”
Where I can set SD_PWR_EN?
Which difference will be in device tree when I want to use only eMMC circuit (schematic B, memory for files, not for OS).
What is parameters: sd-uhs-sdr* ?
After your answer on above question I will modify device tree then show logs from kernel.
I have custom carrier board design with Jetson nano. In the first message is schematic for circuit contain memory. On first time, I want to focus on schematic contain uSD card assembly. When it will works I want to run eMMC circuit (of course uSD will not use).
I have one custom design where is possibility to assembly uSD card slot or eMMC card which are connected to sdmm3 interface (in fist message were schematics contain assembly circuits). We will not assembly uSD and eMMD together on one PCB. Our SOM has uSD slot where is card with OS (operating system - Linux).
Please check this post. Or any other sdmmc3 post on nano forum. This is a very common question here. Not new issue.
If you have any problem after modifying dts, share the dmesg, full dts (de-compiled from dtb).
As my previous comment said, the only thing you need to care about is vmmc-supply, cd-gpios and if your vmmc-supply is a always-on, you need to add the always on property in your sdhci.
Besides the module, for the sdmmc3, actually you only need to care about vmmc-supply, cd-gpios and if you want to support hotplug, you need to remove non-removable.
The rest of dts should be same and you shouldn’t change it.
I have som from devkit 945-13450-0000-100. Carrier board is our custom design. I want to have two uSD card.
I was reading a moment ago post Jetson Nano Enable SDMMC3 for SD card - #7 by WayneWWW. Is it means that I did the same mistake like in above link.
Our custom design have possibility to use eMMC on the same port - SDMMC3 (please see first message, there is schematic with two assembly).
My target is use only eMMC, without SD card.
Ok, I can skip develop SD card and I can start with eMMC card on SDMMC3 (I assume that main memory where is Linux will be in SOM). Is it correct when I use SDMMC4 configuration device tree for to SDMMC3 like below (I changed only bus width and hs400 to hs200)?
uhs-mask = <0x0>;
mmc-hs200-enhanced-strobe;
built-in;
power-off-rail;
status = “okay”;
bus-width = <4>;
non-removable;
/delete-property/ nvidia,enable-hs533-mode;
no-sdio;
no-sd;
pll_source = “pll_p”, “pll_c4_out2”;
max-clk-limit = <0xbebc200>;
Do I have to change something in tegra210-sdhci.dtsi?
And I already said before. The only thing you need to care about is vmmc-supply,cd-gpios and if you want to support hotplug, you need to remove non-removable.
You shouldn’t change the other things. Search sdmmc3 on this forum and you will find lots lots of topics regarding to this.