blob: 197605d99425fb7fc51de6d0cfb9ccecf07c8e3f [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001// SPDX-License-Identifier: GPL-2.0
Stefan Agner446e9c62014-05-14 23:45:58 +02002#include <dt-bindings/input/input.h>
3#include "tegra30.dtsi"
4
5/*
Marcel Ziswiler39ebbf62015-08-28 17:59:36 +02006 * Toradex Colibri T30 Module Device Tree
7 * Compatible for Revisions V1.1B, V1.1C, V1.1D, V1.1E; IT: V1.1A
Stefan Agner446e9c62014-05-14 23:45:58 +02008 */
9/ {
10 model = "Toradex Colibri T30";
11 compatible = "toradex,colibri_t30", "nvidia,tegra30";
12
Krzysztof Kozlowski48299762018-07-09 18:05:17 +020013 memory@80000000 {
Stefan Agner446e9c62014-05-14 23:45:58 +020014 reg = <0x80000000 0x40000000>;
15 };
16
17 host1x@50000000 {
18 hdmi@54280000 {
Marcel Ziswiler033519b2018-09-01 10:12:16 +020019 nvidia,ddc-i2c-bus = <&hdmiddc>;
Stefan Agner446e9c62014-05-14 23:45:58 +020020 nvidia,hpd-gpio =
21 <&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>;
Marcel Ziswiler584a9e52018-09-01 10:12:17 +020022 pll-supply = <&reg_1v8_avdd_hdmi_pll>;
23 vdd-supply = <&reg_3v3_avdd_hdmi>;
Stefan Agner446e9c62014-05-14 23:45:58 +020024 };
25 };
26
27 pinmux@70000868 {
28 pinctrl-names = "default";
29 pinctrl-0 = <&state_default>;
30
31 state_default: pinmux {
Marcel Ziswiler8948e742016-06-19 03:00:01 +020032 /* Analogue Audio (On-module) */
Marcel Ziswiler28e82cf2018-09-01 10:12:24 +020033 clk1-out-pw4 {
Marcel Ziswiler8948e742016-06-19 03:00:01 +020034 nvidia,pins = "clk1_out_pw4";
35 nvidia,function = "extperiph1";
36 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
37 nvidia,tristate = <TEGRA_PIN_DISABLE>;
38 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
39 };
Marcel Ziswiler28e82cf2018-09-01 10:12:24 +020040 dap3-fs-pp0 {
41 nvidia,pins = "dap3_fs_pp0",
42 "dap3_sclk_pp3",
43 "dap3_din_pp1",
44 "dap3_dout_pp2";
Marcel Ziswiler8948e742016-06-19 03:00:01 +020045 nvidia,function = "i2s2";
46 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
47 nvidia,tristate = <TEGRA_PIN_DISABLE>;
48 };
49
Marcel Ziswilerdbd43f22018-09-01 10:12:25 +020050 /* Colibri Address/Data Bus (GMI) */
51 gmi-ad0-pg0 {
52 nvidia,pins = "gmi_ad0_pg0",
53 "gmi_ad2_pg2",
54 "gmi_ad3_pg3",
55 "gmi_ad4_pg4",
56 "gmi_ad5_pg5",
57 "gmi_ad6_pg6",
58 "gmi_ad7_pg7",
59 "gmi_ad8_ph0",
60 "gmi_ad9_ph1",
61 "gmi_ad10_ph2",
62 "gmi_ad11_ph3",
63 "gmi_ad12_ph4",
64 "gmi_ad13_ph5",
65 "gmi_ad14_ph6",
66 "gmi_ad15_ph7",
67 "gmi_adv_n_pk0",
68 "gmi_clk_pk1",
69 "gmi_cs4_n_pk2",
70 "gmi_cs2_n_pk3",
71 "gmi_iordy_pi5",
72 "gmi_oe_n_pi1",
73 "gmi_wait_pi7",
74 "gmi_wr_n_pi0",
75 "dap1_fs_pn0",
76 "dap1_din_pn1",
77 "dap1_dout_pn2",
78 "dap1_sclk_pn3",
79 "dap2_fs_pa2",
80 "dap2_sclk_pa3",
81 "dap2_din_pa4",
82 "dap2_dout_pa5",
83 "spi1_sck_px5",
84 "spi1_mosi_px4",
85 "spi1_cs0_n_px6",
86 "spi2_cs0_n_px3",
87 "spi2_miso_px1",
88 "spi2_mosi_px0",
89 "spi2_sck_px2",
90 "uart2_cts_n_pj5",
91 "uart2_rts_n_pj6";
92 nvidia,function = "gmi";
93 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
94 nvidia,tristate = <TEGRA_PIN_DISABLE>;
95 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
96 };
97 /* Further pins may be used as GPIOs */
98 dap4-din-pp5 {
99 nvidia,pins = "dap4_din_pp5",
100 "dap4_dout_pp6",
101 "dap4_fs_pp4",
102 "dap4_sclk_pp7",
103 "pbb7",
104 "sdmmc1_clk_pz0",
105 "sdmmc1_cmd_pz1",
106 "sdmmc1_dat0_py7",
107 "sdmmc1_dat1_py6",
108 "sdmmc1_dat3_py4",
109 "uart3_cts_n_pa1",
110 "uart3_txd_pw6",
111 "uart3_rxd_pw7";
112 nvidia,function = "rsvd2";
113 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
114 nvidia,tristate = <TEGRA_PIN_DISABLE>;
115 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
116 };
117 lcd-d18-pm2 {
118 nvidia,pins = "lcd_d18_pm2",
119 "lcd_d19_pm3",
120 "lcd_d20_pm4",
121 "lcd_d21_pm5",
122 "lcd_d22_pm6",
123 "lcd_d23_pm7",
124 "lcd_dc0_pn6",
125 "pex_l2_clkreq_n_pcc7";
126 nvidia,function = "rsvd3";
127 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
128 nvidia,tristate = <TEGRA_PIN_DISABLE>;
129 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
130 };
131 lcd-cs0-n-pn4 {
132 nvidia,pins = "lcd_cs0_n_pn4",
133 "lcd_sdin_pz2",
134 "pu0",
135 "pu1",
136 "pu2",
137 "pu3",
138 "pu4",
139 "pu5",
140 "pu6",
141 "spi1_miso_px7",
142 "uart3_rts_n_pc0";
143 nvidia,function = "rsvd4";
144 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
145 nvidia,tristate = <TEGRA_PIN_DISABLE>;
146 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
147 };
148 lcd-pwr0-pb2 {
149 nvidia,pins = "lcd_pwr0_pb2",
150 "lcd_sck_pz4",
151 "lcd_sdout_pn5",
152 "lcd_wr_n_pz3";
153 nvidia,function = "hdcp";
154 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
155 nvidia,tristate = <TEGRA_PIN_DISABLE>;
156 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
157 };
158 pbb4 {
159 nvidia,pins = "pbb4",
160 "pbb5",
161 "pbb6";
162 nvidia,function = "displayb";
163 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
164 nvidia,tristate = <TEGRA_PIN_DISABLE>;
165 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
166 };
167 /* Multiplexed RDnWR and therefore disabled */
168 lcd-cs1-n-pw0 {
169 nvidia,pins = "lcd_cs1_n_pw0";
170 nvidia,function = "rsvd4";
171 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
172 nvidia,tristate = <TEGRA_PIN_ENABLE>;
173 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
174 };
175 /* Multiplexed GMI_CLK and therefore disabled */
176 owr {
177 nvidia,pins = "owr";
178 nvidia,function = "rsvd3";
179 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
180 nvidia,tristate = <TEGRA_PIN_ENABLE>;
181 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
182 };
183 /* Tri-stating GMI_WR_N on nPWE SODIMM pin 99 */
184 sdmmc3-dat4-pd1 {
185 nvidia,pins = "sdmmc3_dat4_pd1";
186 nvidia,function = "sdmmc3";
187 nvidia,pull = <TEGRA_PIN_PULL_UP>;
188 nvidia,tristate = <TEGRA_PIN_ENABLE>;
189 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
190 };
191 /* Not tri-stating GMI_WR_N on RDnWR SODIMM pin 93 */
192 sdmmc3-dat5-pd0 {
193 nvidia,pins = "sdmmc3_dat5_pd0";
194 nvidia,function = "sdmmc3";
195 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
196 nvidia,tristate = <TEGRA_PIN_ENABLE>;
197 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
198 };
199
Stefan Agner446e9c62014-05-14 23:45:58 +0200200 /* Colibri BL_ON */
201 pv2 {
202 nvidia,pins = "pv2";
203 nvidia,function = "rsvd4";
204 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
205 nvidia,tristate = <TEGRA_PIN_DISABLE>;
206 };
207
208 /* Colibri Backlight PWM<A> */
Marcel Ziswiler28e82cf2018-09-01 10:12:24 +0200209 sdmmc3-dat3-pb4 {
Thierry Redingd5edc4e2015-09-15 10:29:57 +0200210 nvidia,pins = "sdmmc3_dat3_pb4";
Stefan Agner446e9c62014-05-14 23:45:58 +0200211 nvidia,function = "pwm0";
212 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
213 nvidia,tristate = <TEGRA_PIN_DISABLE>;
214 };
215
216 /* Colibri CAN_INT */
Marcel Ziswiler28e82cf2018-09-01 10:12:24 +0200217 kb-row8-ps0 {
Stefan Agner446e9c62014-05-14 23:45:58 +0200218 nvidia,pins = "kb_row8_ps0";
219 nvidia,function = "kbc";
220 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
221 nvidia,tristate = <TEGRA_PIN_DISABLE>;
222 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
223 };
224
Marcel Ziswilerdbd43f22018-09-01 10:12:25 +0200225 /* Colibri DDC */
226 ddc-scl-pv4 {
227 nvidia,pins = "ddc_scl_pv4",
228 "ddc_sda_pv5";
229 nvidia,function = "i2c4";
230 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
231 nvidia,tristate = <TEGRA_PIN_DISABLE>;
232 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
233 };
234
235 /* Colibri EXT_IO* */
236 gen2-i2c-scl-pt5 {
237 nvidia,pins = "gen2_i2c_scl_pt5",
238 "gen2_i2c_sda_pt6";
239 nvidia,function = "rsvd4";
240 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
241 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
242 nvidia,tristate = <TEGRA_PIN_DISABLE>;
243 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
244 };
245 spdif-in-pk6 {
246 nvidia,pins = "spdif_in_pk6";
247 nvidia,function = "hda";
248 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
249 nvidia,tristate = <TEGRA_PIN_DISABLE>;
250 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
251 };
252
253 /* Colibri GPIO */
254 clk2-out-pw5 {
255 nvidia,pins = "clk2_out_pw5",
256 "pcc2",
257 "pv3",
258 "sdmmc1_dat2_py5";
259 nvidia,function = "rsvd2";
260 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
261 nvidia,tristate = <TEGRA_PIN_DISABLE>;
262 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
263 };
264 lcd-pwr1-pc1 {
265 nvidia,pins = "lcd_pwr1_pc1",
266 "pex_l1_clkreq_n_pdd6",
267 "pex_l1_rst_n_pdd5";
268 nvidia,function = "rsvd3";
269 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
270 nvidia,tristate = <TEGRA_PIN_DISABLE>;
271 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
272 };
273 pv1 {
274 nvidia,pins = "pv1",
275 "sdmmc3_dat0_pb7",
276 "sdmmc3_dat1_pb6";
277 nvidia,function = "rsvd1";
278 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
279 nvidia,tristate = <TEGRA_PIN_DISABLE>;
280 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
281 };
282
283 /* Colibri HOTPLUG_DETECT (HDMI) */
284 hdmi-int-pn7 {
285 nvidia,pins = "hdmi_int_pn7";
286 nvidia,function = "hdmi";
287 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
288 nvidia,tristate = <TEGRA_PIN_ENABLE>;
289 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
290 };
291
292 /* Colibri I2C */
293 gen1-i2c-scl-pc4 {
294 nvidia,pins = "gen1_i2c_scl_pc4",
295 "gen1_i2c_sda_pc5";
296 nvidia,function = "i2c1";
297 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
298 nvidia,tristate = <TEGRA_PIN_DISABLE>;
299 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
300 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
301 };
302
303 /* Colibri LCD (L_* resp. LDD<*>) */
304 lcd-d0-pe0 {
305 nvidia,pins = "lcd_d0_pe0",
306 "lcd_d1_pe1",
307 "lcd_d2_pe2",
308 "lcd_d3_pe3",
309 "lcd_d4_pe4",
310 "lcd_d5_pe5",
311 "lcd_d6_pe6",
312 "lcd_d7_pe7",
313 "lcd_d8_pf0",
314 "lcd_d9_pf1",
315 "lcd_d10_pf2",
316 "lcd_d11_pf3",
317 "lcd_d12_pf4",
318 "lcd_d13_pf5",
319 "lcd_d14_pf6",
320 "lcd_d15_pf7",
321 "lcd_d16_pm0",
322 "lcd_d17_pm1",
323 "lcd_de_pj1",
324 "lcd_hsync_pj3",
325 "lcd_pclk_pb3",
326 "lcd_vsync_pj4";
327 nvidia,function = "displaya";
328 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
329 nvidia,tristate = <TEGRA_PIN_DISABLE>;
330 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
331 };
Stefan Agner446e9c62014-05-14 23:45:58 +0200332 /*
333 * Colibri L_BIAS, LCD_M1 is muxed with LCD_DE
Marcel Ziswiler28e82cf2018-09-01 10:12:24 +0200334 * today's display need DE, disable LCD_M1
Stefan Agner446e9c62014-05-14 23:45:58 +0200335 */
Marcel Ziswiler28e82cf2018-09-01 10:12:24 +0200336 lcd-m1-pw1 {
Stefan Agner446e9c62014-05-14 23:45:58 +0200337 nvidia,pins = "lcd_m1_pw1";
338 nvidia,function = "rsvd3";
Marcel Ziswiler28e82cf2018-09-01 10:12:24 +0200339 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
340 nvidia,tristate = <TEGRA_PIN_ENABLE>;
341 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
Stefan Agner446e9c62014-05-14 23:45:58 +0200342 };
343
Stefan Agner446e9c62014-05-14 23:45:58 +0200344 /* Colibri MMC */
Marcel Ziswiler28e82cf2018-09-01 10:12:24 +0200345 kb-row10-ps2 {
Stefan Agner446e9c62014-05-14 23:45:58 +0200346 nvidia,pins = "kb_row10_ps2";
347 nvidia,function = "sdmmc2";
348 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
349 nvidia,tristate = <TEGRA_PIN_DISABLE>;
350 };
Marcel Ziswiler28e82cf2018-09-01 10:12:24 +0200351 kb-row11-ps3 {
Thierry Redingd5edc4e2015-09-15 10:29:57 +0200352 nvidia,pins = "kb_row11_ps3",
353 "kb_row12_ps4",
354 "kb_row13_ps5",
355 "kb_row14_ps6",
356 "kb_row15_ps7";
Stefan Agner446e9c62014-05-14 23:45:58 +0200357 nvidia,function = "sdmmc2";
358 nvidia,pull = <TEGRA_PIN_PULL_UP>;
359 nvidia,tristate = <TEGRA_PIN_DISABLE>;
360 };
Marcel Ziswilerdbd43f22018-09-01 10:12:25 +0200361 /* Colibri MMC_CD */
362 gmi-wp-n-pc7 {
363 nvidia,pins = "gmi_wp_n_pc7";
364 nvidia,function = "rsvd1";
365 nvidia,pull = <TEGRA_PIN_PULL_UP>;
366 nvidia,tristate = <TEGRA_PIN_DISABLE>;
367 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
368 };
369 /* Multiplexed and therefore disabled */
370 cam-mclk-pcc0 {
371 nvidia,pins = "cam_mclk_pcc0";
372 nvidia,function = "vi_alt3";
373 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
374 nvidia,tristate = <TEGRA_PIN_ENABLE>;
375 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
376 };
377 cam-i2c-scl-pbb1 {
378 nvidia,pins = "cam_i2c_scl_pbb1",
379 "cam_i2c_sda_pbb2";
380 nvidia,function = "rsvd3";
381 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
382 nvidia,tristate = <TEGRA_PIN_ENABLE>;
383 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
384 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
385 };
386 pbb0 {
387 nvidia,pins = "pbb0",
388 "pcc1";
389 nvidia,function = "rsvd2";
390 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
391 nvidia,tristate = <TEGRA_PIN_ENABLE>;
392 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
393 };
394 pbb3 {
395 nvidia,pins = "pbb3";
396 nvidia,function = "displayb";
397 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
398 nvidia,tristate = <TEGRA_PIN_ENABLE>;
399 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
400 };
401
402 /* Colibri nRESET_OUT */
403 gmi-rst-n-pi4 {
404 nvidia,pins = "gmi_rst_n_pi4";
405 nvidia,function = "gmi";
406 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
407 nvidia,tristate = <TEGRA_PIN_DISABLE>;
408 };
409
410 /*
411 * Colibri Parallel Camera (Optional)
412 * pins multiplexed with others and therefore disabled
413 */
414 vi-vsync-pd6 {
415 nvidia,pins = "vi_d0_pt4",
416 "vi_d1_pd5",
417 "vi_d2_pl0",
418 "vi_d3_pl1",
419 "vi_d4_pl2",
420 "vi_d5_pl3",
421 "vi_d6_pl4",
422 "vi_d7_pl5",
423 "vi_d8_pl6",
424 "vi_d9_pl7",
425 "vi_d10_pt2",
426 "vi_d11_pt3",
427 "vi_hsync_pd7",
428 "vi_mclk_pt1",
429 "vi_pclk_pt0",
430 "vi_vsync_pd6";
431 nvidia,function = "vi";
432 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
433 nvidia,tristate = <TEGRA_PIN_ENABLE>;
434 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
435 };
436
437 /* Colibri PWM<B> */
438 sdmmc3-dat2-pb5 {
439 nvidia,pins = "sdmmc3_dat2_pb5";
440 nvidia,function = "pwm1";
441 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
442 nvidia,tristate = <TEGRA_PIN_DISABLE>;
443 };
444
445 /* Colibri PWM<C> */
446 sdmmc3-clk-pa6 {
447 nvidia,pins = "sdmmc3_clk_pa6";
448 nvidia,function = "pwm2";
449 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
450 nvidia,tristate = <TEGRA_PIN_DISABLE>;
451 };
452
453 /* Colibri PWM<D> */
454 sdmmc3-cmd-pa7 {
455 nvidia,pins = "sdmmc3_cmd_pa7";
456 nvidia,function = "pwm3";
457 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
458 nvidia,tristate = <TEGRA_PIN_DISABLE>;
459 };
Stefan Agner446e9c62014-05-14 23:45:58 +0200460
461 /* Colibri SSP */
Marcel Ziswiler28e82cf2018-09-01 10:12:24 +0200462 ulpi-clk-py0 {
Thierry Redingd5edc4e2015-09-15 10:29:57 +0200463 nvidia,pins = "ulpi_clk_py0",
464 "ulpi_dir_py1",
465 "ulpi_nxt_py2",
466 "ulpi_stp_py3";
Stefan Agner446e9c62014-05-14 23:45:58 +0200467 nvidia,function = "spi1";
468 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
469 nvidia,tristate = <TEGRA_PIN_DISABLE>;
470 };
Marcel Ziswiler28e82cf2018-09-01 10:12:24 +0200471 /* Multiplexed SSPFRM, SSPTXD and therefore disabled */
472 sdmmc3-dat6-pd3 {
Thierry Redingd5edc4e2015-09-15 10:29:57 +0200473 nvidia,pins = "sdmmc3_dat6_pd3",
474 "sdmmc3_dat7_pd4";
Stefan Agner446e9c62014-05-14 23:45:58 +0200475 nvidia,function = "spdif";
Marcel Ziswiler28e82cf2018-09-01 10:12:24 +0200476 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
Stefan Agner446e9c62014-05-14 23:45:58 +0200477 nvidia,tristate = <TEGRA_PIN_ENABLE>;
Marcel Ziswiler28e82cf2018-09-01 10:12:24 +0200478 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
Stefan Agner446e9c62014-05-14 23:45:58 +0200479 };
480
Marcel Ziswiler28e82cf2018-09-01 10:12:24 +0200481 /* Colibri UART-A */
482 ulpi-data0 {
Thierry Redingd5edc4e2015-09-15 10:29:57 +0200483 nvidia,pins = "ulpi_data0_po1",
484 "ulpi_data1_po2",
485 "ulpi_data2_po3",
486 "ulpi_data3_po4",
487 "ulpi_data4_po5",
488 "ulpi_data5_po6",
489 "ulpi_data6_po7",
490 "ulpi_data7_po0";
Stefan Agner446e9c62014-05-14 23:45:58 +0200491 nvidia,function = "uarta";
492 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
493 nvidia,tristate = <TEGRA_PIN_DISABLE>;
494 };
495
Marcel Ziswiler28e82cf2018-09-01 10:12:24 +0200496 /* Colibri UART-B */
497 gmi-a16-pj7 {
Thierry Redingd5edc4e2015-09-15 10:29:57 +0200498 nvidia,pins = "gmi_a16_pj7",
499 "gmi_a17_pb0",
500 "gmi_a18_pb1",
501 "gmi_a19_pk7";
Stefan Agner446e9c62014-05-14 23:45:58 +0200502 nvidia,function = "uartd";
503 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
504 nvidia,tristate = <TEGRA_PIN_DISABLE>;
505 };
506
Marcel Ziswiler28e82cf2018-09-01 10:12:24 +0200507 /* Colibri UART-C */
508 uart2-rxd {
Thierry Redingd5edc4e2015-09-15 10:29:57 +0200509 nvidia,pins = "uart2_rxd_pc3",
510 "uart2_txd_pc2";
Stefan Agner446e9c62014-05-14 23:45:58 +0200511 nvidia,function = "uartb";
512 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
513 nvidia,tristate = <TEGRA_PIN_DISABLE>;
514 };
515
Marcel Ziswilerdbd43f22018-09-01 10:12:25 +0200516 /* Colibri USBC_DET */
517 spdif-out-pk5 {
518 nvidia,pins = "spdif_out_pk5";
519 nvidia,function = "rsvd2";
520 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
521 nvidia,tristate = <TEGRA_PIN_DISABLE>;
522 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
523 };
524
525 /* Colibri USBH_PEN */
526 spi2-cs1-n-pw2 {
527 nvidia,pins = "spi2_cs1_n_pw2";
528 nvidia,function = "spi2_alt";
529 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
530 nvidia,tristate = <TEGRA_PIN_DISABLE>;
531 };
532
533 /* Colibri USBH_OC */
534 spi2-cs2-n-pw3, {
535 nvidia,pins = "spi2_cs2_n_pw3";
536 nvidia,function = "spi2_alt";
537 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
538 nvidia,tristate = <TEGRA_PIN_DISABLE>;
539 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
540 };
541
542 /* Colibri VGA not supported and therefore disabled */
543 crt-hsync-pv6 {
544 nvidia,pins = "crt_hsync_pv6",
545 "crt_vsync_pv7";
546 nvidia,function = "rsvd2";
547 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
548 nvidia,tristate = <TEGRA_PIN_ENABLE>;
549 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
550 };
551
Marcel Ziswiler28e82cf2018-09-01 10:12:24 +0200552 /* eMMC (On-module) */
553 sdmmc4-clk-pcc4 {
Thierry Redingd5edc4e2015-09-15 10:29:57 +0200554 nvidia,pins = "sdmmc4_clk_pcc4",
Marcel Ziswiler28e82cf2018-09-01 10:12:24 +0200555 "sdmmc4_cmd_pt7",
Thierry Redingd5edc4e2015-09-15 10:29:57 +0200556 "sdmmc4_rst_n_pcc3";
Stefan Agner446e9c62014-05-14 23:45:58 +0200557 nvidia,function = "sdmmc4";
558 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
559 nvidia,tristate = <TEGRA_PIN_DISABLE>;
Marcel Ziswiler28e82cf2018-09-01 10:12:24 +0200560 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
Stefan Agner446e9c62014-05-14 23:45:58 +0200561 };
Marcel Ziswiler28e82cf2018-09-01 10:12:24 +0200562 sdmmc4-dat0-paa0 {
Thierry Redingd5edc4e2015-09-15 10:29:57 +0200563 nvidia,pins = "sdmmc4_dat0_paa0",
564 "sdmmc4_dat1_paa1",
565 "sdmmc4_dat2_paa2",
566 "sdmmc4_dat3_paa3",
567 "sdmmc4_dat4_paa4",
568 "sdmmc4_dat5_paa5",
569 "sdmmc4_dat6_paa6",
570 "sdmmc4_dat7_paa7";
Stefan Agner446e9c62014-05-14 23:45:58 +0200571 nvidia,function = "sdmmc4";
572 nvidia,pull = <TEGRA_PIN_PULL_UP>;
573 nvidia,tristate = <TEGRA_PIN_DISABLE>;
Marcel Ziswiler28e82cf2018-09-01 10:12:24 +0200574 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
Stefan Agner446e9c62014-05-14 23:45:58 +0200575 };
Marcel Ziswiler62bcaba2015-08-28 17:59:38 +0200576
Marcel Ziswilerdbd43f22018-09-01 10:12:25 +0200577 /* LAN_EXT_WAKEUP#, LAN_PME (On-module) */
578 pex-l0-rst-n-pdd1 {
579 nvidia,pins = "pex_l0_rst_n_pdd1",
580 "pex_wake_n_pdd3";
581 nvidia,function = "rsvd3";
582 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
583 nvidia,tristate = <TEGRA_PIN_DISABLE>;
584 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
585 };
586 /* LAN_V_BUS, LAN_RESET# (On-module) */
587 pex-l0-clkreq-n-pdd2 {
588 nvidia,pins = "pex_l0_clkreq_n_pdd2",
589 "pex_l0_prsnt_n_pdd0";
590 nvidia,function = "rsvd3";
591 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
592 nvidia,tristate = <TEGRA_PIN_DISABLE>;
593 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
594 };
595
596 /* nBATT_FAULT(SENSE), nVDD_FAULT(SENSE) */
597 pex-l2-rst-n-pcc6 {
598 nvidia,pins = "pex_l2_rst_n_pcc6",
599 "pex_l2_prsnt_n_pdd7";
600 nvidia,function = "rsvd3";
601 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
602 nvidia,tristate = <TEGRA_PIN_DISABLE>;
603 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
604 };
605
606 /* Not connected and therefore disabled */
607 clk1-req-pee2 {
608 nvidia,pins = "clk1_req_pee2",
609 "pex_l1_prsnt_n_pdd4";
610 nvidia,function = "rsvd3";
611 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
612 nvidia,tristate = <TEGRA_PIN_ENABLE>;
613 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
614 };
615 clk2-req-pcc5 {
616 nvidia,pins = "clk2_req_pcc5",
617 "clk3_out_pee0",
618 "clk3_req_pee1",
619 "clk_32k_out_pa0",
620 "hdmi_cec_pee3",
621 "sys_clk_req_pz5";
622 nvidia,function = "rsvd2";
623 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
624 nvidia,tristate = <TEGRA_PIN_ENABLE>;
625 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
626 };
627 gmi-dqs-pi2 {
628 nvidia,pins = "gmi_dqs_pi2",
629 "kb_col2_pq2",
630 "kb_col3_pq3",
631 "kb_col4_pq4",
632 "kb_col5_pq5",
633 "kb_row4_pr4";
634 nvidia,function = "rsvd4";
635 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
636 nvidia,tristate = <TEGRA_PIN_ENABLE>;
637 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
638 };
639 kb-col0-pq0 {
640 nvidia,pins = "kb_col0_pq0",
641 "kb_col1_pq1",
642 "kb_col6_pq6",
643 "kb_col7_pq7",
644 "kb_row5_pr5",
645 "kb_row6_pr6",
646 "kb_row7_pr7",
647 "kb_row9_ps1";
648 nvidia,function = "kbc";
649 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
650 nvidia,tristate = <TEGRA_PIN_ENABLE>;
651 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
652 };
653 kb-row0-pr0 {
654 nvidia,pins = "kb_row0_pr0",
655 "kb_row1_pr1",
656 "kb_row2_pr2",
657 "kb_row3_pr3";
658 nvidia,function = "rsvd3";
659 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
660 nvidia,tristate = <TEGRA_PIN_ENABLE>;
661 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
662 };
663 lcd-pwr2-pc6 {
664 nvidia,pins = "lcd_pwr2_pc6";
665 nvidia,function = "hdcp";
666 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
667 nvidia,tristate = <TEGRA_PIN_ENABLE>;
668 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
669 };
670
Marcel Ziswilere48f6c0e2015-08-28 17:59:39 +0200671 /* Power I2C (On-module) */
Marcel Ziswiler28e82cf2018-09-01 10:12:24 +0200672 pwr-i2c-scl-pz6 {
Marcel Ziswilere48f6c0e2015-08-28 17:59:39 +0200673 nvidia,pins = "pwr_i2c_scl_pz6",
674 "pwr_i2c_sda_pz7";
675 nvidia,function = "i2cpwr";
676 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
677 nvidia,tristate = <TEGRA_PIN_DISABLE>;
678 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
Marcel Ziswilere48f6c0e2015-08-28 17:59:39 +0200679 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
680 };
681
Marcel Ziswiler62bcaba2015-08-28 17:59:38 +0200682 /*
683 * THERMD_ALERT#, unlatched I2C address pin of LM95245
684 * temperature sensor therefore requires disabling for
685 * now
686 */
Marcel Ziswiler28e82cf2018-09-01 10:12:24 +0200687 lcd-dc1-pd2 {
Marcel Ziswiler62bcaba2015-08-28 17:59:38 +0200688 nvidia,pins = "lcd_dc1_pd2";
689 nvidia,function = "rsvd3";
Marcel Ziswiler28e82cf2018-09-01 10:12:24 +0200690 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
691 nvidia,tristate = <TEGRA_PIN_ENABLE>;
692 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
Marcel Ziswiler62bcaba2015-08-28 17:59:38 +0200693 };
Marcel Ziswiler6456e9c2015-08-28 17:59:41 +0200694
Marcel Ziswiler28e82cf2018-09-01 10:12:24 +0200695 /* TOUCH_PEN_INT# (On-module) */
Marcel Ziswiler6456e9c2015-08-28 17:59:41 +0200696 pv0 {
697 nvidia,pins = "pv0";
698 nvidia,function = "rsvd1";
699 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
700 nvidia,tristate = <TEGRA_PIN_DISABLE>;
701 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
702 };
Stefan Agner446e9c62014-05-14 23:45:58 +0200703 };
704 };
705
Marcel Ziswiler4dc3bf22018-09-01 10:12:19 +0200706 serial@70006040 {
707 compatible = "nvidia,tegra30-hsuart";
708 };
709
710 serial@70006300 {
711 compatible = "nvidia,tegra30-hsuart";
712 };
713
Stefan Agner446e9c62014-05-14 23:45:58 +0200714 hdmiddc: i2c@7000c700 {
Marcel Ziswiler1c3389e2018-02-10 02:36:36 +0100715 clock-frequency = <10000>;
Stefan Agner446e9c62014-05-14 23:45:58 +0200716 };
717
718 /*
719 * PWR_I2C: power I2C to audio codec, PMIC, temperature sensor and
720 * touch screen controller
721 */
722 i2c@7000d000 {
723 status = "okay";
724 clock-frequency = <100000>;
725
Marcel Ziswiler8948e742016-06-19 03:00:01 +0200726 /* SGTL5000 audio codec */
727 sgtl5000: codec@a {
728 compatible = "fsl,sgtl5000";
729 reg = <0x0a>;
Marcel Ziswilera03fb632018-09-01 10:12:18 +0200730 VDDA-supply = <&reg_module_3v3_audio>;
731 VDDD-supply = <&reg_1v8_vio>;
Marcel Ziswiler584a9e52018-09-01 10:12:17 +0200732 VDDIO-supply = <&reg_module_3v3>;
Marcel Ziswiler8948e742016-06-19 03:00:01 +0200733 clocks = <&tegra_car TEGRA30_CLK_EXTERN1>;
734 };
735
Stefan Agner446e9c62014-05-14 23:45:58 +0200736 pmic: tps65911@2d {
737 compatible = "ti,tps65911";
738 reg = <0x2d>;
739
740 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
741 #interrupt-cells = <2>;
742 interrupt-controller;
743
744 ti,system-power-controller;
745
746 #gpio-cells = <2>;
747 gpio-controller;
748
Marcel Ziswiler584a9e52018-09-01 10:12:17 +0200749 vcc1-supply = <&reg_module_3v3>;
750 vcc2-supply = <&reg_module_3v3>;
751 vcc3-supply = <&reg_1v8_vio>;
752 vcc4-supply = <&reg_module_3v3>;
753 vcc5-supply = <&reg_module_3v3>;
754 vcc6-supply = <&reg_1v8_vio>;
755 vcc7-supply = <&reg_5v0_charge_pump>;
756 vccio-supply = <&reg_module_3v3>;
Stefan Agner446e9c62014-05-14 23:45:58 +0200757
758 regulators {
Stefan Agner446e9c62014-05-14 23:45:58 +0200759 vdd1_reg: vdd1 {
Marcel Ziswiler584a9e52018-09-01 10:12:17 +0200760 regulator-name = "+V1.35_VDDIO_DDR";
Stefan Agner446e9c62014-05-14 23:45:58 +0200761 regulator-min-microvolt = <1350000>;
762 regulator-max-microvolt = <1350000>;
763 regulator-always-on;
764 };
765
766 /* SW2: unused */
767
Stefan Agner446e9c62014-05-14 23:45:58 +0200768 vddctrl_reg: vddctrl {
Marcel Ziswiler584a9e52018-09-01 10:12:17 +0200769 regulator-name = "+V1.0_VDD_CPU";
Stefan Agner446e9c62014-05-14 23:45:58 +0200770 regulator-min-microvolt = <1150000>;
771 regulator-max-microvolt = <1150000>;
772 regulator-always-on;
773 };
774
Marcel Ziswiler584a9e52018-09-01 10:12:17 +0200775 reg_1v8_vio: vio {
776 regulator-name = "+V1.8";
Stefan Agner446e9c62014-05-14 23:45:58 +0200777 regulator-min-microvolt = <1800000>;
778 regulator-max-microvolt = <1800000>;
779 regulator-always-on;
780 };
781
782 /* LDO1: unused */
783
784 /*
785 * EN_+V3.3 switching via FET:
786 * +V3.3_AUDIO_AVDD_S, +V3.3 and +V1.8_VDD_LAN
Marcel Ziswiler584a9e52018-09-01 10:12:17 +0200787 * see also +V3.3 fixed supply
Stefan Agner446e9c62014-05-14 23:45:58 +0200788 */
789 ldo2_reg: ldo2 {
Marcel Ziswiler584a9e52018-09-01 10:12:17 +0200790 regulator-name = "EN_+V3.3";
Stefan Agner446e9c62014-05-14 23:45:58 +0200791 regulator-min-microvolt = <3300000>;
792 regulator-max-microvolt = <3300000>;
793 regulator-always-on;
794 };
795
796 /* LDO3: unused */
797
Stefan Agner446e9c62014-05-14 23:45:58 +0200798 ldo4_reg: ldo4 {
Marcel Ziswiler584a9e52018-09-01 10:12:17 +0200799 regulator-name = "+V1.2_VDD_RTC";
Stefan Agner446e9c62014-05-14 23:45:58 +0200800 regulator-min-microvolt = <1200000>;
801 regulator-max-microvolt = <1200000>;
802 regulator-always-on;
803 };
804
805 /*
806 * +V2.8_AVDD_VDAC:
Marcel Ziswiler584a9e52018-09-01 10:12:17 +0200807 * only required for (unsupported) analog RGB
Stefan Agner446e9c62014-05-14 23:45:58 +0200808 */
809 ldo5_reg: ldo5 {
Marcel Ziswiler584a9e52018-09-01 10:12:17 +0200810 regulator-name = "+V2.8_AVDD_VDAC";
Stefan Agner446e9c62014-05-14 23:45:58 +0200811 regulator-min-microvolt = <2800000>;
812 regulator-max-microvolt = <2800000>;
813 regulator-always-on;
814 };
815
816 /*
817 * +V1.05_AVDD_PLLE: avdd_plle should be 1.05V
818 * but LDO6 can't set voltage in 50mV
819 * granularity
820 */
821 ldo6_reg: ldo6 {
Marcel Ziswiler584a9e52018-09-01 10:12:17 +0200822 regulator-name = "+V1.05_AVDD_PLLE";
Stefan Agner446e9c62014-05-14 23:45:58 +0200823 regulator-min-microvolt = <1100000>;
824 regulator-max-microvolt = <1100000>;
825 };
826
Stefan Agner446e9c62014-05-14 23:45:58 +0200827 ldo7_reg: ldo7 {
Marcel Ziswiler584a9e52018-09-01 10:12:17 +0200828 regulator-name = "+V1.2_AVDD_PLL";
Stefan Agner446e9c62014-05-14 23:45:58 +0200829 regulator-min-microvolt = <1200000>;
830 regulator-max-microvolt = <1200000>;
831 regulator-always-on;
832 };
833
Stefan Agner446e9c62014-05-14 23:45:58 +0200834 ldo8_reg: ldo8 {
Marcel Ziswiler584a9e52018-09-01 10:12:17 +0200835 regulator-name = "+V1.0_VDD_DDR_HS";
Stefan Agner446e9c62014-05-14 23:45:58 +0200836 regulator-min-microvolt = <1000000>;
837 regulator-max-microvolt = <1000000>;
838 regulator-always-on;
839 };
840 };
841 };
842
Marcel Ziswiler737a7c22015-08-28 17:59:42 +0200843 /* STMPE811 touch screen controller */
844 stmpe811@41 {
845 compatible = "st,stmpe811";
Marcel Ziswiler737a7c22015-08-28 17:59:42 +0200846 reg = <0x41>;
847 interrupts = <TEGRA_GPIO(V, 0) IRQ_TYPE_LEVEL_LOW>;
848 interrupt-parent = <&gpio>;
849 interrupt-controller;
850 id = <0>;
851 blocks = <0x5>;
852 irq-trigger = <0x1>;
853
854 stmpe_touchscreen {
855 compatible = "st,stmpe-ts";
Marcel Ziswiler737a7c22015-08-28 17:59:42 +0200856 /* 3.25 MHz ADC clock speed */
857 st,adc-freq = <1>;
858 /* 8 sample average control */
859 st,ave-ctrl = <3>;
860 /* 7 length fractional part in z */
861 st,fraction-z = <7>;
862 /*
863 * 50 mA typical 80 mA max touchscreen drivers
864 * current limit value
865 */
866 st,i-drive = <1>;
867 /* 12-bit ADC */
868 st,mod-12b = <1>;
869 /* internal ADC reference */
870 st,ref-sel = <0>;
871 /* ADC converstion time: 80 clocks */
872 st,sample-time = <4>;
873 /* 1 ms panel driver settling time */
874 st,settling = <3>;
875 /* 5 ms touch detect interrupt delay */
876 st,touch-det-delay = <5>;
877 };
878 };
879
Stefan Agner446e9c62014-05-14 23:45:58 +0200880 /*
881 * LM95245 temperature sensor
882 * Note: OVERT_N directly connected to PMIC PWRDN
883 */
884 temp-sensor@4c {
885 compatible = "national,lm95245";
886 reg = <0x4c>;
887 };
888
889 /* SW: +V1.2_VDD_CORE */
890 tps62362@60 {
891 compatible = "ti,tps62362";
892 reg = <0x60>;
893
894 regulator-name = "tps62362-vout";
895 regulator-min-microvolt = <900000>;
896 regulator-max-microvolt = <1400000>;
897 regulator-boot-on;
898 regulator-always-on;
899 ti,vsel0-state-low;
900 /* VSEL1: EN_CORE_DVFS_N low for DVFS */
901 ti,vsel1-state-low;
902 };
903 };
904
905 pmc@7000e400 {
906 nvidia,invert-interrupt;
907 nvidia,suspend-mode = <1>;
908 nvidia,cpu-pwr-good-time = <5000>;
909 nvidia,cpu-pwr-off-time = <5000>;
910 nvidia,core-pwr-good-time = <3845 3845>;
911 nvidia,core-pwr-off-time = <0>;
912 nvidia,core-power-req-active-high;
913 nvidia,sys-clock-req-active-high;
914 };
915
Marcel Ziswiler8948e742016-06-19 03:00:01 +0200916 ahub@70080000 {
917 i2s@70080500 {
918 status = "okay";
919 };
920 };
921
Marcel Ziswiler3791d1c2015-08-28 17:59:43 +0200922 /* eMMC */
923 sdhci@78000600 {
Stefan Agner446e9c62014-05-14 23:45:58 +0200924 status = "okay";
925 bus-width = <8>;
926 non-removable;
927 };
928
929 /* EHCI instance 1: USB2_DP/N -> AX88772B */
930 usb@7d004000 {
931 status = "okay";
Marcel Ziswilera5db2da2018-09-01 10:12:15 +0200932 #address-cells = <1>;
933 #size-cells = <0>;
934
935 asix@1 {
936 reg = <1>;
937 local-mac-address = [00 00 00 00 00 00];
938 };
Stefan Agner446e9c62014-05-14 23:45:58 +0200939 };
940
941 usb-phy@7d004000 {
942 status = "okay";
943 nvidia,is-wired = <1>;
Marcel Ziswilera03fb632018-09-01 10:12:18 +0200944 vbus-supply = <&reg_lan_v_bus>;
Stefan Agner446e9c62014-05-14 23:45:58 +0200945 };
946
947 clocks {
948 compatible = "simple-bus";
949 #address-cells = <1>;
950 #size-cells = <0>;
951
952 clk32k_in: clk@0 {
953 compatible = "fixed-clock";
Thierry Reding4ec2e602016-06-10 18:55:24 +0200954 reg = <0>;
Stefan Agner446e9c62014-05-14 23:45:58 +0200955 #clock-cells = <0>;
956 clock-frequency = <32768>;
957 };
958 };
959
Marcel Ziswiler584a9e52018-09-01 10:12:17 +0200960 reg_1v8_avdd_hdmi_pll: regulator-1v8-avdd-hdmi-pll {
961 compatible = "regulator-fixed";
962 regulator-name = "+V1.8_AVDD_HDMI_PLL";
963 regulator-min-microvolt = <1800000>;
964 regulator-max-microvolt = <1800000>;
965 enable-active-high;
966 gpio = <&pmic 6 GPIO_ACTIVE_HIGH>;
967 vin-supply = <&reg_1v8_vio>;
968 };
Stefan Agner446e9c62014-05-14 23:45:58 +0200969
Marcel Ziswiler584a9e52018-09-01 10:12:17 +0200970 reg_3v3_avdd_hdmi: regulator-3v3-avdd-hdmi {
971 compatible = "regulator-fixed";
972 regulator-name = "+V3.3_AVDD_HDMI";
973 regulator-min-microvolt = <3300000>;
974 regulator-max-microvolt = <3300000>;
975 enable-active-high;
976 gpio = <&pmic 6 GPIO_ACTIVE_HIGH>;
977 vin-supply = <&reg_module_3v3>;
978 };
Marcel Ziswiler312d3732015-08-28 17:59:37 +0200979
Marcel Ziswiler584a9e52018-09-01 10:12:17 +0200980 reg_5v0_charge_pump: regulator-5v0-charge-pump {
981 compatible = "regulator-fixed";
982 regulator-name = "+V5.0";
983 regulator-min-microvolt = <5000000>;
984 regulator-max-microvolt = <5000000>;
985 regulator-always-on;
986 };
Marcel Ziswilercaa9eac2014-08-22 13:25:10 -0600987
Marcel Ziswilera03fb632018-09-01 10:12:18 +0200988 reg_lan_v_bus: regulator-lan-v-bus {
989 compatible = "regulator-fixed";
990 regulator-name = "LAN_V_BUS";
991 regulator-min-microvolt = <5000000>;
992 regulator-max-microvolt = <5000000>;
993 enable-active-high;
994 gpio = <&gpio TEGRA_GPIO(DD, 2) GPIO_ACTIVE_HIGH>;
995 };
996
Marcel Ziswiler584a9e52018-09-01 10:12:17 +0200997 reg_module_3v3: regulator-module-3v3 {
998 compatible = "regulator-fixed";
999 regulator-name = "+V3.3";
1000 regulator-min-microvolt = <3300000>;
1001 regulator-max-microvolt = <3300000>;
1002 regulator-always-on;
Stefan Agner446e9c62014-05-14 23:45:58 +02001003 };
Marcel Ziswiler8948e742016-06-19 03:00:01 +02001004
Marcel Ziswilera03fb632018-09-01 10:12:18 +02001005 reg_module_3v3_audio: regulator-module-3v3-audio {
1006 compatible = "regulator-fixed";
1007 regulator-name = "+V3.3_AUDIO_AVDD_S";
1008 regulator-min-microvolt = <3300000>;
1009 regulator-max-microvolt = <3300000>;
1010 regulator-always-on;
1011 };
1012
Marcel Ziswiler8948e742016-06-19 03:00:01 +02001013 sound {
1014 compatible = "toradex,tegra-audio-sgtl5000-colibri_t30",
1015 "nvidia,tegra-audio-sgtl5000";
1016 nvidia,model = "Toradex Colibri T30";
1017 nvidia,audio-routing =
1018 "Headphone Jack", "HP_OUT",
1019 "LINE_IN", "Line In Jack",
1020 "MIC_IN", "Mic Jack";
1021 nvidia,i2s-controller = <&tegra_i2s2>;
1022 nvidia,audio-codec = <&sgtl5000>;
1023 clocks = <&tegra_car TEGRA30_CLK_PLL_A>,
1024 <&tegra_car TEGRA30_CLK_PLL_A_OUT0>,
1025 <&tegra_car TEGRA30_CLK_EXTERN1>;
1026 clock-names = "pll_a", "pll_a_out0", "mclk";
1027 };
Stefan Agner446e9c62014-05-14 23:45:58 +02001028};