mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-04 18:49:41 +00:00

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: 3f9efbbe57
("arm64: tegra: Add support for Jetson Xavier NX")
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
24 lines
401 B
Plaintext
24 lines
401 B
Plaintext
// SPDX-License-Identifier: GPL-2.0
|
|
#include "tegra194-p3668.dtsi"
|
|
|
|
/ {
|
|
model = "NVIDIA Jetson Xavier NX (eMMC)";
|
|
compatible = "nvidia,p3668-0001", "nvidia,tegra194";
|
|
|
|
aliases {
|
|
mmc0 = "/bus@0/mmc@3460000";
|
|
};
|
|
|
|
bus@0 {
|
|
/* SDMMC4 (eMMC) */
|
|
mmc@3460000 {
|
|
status = "okay";
|
|
bus-width = <8>;
|
|
non-removable;
|
|
|
|
vqmmc-supply = <&vdd_1v8ls>;
|
|
vmmc-supply = <&vdd_emmc_3v3>;
|
|
};
|
|
};
|
|
};
|