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	bus@0 {
9		/* SDMMC1 (SD/MMC) */
10		mmc@3400000 {
11			status = "okay";
12			bus-width = <4>;
13			cd-gpios = <&gpio TEGRA194_MAIN_GPIO(G, 7) GPIO_ACTIVE_LOW>;
14			disable-wp;
15			vmmc-supply = <&vdd_3v3_sd>;
16		};
17	};
18
19	vdd_3v3_sd: regulator@0 {
20		compatible = "regulator-fixed";
21		regulator-name = "VDD_3V3_SD";
22		regulator-min-microvolt = <3300000>;
23		regulator-max-microvolt = <3300000>;
24		gpio = <&gpio TEGRA194_MAIN_GPIO(G, 2) GPIO_ACTIVE_HIGH>;
25		regulator-boot-on;
26		enable-active-high;
27	};
28};
29