2 * Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 * You should have received a copy of the GNU General Public License along
15 * with this program; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19 #include <dt-bindings/gpio/tegra-gpio.h>
23 tca9539_74: tca9539@74 {
24 compatible = "ti,tca9539";
28 interrupt-parent = <&gpio>;
29 interrupts = <TEGRA_GPIO(L, 1) 0x0>;
30 #interrupt-cells = <2>;
34 tca9539_77: tca9539@77 {
35 compatible = "ti,tca9539";
39 interrupt-parent = <&gpio>;
40 interrupts = <TEGRA_GPIO(Z, 2) 0x0>;
41 #interrupt-cells = <2>;
47 compatible = "simple-bus";
48 device_type = "fixed-regulators";
52 battery_reg: regulator@0 {
53 compatible = "regulator-fixed";
55 regulator-name = "vdd-ac-bat";
56 regulator-min-microvolt = <5000000>;
57 regulator-max-microvolt = <5000000>;
61 vdd_3v3: regulator@1 {
62 compatible = "regulator-fixed-sync";
64 regulator-name = "vdd-3v3";
65 regulator-min-microvolt = <3300000>;
66 regulator-max-microvolt = <3300000>;
68 gpio = <&max77620 3 0>;
72 regulator-consumer-supply = "avdd_usb";
73 regulator-consumer-device = "tegra-ehci.0";
76 regulator-consumer-supply = "avdd_usb";
77 regulator-consumer-device = "tegra-ehci.1";
80 regulator-consumer-supply = "avdd_usb";
81 regulator-consumer-device = "tegra-ehci.2";
84 regulator-consumer-supply = "vdd";
85 regulator-consumer-device = "1-004d";
90 max77620_gpio7: regulator@2 {
91 compatible = "regulator-fixed-sync";
93 regulator-name = "max77620-gpio7";
94 regulator-min-microvolt = <1050000>;
95 regulator-max-microvolt = <1050000>;
96 vin-supply = <&max77620_ldo7>;
98 gpio = <&max77620 7 0>;
102 lcd_bl_en: regulator@3 {
103 compatible = "regulator-fixed-sync";
105 regulator-name = "lcd-bl-en";
106 regulator-min-microvolt = <1800000>;
107 regulator-max-microvolt = <1800000>;
109 gpio = <&gpio TEGRA_GPIO(V, 1) 0>;
113 en_vdd_sd: regulator@4 {
114 compatible = "regulator-fixed-sync";
116 regulator-name = "en-vdd-sd";
117 regulator-min-microvolt = <3300000>;
118 regulator-max-microvolt = <3300000>;
119 gpio = <&gpio TEGRA_GPIO(Z, 3) 0>;
121 vin-supply = <&vdd_3v3>;
124 en_vdd_cam: regulator@5 {
125 compatible = "regulator-fixed-sync";
127 regulator-name = "en-vdd-cam";
128 regulator-min-microvolt = <1800000>;
129 regulator-max-microvolt = <1800000>;
130 gpio = <&tca9539_77 9 1>;
134 regulator-consumer-supply = "vif";
139 vdd_sys_boost: regulator@6 {
140 compatible = "regulator-fixed-sync";
142 regulator-name = "vdd-sys-boost";
143 regulator-min-microvolt = <5000000>;
144 regulator-max-microvolt = <5000000>;
146 gpio = <&max77620 1 0>;
150 vdd_hdmi: regulator@7 {
151 compatible = "regulator-fixed-sync";
153 regulator-name = "vdd-hdmi";
154 regulator-min-microvolt = <5000000>;
155 regulator-max-microvolt = <5000000>;
156 gpio = <&tca9539_74 12 1>;
157 vin-supply = <&vdd_3v3>;
161 en_vdd_cpu_fixed: regulator@8 {
162 compatible = "regulator-fixed";
164 regulator-name = "vdd-cpu-fixed";
165 regulator-min-microvolt = <1000000>;
166 regulator-max-microvolt = <1000000>;
169 vdd_aux_3v3: regulator@9 {
170 compatible = "regulator-fixed-sync";
172 regulator-name = "aux-3v3";
173 regulator-min-microvolt = <3300000>;
174 regulator-max-microvolt = <3300000>;
177 vdd_snsr_pm: regulator@10 {
178 compatible = "regulator-fixed-sync";
180 regulator-name = "snsr_pm";
182 regulator-min-microvolt = <3300000>;
183 regulator-max-microvolt = <3300000>;
186 vdd_usb_5v0: regulator@11 {
187 compatible = "regulator-fixed-sync";
190 regulator-name = "vdd-usb-5v0";
191 regulator-min-microvolt = <5000000>;
192 regulator-max-microvolt = <5000000>;
193 vin-supply = <&vdd_3v3>;
198 regulator-consumer-supply = "usb_vbus";
199 regulator-consumer-device = "tegra-ehci.1";
202 regulator-consumer-supply = "usb_vbus";
203 regulator-consumer-device = "tegra-ehci.2";
207 vdd_disp_3v0: regulator@12 {
208 compatible = "regulator-fixed-sync";
210 regulator-name = "vdd-disp-3v0";
211 regulator-min-microvolt = <3000000>;
212 regulator-max-microvolt = <3000000>;
213 gpio = <&gpio TEGRA_GPIO(I, 3) 0>;
216 regulator-enable-ramp-delay = <232>;
219 vdd_fan: regulator@13 {
220 compatible = "regulator-fixed-sync";
222 regulator-name = "vdd-fan";
223 regulator-min-microvolt = <5000000>;
224 regulator-max-microvolt = <5000000>;
225 gpio = <&tca9539_74 4 0>;
226 regulator-enable-ramp-delay = <284>;
227 regulator-disable-ramp-delay = <6200>;
230 usb_vbus1: regulator@14 {
231 compatible = "regulator-fixed-sync";
233 regulator-name = "usb-vbus1";
234 regulator-min-microvolt = <5000000>;
235 regulator-max-microvolt = <5000000>;
236 gpio = <&gpio TEGRA_GPIO(CC, 4) 0>;
239 vin-supply = <&vdd_3v3>;
242 usb_vbus3: regulator@15 {
243 compatible = "regulator-fixed-sync";
245 regulator-name = "usb-vbus3";
246 regulator-min-microvolt = <5000000>;
247 regulator-max-microvolt = <5000000>;
248 gpio = <&gpio TEGRA_GPIO(D, 4) 0>;
251 vin-supply = <&vdd_3v3>;
253 vdd_cdc_1v2_aud: regulator@101 {
254 compatible = "regulator-fixed-sync";
257 regulator-name = "vdd_cdc_1v2_aud";
258 regulator-min-microvolt = <1200000>;
259 regulator-max-microvolt = <1200000>;
261 startup-delay-us = <250000>;
263 en_vdd_ts_1v8: regulator@201 {
264 compatible = "regulator-fixed-sync";
266 regulator-name = "en-vdd-ts-1v8";
267 regulator-min-microvolt = <1800000>;
268 regulator-max-microvolt = <1800000>;
269 gpio = <&tca9539_74 1 1>;
273 en_vdd_ts_hv_3v3: regulator@202 {
274 compatible = "regulator-fixed-sync";
276 regulator-name = "en-vdd-ts-hv-3v3";
277 regulator-min-microvolt = <3300000>;
278 regulator-max-microvolt = <3300000>;
279 gpio = <&tca9539_74 2 1>;
283 en_avdd_disp_3v3: regulator@203 {
284 compatible = "regulator-fixed-sync";
286 regulator-name = "en-vdd-disp-3v3";
287 regulator-min-microvolt = <3300000>;
288 regulator-max-microvolt = <3300000>;
289 gpio = <&tca9539_74 3 1>;
294 en_mdm_pwr_3v7: regulator@204 {
295 compatible = "regulator-fixed-sync";
297 regulator-name = "en-mdm-pwr-3v7";
298 regulator-min-microvol = <3700000>;
299 regulator-max-microvol = <3700000>;
300 gpio = <&tca9539_74 7 1>;
304 en_dvdd_disp_1v8: regulator@205 {
305 compatible = "regulator-fixed-sync";
307 regulator-name = "en-vdd-disp-1v8";
308 regulator-min-microvolt = <1800000>;
309 regulator-max-microvolt = <1800000>;
310 gpio = <&tca9539_74 9 1>;
314 en_vdd_cam_hv_2v8: regulator@206 {
315 compatible = "regulator-fixed-sync";
317 regulator-name = "en-vdd-cam-hv-2v8";
318 regulator-min-microvol = <2800000>;
319 regulator-max-microvol = <2800000>;
320 gpio = <&tca9539_74 13 1>;
324 en_vdd_eth_5v0: regulator@207 {
325 compatible = "regulator-fixed-sync";
327 regulator-name = "rtl-5v0";
328 regulator-min-microvol = <5000000>;
329 regulator-max-microvol = <5000000>;
330 gpio = <&gpio TEGRA_GPIO(H, 1) 0>;
334 en_usb_vbus2: regulator@208 {
335 compatible = "regulator-fixed-sync";
337 regulator-name = "en-usb-vbus2";
338 regulator-min-microvol = <5000000>;
339 regulator-max-microvol = <5000000>;
340 gpio = <&gpio TEGRA_GPIO(CC, 5) 0>;
344 en_vdd_cam_1v2: regulator@209 {
345 compatible = "regulator-fixed-sync";
347 regulator-name = "en-vdd-cam-1v2";
348 regulator-min-microvol = <1200000>;
349 regulator-max-microvol = <1200000>;
350 vin-supply = <&vdd_3v3>;
351 gpio = <&tca9539_77 3 1>;