xref: /freebsd-src/sys/contrib/device-tree/src/arm/nvidia/tegra30-cardhu-a04.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2*f126890aSEmmanuel Vadot/dts-v1/;
3*f126890aSEmmanuel Vadot
4*f126890aSEmmanuel Vadot#include "tegra30-cardhu.dtsi"
5*f126890aSEmmanuel Vadot
6*f126890aSEmmanuel Vadot/* This dts file support the cardhu A04 and later versions of board */
7*f126890aSEmmanuel Vadot
8*f126890aSEmmanuel Vadot/ {
9*f126890aSEmmanuel Vadot	model = "NVIDIA Tegra30 Cardhu A04 (A05, A06, A07) evaluation board";
10*f126890aSEmmanuel Vadot	compatible = "nvidia,cardhu-a04", "nvidia,cardhu", "nvidia,tegra30";
11*f126890aSEmmanuel Vadot
12*f126890aSEmmanuel Vadot	mmc@78000400 {
13*f126890aSEmmanuel Vadot		status = "okay";
14*f126890aSEmmanuel Vadot		power-gpios = <&gpio TEGRA_GPIO(D, 3) GPIO_ACTIVE_HIGH>;
15*f126890aSEmmanuel Vadot		bus-width = <4>;
16*f126890aSEmmanuel Vadot		keep-power-in-suspend;
17*f126890aSEmmanuel Vadot	};
18*f126890aSEmmanuel Vadot
19*f126890aSEmmanuel Vadot	ddr_reg: regulator-ddr {
20*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
21*f126890aSEmmanuel Vadot		regulator-name = "ddr";
22*f126890aSEmmanuel Vadot		regulator-min-microvolt = <1500000>;
23*f126890aSEmmanuel Vadot		regulator-max-microvolt = <1500000>;
24*f126890aSEmmanuel Vadot		regulator-always-on;
25*f126890aSEmmanuel Vadot		regulator-boot-on;
26*f126890aSEmmanuel Vadot		enable-active-high;
27*f126890aSEmmanuel Vadot		gpio = <&pmic 7 GPIO_ACTIVE_HIGH>;
28*f126890aSEmmanuel Vadot	};
29*f126890aSEmmanuel Vadot
30*f126890aSEmmanuel Vadot	sys_3v3_reg: regulator-3v3 {
31*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
32*f126890aSEmmanuel Vadot		regulator-name = "sys_3v3";
33*f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
34*f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
35*f126890aSEmmanuel Vadot		regulator-always-on;
36*f126890aSEmmanuel Vadot		regulator-boot-on;
37*f126890aSEmmanuel Vadot		enable-active-high;
38*f126890aSEmmanuel Vadot		gpio = <&pmic 6 GPIO_ACTIVE_HIGH>;
39*f126890aSEmmanuel Vadot	};
40*f126890aSEmmanuel Vadot
41*f126890aSEmmanuel Vadot	usb1_vbus_reg: regulator-usb1 {
42*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
43*f126890aSEmmanuel Vadot		regulator-name = "usb1_vbus";
44*f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
45*f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
46*f126890aSEmmanuel Vadot		enable-active-high;
47*f126890aSEmmanuel Vadot		gpio = <&gpio TEGRA_GPIO(DD, 6) GPIO_ACTIVE_HIGH>;
48*f126890aSEmmanuel Vadot		gpio-open-drain;
49*f126890aSEmmanuel Vadot		vin-supply = <&vdd_5v0_reg>;
50*f126890aSEmmanuel Vadot	};
51*f126890aSEmmanuel Vadot
52*f126890aSEmmanuel Vadot	usb3_vbus_reg: regulator-usb3 {
53*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
54*f126890aSEmmanuel Vadot		regulator-name = "usb3_vbus";
55*f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
56*f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
57*f126890aSEmmanuel Vadot		enable-active-high;
58*f126890aSEmmanuel Vadot		gpio = <&gpio TEGRA_GPIO(DD, 4) GPIO_ACTIVE_HIGH>;
59*f126890aSEmmanuel Vadot		gpio-open-drain;
60*f126890aSEmmanuel Vadot		vin-supply = <&vdd_5v0_reg>;
61*f126890aSEmmanuel Vadot	};
62*f126890aSEmmanuel Vadot
63*f126890aSEmmanuel Vadot	vdd_5v0_reg: regulator-5v0 {
64*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
65*f126890aSEmmanuel Vadot		regulator-name = "5v0";
66*f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
67*f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
68*f126890aSEmmanuel Vadot		enable-active-high;
69*f126890aSEmmanuel Vadot		gpio = <&pmic 8 GPIO_ACTIVE_HIGH>;
70*f126890aSEmmanuel Vadot	};
71*f126890aSEmmanuel Vadot
72*f126890aSEmmanuel Vadot	vdd_bl_reg: regulator-bl {
73*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
74*f126890aSEmmanuel Vadot		regulator-name = "vdd_bl";
75*f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
76*f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
77*f126890aSEmmanuel Vadot		regulator-always-on;
78*f126890aSEmmanuel Vadot		regulator-boot-on;
79*f126890aSEmmanuel Vadot		enable-active-high;
80*f126890aSEmmanuel Vadot		gpio = <&gpio TEGRA_GPIO(DD, 2) GPIO_ACTIVE_HIGH>;
81*f126890aSEmmanuel Vadot	};
82*f126890aSEmmanuel Vadot
83*f126890aSEmmanuel Vadot	vdd_bl2_reg: regulator-bl2 {
84*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
85*f126890aSEmmanuel Vadot		regulator-name = "vdd_bl2";
86*f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
87*f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
88*f126890aSEmmanuel Vadot		regulator-always-on;
89*f126890aSEmmanuel Vadot		regulator-boot-on;
90*f126890aSEmmanuel Vadot		enable-active-high;
91*f126890aSEmmanuel Vadot		gpio = <&gpio TEGRA_GPIO(DD, 0) GPIO_ACTIVE_HIGH>;
92*f126890aSEmmanuel Vadot	};
93*f126890aSEmmanuel Vadot};
94