hc
2025-02-14 bbb9540dc49f70f6b703d1c8d1b85fa5f602d86e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
// SPDX-License-Identifier: GPL-2.0
/dts-v1/;
 
#include "tegra30-cardhu.dtsi"
#include "tegra30-cpu-opp.dtsi"
#include "tegra30-cpu-opp-microvolt.dtsi"
 
/* This dts file support the cardhu A04 and later versions of board */
 
/ {
   model = "NVIDIA Tegra30 Cardhu A04 (A05, A06, A07) evaluation board";
   compatible = "nvidia,cardhu-a04", "nvidia,cardhu", "nvidia,tegra30";
 
   mmc@78000400 {
       status = "okay";
       power-gpios = <&gpio TEGRA_GPIO(D, 3) GPIO_ACTIVE_HIGH>;
       bus-width = <4>;
       keep-power-in-suspend;
   };
 
   ddr_reg: regulator@100 {
       compatible = "regulator-fixed";
       regulator-name = "ddr";
       regulator-min-microvolt = <1500000>;
       regulator-max-microvolt = <1500000>;
       regulator-always-on;
       regulator-boot-on;
       enable-active-high;
       gpio = <&pmic 7 GPIO_ACTIVE_HIGH>;
   };
 
   sys_3v3_reg: regulator@101 {
       compatible = "regulator-fixed";
       regulator-name = "sys_3v3";
       regulator-min-microvolt = <3300000>;
       regulator-max-microvolt = <3300000>;
       regulator-always-on;
       regulator-boot-on;
       enable-active-high;
       gpio = <&pmic 6 GPIO_ACTIVE_HIGH>;
   };
 
   usb1_vbus_reg: regulator@102 {
       compatible = "regulator-fixed";
       regulator-name = "usb1_vbus";
       regulator-min-microvolt = <5000000>;
       regulator-max-microvolt = <5000000>;
       enable-active-high;
       gpio = <&gpio TEGRA_GPIO(DD, 6) GPIO_ACTIVE_HIGH>;
       gpio-open-drain;
       vin-supply = <&vdd_5v0_reg>;
   };
 
   usb3_vbus_reg: regulator@103 {
       compatible = "regulator-fixed";
       regulator-name = "usb3_vbus";
       regulator-min-microvolt = <5000000>;
       regulator-max-microvolt = <5000000>;
       enable-active-high;
       gpio = <&gpio TEGRA_GPIO(DD, 4) GPIO_ACTIVE_HIGH>;
       gpio-open-drain;
       vin-supply = <&vdd_5v0_reg>;
   };
 
   vdd_5v0_reg: regulator@104 {
       compatible = "regulator-fixed";
       regulator-name = "5v0";
       regulator-min-microvolt = <5000000>;
       regulator-max-microvolt = <5000000>;
       enable-active-high;
       gpio = <&pmic 8 GPIO_ACTIVE_HIGH>;
   };
 
   vdd_bl_reg: regulator@105 {
       compatible = "regulator-fixed";
       regulator-name = "vdd_bl";
       regulator-min-microvolt = <5000000>;
       regulator-max-microvolt = <5000000>;
       regulator-always-on;
       regulator-boot-on;
       enable-active-high;
       gpio = <&gpio TEGRA_GPIO(DD, 2) GPIO_ACTIVE_HIGH>;
   };
 
   vdd_bl2_reg: regulator@106 {
       compatible = "regulator-fixed";
       regulator-name = "vdd_bl2";
       regulator-min-microvolt = <5000000>;
       regulator-max-microvolt = <5000000>;
       regulator-always-on;
       regulator-boot-on;
       enable-active-high;
       gpio = <&gpio TEGRA_GPIO(DD, 0) GPIO_ACTIVE_HIGH>;
   };
 
   i2c@7000d000 {
       pmic: tps65911@2d {
           regulators {
               vddctrl_reg: vddctrl {
                   regulator-min-microvolt = <800000>;
                   regulator-max-microvolt = <1125000>;
                   regulator-coupled-with = <&vddcore_reg>;
                   regulator-coupled-max-spread = <300000>;
                   regulator-max-step-microvolt = <100000>;
 
                   nvidia,tegra-cpu-regulator;
               };
           };
       };
 
       vddcore_reg: tps62361@60 {
           regulator-coupled-with = <&vddctrl_reg>;
           regulator-coupled-max-spread = <300000>;
           regulator-max-step-microvolt = <100000>;
 
           nvidia,tegra-core-regulator;
       };
   };
 
   cpus {
       cpu0: cpu@0 {
           cpu-supply = <&vddctrl_reg>;
           operating-points-v2 = <&cpu0_opp_table>;
       };
 
       cpu@1 {
           cpu-supply = <&vddctrl_reg>;
           operating-points-v2 = <&cpu0_opp_table>;
       };
 
       cpu@2 {
           cpu-supply = <&vddctrl_reg>;
           operating-points-v2 = <&cpu0_opp_table>;
       };
 
       cpu@3 {
           cpu-supply = <&vddctrl_reg>;
           operating-points-v2 = <&cpu0_opp_table>;
       };
   };
};