0001 // SPDX-License-Identifier: GPL-2.0
0002 #include "tegra194-p3668.dtsi"
0003
0004 / {
0005 model = "NVIDIA Jetson Xavier NX (SD-card)";
0006 compatible = "nvidia,p3668-0000", "nvidia,tegra194";
0007
0008 aliases {
0009 mmc0 = "/bus@0/mmc@3400000";
0010 };
0011
0012 bus@0 {
0013 /* SDMMC1 (SD/MMC) */
0014 mmc@3400000 {
0015 status = "okay";
0016 bus-width = <4>;
0017 cd-gpios = <&gpio TEGRA194_MAIN_GPIO(G, 7) GPIO_ACTIVE_LOW>;
0018 disable-wp;
0019 vmmc-supply = <&vdd_3v3_sd>;
0020 };
0021 };
0022
0023 vdd_3v3_sd: regulator-vdd-3v3-sd {
0024 compatible = "regulator-fixed";
0025 regulator-name = "VDD_3V3_SD";
0026 regulator-min-microvolt = <3300000>;
0027 regulator-max-microvolt = <3300000>;
0028 gpio = <&gpio TEGRA194_MAIN_GPIO(G, 2) GPIO_ACTIVE_HIGH>;
0029 regulator-boot-on;
0030 enable-active-high;
0031 };
0032 };