1// SPDX-License-Identifier: GPL-2.0
2#include "tegra194-p3668.dtsi"
3
4/ {
5	model = "NVIDIA Jetson Xavier NX (SD-card)";
6	compatible = "nvidia,p3668-0000", "nvidia,tegra194";
7
8	aliases {
9		mmc0 = "/bus@0/mmc@3400000";
10	};
11
12	bus@0 {
13		/* SDMMC1 (SD/MMC) */
14		mmc@3400000 {
15			status = "okay";
16			bus-width = <4>;
17			cd-gpios = <&gpio TEGRA194_MAIN_GPIO(G, 7) GPIO_ACTIVE_LOW>;
18			disable-wp;
19			vmmc-supply = <&vdd_3v3_sd>;
20		};
21	};
22
23	vdd_3v3_sd: regulator-vdd-3v3-sd {
24		compatible = "regulator-fixed";
25		regulator-name = "VDD_3V3_SD";
26		regulator-min-microvolt = <3300000>;
27		regulator-max-microvolt = <3300000>;
28		gpio = <&gpio TEGRA194_MAIN_GPIO(G, 2) GPIO_ACTIVE_HIGH>;
29		regulator-boot-on;
30		enable-active-high;
31	};
32};
33