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: 3f9efbbe57bc ("arm64: tegra: Add support for Jetson Xavier NX") Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
33 lines
712 B
Plaintext
33 lines
712 B
Plaintext
// SPDX-License-Identifier: GPL-2.0
|
|
#include "tegra194-p3668.dtsi"
|
|
|
|
/ {
|
|
model = "NVIDIA Jetson Xavier NX (SD-card)";
|
|
compatible = "nvidia,p3668-0000", "nvidia,tegra194";
|
|
|
|
aliases {
|
|
mmc0 = "/bus@0/mmc@3400000";
|
|
};
|
|
|
|
bus@0 {
|
|
/* SDMMC1 (SD/MMC) */
|
|
mmc@3400000 {
|
|
status = "okay";
|
|
bus-width = <4>;
|
|
cd-gpios = <&gpio TEGRA194_MAIN_GPIO(G, 7) GPIO_ACTIVE_LOW>;
|
|
disable-wp;
|
|
vmmc-supply = <&vdd_3v3_sd>;
|
|
};
|
|
};
|
|
|
|
vdd_3v3_sd: regulator@0 {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "VDD_3V3_SD";
|
|
regulator-min-microvolt = <3300000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
gpio = <&gpio TEGRA194_MAIN_GPIO(G, 2) GPIO_ACTIVE_HIGH>;
|
|
regulator-boot-on;
|
|
enable-active-high;
|
|
};
|
|
};
|