Skip to content

Commit bb05e11

Browse files
jonhunterthierryreding
authored andcommitted
arm64: tegra: Fix mmc0 alias for Jetson Xavier NX
There are two variants of the Jetson Xavier NX platform; one has an eMMC and one as a micro SD-card slot. The SDHCI controller used by each variant is different, however, the current device-tree for both Xavier NX boards have the same SDHCI controller defined as 'mmc0' in the device-tree alias node. Fix this by correcting the 'mmc0' alias for the SD-card variant. Fixes: 3f9efbb ("arm64: tegra: Add support for Jetson Xavier NX") Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
1 parent 75c82a2 commit bb05e11

3 files changed

Lines changed: 8 additions & 1 deletion

File tree

arch/arm64/boot/dts/nvidia/tegra194-p3668-0000.dtsi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
model = "NVIDIA Jetson Xavier NX (SD-card)";
66
compatible = "nvidia,p3668-0000", "nvidia,tegra194";
77

8+
aliases {
9+
mmc0 = "/bus@0/mmc@3400000";
10+
};
11+
812
bus@0 {
913
/* SDMMC1 (SD/MMC) */
1014
mmc@3400000 {

arch/arm64/boot/dts/nvidia/tegra194-p3668-0001.dtsi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
model = "NVIDIA Jetson Xavier NX (eMMC)";
66
compatible = "nvidia,p3668-0001", "nvidia,tegra194";
77

8+
aliases {
9+
mmc0 = "/bus@0/mmc@3460000";
10+
};
11+
812
bus@0 {
913
/* SDMMC4 (eMMC) */
1014
mmc@3460000 {

arch/arm64/boot/dts/nvidia/tegra194-p3668.dtsi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
i2c5 = "/bus@0/i2c@31c0000";
1515
i2c6 = "/bus@0/i2c@c250000";
1616
i2c7 = "/bus@0/i2c@31e0000";
17-
mmc0 = "/bus@0/mmc@3460000";
1817
rtc0 = "/bpmp/i2c/pmic@3c";
1918
rtc1 = "/bus@0/rtc@c2a0000";
2019
serial0 = &tcu;

0 commit comments

Comments
 (0)