mmc1 configuration mismatch between device tree and kernel driver

Hi all,

I am trying to activate an atwilc1000 WiFi module which is connected to the custom board that uses the nvidia TX2 module, throught the following sdio pins:

sdmmc1_clk
sdmmc1_cmd
sdmmc1_dat0
sdmmc1_dat1
sdmmc1_dat2
sdmmc1_dat3

When running the linux I verified from the dmesg log that the mmc1 device was loaded using the sdhci.3440000 as shown below:

[    1.360243] mmc1: SDHCI controller on 3440000.sdhci [3440000.sdhci] using ADMA 64-bit with 64 bit addr

But I verified that the sdhci address shown in the device tree file tegra186-soc-sdhci.dtsi is diferent from the address got on dmesg:

sdmmc1: sdhci@3400000 {

Actually the sdhci@3440000 is configured on sdmmc3:

sdmmc3: sdhci@3440000 {

Is there another place on device tree or linux kernel that could be changing this mmc1 sdhci address?

How can I configure the mmc1 to get it working into the address I need to get the wifi working?

I really appreciate your help!!

Thanks in advance and best regards,

Ricardo

Hi

mmc"1" is more like a result of enumeration. For example, if another mmc device is initialized before mmc1, then it is called mmc0. It is not related to sdmmc0/1/2/3.