xref: /OK3568_Linux_fs/kernel/arch/arm/boot/dts/tegra30-cardhu-a02.dts (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun// SPDX-License-Identifier: GPL-2.0
2*4882a593Smuzhiyun/dts-v1/;
3*4882a593Smuzhiyun
4*4882a593Smuzhiyun#include "tegra30-cardhu.dtsi"
5*4882a593Smuzhiyun
6*4882a593Smuzhiyun/* This dts file support the cardhu A02 version of board */
7*4882a593Smuzhiyun
8*4882a593Smuzhiyun/ {
9*4882a593Smuzhiyun	model = "NVIDIA Tegra30 Cardhu A02 evaluation board";
10*4882a593Smuzhiyun	compatible = "nvidia,cardhu-a02", "nvidia,cardhu", "nvidia,tegra30";
11*4882a593Smuzhiyun
12*4882a593Smuzhiyun	mmc@78000400 {
13*4882a593Smuzhiyun		status = "okay";
14*4882a593Smuzhiyun		power-gpios = <&gpio TEGRA_GPIO(D, 4) GPIO_ACTIVE_HIGH>;
15*4882a593Smuzhiyun		bus-width = <4>;
16*4882a593Smuzhiyun		keep-power-in-suspend;
17*4882a593Smuzhiyun	};
18*4882a593Smuzhiyun
19*4882a593Smuzhiyun	ddr_reg: regulator@100 {
20*4882a593Smuzhiyun		compatible = "regulator-fixed";
21*4882a593Smuzhiyun		regulator-name = "vdd_ddr";
22*4882a593Smuzhiyun		regulator-min-microvolt = <1500000>;
23*4882a593Smuzhiyun		regulator-max-microvolt = <1500000>;
24*4882a593Smuzhiyun		regulator-always-on;
25*4882a593Smuzhiyun		regulator-boot-on;
26*4882a593Smuzhiyun		enable-active-high;
27*4882a593Smuzhiyun		gpio = <&pmic 6 GPIO_ACTIVE_HIGH>;
28*4882a593Smuzhiyun	};
29*4882a593Smuzhiyun
30*4882a593Smuzhiyun	sys_3v3_reg: regulator@101 {
31*4882a593Smuzhiyun		compatible = "regulator-fixed";
32*4882a593Smuzhiyun		regulator-name = "sys_3v3";
33*4882a593Smuzhiyun		regulator-min-microvolt = <3300000>;
34*4882a593Smuzhiyun		regulator-max-microvolt = <3300000>;
35*4882a593Smuzhiyun		regulator-always-on;
36*4882a593Smuzhiyun		regulator-boot-on;
37*4882a593Smuzhiyun		enable-active-high;
38*4882a593Smuzhiyun		gpio = <&pmic 7 GPIO_ACTIVE_HIGH>;
39*4882a593Smuzhiyun	};
40*4882a593Smuzhiyun
41*4882a593Smuzhiyun	usb1_vbus_reg: regulator@102 {
42*4882a593Smuzhiyun		compatible = "regulator-fixed";
43*4882a593Smuzhiyun		regulator-name = "usb1_vbus";
44*4882a593Smuzhiyun		regulator-min-microvolt = <5000000>;
45*4882a593Smuzhiyun		regulator-max-microvolt = <5000000>;
46*4882a593Smuzhiyun		enable-active-high;
47*4882a593Smuzhiyun		gpio = <&gpio TEGRA_GPIO(I, 4) GPIO_ACTIVE_HIGH>;
48*4882a593Smuzhiyun		gpio-open-drain;
49*4882a593Smuzhiyun		vin-supply = <&vdd_5v0_reg>;
50*4882a593Smuzhiyun	};
51*4882a593Smuzhiyun
52*4882a593Smuzhiyun	usb3_vbus_reg: regulator@103 {
53*4882a593Smuzhiyun		compatible = "regulator-fixed";
54*4882a593Smuzhiyun		regulator-name = "usb3_vbus";
55*4882a593Smuzhiyun		regulator-min-microvolt = <5000000>;
56*4882a593Smuzhiyun		regulator-max-microvolt = <5000000>;
57*4882a593Smuzhiyun		enable-active-high;
58*4882a593Smuzhiyun		gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_HIGH>;
59*4882a593Smuzhiyun		gpio-open-drain;
60*4882a593Smuzhiyun		vin-supply = <&vdd_5v0_reg>;
61*4882a593Smuzhiyun	};
62*4882a593Smuzhiyun
63*4882a593Smuzhiyun	vdd_5v0_reg: regulator@104 {
64*4882a593Smuzhiyun		compatible = "regulator-fixed";
65*4882a593Smuzhiyun		regulator-name = "5v0";
66*4882a593Smuzhiyun		regulator-min-microvolt = <5000000>;
67*4882a593Smuzhiyun		regulator-max-microvolt = <5000000>;
68*4882a593Smuzhiyun		enable-active-high;
69*4882a593Smuzhiyun		gpio = <&pmic 2 GPIO_ACTIVE_HIGH>;
70*4882a593Smuzhiyun	};
71*4882a593Smuzhiyun
72*4882a593Smuzhiyun	vdd_bl_reg: regulator@105 {
73*4882a593Smuzhiyun		compatible = "regulator-fixed";
74*4882a593Smuzhiyun		regulator-name = "vdd_bl";
75*4882a593Smuzhiyun		regulator-min-microvolt = <5000000>;
76*4882a593Smuzhiyun		regulator-max-microvolt = <5000000>;
77*4882a593Smuzhiyun		regulator-always-on;
78*4882a593Smuzhiyun		regulator-boot-on;
79*4882a593Smuzhiyun		enable-active-high;
80*4882a593Smuzhiyun		gpio = <&gpio TEGRA_GPIO(K, 3) GPIO_ACTIVE_HIGH>;
81*4882a593Smuzhiyun	};
82*4882a593Smuzhiyun};
83*4882a593Smuzhiyun
84