Loading...
Note: File does not exist in v6.8.
1// SPDX-License-Identifier: GPL-2.0
2/dts-v1/;
3
4#include <dt-bindings/input/gpio-keys.h>
5#include <dt-bindings/input/input.h>
6#include <dt-bindings/thermal/thermal.h>
7
8#include "tegra30.dtsi"
9#include "tegra30-cpu-opp.dtsi"
10#include "tegra30-cpu-opp-microvolt.dtsi"
11#include "tegra30-asus-lvds-display.dtsi"
12
13/ {
14 model = "Pegatron Chagall";
15 compatible = "pegatron,chagall", "nvidia,tegra30";
16 chassis-type = "tablet";
17
18 aliases {
19 mmc0 = &sdmmc4; /* eMMC */
20 mmc1 = &sdmmc1; /* uSD slot */
21 mmc2 = &sdmmc3; /* WiFi */
22
23 rtc0 = &pmic;
24 rtc1 = "/rtc@7000e000";
25
26 display0 = &lcd;
27 display1 = &hdmi;
28
29 serial1 = &uartc; /* Bluetooth */
30 serial2 = &uartb; /* GPS */
31 };
32
33 /*
34 * The decompressor and also some bootloaders rely on a
35 * pre-existing /chosen node to be available to insert the
36 * command line and merge other ATAGS info.
37 */
38 chosen {};
39
40 memory@80000000 {
41 reg = <0x80000000 0x40000000>;
42 };
43
44 reserved-memory {
45 #address-cells = <1>;
46 #size-cells = <1>;
47 ranges;
48
49 linux,cma@80000000 {
50 compatible = "shared-dma-pool";
51 alloc-ranges = <0x80000000 0x30000000>;
52 size = <0x10000000>; /* 256MiB */
53 linux,cma-default;
54 reusable;
55 };
56
57 ramoops@beb00000 {
58 compatible = "ramoops";
59 reg = <0xbeb00000 0x10000>; /* 64kB */
60 console-size = <0x8000>; /* 32kB */
61 record-size = <0x400>; /* 1kB */
62 ecc-size = <16>;
63 };
64
65 trustzone@bfe00000 {
66 reg = <0xbfe00000 0x200000>; /* 2MB */
67 no-map;
68 };
69 };
70
71 host1x@50000000 {
72 hdmi: hdmi@54280000 {
73 status = "okay";
74
75 hdmi-supply = <&hdmi_5v0_sys>;
76 pll-supply = <&vdd_1v8_vio>;
77 vdd-supply = <&vdd_3v3_sys>;
78
79 nvidia,hpd-gpio = <&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>;
80 nvidia,ddc-i2c-bus = <&hdmi_ddc>;
81 };
82 };
83
84 vde@6001a000 {
85 assigned-clocks = <&tegra_car TEGRA30_CLK_VDE>;
86 assigned-clock-parents = <&tegra_car TEGRA30_CLK_PLL_P>;
87 assigned-clock-rates = <408000000>;
88 };
89
90 pinmux@70000868 {
91 pinctrl-names = "default";
92 pinctrl-0 = <&state_default>;
93
94 state_default: pinmux {
95 /* SDMMC1 pinmux */
96 sdmmc1_clk_pz0 {
97 nvidia,pins = "sdmmc1_clk_pz0";
98 nvidia,function = "sdmmc1";
99 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
100 nvidia,tristate = <TEGRA_PIN_DISABLE>;
101 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
102 };
103
104 sdmmc1_dat3_py4 {
105 nvidia,pins = "sdmmc1_dat3_py4",
106 "sdmmc1_dat2_py5",
107 "sdmmc1_dat1_py6",
108 "sdmmc1_dat0_py7",
109 "sdmmc1_cmd_pz1";
110 nvidia,function = "sdmmc1";
111 nvidia,pull = <TEGRA_PIN_PULL_UP>;
112 nvidia,tristate = <TEGRA_PIN_DISABLE>;
113 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
114 };
115
116 /* SDMMC2 pinmux */
117 vi_d1_pd5 {
118 nvidia,pins = "vi_d1_pd5",
119 "vi_d2_pl0",
120 "vi_d3_pl1",
121 "vi_d5_pl3",
122 "vi_d7_pl5";
123 nvidia,function = "sdmmc2";
124 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
125 nvidia,tristate = <TEGRA_PIN_DISABLE>;
126 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
127 };
128
129 vi_d8_pl6 {
130 nvidia,pins = "vi_d8_pl6",
131 "vi_d9_pl7";
132 nvidia,function = "sdmmc2";
133 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
134 nvidia,tristate = <TEGRA_PIN_DISABLE>;
135 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
136 nvidia,lock = <0>;
137 nvidia,io-reset = <0>;
138 };
139
140 /* SDMMC3 pinmux */
141 sdmmc3_clk_pa6 {
142 nvidia,pins = "sdmmc3_clk_pa6";
143 nvidia,function = "sdmmc3";
144 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
145 nvidia,tristate = <TEGRA_PIN_DISABLE>;
146 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
147 };
148
149 sdmmc3_cmd_pa7 {
150 nvidia,pins = "sdmmc3_cmd_pa7",
151 "sdmmc3_dat3_pb4",
152 "sdmmc3_dat2_pb5",
153 "sdmmc3_dat1_pb6",
154 "sdmmc3_dat0_pb7",
155 "sdmmc3_dat5_pd0",
156 "sdmmc3_dat4_pd1",
157 "sdmmc3_dat6_pd3",
158 "sdmmc3_dat7_pd4";
159 nvidia,function = "sdmmc3";
160 nvidia,pull = <TEGRA_PIN_PULL_UP>;
161 nvidia,tristate = <TEGRA_PIN_DISABLE>;
162 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
163 };
164
165 /* SDMMC4 pinmux */
166 sdmmc4_clk_pcc4 {
167 nvidia,pins = "sdmmc4_clk_pcc4";
168 nvidia,function = "sdmmc4";
169 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
170 nvidia,tristate = <TEGRA_PIN_DISABLE>;
171 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
172 };
173
174 sdmmc4_cmd_pt7 {
175 nvidia,pins = "sdmmc4_cmd_pt7",
176 "sdmmc4_dat0_paa0",
177 "sdmmc4_dat1_paa1",
178 "sdmmc4_dat2_paa2",
179 "sdmmc4_dat3_paa3",
180 "sdmmc4_dat4_paa4",
181 "sdmmc4_dat5_paa5",
182 "sdmmc4_dat6_paa6",
183 "sdmmc4_dat7_paa7";
184 nvidia,function = "sdmmc4";
185 nvidia,pull = <TEGRA_PIN_PULL_UP>;
186 nvidia,tristate = <TEGRA_PIN_DISABLE>;
187 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
188 };
189
190 /* I2C pinmux */
191 gen1_i2c_scl_pc4 {
192 nvidia,pins = "gen1_i2c_scl_pc4",
193 "gen1_i2c_sda_pc5";
194 nvidia,function = "i2c1";
195 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
196 nvidia,tristate = <TEGRA_PIN_DISABLE>;
197 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
198 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
199 nvidia,lock = <0>;
200 };
201
202 gen2_i2c_scl_pt5 {
203 nvidia,pins = "gen2_i2c_scl_pt5",
204 "gen2_i2c_sda_pt6";
205 nvidia,function = "i2c2";
206 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
207 nvidia,tristate = <TEGRA_PIN_DISABLE>;
208 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
209 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
210 nvidia,lock = <0>;
211 };
212
213 cam_i2c_scl_pbb1 {
214 nvidia,pins = "cam_i2c_scl_pbb1",
215 "cam_i2c_sda_pbb2";
216 nvidia,function = "i2c3";
217 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
218 nvidia,tristate = <TEGRA_PIN_DISABLE>;
219 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
220 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
221 nvidia,lock = <0>;
222 };
223
224 ddc_scl_pv4 {
225 nvidia,pins = "ddc_scl_pv4",
226 "ddc_sda_pv5";
227 nvidia,function = "i2c4";
228 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
229 nvidia,tristate = <TEGRA_PIN_DISABLE>;
230 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
231 nvidia,lock = <0>;
232 };
233
234 pwr_i2c_scl_pz6 {
235 nvidia,pins = "pwr_i2c_scl_pz6",
236 "pwr_i2c_sda_pz7";
237 nvidia,function = "i2cpwr";
238 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
239 nvidia,tristate = <TEGRA_PIN_DISABLE>;
240 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
241 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
242 nvidia,lock = <0>;
243 };
244
245 /* HDMI-CEC pinmux */
246 hdmi_cec_pee3 {
247 nvidia,pins = "hdmi_cec_pee3";
248 nvidia,function = "cec";
249 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
250 nvidia,tristate = <TEGRA_PIN_DISABLE>;
251 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
252 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
253 nvidia,lock = <0>;
254 };
255
256 /* UART-A */
257 ulpi_data0_po1 {
258 nvidia,pins = "ulpi_data0_po1";
259 nvidia,function = "uarta";
260 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
261 nvidia,tristate = <TEGRA_PIN_DISABLE>;
262 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
263 };
264
265 ulpi_data1_po2 {
266 nvidia,pins = "ulpi_data1_po2",
267 "ulpi_data2_po3",
268 "ulpi_data3_po4",
269 "ulpi_data4_po5",
270 "ulpi_data5_po6",
271 "ulpi_data6_po7";
272 nvidia,function = "uarta";
273 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
274 nvidia,tristate = <TEGRA_PIN_DISABLE>;
275 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
276 };
277
278 ulpi_data7_po0 {
279 nvidia,pins = "ulpi_data7_po0";
280 nvidia,function = "uarta";
281 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
282 nvidia,tristate = <TEGRA_PIN_DISABLE>;
283 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
284 };
285
286 /* UART-B */
287 uart2_txd_pc2 {
288 nvidia,pins = "uart2_txd_pc2",
289 "uart2_rts_n_pj6";
290 nvidia,function = "uartb";
291 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
292 nvidia,tristate = <TEGRA_PIN_DISABLE>;
293 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
294 };
295
296 uart2_rxd_pc3 {
297 nvidia,pins = "uart2_rxd_pc3",
298 "uart2_cts_n_pj5";
299 nvidia,function = "uartb";
300 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
301 nvidia,tristate = <TEGRA_PIN_DISABLE>;
302 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
303 };
304
305 /* UART-C */
306 uart3_cts_n_pa1 {
307 nvidia,pins = "uart3_cts_n_pa1",
308 "uart3_rxd_pw7";
309 nvidia,function = "uartc";
310 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
311 nvidia,tristate = <TEGRA_PIN_DISABLE>;
312 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
313 };
314
315 uart3_rts_n_pc0 {
316 nvidia,pins = "uart3_rts_n_pc0",
317 "uart3_txd_pw6";
318 nvidia,function = "uartc";
319 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
320 nvidia,tristate = <TEGRA_PIN_DISABLE>;
321 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
322 };
323
324 /* UART-D */
325 ulpi_clk_py0 {
326 nvidia,pins = "ulpi_clk_py0",
327 "ulpi_stp_py3";
328 nvidia,function = "uartd";
329 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
330 nvidia,tristate = <TEGRA_PIN_DISABLE>;
331 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
332 };
333
334 ulpi_dir_py1 {
335 nvidia,pins = "ulpi_dir_py1",
336 "ulpi_nxt_py2";
337 nvidia,function = "uartd";
338 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
339 nvidia,tristate = <TEGRA_PIN_DISABLE>;
340 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
341 };
342
343 /* I2S pinmux */
344 dap1_fs_pn0 {
345 nvidia,pins = "dap1_fs_pn0",
346 "dap1_din_pn1",
347 "dap1_dout_pn2",
348 "dap1_sclk_pn3";
349 nvidia,function = "i2s0";
350 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
351 nvidia,tristate = <TEGRA_PIN_DISABLE>;
352 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
353 };
354
355 dap2_fs_pa2 {
356 nvidia,pins = "dap2_fs_pa2",
357 "dap2_sclk_pa3",
358 "dap2_din_pa4",
359 "dap2_dout_pa5";
360 nvidia,function = "i2s1";
361 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
362 nvidia,tristate = <TEGRA_PIN_DISABLE>;
363 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
364 };
365
366 dap3_fs_pp0 {
367 nvidia,pins = "dap3_fs_pp0",
368 "dap3_din_pp1",
369 "dap3_dout_pp2",
370 "dap3_sclk_pp3";
371 nvidia,function = "i2s2";
372 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
373 nvidia,tristate = <TEGRA_PIN_DISABLE>;
374 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
375 };
376
377 dap4_fs_pp4 {
378 nvidia,pins = "dap4_fs_pp4",
379 "dap4_din_pp5",
380 "dap4_dout_pp6",
381 "dap4_sclk_pp7";
382 nvidia,function = "i2s3";
383 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
384 nvidia,tristate = <TEGRA_PIN_DISABLE>;
385 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
386 };
387
388 pcc2 {
389 nvidia,pins = "pcc2";
390 nvidia,function = "i2s4";
391 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
392 nvidia,tristate = <TEGRA_PIN_DISABLE>;
393 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
394 };
395
396 /* PCI-e pinmux */
397 pex_l2_rst_n_pcc6 {
398 nvidia,pins = "pex_l2_rst_n_pcc6",
399 "pex_l0_rst_n_pdd1",
400 "pex_l1_rst_n_pdd5";
401 nvidia,function = "pcie";
402 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
403 nvidia,tristate = <TEGRA_PIN_DISABLE>;
404 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
405 };
406
407 pex_l2_clkreq_n_pcc7 {
408 nvidia,pins = "pex_l2_clkreq_n_pcc7",
409 "pex_l0_prsnt_n_pdd0",
410 "pex_l0_clkreq_n_pdd2",
411 "pex_l2_prsnt_n_pdd7";
412 nvidia,function = "pcie";
413 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
414 nvidia,tristate = <TEGRA_PIN_DISABLE>;
415 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
416 };
417
418 pex_wake_n_pdd3 {
419 nvidia,pins = "pex_wake_n_pdd3";
420 nvidia,function = "pcie";
421 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
422 nvidia,tristate = <TEGRA_PIN_DISABLE>;
423 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
424 };
425
426 /* SPI pinmux */
427 spi1_mosi_px4 {
428 nvidia,pins = "spi1_mosi_px4",
429 "spi1_sck_px5",
430 "spi1_cs0_n_px6",
431 "spi1_miso_px7";
432 nvidia,function = "spi1";
433 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
434 nvidia,tristate = <TEGRA_PIN_DISABLE>;
435 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
436 };
437
438 spi2_cs1_n_pw2 {
439 nvidia,pins = "spi2_cs1_n_pw2",
440 "spi2_cs2_n_pw3";
441 nvidia,function = "spi2";
442 nvidia,pull = <TEGRA_PIN_PULL_UP>;
443 nvidia,tristate = <TEGRA_PIN_DISABLE>;
444 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
445 };
446
447 spi2_sck_px2 {
448 nvidia,pins = "spi2_sck_px2";
449 nvidia,function = "gmi";
450 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
451 nvidia,tristate = <TEGRA_PIN_DISABLE>;
452 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
453 };
454
455 gmi_a16_pj7 {
456 nvidia,pins = "gmi_a16_pj7",
457 "gmi_a19_pk7";
458 nvidia,function = "spi4";
459 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
460 nvidia,tristate = <TEGRA_PIN_DISABLE>;
461 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
462 };
463
464 gmi_a17_pb0 {
465 nvidia,pins = "gmi_a17_pb0",
466 "gmi_a18_pb1";
467 nvidia,function = "spi4";
468 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
469 nvidia,tristate = <TEGRA_PIN_DISABLE>;
470 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
471 };
472
473 spi2_mosi_px0 {
474 nvidia,pins = "spi2_mosi_px0";
475 nvidia,function = "spi6";
476 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
477 nvidia,tristate = <TEGRA_PIN_DISABLE>;
478 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
479 };
480
481 spdif_out_pk5 {
482 nvidia,pins = "spdif_out_pk5";
483 nvidia,function = "spdif";
484 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
485 nvidia,tristate = <TEGRA_PIN_DISABLE>;
486 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
487 };
488
489 spdif_in_pk6 {
490 nvidia,pins = "spdif_in_pk6";
491 nvidia,function = "spdif";
492 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
493 nvidia,tristate = <TEGRA_PIN_DISABLE>;
494 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
495 };
496
497 /* Display A pinmux */
498 lcd_pwr0_pb2 {
499 nvidia,pins = "lcd_pwr0_pb2",
500 "lcd_pclk_pb3",
501 "lcd_pwr1_pc1",
502 "lcd_pwr2_pc6",
503 "lcd_d0_pe0",
504 "lcd_d1_pe1",
505 "lcd_d2_pe2",
506 "lcd_d3_pe3",
507 "lcd_d4_pe4",
508 "lcd_d5_pe5",
509 "lcd_d6_pe6",
510 "lcd_d7_pe7",
511 "lcd_d8_pf0",
512 "lcd_d9_pf1",
513 "lcd_d10_pf2",
514 "lcd_d11_pf3",
515 "lcd_d12_pf4",
516 "lcd_d13_pf5",
517 "lcd_d14_pf6",
518 "lcd_d15_pf7",
519 "lcd_de_pj1",
520 "lcd_hsync_pj3",
521 "lcd_vsync_pj4",
522 "lcd_d16_pm0",
523 "lcd_d17_pm1",
524 "lcd_d18_pm2",
525 "lcd_d19_pm3",
526 "lcd_d20_pm4",
527 "lcd_d21_pm5",
528 "lcd_d22_pm6",
529 "lcd_d23_pm7",
530 "lcd_cs0_n_pn4",
531 "lcd_sdout_pn5",
532 "lcd_dc0_pn6",
533 "lcd_sdin_pz2",
534 "lcd_wr_n_pz3",
535 "lcd_sck_pz4",
536 "lcd_cs1_n_pw0",
537 "lcd_m1_pw1";
538 nvidia,function = "displaya";
539 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
540 nvidia,tristate = <TEGRA_PIN_DISABLE>;
541 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
542 };
543
544 lcd_dc1_pd2 {
545 nvidia,pins = "lcd_dc1_pd2";
546 nvidia,function = "displaya";
547 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
548 nvidia,tristate = <TEGRA_PIN_DISABLE>;
549 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
550 };
551
552 clk_32k_out_pa0 {
553 nvidia,pins = "clk_32k_out_pa0";
554 nvidia,function = "blink";
555 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
556 nvidia,tristate = <TEGRA_PIN_DISABLE>;
557 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
558 };
559
560 /* KBC keys */
561 kb_row0_pr0 {
562 nvidia,pins = "kb_row0_pr0",
563 "kb_row1_pr1",
564 "kb_row2_pr2",
565 "kb_row3_pr3",
566 "kb_row8_ps0",
567 "kb_col0_pq0",
568 "kb_col1_pq1",
569 "kb_col2_pq2",
570 "kb_col3_pq3",
571 "kb_col4_pq4",
572 "kb_col5_pq5",
573 "kb_col7_pq7";
574 nvidia,function = "kbc";
575 nvidia,pull = <TEGRA_PIN_PULL_UP>;
576 nvidia,tristate = <TEGRA_PIN_DISABLE>;
577 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
578 };
579
580 kb_row4_pr4 {
581 nvidia,pins = "kb_row4_pr4",
582 "kb_row7_pr7",
583 "kb_row10_ps2",
584 "kb_row13_ps5";
585 nvidia,function = "kbc";
586 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
587 nvidia,tristate = <TEGRA_PIN_DISABLE>;
588 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
589 };
590
591 kb_row11_ps3 {
592 nvidia,pins = "kb_row11_ps3",
593 "kb_row12_ps4",
594 "kb_row15_ps7";
595 nvidia,function = "kbc";
596 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
597 nvidia,tristate = <TEGRA_PIN_DISABLE>;
598 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
599 };
600
601 kb_row14_ps6 {
602 nvidia,pins = "kb_row14_ps6";
603 nvidia,function = "kbc";
604 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
605 nvidia,tristate = <TEGRA_PIN_DISABLE>;
606 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
607 };
608
609 gmi_iordy_pi5 {
610 nvidia,pins = "gmi_iordy_pi5";
611 nvidia,function = "rsvd1";
612 nvidia,pull = <TEGRA_PIN_PULL_UP>;
613 nvidia,tristate = <TEGRA_PIN_DISABLE>;
614 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
615 };
616
617 vi_pclk_pt0 {
618 nvidia,pins = "vi_pclk_pt0";
619 nvidia,function = "rsvd1";
620 nvidia,pull = <TEGRA_PIN_PULL_UP>;
621 nvidia,tristate = <TEGRA_PIN_ENABLE>;
622 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
623 nvidia,lock = <0>;
624 nvidia,io-reset = <0>;
625 };
626
627 pu1 {
628 nvidia,pins = "pu1";
629 nvidia,function = "rsvd1";
630 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
631 nvidia,tristate = <TEGRA_PIN_DISABLE>;
632 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
633 };
634
635 pu2 {
636 nvidia,pins = "pu2";
637 nvidia,function = "rsvd1";
638 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
639 nvidia,tristate = <TEGRA_PIN_DISABLE>;
640 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
641 };
642
643 pv0 {
644 nvidia,pins = "pv0";
645 nvidia,function = "rsvd1";
646 nvidia,pull = <TEGRA_PIN_PULL_UP>;
647 nvidia,tristate = <TEGRA_PIN_DISABLE>;
648 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
649 };
650
651 pv1 {
652 nvidia,pins = "pv1";
653 nvidia,function = "rsvd1";
654 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
655 nvidia,tristate = <TEGRA_PIN_DISABLE>;
656 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
657 };
658
659 pcc1 {
660 nvidia,pins = "pcc1";
661 nvidia,function = "rsvd2";
662 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
663 nvidia,tristate = <TEGRA_PIN_DISABLE>;
664 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
665 };
666
667 sdmmc4_rst_n_pcc3 {
668 nvidia,pins = "sdmmc4_rst_n_pcc3";
669 nvidia,function = "rsvd2";
670 nvidia,pull = <TEGRA_PIN_PULL_UP>;
671 nvidia,tristate = <TEGRA_PIN_DISABLE>;
672 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
673 };
674
675 pv3 {
676 nvidia,pins = "pv3";
677 nvidia,function = "rsvd2";
678 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
679 nvidia,tristate = <TEGRA_PIN_DISABLE>;
680 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
681 };
682
683 vi_vsync_pd6 {
684 nvidia,pins = "vi_vsync_pd6",
685 "vi_hsync_pd7";
686 nvidia,function = "rsvd2";
687 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
688 nvidia,tristate = <TEGRA_PIN_DISABLE>;
689 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
690 nvidia,lock = <0>;
691 nvidia,io-reset = <0>;
692 };
693
694 vi_d10_pt2 {
695 nvidia,pins = "vi_d10_pt2",
696 "vi_d0_pt4", "pbb0";
697 nvidia,function = "rsvd2";
698 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
699 nvidia,tristate = <TEGRA_PIN_DISABLE>;
700 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
701 };
702
703 vi_d11_pt3 {
704 nvidia,pins = "vi_d11_pt3";
705 nvidia,function = "rsvd2";
706 nvidia,pull = <TEGRA_PIN_PULL_UP>;
707 nvidia,tristate = <TEGRA_PIN_DISABLE>;
708 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
709 };
710
711 pu0 {
712 nvidia,pins = "pu0";
713 nvidia,function = "rsvd4";
714 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
715 nvidia,tristate = <TEGRA_PIN_DISABLE>;
716 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
717 };
718
719 pu3 {
720 nvidia,pins = "pu3";
721 nvidia,function = "rsvd4";
722 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
723 nvidia,tristate = <TEGRA_PIN_DISABLE>;
724 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
725 };
726
727 pu6 {
728 nvidia,pins = "pu6";
729 nvidia,function = "rsvd4";
730 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
731 nvidia,tristate = <TEGRA_PIN_DISABLE>;
732 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
733 };
734
735 pex_l1_prsnt_n_pdd4 {
736 nvidia,pins = "pex_l1_prsnt_n_pdd4",
737 "pex_l1_clkreq_n_pdd6";
738 nvidia,function = "rsvd4";
739 nvidia,pull = <TEGRA_PIN_PULL_UP>;
740 nvidia,tristate = <TEGRA_PIN_ENABLE>;
741 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
742 };
743
744 gmi_wait_pi7 {
745 nvidia,pins = "gmi_wait_pi7",
746 "gmi_cs0_n_pj0",
747 "gmi_cs1_n_pj2",
748 "gmi_cs4_n_pk2";
749 nvidia,function = "nand";
750 nvidia,pull = <TEGRA_PIN_PULL_UP>;
751 nvidia,tristate = <TEGRA_PIN_ENABLE>;
752 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
753 };
754
755 gmi_ad0_pg0 {
756 nvidia,pins = "gmi_ad0_pg0",
757 "gmi_ad1_pg1",
758 "gmi_ad2_pg2",
759 "gmi_ad3_pg3",
760 "gmi_ad4_pg4",
761 "gmi_ad5_pg5",
762 "gmi_ad6_pg6",
763 "gmi_ad7_pg7",
764 "gmi_wr_n_pi0",
765 "gmi_oe_n_pi1",
766 "gmi_dqs_pi2",
767 "gmi_adv_n_pk0",
768 "gmi_clk_pk1";
769 nvidia,function = "nand";
770 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
771 nvidia,tristate = <TEGRA_PIN_ENABLE>;
772 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
773 };
774
775 gmi_cs2_n_pk3 {
776 nvidia,pins = "gmi_cs2_n_pk3";
777 nvidia,function = "rsvd1";
778 nvidia,pull = <TEGRA_PIN_PULL_UP>;
779 nvidia,tristate = <TEGRA_PIN_DISABLE>;
780 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
781 };
782
783 gmi_cs3_n_pk4 {
784 nvidia,pins = "gmi_cs3_n_pk4";
785 nvidia,function = "nand";
786 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
787 nvidia,tristate = <TEGRA_PIN_DISABLE>;
788 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
789 };
790
791 gmi_ad10_ph2 {
792 nvidia,pins = "gmi_ad10_ph2",
793 "gmi_ad11_ph3",
794 "gmi_ad14_ph6";
795 nvidia,function = "nand";
796 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
797 nvidia,tristate = <TEGRA_PIN_DISABLE>;
798 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
799 };
800
801 gmi_ad13_ph5 {
802 nvidia,pins = "gmi_ad13_ph5",
803 "gmi_ad12_ph4",
804 "gmi_cs7_n_pi6";
805 nvidia,function = "nand";
806 nvidia,pull = <TEGRA_PIN_PULL_UP>;
807 nvidia,tristate = <TEGRA_PIN_DISABLE>;
808 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
809 };
810
811 gmi_rst_n_pi4 {
812 nvidia,pins = "gmi_rst_n_pi4";
813 nvidia,function = "gmi";
814 nvidia,pull = <TEGRA_PIN_PULL_UP>;
815 nvidia,tristate = <TEGRA_PIN_DISABLE>;
816 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
817 };
818
819 gmi_ad8_ph0 {
820 nvidia,pins = "gmi_ad8_ph0";
821 nvidia,function = "pwm0";
822 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
823 nvidia,tristate = <TEGRA_PIN_DISABLE>;
824 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
825 };
826
827 gmi_ad9_ph1 {
828 nvidia,pins = "gmi_ad9_ph1";
829 nvidia,function = "pwm1";
830 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
831 nvidia,tristate = <TEGRA_PIN_DISABLE>;
832 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
833 };
834
835 gmi_wp_n_pc7 {
836 nvidia,pins = "gmi_wp_n_pc7";
837 nvidia,function = "gmi";
838 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
839 nvidia,tristate = <TEGRA_PIN_DISABLE>;
840 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
841 };
842
843 gmi_cs6_n_pi3 {
844 nvidia,pins = "gmi_cs6_n_pi3";
845 nvidia,function = "sata";
846 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
847 nvidia,tristate = <TEGRA_PIN_DISABLE>;
848 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
849 };
850
851 vi_d4_pl2 {
852 nvidia,pins = "vi_d4_pl2";
853 nvidia,function = "vi";
854 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
855 nvidia,tristate = <TEGRA_PIN_DISABLE>;
856 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
857 };
858
859 vi_d6_pl4 {
860 nvidia,pins = "vi_d6_pl4";
861 nvidia,function = "vi";
862 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
863 nvidia,tristate = <TEGRA_PIN_DISABLE>;
864 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
865 nvidia,lock = <0>;
866 nvidia,io-reset = <0>;
867 };
868
869 vi_mclk_pt1 {
870 nvidia,pins = "vi_mclk_pt1";
871 nvidia,function = "vi";
872 nvidia,pull = <TEGRA_PIN_PULL_UP>;
873 nvidia,tristate = <TEGRA_PIN_DISABLE>;
874 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
875 };
876
877 /* HDMI hot-plug-detect */
878 hdmi_int_pn7 {
879 nvidia,pins = "hdmi_int_pn7";
880 nvidia,function = "hdmi";
881 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
882 nvidia,tristate = <TEGRA_PIN_ENABLE>;
883 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
884 };
885
886 pu4 {
887 nvidia,pins = "pu4";
888 nvidia,function = "pwm1";
889 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
890 nvidia,tristate = <TEGRA_PIN_DISABLE>;
891 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
892 };
893
894 pu5 {
895 nvidia,pins = "pu5";
896 nvidia,function = "pwm2";
897 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
898 nvidia,tristate = <TEGRA_PIN_DISABLE>;
899 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
900 };
901
902 jtag_rtck_pu7 {
903 nvidia,pins = "jtag_rtck_pu7";
904 nvidia,function = "rtck";
905 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
906 nvidia,tristate = <TEGRA_PIN_DISABLE>;
907 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
908 };
909
910 crt_hsync_pv6 {
911 nvidia,pins = "crt_hsync_pv6",
912 "crt_vsync_pv7";
913 nvidia,function = "crt";
914 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
915 nvidia,tristate = <TEGRA_PIN_DISABLE>;
916 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
917 };
918
919 clk1_out_pw4 {
920 nvidia,pins = "clk1_out_pw4";
921 nvidia,function = "extperiph1";
922 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
923 nvidia,tristate = <TEGRA_PIN_DISABLE>;
924 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
925 };
926
927 clk2_out_pw5 {
928 nvidia,pins = "clk2_out_pw5";
929 nvidia,function = "extperiph2";
930 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
931 nvidia,tristate = <TEGRA_PIN_DISABLE>;
932 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
933 };
934
935 clk3_out_pee0 {
936 nvidia,pins = "clk3_out_pee0";
937 nvidia,function = "extperiph3";
938 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
939 nvidia,tristate = <TEGRA_PIN_DISABLE>;
940 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
941 };
942
943 sys_clk_req_pz5 {
944 nvidia,pins = "sys_clk_req_pz5";
945 nvidia,function = "sysclk";
946 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
947 nvidia,tristate = <TEGRA_PIN_DISABLE>;
948 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
949 };
950
951 pbb4 {
952 nvidia,pins = "pbb4";
953 nvidia,function = "vgp4";
954 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
955 nvidia,tristate = <TEGRA_PIN_DISABLE>;
956 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
957 };
958
959 pbb5 {
960 nvidia,pins = "pbb5";
961 nvidia,function = "vgp5";
962 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
963 nvidia,tristate = <TEGRA_PIN_DISABLE>;
964 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
965 };
966
967 pbb6 {
968 nvidia,pins = "pbb6";
969 nvidia,function = "vgp6";
970 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
971 nvidia,tristate = <TEGRA_PIN_DISABLE>;
972 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
973 };
974
975 clk1_req_pee2 {
976 nvidia,pins = "clk1_req_pee2";
977 nvidia,function = "dap";
978 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
979 nvidia,tristate = <TEGRA_PIN_DISABLE>;
980 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
981 };
982
983 clk2_req_pcc5 {
984 nvidia,pins = "clk2_req_pcc5";
985 nvidia,function = "dap";
986 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
987 nvidia,tristate = <TEGRA_PIN_DISABLE>;
988 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
989 };
990
991 clk3_req_pee1 {
992 nvidia,pins = "clk3_req_pee1";
993 nvidia,function = "dev3";
994 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
995 nvidia,tristate = <TEGRA_PIN_DISABLE>;
996 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
997 };
998
999 owr {
1000 nvidia,pins = "owr";
1001 nvidia,function = "owr";
1002 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
1003 nvidia,tristate = <TEGRA_PIN_DISABLE>;
1004 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
1005 };
1006
1007 pv2 {
1008 nvidia,pins = "pv2",
1009 "kb_row5_pr5";
1010 nvidia,function = "owr";
1011 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
1012 nvidia,tristate = <TEGRA_PIN_DISABLE>;
1013 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
1014 };
1015
1016 pbb3 {
1017 nvidia,pins = "pbb3";
1018 nvidia,function = "vgp3";
1019 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
1020 nvidia,tristate = <TEGRA_PIN_DISABLE>;
1021 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
1022 };
1023
1024 pbb7 {
1025 nvidia,pins = "pbb7";
1026 nvidia,function = "i2s4";
1027 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
1028 nvidia,tristate = <TEGRA_PIN_DISABLE>;
1029 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
1030 };
1031
1032 cam_mclk_pcc0 {
1033 nvidia,pins = "cam_mclk_pcc0";
1034 nvidia,function = "vi_alt3";
1035 nvidia,pull = <TEGRA_PIN_PULL_UP>;
1036 nvidia,tristate = <TEGRA_PIN_DISABLE>;
1037 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
1038 };
1039
1040 /* GPIO power/drive control */
1041 drive_dap1 {
1042 nvidia,pins = "drive_dap1",
1043 "drive_dap2",
1044 "drive_dbg",
1045 "drive_at5",
1046 "drive_gme",
1047 "drive_ddc",
1048 "drive_ao1",
1049 "drive_uart3";
1050 nvidia,high-speed-mode = <0>;
1051 nvidia,schmitt = <TEGRA_PIN_ENABLE>;
1052 nvidia,low-power-mode = <TEGRA_PIN_LP_DRIVE_DIV_1>;
1053 nvidia,pull-down-strength = <31>;
1054 nvidia,pull-up-strength = <31>;
1055 nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>;
1056 nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FASTEST>;
1057 };
1058
1059 drive_sdio1 {
1060 nvidia,pins = "drive_sdio1";
1061 nvidia,high-speed-mode = <0>;
1062 nvidia,schmitt = <TEGRA_PIN_DISABLE>;
1063 nvidia,pull-down-strength = <5>;
1064 nvidia,pull-up-strength = <5>;
1065 nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FAST>;
1066 nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FAST>;
1067 };
1068
1069 drive_sdio3 {
1070 nvidia,pins = "drive_sdio3";
1071 nvidia,high-speed-mode = <0>;
1072 nvidia,schmitt = <TEGRA_PIN_DISABLE>;
1073 nvidia,pull-down-strength = <46>;
1074 nvidia,pull-up-strength = <42>;
1075 nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FAST>;
1076 nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FAST>;
1077 };
1078
1079 drive_gma {
1080 nvidia,pins = "drive_gma",
1081 "drive_gmb",
1082 "drive_gmc",
1083 "drive_gmd";
1084 nvidia,pull-down-strength = <9>;
1085 nvidia,pull-up-strength = <9>;
1086 nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_SLOWEST>;
1087 nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_SLOWEST>;
1088 };
1089
1090 drive_lcd2 {
1091 nvidia,pins = "drive_lcd2";
1092 nvidia,high-speed-mode = <0>;
1093 nvidia,schmitt = <TEGRA_PIN_ENABLE>;
1094 nvidia,low-power-mode = <TEGRA_PIN_LP_DRIVE_DIV_4>;
1095 nvidia,pull-down-strength = <20>;
1096 nvidia,pull-up-strength = <20>;
1097 nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>;
1098 nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FASTEST>;
1099 };
1100 };
1101 };
1102
1103 uartb: serial@70006040 {
1104 compatible = "nvidia,tegra30-hsuart";
1105 /delete-property/ reg-shift;
1106 status = "okay";
1107
1108 /* Broadcom GPS BCM47511 */
1109 };
1110
1111 uartc: serial@70006200 {
1112 compatible = "nvidia,tegra30-hsuart";
1113 /delete-property/ reg-shift;
1114 status = "okay";
1115
1116 nvidia,adjust-baud-rates = <0 9600 100>,
1117 <9600 115200 200>,
1118 <1000000 4000000 136>;
1119
1120 /* Azurewave AW-AH663 BCM4330B1 */
1121 bluetooth {
1122 compatible = "brcm,bcm4330-bt";
1123 max-speed = <4000000>;
1124
1125 clocks = <&tegra_pmc TEGRA_PMC_CLK_BLINK>;
1126 clock-names = "txco";
1127
1128 interrupt-parent = <&gpio>;
1129 interrupts = <TEGRA_GPIO(U, 6) IRQ_TYPE_EDGE_RISING>;
1130 interrupt-names = "host-wakeup";
1131
1132 device-wakeup-gpios = <&gpio TEGRA_GPIO(U, 1) GPIO_ACTIVE_HIGH>;
1133 shutdown-gpios = <&gpio TEGRA_GPIO(U, 0) GPIO_ACTIVE_HIGH>;
1134
1135 vbat-supply = <&vdd_3v3_sys>;
1136 vddio-supply = <&vdd_1v8_vio>;
1137 };
1138 };
1139
1140 pwm: pwm@7000a000 {
1141 status = "okay";
1142 };
1143
1144 lcd_ddc: i2c@7000c000 {
1145 status = "okay";
1146 clock-frequency = <400000>;
1147
1148 /* Wolfson Microelectronics WM8903 audio codec */
1149 wm8903: audio-codec@1a {
1150 compatible = "wlf,wm8903";
1151 reg = <0x1a>;
1152
1153 interrupt-parent = <&gpio>;
1154 interrupts = <TEGRA_GPIO(W, 3) IRQ_TYPE_EDGE_BOTH>;
1155
1156 gpio-controller;
1157 #gpio-cells = <2>;
1158
1159 micdet-cfg = <0>;
1160 micdet-delay = <100>;
1161
1162 gpio-cfg = <0xffffffff 0xffffffff 0 0xffffffff 0xffffffff>;
1163
1164 AVDD-supply = <&vdd_1v8_vio>;
1165 CPVDD-supply = <&vdd_1v8_vio>;
1166 DBVDD-supply = <&vdd_1v8_vio>;
1167 DCVDD-supply = <&vdd_1v8_vio>;
1168 };
1169 };
1170
1171 i2c2: i2c@7000c400 {
1172 status = "okay";
1173 clock-frequency = <400000>;
1174
1175 /* Atmel touchscreen */
1176 touchscreen@4d {
1177 compatible = "atmel,maxtouch";
1178 reg = <0x4d>;
1179
1180 interrupt-parent = <&gpio>;
1181 interrupts = <TEGRA_GPIO(H, 4) IRQ_TYPE_EDGE_FALLING>;
1182 reset-gpios = <&gpio TEGRA_GPIO(H, 6) GPIO_ACTIVE_LOW>;
1183
1184 vdda-supply = <&vdd_3v3_sys>;
1185 vdd-supply = <&vdd_3v3_sys>;
1186 };
1187 };
1188
1189 i2c3: i2c@7000c500 {
1190 status = "okay";
1191 clock-frequency = <400000>;
1192
1193 light-sensor@44 {
1194 compatible = "isil,isl29023";
1195 reg = <0x44>;
1196
1197 interrupt-parent = <&gpio>;
1198 interrupts = <TEGRA_GPIO(Q, 3) IRQ_TYPE_LEVEL_HIGH>;
1199
1200 vcc-supply = <&vdd_3v3_sen>;
1201 };
1202
1203 /* AsahiKASEI AK8975 magnetometer sensor */
1204 magnetometer@c {
1205 compatible = "asahi-kasei,ak8975";
1206 reg = <0x0c>;
1207
1208 vdd-supply = <&vdd_3v3_sen>;
1209 vid-supply = <&vdd_1v8_vio>;
1210
1211 mount-matrix = "0", "1", "0",
1212 "1", "0", "0",
1213 "0", "0", "-1";
1214 };
1215
1216 gyroscope@68 {
1217 compatible = "invensense,mpu3050";
1218 reg = <0x68>;
1219
1220 interrupt-parent = <&gpio>;
1221 interrupts = <TEGRA_GPIO(X, 1) IRQ_TYPE_EDGE_RISING>;
1222
1223 vdd-supply = <&vdd_3v3_sen>;
1224 vlogic-supply = <&vdd_1v8_vio>;
1225
1226 mount-matrix = "0", "1", "0",
1227 "1", "0", "0",
1228 "0", "0", "-1";
1229
1230 /* External I2C interface */
1231 i2c-gate {
1232 #address-cells = <1>;
1233 #size-cells = <0>;
1234
1235 accelerometer@f {
1236 compatible = "kionix,kxtf9";
1237 reg = <0x0f>;
1238
1239 interrupt-parent = <&gpio>;
1240 interrupts = <TEGRA_GPIO(L, 1) IRQ_TYPE_EDGE_RISING>;
1241
1242 vdd-supply = <&vdd_1v8_vio>;
1243 vddio-supply = <&vdd_1v8_vio>;
1244
1245 mount-matrix = "-1", "0", "0",
1246 "0", "1", "0",
1247 "0", "0", "1";
1248 };
1249 };
1250 };
1251 };
1252
1253 hdmi_ddc: i2c@7000c700 {
1254 status = "okay";
1255 clock-frequency = <93750>;
1256 };
1257
1258 i2c5: i2c@7000d000 {
1259 status = "okay";
1260 clock-frequency = <400000>;
1261
1262 nct72: temperature-sensor@4c {
1263 compatible = "onnn,nct1008";
1264 reg = <0x4c>;
1265
1266 interrupt-parent = <&gpio>;
1267 interrupts = <TEGRA_GPIO(U, 5) IRQ_TYPE_EDGE_FALLING>;
1268
1269 vcc-supply = <&vdd_3v3_sys>;
1270 #thermal-sensor-cells = <1>;
1271 };
1272
1273 /* Texas Instruments TPS659110 PMIC */
1274 pmic: pmic@2d {
1275 compatible = "ti,tps65911";
1276 reg = <0x2d>;
1277
1278 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
1279 #interrupt-cells = <2>;
1280 interrupt-controller;
1281 wakeup-source;
1282
1283 ti,en-gpio-sleep = <0 0 1 0 0 0 0 0 0>;
1284 ti,system-power-controller;
1285 ti,sleep-keep-ck32k;
1286 ti,sleep-enable;
1287
1288 #gpio-cells = <2>;
1289 gpio-controller;
1290
1291 vcc1-supply = <&vdd_5v0_sys>;
1292 vcc2-supply = <&vdd_5v0_sys>;
1293 vcc3-supply = <&vdd_1v8_vio>;
1294 vcc4-supply = <&vdd_1v8_vio>;
1295 vcc5-supply = <&vdd_5v0_sys>;
1296 vcc6-supply = <&vddio_1v2_ddr>;
1297 vcc7-supply = <&vdd_5v0_sys>;
1298 vccio-supply = <&vdd_5v0_sys>;
1299
1300 pmic-sleep-hog {
1301 gpio-hog;
1302 gpios = <0 GPIO_ACTIVE_HIGH>,
1303 <2 GPIO_ACTIVE_HIGH>,
1304 <6 GPIO_ACTIVE_HIGH>,
1305 <8 GPIO_ACTIVE_HIGH>;
1306 output-high;
1307 };
1308
1309 regulators {
1310 /* VDD1 is not used by Chagall */
1311
1312 vddio_1v2_ddr: vdd2 {
1313 regulator-name = "vddio_1v2_ddr";
1314 regulator-min-microvolt = <1200000>;
1315 regulator-max-microvolt = <1200000>;
1316 regulator-always-on;
1317 regulator-boot-on;
1318 };
1319
1320 vdd_cpu: vddctrl {
1321 regulator-name = "vdd_cpu,vdd_sys";
1322 regulator-min-microvolt = <600000>;
1323 regulator-max-microvolt = <1400000>;
1324 regulator-coupled-with = <&vdd_core>;
1325 regulator-coupled-max-spread = <300000>;
1326 regulator-max-step-microvolt = <100000>;
1327 regulator-always-on;
1328 regulator-boot-on;
1329 ti,regulator-ext-sleep-control = <1>;
1330
1331 nvidia,tegra-cpu-regulator;
1332 };
1333
1334 vdd_1v8_vio: vio {
1335 regulator-name = "vdd_1v8_gen";
1336 /* FIXME: eMMC won't work, if set to 1.8 V */
1337 regulator-min-microvolt = <1500000>;
1338 regulator-max-microvolt = <3300000>;
1339 regulator-always-on;
1340 regulator-boot-on;
1341 };
1342
1343 /* eMMC VDD */
1344 vcore_emmc: ldo1 {
1345 regulator-name = "vdd_emmc_core";
1346 regulator-min-microvolt = <1000000>;
1347 regulator-max-microvolt = <3300000>;
1348 regulator-always-on;
1349 };
1350
1351 /* uSD slot VDD */
1352 vdd_usd: ldo2 {
1353 regulator-name = "vdd_usd";
1354 regulator-min-microvolt = <3200000>;
1355 regulator-max-microvolt = <3200000>;
1356 };
1357
1358 /* uSD slot VDDIO */
1359 vddio_usd: ldo3 {
1360 regulator-name = "vddio_usd";
1361 regulator-min-microvolt = <1900000>;
1362 regulator-max-microvolt = <3200000>;
1363 };
1364
1365 ldo4 {
1366 regulator-name = "vdd_rtc";
1367 regulator-min-microvolt = <1200000>;
1368 regulator-max-microvolt = <1200000>;
1369 regulator-always-on;
1370 };
1371
1372 ldo5 {
1373 regulator-name = "vdd_1v3_cam_isp";
1374 regulator-min-microvolt = <1300000>;
1375 regulator-max-microvolt = <1300000>;
1376 };
1377
1378 ldo6 {
1379 regulator-name = "avdd_dsi_csi,pwrdet_mipi";
1380 regulator-min-microvolt = <1200000>;
1381 regulator-max-microvolt = <1200000>;
1382 };
1383
1384 ldo7 {
1385 regulator-name = "vdd_pllm,x,u,a_p_c_s";
1386 regulator-min-microvolt = <1200000>;
1387 regulator-max-microvolt = <1200000>;
1388 regulator-always-on;
1389 regulator-boot-on;
1390 ti,regulator-ext-sleep-control = <8>;
1391 };
1392
1393 ldo8 {
1394 regulator-name = "vdd_ddr_hs";
1395 regulator-min-microvolt = <1000000>;
1396 regulator-max-microvolt = <1000000>;
1397 regulator-always-on;
1398 ti,regulator-ext-sleep-control = <8>;
1399 };
1400 };
1401 };
1402
1403 vdd_core: core-regulator@60 {
1404 compatible = "ti,tps62361";
1405 reg = <0x60>;
1406
1407 regulator-name = "tps62361-vout";
1408 regulator-min-microvolt = <500000>;
1409 regulator-max-microvolt = <1770000>;
1410 regulator-coupled-with = <&vdd_cpu>;
1411 regulator-coupled-max-spread = <300000>;
1412 regulator-max-step-microvolt = <100000>;
1413 regulator-boot-on;
1414 regulator-always-on;
1415 ti,enable-vout-discharge;
1416 ti,vsel0-state-high;
1417 ti,vsel1-state-high;
1418
1419 nvidia,tegra-core-regulator;
1420 };
1421 };
1422
1423 vdd_5v0_sys: regulator-5v {
1424 compatible = "regulator-fixed";
1425 regulator-name = "vdd_5v0_sys";
1426 regulator-min-microvolt = <5000000>;
1427 regulator-max-microvolt = <5000000>;
1428 regulator-always-on;
1429 regulator-boot-on;
1430 };
1431
1432 vdd_3v3_sys: regulator-3v {
1433 compatible = "regulator-fixed";
1434 regulator-name = "vdd_3v3_sys";
1435 regulator-min-microvolt = <3300000>;
1436 regulator-max-microvolt = <3300000>;
1437 regulator-always-on;
1438 regulator-boot-on;
1439 };
1440
1441 vdd_pnl: regulator-panel {
1442 compatible = "regulator-fixed";
1443 regulator-name = "vdd_panel";
1444 regulator-min-microvolt = <3300000>;
1445 regulator-max-microvolt = <3300000>;
1446 regulator-enable-ramp-delay = <300000>;
1447 gpio = <&gpio TEGRA_GPIO(W, 1) GPIO_ACTIVE_HIGH>;
1448 enable-active-high;
1449 vin-supply = <&vdd_3v3_sys>;
1450 };
1451
1452 vdd_3v3_sen: regulator-sensors {
1453 compatible = "regulator-fixed";
1454 regulator-name = "sen_3v3_en";
1455 regulator-min-microvolt = <3300000>;
1456 regulator-max-microvolt = <3300000>;
1457 gpio = <&gpio TEGRA_GPIO(K, 5) GPIO_ACTIVE_HIGH>;
1458 enable-active-high;
1459 vin-supply = <&vdd_3v3_sys>;
1460 };
1461
1462 vdd_5v0_bl: regulator-bl {
1463 compatible = "regulator-fixed";
1464 regulator-name = "vdd_5v0_bl";
1465 regulator-min-microvolt = <5000000>;
1466 regulator-max-microvolt = <5000000>;
1467 regulator-boot-on;
1468 gpio = <&gpio TEGRA_GPIO(C, 6) GPIO_ACTIVE_HIGH>;
1469 enable-active-high;
1470 vin-supply = <&vdd_5v0_sys>;
1471 };
1472
1473 hdmi_5v0_sys: regulator-hdmi {
1474 compatible = "regulator-fixed";
1475 regulator-name = "hdmi_5v0_sys";
1476 regulator-min-microvolt = <5000000>;
1477 regulator-max-microvolt = <5000000>;
1478 gpio = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_HIGH>;
1479 enable-active-high;
1480 vin-supply = <&vdd_5v0_sys>;
1481 };
1482
1483 vdd_vbus_usb1: regulator-usb1 {
1484 compatible = "regulator-fixed";
1485 regulator-name = "vdd_vbus_micro_usb";
1486 regulator-min-microvolt = <5000000>;
1487 regulator-max-microvolt = <5000000>;
1488 gpio = <&gpio TEGRA_GPIO(DD, 3) GPIO_ACTIVE_HIGH>;
1489 enable-active-high;
1490 vin-supply = <&vdd_5v0_sys>;
1491 };
1492
1493 vdd_vbus_usb3: regulator-usb3 {
1494 compatible = "regulator-fixed";
1495 regulator-name = "vdd_vbus_typea_usb";
1496 regulator-min-microvolt = <5000000>;
1497 regulator-max-microvolt = <5000000>;
1498 gpio = <&gpio TEGRA_GPIO(CC, 6) GPIO_ACTIVE_HIGH>;
1499 enable-active-high;
1500 vin-supply = <&vdd_5v0_sys>;
1501 };
1502
1503 pmc@7000e400 {
1504 status = "okay";
1505 nvidia,invert-interrupt;
1506 nvidia,suspend-mode = <2>;
1507 nvidia,cpu-pwr-good-time = <2000>;
1508 nvidia,cpu-pwr-off-time = <200>;
1509 nvidia,core-pwr-good-time = <3845 3845>;
1510 nvidia,core-pwr-off-time = <0>;
1511 nvidia,core-power-req-active-high;
1512 nvidia,sys-clock-req-active-high;
1513 core-supply = <&vdd_core>;
1514
1515 /* Set DEV_OFF + PWR_OFF_SET bit in DCDC control register of TPS65911 PMIC */
1516 i2c-thermtrip {
1517 nvidia,i2c-controller-id = <4>;
1518 nvidia,bus-addr = <0x2d>;
1519 nvidia,reg-addr = <0x3f>;
1520 nvidia,reg-data = <0x81>;
1521 };
1522 };
1523
1524 memory-controller@7000f000 {
1525 emc-timings-0 {
1526 /* SAMSUNG K4P8G304EB FGC1 */
1527 nvidia,ram-code = <0>;
1528
1529 timing-25500000 {
1530 clock-frequency = <25500000>;
1531
1532 nvidia,emem-configuration = < 0x00020001 0xc0000010
1533 0x00000001 0x00000001 0x00000002 0x00000000
1534 0x00000003 0x00000001 0x00000002 0x00000004
1535 0x00000001 0x00000000 0x00000002 0x00000002
1536 0x02020001 0x00060402 0x73e30303 0x001f0000 >;
1537 };
1538
1539 timing-51000000 {
1540 clock-frequency = <51000000>;
1541
1542 nvidia,emem-configuration = < 0x00010001 0xc0000010
1543 0x00000001 0x00000001 0x00000002 0x00000000
1544 0x00000003 0x00000001 0x00000002 0x00000004
1545 0x00000001 0x00000000 0x00000002 0x00000002
1546 0x02020001 0x00060402 0x72c30303 0x001f0000 >;
1547 };
1548
1549 timing-102000000 {
1550 clock-frequency = <102000000>;
1551
1552 nvidia,emem-configuration = < 0x00000001 0xc0000018
1553 0x00000001 0x00000001 0x00000003 0x00000001
1554 0x00000003 0x00000001 0x00000002 0x00000004
1555 0x00000001 0x00000000 0x00000002 0x00000002
1556 0x02020001 0x00060403 0x72430504 0x001f0000 >;
1557 };
1558
1559 timing-204000000 {
1560 clock-frequency = <204000000>;
1561
1562 nvidia,emem-configuration = < 0x00000003 0xc0000025
1563 0x00000001 0x00000001 0x00000006 0x00000003
1564 0x00000005 0x00000001 0x00000002 0x00000004
1565 0x00000001 0x00000000 0x00000003 0x00000002
1566 0x02030001 0x00070506 0x71e40a07 0x001f0000 >;
1567 };
1568
1569 timing-400000000 {
1570 clock-frequency = <400000000>;
1571
1572 nvidia,emem-configuration = < 0x00000006 0xc0000048
1573 0x00000002 0x00000003 0x0000000c 0x00000007
1574 0x00000009 0x00000001 0x00000002 0x00000006
1575 0x00000001 0x00000000 0x00000004 0x00000004
1576 0x04040001 0x000d090c 0x7026120d 0x001f0000 >;
1577 };
1578 };
1579
1580 emc-timings-1 {
1581 /* ELPIDA EDB8132B2MA 8D_F */
1582 nvidia,ram-code = <1>;
1583
1584 timing-25500000 {
1585 clock-frequency = <25500000>;
1586
1587 nvidia,emem-configuration = < 0x00020001 0xc0000010
1588 0x00000001 0x00000001 0x00000002 0x00000000
1589 0x00000003 0x00000001 0x00000002 0x00000004
1590 0x00000001 0x00000000 0x00000002 0x00000002
1591 0x02020001 0x00060402 0x73e30303 0x001f0000 >;
1592 };
1593
1594 timing-51000000 {
1595 clock-frequency = <51000000>;
1596
1597 nvidia,emem-configuration = < 0x00010001 0xc0000010
1598 0x00000001 0x00000001 0x00000002 0x00000000
1599 0x00000003 0x00000001 0x00000002 0x00000004
1600 0x00000001 0x00000000 0x00000002 0x00000002
1601 0x02020001 0x00060402 0x72c30303 0x001f0000 >;
1602 };
1603
1604 timing-102000000 {
1605 clock-frequency = <102000000>;
1606
1607 nvidia,emem-configuration = < 0x00000001 0xc0000018
1608 0x00000001 0x00000001 0x00000003 0x00000001
1609 0x00000003 0x00000001 0x00000002 0x00000004
1610 0x00000001 0x00000000 0x00000002 0x00000002
1611 0x02020001 0x00060403 0x72430504 0x001f0000 >;
1612 };
1613
1614 timing-204000000 {
1615 clock-frequency = <204000000>;
1616
1617 nvidia,emem-configuration = < 0x00000003 0xc0000025
1618 0x00000001 0x00000001 0x00000006 0x00000003
1619 0x00000005 0x00000001 0x00000002 0x00000004
1620 0x00000001 0x00000000 0x00000003 0x00000002
1621 0x02030001 0x00070506 0x71e40a07 0x001f0000 >;
1622 };
1623
1624 timing-400000000 {
1625 clock-frequency = <400000000>;
1626
1627 nvidia,emem-configuration = < 0x00000006 0xc0000048
1628 0x00000002 0x00000003 0x0000000c 0x00000007
1629 0x00000009 0x00000001 0x00000002 0x00000006
1630 0x00000001 0x00000000 0x00000004 0x00000004
1631 0x04040001 0x000d090c 0x7026120d 0x001f0000 >;
1632 };
1633 };
1634
1635 emc-timings-2 {
1636 /* SAMSUNG K4P8G304EB FGC2 */
1637 nvidia,ram-code = <2>;
1638
1639 timing-25500000 {
1640 clock-frequency = <25500000>;
1641
1642 nvidia,emem-configuration = < 0x00020001 0xc0000010
1643 0x00000001 0x00000001 0x00000002 0x00000000
1644 0x00000003 0x00000001 0x00000002 0x00000004
1645 0x00000001 0x00000000 0x00000002 0x00000002
1646 0x02020001 0x00060402 0x73e30303 0x001f0000 >;
1647 };
1648
1649 timing-51000000 {
1650 clock-frequency = <51000000>;
1651
1652 nvidia,emem-configuration = < 0x00010001 0xc0000010
1653 0x00000001 0x00000001 0x00000002 0x00000000
1654 0x00000003 0x00000001 0x00000002 0x00000004
1655 0x00000001 0x00000000 0x00000002 0x00000002
1656 0x02020001 0x00060402 0x72c30303 0x001f0000 >;
1657 };
1658
1659 timing-102000000 {
1660 clock-frequency = <102000000>;
1661
1662 nvidia,emem-configuration = < 0x00000001 0xc0000018
1663 0x00000001 0x00000001 0x00000003 0x00000001
1664 0x00000003 0x00000001 0x00000002 0x00000004
1665 0x00000001 0x00000000 0x00000002 0x00000002
1666 0x02020001 0x00060403 0x72430504 0x001f0000 >;
1667 };
1668
1669 timing-204000000 {
1670 clock-frequency = <204000000>;
1671
1672 nvidia,emem-configuration = < 0x00000003 0xc0000025
1673 0x00000001 0x00000001 0x00000006 0x00000003
1674 0x00000005 0x00000001 0x00000002 0x00000004
1675 0x00000001 0x00000000 0x00000003 0x00000002
1676 0x02030001 0x00070506 0x71e40a07 0x001f0000 >;
1677 };
1678
1679 timing-533000000 {
1680 clock-frequency = <533000000>;
1681
1682 nvidia,emem-configuration = < 0x00000008 0xc0000060
1683 0x00000003 0x00000004 0x00000010 0x0000000a
1684 0x0000000d 0x00000002 0x00000002 0x00000008
1685 0x00000002 0x00000000 0x00000004 0x00000005
1686 0x05040002 0x00110b10 0x70281811 0x001f0000 >;
1687 };
1688 };
1689
1690 emc-timings-3 {
1691 /* HYNIX H9TCNNN8JDMMPR NGM */
1692 nvidia,ram-code = <3>;
1693
1694 timing-25500000 {
1695 clock-frequency = <25500000>;
1696
1697 nvidia,emem-configuration = < 0x00020001 0xc0000010
1698 0x00000001 0x00000001 0x00000002 0x00000000
1699 0x00000003 0x00000001 0x00000002 0x00000004
1700 0x00000001 0x00000000 0x00000002 0x00000002
1701 0x02020001 0x00060402 0x73e30303 0x001f0000 >;
1702 };
1703
1704 timing-51000000 {
1705 clock-frequency = <51000000>;
1706
1707 nvidia,emem-configuration = < 0x00010001 0xc0000010
1708 0x00000001 0x00000001 0x00000002 0x00000000
1709 0x00000003 0x00000001 0x00000002 0x00000004
1710 0x00000001 0x00000000 0x00000002 0x00000002
1711 0x02020001 0x00060402 0x72c30303 0x001f0000 >;
1712 };
1713
1714 timing-102000000 {
1715 clock-frequency = <102000000>;
1716
1717 nvidia,emem-configuration = < 0x00000001 0xc0000018
1718 0x00000001 0x00000001 0x00000003 0x00000001
1719 0x00000003 0x00000001 0x00000002 0x00000004
1720 0x00000001 0x00000000 0x00000002 0x00000002
1721 0x02020001 0x00060403 0x72430504 0x001f0000 >;
1722 };
1723
1724 timing-204000000 {
1725 clock-frequency = <204000000>;
1726
1727 nvidia,emem-configuration = < 0x00000003 0xc0000025
1728 0x00000001 0x00000001 0x00000006 0x00000003
1729 0x00000005 0x00000001 0x00000002 0x00000004
1730 0x00000001 0x00000000 0x00000003 0x00000002
1731 0x02030001 0x00070506 0x71e40a07 0x001f0000 >;
1732 };
1733
1734 timing-533000000 {
1735 clock-frequency = <533000000>;
1736
1737 nvidia,emem-configuration = < 0x00000008 0xc0000060
1738 0x00000003 0x00000004 0x00000010 0x0000000a
1739 0x0000000d 0x00000002 0x00000002 0x00000008
1740 0x00000002 0x00000000 0x00000004 0x00000005
1741 0x05040002 0x00110b10 0x70281811 0x001f0000 >;
1742 };
1743 };
1744 };
1745
1746 memory-controller@7000f400 {
1747 emc-timings-0 {
1748 /* SAMSUNG K4P8G304EB FGC1 */
1749 nvidia,ram-code = <0>;
1750
1751 timing-25500000 {
1752 clock-frequency = <25500000>;
1753
1754 nvidia,emc-auto-cal-interval = <0x001fffff>;
1755 nvidia,emc-mode-1 = <0x00010022>;
1756 nvidia,emc-mode-2 = <0x00020001>;
1757 nvidia,emc-mode-reset = <0x00000000>;
1758 nvidia,emc-zcal-cnt-long = <0x00000009>;
1759 nvidia,emc-cfg-dyn-self-ref;
1760 nvidia,emc-cfg-periodic-qrst;
1761
1762 nvidia,emc-configuration = < 0x00000001
1763 0x00000003 0x00000002 0x00000002 0x00000004
1764 0x00000004 0x00000001 0x00000005 0x00000002
1765 0x00000002 0x00000001 0x00000001 0x00000000
1766 0x00000001 0x00000003 0x00000001 0x0000000b
1767 0x00000009 0x00000060 0x00000000 0x00000018
1768 0x00000001 0x00000001 0x00000002 0x00000000
1769 0x00000001 0x00000007 0x00000004 0x00000004
1770 0x00000003 0x00000008 0x00000004 0x00000004
1771 0x00000002 0x0000006b 0x00000004 0x00000004
1772 0x00000000 0x00000000 0x00004282 0x007800a4
1773 0x00008000 0x000fc000 0x000fc000 0x000fc000
1774 0x000fc000 0x000fc000 0x000fc000 0x000fc000
1775 0x000fc000 0x00000000 0x00000000 0x00000000
1776 0x00000000 0x00000000 0x00000000 0x00000000
1777 0x00000000 0x00000000 0x00000000 0x00000000
1778 0x00000000 0x00000000 0x00000000 0x00000000
1779 0x00000000 0x000fc000 0x000fc000 0x000fc000
1780 0x000fc000 0x00100220 0x0800201c 0x00000000
1781 0x77ffc004 0x01f1f008 0x00000000 0x00000007
1782 0x08000068 0x08000000 0x00000802 0x00064000
1783 0x0000000a 0x00090009 0xa0f10000 0x00000000
1784 0x00000000 0x800001c5 0xe0000000 0xff00ff00 >;
1785 };
1786
1787 timing-51000000 {
1788 clock-frequency = <51000000>;
1789
1790 nvidia,emc-auto-cal-interval = <0x001fffff>;
1791 nvidia,emc-mode-1 = <0x00010022>;
1792 nvidia,emc-mode-2 = <0x00020001>;
1793 nvidia,emc-mode-reset = <0x00000000>;
1794 nvidia,emc-zcal-cnt-long = <0x00000009>;
1795 nvidia,emc-cfg-dyn-self-ref;
1796 nvidia,emc-cfg-periodic-qrst;
1797
1798 nvidia,emc-configuration = < 0x00000003
1799 0x00000006 0x00000002 0x00000002 0x00000004
1800 0x00000004 0x00000001 0x00000005 0x00000002
1801 0x00000002 0x00000001 0x00000001 0x00000000
1802 0x00000001 0x00000003 0x00000001 0x0000000b
1803 0x00000009 0x000000c0 0x00000000 0x00000030
1804 0x00000001 0x00000001 0x00000002 0x00000000
1805 0x00000001 0x00000007 0x00000008 0x00000008
1806 0x00000003 0x00000008 0x00000004 0x00000004
1807 0x00000002 0x000000d5 0x00000004 0x00000004
1808 0x00000000 0x00000000 0x00004282 0x007800a4
1809 0x00008000 0x000fc000 0x000fc000 0x000fc000
1810 0x000fc000 0x000fc000 0x000fc000 0x000fc000
1811 0x000fc000 0x00000000 0x00000000 0x00000000
1812 0x00000000 0x00000000 0x00000000 0x00000000
1813 0x00000000 0x00000000 0x00000000 0x00000000
1814 0x00000000 0x00000000 0x00000000 0x00000000
1815 0x00000000 0x000fc000 0x000fc000 0x000fc000
1816 0x000fc000 0x00100220 0x0800201c 0x00000000
1817 0x77ffc004 0x01f1f008 0x00000000 0x00000007
1818 0x08000068 0x08000000 0x00000802 0x00064000
1819 0x00000013 0x00090009 0xa0f10000 0x00000000
1820 0x00000000 0x80000287 0xe0000000 0xff00ff00 >;
1821 };
1822
1823 timing-102000000 {
1824 clock-frequency = <102000000>;
1825
1826 nvidia,emc-auto-cal-interval = <0x001fffff>;
1827 nvidia,emc-mode-1 = <0x00010022>;
1828 nvidia,emc-mode-2 = <0x00020001>;
1829 nvidia,emc-mode-reset = <0x00000000>;
1830 nvidia,emc-zcal-cnt-long = <0x0000000a>;
1831 nvidia,emc-cfg-dyn-self-ref;
1832 nvidia,emc-cfg-periodic-qrst;
1833
1834 nvidia,emc-configuration = < 0x00000006
1835 0x0000000d 0x00000004 0x00000002 0x00000004
1836 0x00000004 0x00000001 0x00000005 0x00000002
1837 0x00000002 0x00000001 0x00000001 0x00000000
1838 0x00000001 0x00000003 0x00000001 0x0000000b
1839 0x00000009 0x00000181 0x00000000 0x00000060
1840 0x00000001 0x00000001 0x00000002 0x00000000
1841 0x00000001 0x00000007 0x0000000f 0x0000000f
1842 0x00000003 0x00000008 0x00000004 0x00000004
1843 0x00000002 0x000001a9 0x00000004 0x00000004
1844 0x00000000 0x00000000 0x00004282 0x007800a4
1845 0x00008000 0x000fc000 0x000fc000 0x000fc000
1846 0x000fc000 0x000fc000 0x000fc000 0x000fc000
1847 0x000fc000 0x00000000 0x00000000 0x00000000
1848 0x00000000 0x00000000 0x00000000 0x00000000
1849 0x00000000 0x00000000 0x00000000 0x00000000
1850 0x00000000 0x00000000 0x00000000 0x00000000
1851 0x00000000 0x000fc000 0x000fc000 0x000fc000
1852 0x000fc000 0x00100220 0x0800201c 0x00000000
1853 0x77ffc004 0x01f1f008 0x00000000 0x00000007
1854 0x08000068 0x08000000 0x00000802 0x00064000
1855 0x00000025 0x00090009 0xa0f10000 0x00000000
1856 0x00000000 0x8000040b 0xe0000000 0xff00ff00 >;
1857 };
1858
1859 timing-204000000 {
1860 clock-frequency = <204000000>;
1861
1862 nvidia,emc-auto-cal-interval = <0x001fffff>;
1863 nvidia,emc-mode-1 = <0x00010042>;
1864 nvidia,emc-mode-2 = <0x00020001>;
1865 nvidia,emc-mode-reset = <0x00000000>;
1866 nvidia,emc-zcal-cnt-long = <0x00000013>;
1867 nvidia,emc-cfg-dyn-self-ref;
1868 nvidia,emc-cfg-periodic-qrst;
1869
1870 nvidia,emc-configuration = < 0x0000000c
1871 0x0000001a 0x00000008 0x00000003 0x00000005
1872 0x00000004 0x00000001 0x00000006 0x00000003
1873 0x00000003 0x00000002 0x00000002 0x00000000
1874 0x00000001 0x00000003 0x00000001 0x0000000c
1875 0x0000000a 0x00000303 0x00000000 0x000000c0
1876 0x00000001 0x00000001 0x00000003 0x00000000
1877 0x00000001 0x00000007 0x0000001d 0x0000001d
1878 0x00000004 0x0000000b 0x00000005 0x00000004
1879 0x00000002 0x00000351 0x00000004 0x00000006
1880 0x00000000 0x00000000 0x00004282 0x004400a4
1881 0x00008000 0x00080000 0x00080000 0x00080000
1882 0x00080000 0x00080000 0x00080000 0x00080000
1883 0x00080000 0x00000000 0x00000000 0x00000000
1884 0x00000000 0x00000000 0x00000000 0x00000000
1885 0x00000000 0x00000000 0x00000000 0x00000000
1886 0x00000000 0x00000000 0x00000000 0x00000000
1887 0x00000000 0x00080000 0x00080000 0x00080000
1888 0x00080000 0x000e0220 0x0800201c 0x00000000
1889 0x77ffc004 0x01f1f008 0x00000000 0x00000007
1890 0x08000068 0x08000000 0x00000802 0x00064000
1891 0x0000004a 0x00090009 0xa0f10000 0x00000000
1892 0x00000000 0x80000713 0xe0000000 0xff00ff00 >;
1893 };
1894
1895 timing-400000000 {
1896 clock-frequency = <400000000>;
1897
1898 nvidia,emc-auto-cal-interval = <0x001fffff>;
1899 nvidia,emc-mode-1 = <0x00010082>;
1900 nvidia,emc-mode-2 = <0x00020004>;
1901 nvidia,emc-mode-reset = <0x00000000>;
1902 nvidia,emc-zcal-cnt-long = <0x00000024>;
1903 nvidia,emc-cfg-periodic-qrst;
1904
1905 nvidia,emc-configuration = < 0x00000017
1906 0x00000033 0x00000010 0x00000007 0x00000007
1907 0x00000007 0x00000002 0x0000000a 0x00000007
1908 0x00000007 0x00000003 0x00000002 0x00000000
1909 0x00000003 0x00000007 0x00000004 0x0000000d
1910 0x0000000e 0x000005e9 0x00000000 0x0000017a
1911 0x00000002 0x00000002 0x00000007 0x00000000
1912 0x00000001 0x0000000c 0x00000038 0x00000038
1913 0x00000006 0x00000014 0x00000009 0x00000004
1914 0x00000002 0x00000680 0x00000000 0x00000006
1915 0x00000000 0x00000000 0x00006282 0x001d0084
1916 0x00008000 0x00034000 0x00034000 0x00034000
1917 0x00034000 0x00034000 0x00034000 0x00034000
1918 0x00034000 0x00000000 0x00000000 0x00000000
1919 0x00000000 0x00000000 0x00000000 0x00000000
1920 0x00000000 0x00000000 0x00000000 0x00000000
1921 0x00000000 0x00000000 0x00000000 0x00000000
1922 0x00000000 0x00038000 0x00038000 0x00038000
1923 0x00038000 0x00080220 0x0800003d 0x00000000
1924 0x77ffc004 0x01f1f408 0x00000000 0x00000007
1925 0x08000068 0x08000000 0x00000802 0x00064000
1926 0x00000090 0x000c000c 0xa0f10404 0x00000000
1927 0x00000000 0x80000ce6 0xe0000000 0xff00ff88 >;
1928 };
1929 };
1930
1931 emc-timings-1 {
1932 /* ELPIDA EDB8132B2MA 8D_F */
1933 nvidia,ram-code = <1>;
1934
1935 timing-25500000 {
1936 clock-frequency = <25500000>;
1937
1938 nvidia,emc-auto-cal-interval = <0x001fffff>;
1939 nvidia,emc-mode-1 = <0x00010022>;
1940 nvidia,emc-mode-2 = <0x00020001>;
1941 nvidia,emc-mode-reset = <0x00000000>;
1942 nvidia,emc-zcal-cnt-long = <0x00000009>;
1943 nvidia,emc-cfg-dyn-self-ref;
1944 nvidia,emc-cfg-periodic-qrst;
1945
1946 nvidia,emc-configuration = < 0x00000001
1947 0x00000003 0x00000002 0x00000002 0x00000004
1948 0x00000004 0x00000001 0x00000005 0x00000002
1949 0x00000002 0x00000001 0x00000001 0x00000000
1950 0x00000001 0x00000003 0x00000001 0x0000000b
1951 0x0000000a 0x00000060 0x00000000 0x00000018
1952 0x00000001 0x00000001 0x00000002 0x00000000
1953 0x00000001 0x00000007 0x00000004 0x00000004
1954 0x00000003 0x00000008 0x00000004 0x00000004
1955 0x00000002 0x0000006b 0x00000004 0x00000004
1956 0x00000000 0x00000000 0x00004282 0x007800a4
1957 0x00008000 0x000fc000 0x000fc000 0x000fc000
1958 0x000fc000 0x000fc000 0x000fc000 0x000fc000
1959 0x000fc000 0x00000000 0x00000000 0x00000000
1960 0x00000000 0x00000000 0x00000000 0x00000000
1961 0x00000000 0x00000000 0x00000000 0x00000000
1962 0x00000000 0x00000000 0x00000000 0x00000000
1963 0x00000000 0x000fc000 0x000fc000 0x000fc000
1964 0x000fc000 0x00100220 0x0800201c 0x00000000
1965 0x77ffc004 0x01f1f008 0x00000000 0x00000007
1966 0x08000068 0x08000000 0x00000802 0x00064000
1967 0x0000000a 0x00090009 0xa0f10000 0x00000000
1968 0x00000000 0x800001c5 0xe0000000 0xff00ff00 >;
1969 };
1970
1971 timing-51000000 {
1972 clock-frequency = <51000000>;
1973
1974 nvidia,emc-auto-cal-interval = <0x001fffff>;
1975 nvidia,emc-mode-1 = <0x00010022>;
1976 nvidia,emc-mode-2 = <0x00020001>;
1977 nvidia,emc-mode-reset = <0x00000000>;
1978 nvidia,emc-zcal-cnt-long = <0x00000009>;
1979 nvidia,emc-cfg-dyn-self-ref;
1980 nvidia,emc-cfg-periodic-qrst;
1981
1982 nvidia,emc-configuration = < 0x00000003
1983 0x00000006 0x00000002 0x00000002 0x00000004
1984 0x00000004 0x00000001 0x00000005 0x00000002
1985 0x00000002 0x00000001 0x00000001 0x00000000
1986 0x00000001 0x00000003 0x00000001 0x0000000b
1987 0x0000000a 0x000000c0 0x00000000 0x00000030
1988 0x00000001 0x00000001 0x00000002 0x00000000
1989 0x00000001 0x00000007 0x00000008 0x00000008
1990 0x00000003 0x00000008 0x00000004 0x00000004
1991 0x00000002 0x000000d5 0x00000004 0x00000004
1992 0x00000000 0x00000000 0x00004282 0x007800a4
1993 0x00008000 0x000fc000 0x000fc000 0x000fc000
1994 0x000fc000 0x000fc000 0x000fc000 0x000fc000
1995 0x000fc000 0x00000000 0x00000000 0x00000000
1996 0x00000000 0x00000000 0x00000000 0x00000000
1997 0x00000000 0x00000000 0x00000000 0x00000000
1998 0x00000000 0x00000000 0x00000000 0x00000000
1999 0x00000000 0x000fc000 0x000fc000 0x000fc000
2000 0x000fc000 0x00100220 0x0800201c 0x00000000
2001 0x77ffc004 0x01f1f008 0x00000000 0x00000007
2002 0x08000068 0x08000000 0x00000802 0x00064000
2003 0x00000013 0x00090009 0xa0f10000 0x00000000
2004 0x00000000 0x80000287 0xe0000000 0xff00ff00 >;
2005 };
2006
2007 timing-102000000 {
2008 clock-frequency = <102000000>;
2009
2010 nvidia,emc-auto-cal-interval = <0x001fffff>;
2011 nvidia,emc-mode-1 = <0x00010022>;
2012 nvidia,emc-mode-2 = <0x00020001>;
2013 nvidia,emc-mode-reset = <0x00000000>;
2014 nvidia,emc-zcal-cnt-long = <0x0000000a>;
2015 nvidia,emc-cfg-dyn-self-ref;
2016 nvidia,emc-cfg-periodic-qrst;
2017
2018 nvidia,emc-configuration = < 0x00000006
2019 0x0000000d 0x00000004 0x00000002 0x00000004
2020 0x00000004 0x00000001 0x00000005 0x00000002
2021 0x00000002 0x00000001 0x00000001 0x00000000
2022 0x00000001 0x00000003 0x00000001 0x0000000b
2023 0x0000000a 0x00000181 0x00000000 0x00000060
2024 0x00000001 0x00000001 0x00000002 0x00000000
2025 0x00000001 0x00000007 0x0000000f 0x0000000f
2026 0x00000003 0x00000008 0x00000004 0x00000004
2027 0x00000002 0x000001a9 0x00000004 0x00000004
2028 0x00000000 0x00000000 0x00004282 0x007800a4
2029 0x00008000 0x000fc000 0x000fc000 0x000fc000
2030 0x000fc000 0x000fc000 0x000fc000 0x000fc000
2031 0x000fc000 0x00000000 0x00000000 0x00000000
2032 0x00000000 0x00000000 0x00000000 0x00000000
2033 0x00000000 0x00000000 0x00000000 0x00000000
2034 0x00000000 0x00000000 0x00000000 0x00000000
2035 0x00000000 0x000fc000 0x000fc000 0x000fc000
2036 0x000fc000 0x00100220 0x0800201c 0x00000000
2037 0x77ffc004 0x01f1f008 0x00000000 0x00000007
2038 0x08000068 0x08000000 0x00000802 0x00064000
2039 0x00000025 0x00090009 0xa0f10000 0x00000000
2040 0x00000000 0x8000040b 0xe0000000 0xff00ff00 >;
2041 };
2042
2043 timing-204000000 {
2044 clock-frequency = <204000000>;
2045
2046 nvidia,emc-auto-cal-interval = <0x001fffff>;
2047 nvidia,emc-mode-1 = <0x00010042>;
2048 nvidia,emc-mode-2 = <0x00020001>;
2049 nvidia,emc-mode-reset = <0x00000000>;
2050 nvidia,emc-zcal-cnt-long = <0x00000013>;
2051 nvidia,emc-cfg-dyn-self-ref;
2052 nvidia,emc-cfg-periodic-qrst;
2053
2054 nvidia,emc-configuration = < 0x0000000c
2055 0x0000001a 0x00000008 0x00000003 0x00000005
2056 0x00000004 0x00000001 0x00000006 0x00000003
2057 0x00000003 0x00000002 0x00000002 0x00000000
2058 0x00000001 0x00000003 0x00000001 0x0000000c
2059 0x0000000a 0x00000303 0x00000000 0x000000c0
2060 0x00000001 0x00000001 0x00000003 0x00000000
2061 0x00000001 0x00000007 0x0000001d 0x0000001d
2062 0x00000004 0x0000000b 0x00000005 0x00000004
2063 0x00000002 0x00000351 0x00000004 0x00000006
2064 0x00000000 0x00000000 0x00004282 0x004400a4
2065 0x00008000 0x00070000 0x00070000 0x00070000
2066 0x00070000 0x00070000 0x00070000 0x00070000
2067 0x00070000 0x00000000 0x00000000 0x00000000
2068 0x00000000 0x00000000 0x00000000 0x00000000
2069 0x00000000 0x00000000 0x00000000 0x00000000
2070 0x00000000 0x00000000 0x00000000 0x00000000
2071 0x00000000 0x00080000 0x00080000 0x00080000
2072 0x00080000 0x000e0220 0x0800201c 0x00000000
2073 0x77ffc004 0x01f1f008 0x00000000 0x00000007
2074 0x08000068 0x08000000 0x00000802 0x00064000
2075 0x0000004a 0x00090009 0xa0f10000 0x00000000
2076 0x00000000 0x80000713 0xe0000000 0xff00ff00 >;
2077 };
2078
2079 timing-400000000 {
2080 clock-frequency = <400000000>;
2081
2082 nvidia,emc-auto-cal-interval = <0x001fffff>;
2083 nvidia,emc-mode-1 = <0x00010082>;
2084 nvidia,emc-mode-2 = <0x00020004>;
2085 nvidia,emc-mode-reset = <0x00000000>;
2086 nvidia,emc-zcal-cnt-long = <0x00000024>;
2087 nvidia,emc-cfg-periodic-qrst;
2088
2089 nvidia,emc-configuration = < 0x00000017
2090 0x00000033 0x00000010 0x00000007 0x00000007
2091 0x00000007 0x00000002 0x0000000a 0x00000007
2092 0x00000007 0x00000003 0x00000002 0x00000000
2093 0x00000003 0x00000007 0x00000004 0x0000000d
2094 0x0000000e 0x000005e9 0x00000000 0x0000017a
2095 0x00000002 0x00000002 0x00000007 0x00000000
2096 0x00000001 0x0000000c 0x00000038 0x00000038
2097 0x00000006 0x00000014 0x00000009 0x00000004
2098 0x00000002 0x00000680 0x00000000 0x00000004
2099 0x00000000 0x00000000 0x00006282 0x001d0084
2100 0x00008000 0x00034000 0x00034000 0x00034000
2101 0x00034000 0x00034000 0x00034000 0x00034000
2102 0x00034000 0x00000000 0x00000000 0x00000000
2103 0x00000000 0x00000000 0x00000000 0x00000000
2104 0x00000000 0x00000000 0x00000000 0x00000000
2105 0x00000000 0x00000000 0x00000000 0x00000000
2106 0x00000000 0x00048000 0x00048000 0x00048000
2107 0x00048000 0x00060220 0x0800003d 0x00000000
2108 0x77ffc004 0x01f1f408 0x00000000 0x00000007
2109 0x08000068 0x08000000 0x00000802 0x00064000
2110 0x00000090 0x000c000c 0xa0f10000 0x00000000
2111 0x00000000 0x80000ce6 0xe0000000 0xff00ff88 >;
2112 };
2113 };
2114
2115 emc-timings-2 {
2116 /* SAMSUNG K4P8G304EB FGC2 */
2117 nvidia,ram-code = <2>;
2118
2119 timing-25500000 {
2120 clock-frequency = <25500000>;
2121
2122 nvidia,emc-auto-cal-interval = <0x001fffff>;
2123 nvidia,emc-mode-1 = <0x00010022>;
2124 nvidia,emc-mode-2 = <0x00020001>;
2125 nvidia,emc-mode-reset = <0x00000000>;
2126 nvidia,emc-zcal-cnt-long = <0x00000009>;
2127 nvidia,emc-cfg-dyn-self-ref;
2128 nvidia,emc-cfg-periodic-qrst;
2129
2130 nvidia,emc-configuration = < 0x00000001
2131 0x00000003 0x00000002 0x00000002 0x00000004
2132 0x00000004 0x00000001 0x00000005 0x00000002
2133 0x00000002 0x00000001 0x00000001 0x00000000
2134 0x00000001 0x00000003 0x00000001 0x0000000b
2135 0x0000000a 0x00000060 0x00000000 0x00000018
2136 0x00000001 0x00000001 0x00000002 0x00000000
2137 0x00000001 0x00000007 0x00000004 0x00000004
2138 0x00000003 0x00000008 0x00000004 0x00000004
2139 0x00000002 0x0000006b 0x00000004 0x00000004
2140 0x00000000 0x00000000 0x00004282 0x007800a4
2141 0x00008000 0x000fc000 0x000fc000 0x000fc000
2142 0x000fc000 0x000fc000 0x000fc000 0x000fc000
2143 0x000fc000 0x00000000 0x00000000 0x00000000
2144 0x00000000 0x00000000 0x00000000 0x00000000
2145 0x00000000 0x00000000 0x00000000 0x00000000
2146 0x00000000 0x00000000 0x00000000 0x00000000
2147 0x00000000 0x000fc000 0x000fc000 0x000fc000
2148 0x000fc000 0x00100220 0x0800201c 0x00000000
2149 0x77ffc004 0x01f1f008 0x00000000 0x00000007
2150 0x08000068 0x08000000 0x00000802 0x00064000
2151 0x0000000a 0x00090009 0xa0f10000 0x00000000
2152 0x00000000 0x800001c5 0xe0000000 0xff00ff00 >;
2153 };
2154
2155 timing-51000000 {
2156 clock-frequency = <51000000>;
2157
2158 nvidia,emc-auto-cal-interval = <0x001fffff>;
2159 nvidia,emc-mode-1 = <0x00010022>;
2160 nvidia,emc-mode-2 = <0x00020001>;
2161 nvidia,emc-mode-reset = <0x00000000>;
2162 nvidia,emc-zcal-cnt-long = <0x00000009>;
2163 nvidia,emc-cfg-dyn-self-ref;
2164 nvidia,emc-cfg-periodic-qrst;
2165
2166 nvidia,emc-configuration = < 0x00000003
2167 0x00000006 0x00000002 0x00000002 0x00000004
2168 0x00000004 0x00000001 0x00000005 0x00000002
2169 0x00000002 0x00000001 0x00000001 0x00000000
2170 0x00000001 0x00000003 0x00000001 0x0000000b
2171 0x0000000a 0x000000c0 0x00000000 0x00000030
2172 0x00000001 0x00000001 0x00000002 0x00000000
2173 0x00000001 0x00000007 0x00000008 0x00000008
2174 0x00000003 0x00000008 0x00000004 0x00000004
2175 0x00000002 0x000000d5 0x00000004 0x00000004
2176 0x00000000 0x00000000 0x00004282 0x007800a4
2177 0x00008000 0x000fc000 0x000fc000 0x000fc000
2178 0x000fc000 0x000fc000 0x000fc000 0x000fc000
2179 0x000fc000 0x00000000 0x00000000 0x00000000
2180 0x00000000 0x00000000 0x00000000 0x00000000
2181 0x00000000 0x00000000 0x00000000 0x00000000
2182 0x00000000 0x00000000 0x00000000 0x00000000
2183 0x00000000 0x000fc000 0x000fc000 0x000fc000
2184 0x000fc000 0x00100220 0x0800201c 0x00000000
2185 0x77ffc004 0x01f1f008 0x00000000 0x00000007
2186 0x08000068 0x08000000 0x00000802 0x00064000
2187 0x00000013 0x00090009 0xa0f10000 0x00000000
2188 0x00000000 0x80000287 0xe0000000 0xff00ff00 >;
2189 };
2190
2191 timing-102000000 {
2192 clock-frequency = <102000000>;
2193
2194 nvidia,emc-auto-cal-interval = <0x001fffff>;
2195 nvidia,emc-mode-1 = <0x00010022>;
2196 nvidia,emc-mode-2 = <0x00020001>;
2197 nvidia,emc-mode-reset = <0x00000000>;
2198 nvidia,emc-zcal-cnt-long = <0x0000000a>;
2199 nvidia,emc-cfg-dyn-self-ref;
2200 nvidia,emc-cfg-periodic-qrst;
2201
2202 nvidia,emc-configuration = < 0x00000006
2203 0x0000000d 0x00000004 0x00000002 0x00000004
2204 0x00000004 0x00000001 0x00000005 0x00000002
2205 0x00000002 0x00000001 0x00000001 0x00000000
2206 0x00000001 0x00000003 0x00000001 0x0000000b
2207 0x00000009 0x00000181 0x00000000 0x00000060
2208 0x00000001 0x00000001 0x00000002 0x00000000
2209 0x00000001 0x00000007 0x0000000f 0x0000000f
2210 0x00000003 0x00000008 0x00000004 0x00000004
2211 0x00000002 0x000001a9 0x00000004 0x00000004
2212 0x00000000 0x00000000 0x00004282 0x007800a4
2213 0x00008000 0x000fc000 0x000fc000 0x000fc000
2214 0x000fc000 0x000fc000 0x000fc000 0x000fc000
2215 0x000fc000 0x00000000 0x00000000 0x00000000
2216 0x00000000 0x00000000 0x00000000 0x00000000
2217 0x00000000 0x00000000 0x00000000 0x00000000
2218 0x00000000 0x00000000 0x00000000 0x00000000
2219 0x00000000 0x000fc000 0x000fc000 0x000fc000
2220 0x000fc000 0x00100220 0x0800201c 0x00000000
2221 0x77ffc004 0x01f1f008 0x00000000 0x00000007
2222 0x08000068 0x08000000 0x00000802 0x00064000
2223 0x00000025 0x00090009 0xa0f10000 0x00000000
2224 0x00000000 0x8000040b 0xe0000000 0xff00ff00 >;
2225 };
2226
2227 timing-204000000 {
2228 clock-frequency = <204000000>;
2229
2230 nvidia,emc-auto-cal-interval = <0x001fffff>;
2231 nvidia,emc-mode-1 = <0x00010042>;
2232 nvidia,emc-mode-2 = <0x00020001>;
2233 nvidia,emc-mode-reset = <0x00000000>;
2234 nvidia,emc-zcal-cnt-long = <0x00000013>;
2235 nvidia,emc-cfg-dyn-self-ref;
2236 nvidia,emc-cfg-periodic-qrst;
2237
2238 nvidia,emc-configuration = < 0x0000000c
2239 0x0000001a 0x00000008 0x00000003 0x00000005
2240 0x00000004 0x00000001 0x00000006 0x00000003
2241 0x00000003 0x00000002 0x00000002 0x00000000
2242 0x00000001 0x00000004 0x00000001 0x0000000c
2243 0x0000000a 0x00000303 0x00000000 0x000000c0
2244 0x00000001 0x00000001 0x00000003 0x00000000
2245 0x00000001 0x00000007 0x0000001d 0x0000001d
2246 0x00000004 0x0000000b 0x00000005 0x00000004
2247 0x00000002 0x00000351 0x00000005 0x00000004
2248 0x00000000 0x00000000 0x00004282 0x004400a4
2249 0x00008000 0x00080000 0x00080000 0x00080000
2250 0x00080000 0x00080000 0x00080000 0x00080000
2251 0x00080000 0x00000000 0x00000000 0x00000000
2252 0x00000000 0x00000000 0x00000000 0x00000000
2253 0x00000000 0x00000000 0x00000000 0x00000000
2254 0x00000000 0x00000000 0x00000000 0x00000000
2255 0x00000000 0x00080000 0x00080000 0x00080000
2256 0x00080000 0x000e0220 0x0800201c 0x00000000
2257 0x77ffc004 0x01f1f008 0x00000000 0x00000007
2258 0x08000068 0x08000000 0x00000802 0x00064000
2259 0x0000004a 0x00090009 0xa0f10000 0x00000000
2260 0x00000000 0x80000713 0xe0000000 0xff00ff00 >;
2261 };
2262
2263 timing-533000000 {
2264 clock-frequency = <533000000>;
2265
2266 nvidia,emc-auto-cal-interval = <0x001fffff>;
2267 nvidia,emc-mode-1 = <0x000100c2>;
2268 nvidia,emc-mode-2 = <0x00020006>;
2269 nvidia,emc-mode-reset = <0x00000000>;
2270 nvidia,emc-zcal-cnt-long = <0x00000030>;
2271 nvidia,emc-cfg-periodic-qrst;
2272
2273 nvidia,emc-configuration = < 0x0000001f
2274 0x00000045 0x00000016 0x00000009 0x00000008
2275 0x00000009 0x00000003 0x0000000d 0x00000009
2276 0x00000009 0x00000005 0x00000003 0x00000000
2277 0x00000004 0x0000000a 0x00000006 0x0000000d
2278 0x00000010 0x000007df 0x00000000 0x000001f7
2279 0x00000003 0x00000003 0x00000009 0x00000000
2280 0x00000001 0x0000000f 0x0000004b 0x0000004b
2281 0x00000008 0x0000001b 0x0000000c 0x00000004
2282 0x00000002 0x000008aa 0x00000000 0x00000004
2283 0x00000000 0x00000000 0x00006282 0xf0120091
2284 0x00008000 0x007f8008 0x007f8008 0x007f8008
2285 0x007f8008 0x007f8008 0x007f8008 0x007f8008
2286 0x007f8008 0x00000000 0x00000000 0x00000000
2287 0x00000000 0x00000000 0x00000000 0x00000000
2288 0x00000000 0x00000000 0x00000000 0x00000000
2289 0x00000000 0x00000000 0x00000000 0x00000000
2290 0x00000000 0x0000000c 0x0000000c 0x0000000c
2291 0x0000000c 0x00080220 0x0200003d 0x00000000
2292 0x77ffc004 0x01f1f408 0x00000000 0x00000007
2293 0x08000068 0x08000000 0x00000802 0x00064000
2294 0x000000c0 0x000e000e 0xa0f10000 0x00000000
2295 0x00000000 0x800010d9 0xf0000000 0xff00ff88 >;
2296 };
2297 };
2298
2299 emc-timings-3 {
2300 /* HYNIX H9TCNNN8JDMMPR NGM */
2301 nvidia,ram-code = <3>;
2302
2303 timing-25500000 {
2304 clock-frequency = <25500000>;
2305
2306 nvidia,emc-auto-cal-interval = <0x001fffff>;
2307 nvidia,emc-mode-1 = <0x00010022>;
2308 nvidia,emc-mode-2 = <0x00020001>;
2309 nvidia,emc-mode-reset = <0x00000000>;
2310 nvidia,emc-zcal-cnt-long = <0x00000009>;
2311 nvidia,emc-cfg-dyn-self-ref;
2312 nvidia,emc-cfg-periodic-qrst;
2313
2314 nvidia,emc-configuration = < 0x00000001
2315 0x00000003 0x00000002 0x00000002 0x00000004
2316 0x00000004 0x00000001 0x00000005 0x00000002
2317 0x00000002 0x00000001 0x00000001 0x00000000
2318 0x00000001 0x00000003 0x00000001 0x0000000b
2319 0x0000000a 0x00000060 0x00000000 0x00000018
2320 0x00000001 0x00000001 0x00000002 0x00000000
2321 0x00000001 0x00000007 0x00000004 0x00000004
2322 0x00000003 0x00000008 0x00000004 0x00000004
2323 0x00000002 0x0000006b 0x00000004 0x00000004
2324 0x00000000 0x00000000 0x00004282 0x007800a4
2325 0x00008000 0x000fc000 0x000fc000 0x000fc000
2326 0x000fc000 0x000fc000 0x000fc000 0x000fc000
2327 0x000fc000 0x00000000 0x00000000 0x00000000
2328 0x00000000 0x00000000 0x00000000 0x00000000
2329 0x00000000 0x00000000 0x00000000 0x00000000
2330 0x00000000 0x00000000 0x00000000 0x00000000
2331 0x00000000 0x000fc000 0x000fc000 0x000fc000
2332 0x000fc000 0x00100220 0x0800201c 0x00000000
2333 0x77ffc004 0x01f1f008 0x00000000 0x00000007
2334 0x08000068 0x08000000 0x00000802 0x00064000
2335 0x0000000a 0x00090009 0xa0f10000 0x00000000
2336 0x00000000 0x800001c5 0xe0000000 0xff00ff00 >;
2337 };
2338
2339 timing-51000000 {
2340 clock-frequency = <51000000>;
2341
2342 nvidia,emc-auto-cal-interval = <0x001fffff>;
2343 nvidia,emc-mode-1 = <0x00010022>;
2344 nvidia,emc-mode-2 = <0x00020001>;
2345 nvidia,emc-mode-reset = <0x00000000>;
2346 nvidia,emc-zcal-cnt-long = <0x00000009>;
2347 nvidia,emc-cfg-dyn-self-ref;
2348 nvidia,emc-cfg-periodic-qrst;
2349
2350 nvidia,emc-configuration = < 0x00000003
2351 0x00000006 0x00000002 0x00000002 0x00000004
2352 0x00000004 0x00000001 0x00000005 0x00000002
2353 0x00000002 0x00000001 0x00000001 0x00000000
2354 0x00000001 0x00000003 0x00000001 0x0000000b
2355 0x0000000a 0x000000c0 0x00000000 0x00000030
2356 0x00000001 0x00000001 0x00000002 0x00000000
2357 0x00000001 0x00000007 0x00000008 0x00000008
2358 0x00000003 0x00000008 0x00000004 0x00000004
2359 0x00000002 0x000000d5 0x00000004 0x00000004
2360 0x00000000 0x00000000 0x00004282 0x007800a4
2361 0x00008000 0x000fc000 0x000fc000 0x000fc000
2362 0x000fc000 0x000fc000 0x000fc000 0x000fc000
2363 0x000fc000 0x00000000 0x00000000 0x00000000
2364 0x00000000 0x00000000 0x00000000 0x00000000
2365 0x00000000 0x00000000 0x00000000 0x00000000
2366 0x00000000 0x00000000 0x00000000 0x00000000
2367 0x00000000 0x000fc000 0x000fc000 0x000fc000
2368 0x000fc000 0x00100220 0x0800201c 0x00000000
2369 0x77ffc004 0x01f1f008 0x00000000 0x00000007
2370 0x08000068 0x08000000 0x00000802 0x00064000
2371 0x00000013 0x00090009 0xa0f10000 0x00000000
2372 0x00000000 0x80000287 0xe0000000 0xff00ff00 >;
2373 };
2374
2375 timing-102000000 {
2376 clock-frequency = <102000000>;
2377
2378 nvidia,emc-auto-cal-interval = <0x001fffff>;
2379 nvidia,emc-mode-1 = <0x00010022>;
2380 nvidia,emc-mode-2 = <0x00020001>;
2381 nvidia,emc-mode-reset = <0x00000000>;
2382 nvidia,emc-zcal-cnt-long = <0x0000000a>;
2383 nvidia,emc-cfg-dyn-self-ref;
2384 nvidia,emc-cfg-periodic-qrst;
2385
2386 nvidia,emc-configuration = < 0x00000006
2387 0x0000000d 0x00000004 0x00000002 0x00000004
2388 0x00000004 0x00000001 0x00000005 0x00000002
2389 0x00000002 0x00000001 0x00000001 0x00000000
2390 0x00000001 0x00000003 0x00000001 0x0000000b
2391 0x0000000a 0x00000181 0x00000000 0x00000060
2392 0x00000001 0x00000001 0x00000002 0x00000000
2393 0x00000001 0x00000007 0x0000000f 0x0000000f
2394 0x00000003 0x00000008 0x00000004 0x00000004
2395 0x00000002 0x000001a9 0x00000004 0x00000004
2396 0x00000000 0x00000000 0x00004282 0x007800a4
2397 0x00008000 0x000fc000 0x000fc000 0x000fc000
2398 0x000fc000 0x000fc000 0x000fc000 0x000fc000
2399 0x000fc000 0x00000000 0x00000000 0x00000000
2400 0x00000000 0x00000000 0x00000000 0x00000000
2401 0x00000000 0x00000000 0x00000000 0x00000000
2402 0x00000000 0x00000000 0x00000000 0x00000000
2403 0x00000000 0x000fc000 0x000fc000 0x000fc000
2404 0x000fc000 0x00100220 0x0800201c 0x00000000
2405 0x77ffc004 0x01f1f008 0x00000000 0x00000007
2406 0x08000068 0x08000000 0x00000802 0x00064000
2407 0x00000025 0x00090009 0xa0f10000 0x00000000
2408 0x00000000 0x8000040b 0xe0000000 0xff00ff00 >;
2409 };
2410
2411 timing-204000000 {
2412 clock-frequency = <204000000>;
2413
2414 nvidia,emc-auto-cal-interval = <0x001fffff>;
2415 nvidia,emc-mode-1 = <0x00010042>;
2416 nvidia,emc-mode-2 = <0x00020001>;
2417 nvidia,emc-mode-reset = <0x00000000>;
2418 nvidia,emc-zcal-cnt-long = <0x00000013>;
2419 nvidia,emc-cfg-dyn-self-ref;
2420 nvidia,emc-cfg-periodic-qrst;
2421
2422 nvidia,emc-configuration = < 0x0000000c
2423 0x0000001a 0x00000008 0x00000003 0x00000005
2424 0x00000004 0x00000001 0x00000006 0x00000003
2425 0x00000003 0x00000002 0x00000002 0x00000000
2426 0x00000001 0x00000003 0x00000001 0x0000000c
2427 0x0000000b 0x00000303 0x00000000 0x000000c0
2428 0x00000001 0x00000001 0x00000003 0x00000000
2429 0x00000001 0x00000007 0x0000001d 0x0000001d
2430 0x00000004 0x0000000b 0x00000005 0x00000004
2431 0x00000002 0x00000351 0x00000004 0x00000006
2432 0x00000000 0x00000000 0x00004282 0x004400a4
2433 0x00008000 0x00072000 0x00072000 0x00072000
2434 0x00072000 0x00072000 0x00072000 0x00072000
2435 0x00072000 0x00000000 0x00000000 0x00000000
2436 0x00000000 0x00000000 0x00000000 0x00000000
2437 0x00000000 0x00000000 0x00000000 0x00000000
2438 0x00000000 0x00000000 0x00000000 0x00000000
2439 0x00000000 0x00080000 0x00080000 0x00080000
2440 0x00080000 0x000e0220 0x0800201c 0x00000000
2441 0x77ffc004 0x01f1f008 0x00000000 0x00000007
2442 0x08000068 0x08000000 0x00000802 0x00064000
2443 0x0000004a 0x00090009 0xa0f10000 0x00000000
2444 0x00000000 0x80000713 0xd0000000 0xff00ff00 >;
2445 };
2446
2447 timing-533000000 {
2448 clock-frequency = <533000000>;
2449
2450 nvidia,emc-auto-cal-interval = <0x001fffff>;
2451 nvidia,emc-mode-1 = <0x000100c2>;
2452 nvidia,emc-mode-2 = <0x00020006>;
2453 nvidia,emc-mode-reset = <0x00000000>;
2454 nvidia,emc-zcal-cnt-long = <0x00000030>;
2455 nvidia,emc-cfg-periodic-qrst;
2456
2457 nvidia,emc-configuration = < 0x0000001f
2458 0x00000045 0x00000016 0x00000009 0x00000008
2459 0x00000009 0x00000003 0x0000000d 0x00000009
2460 0x00000009 0x00000005 0x00000003 0x00000000
2461 0x00000004 0x00000009 0x00000006 0x0000000d
2462 0x00000010 0x000007df 0x00000000 0x000001f7
2463 0x00000003 0x00000003 0x00000009 0x00000000
2464 0x00000001 0x0000000f 0x0000004b 0x0000004b
2465 0x00000008 0x0000001b 0x0000000c 0x00000004
2466 0x00000002 0x000008aa 0x00000000 0x00000006
2467 0x00000000 0x00000000 0x00006282 0xf0120091
2468 0x00008000 0x0000000a 0x0000000a 0x0000000a
2469 0x0000000a 0x0000000a 0x0000000a 0x0000000a
2470 0x0000000a 0x00000000 0x00000000 0x00000000
2471 0x00000000 0x00000000 0x00000000 0x00000000
2472 0x00000000 0x00000000 0x00000000 0x00000000
2473 0x00000000 0x00000000 0x00000000 0x00000000
2474 0x00000000 0x0000000c 0x0000000c 0x0000000c
2475 0x0000000c 0x000a0220 0x0800003d 0x00000000
2476 0x77ffc004 0x01f1f408 0x00000000 0x00000007
2477 0x08000068 0x08000000 0x00000802 0x00064000
2478 0x000000c0 0x000e000e 0xa0f10000 0x00000000
2479 0x00000000 0x800010d9 0xe0000000 0xff00ff88 >;
2480 };
2481 };
2482 };
2483
2484 hda@70030000 {
2485 status = "okay";
2486 };
2487
2488 ahub@70080000 {
2489 i2s@70080400 { /* i2s1 */
2490 status = "okay";
2491 };
2492
2493 /* BT SCO */
2494 i2s@70080600 { /* i2s3 */
2495 status = "okay";
2496 };
2497 };
2498
2499 sdmmc1: mmc@78000000 {
2500 status = "okay";
2501
2502 cd-gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>;
2503 bus-width = <4>;
2504
2505 vmmc-supply = <&vdd_usd>; /* ldo2 */
2506 vqmmc-supply = <&vddio_usd>; /* ldo3 */
2507 };
2508
2509 brcm_wifi_pwrseq: wifi-pwrseq {
2510 compatible = "mmc-pwrseq-simple";
2511
2512 clocks = <&tegra_pmc TEGRA_PMC_CLK_BLINK>;
2513 clock-names = "ext_clock";
2514
2515 reset-gpios = <&gpio TEGRA_GPIO(D, 3) GPIO_ACTIVE_LOW>;
2516 post-power-on-delay-ms = <300>;
2517 power-off-delay-us = <300>;
2518 };
2519
2520 sdmmc3: mmc@78000400 {
2521 status = "okay";
2522
2523 #address-cells = <1>;
2524 #size-cells = <0>;
2525
2526 assigned-clocks = <&tegra_car TEGRA30_CLK_SDMMC3>;
2527 assigned-clock-parents = <&tegra_car TEGRA30_CLK_PLL_C>;
2528 assigned-clock-rates = <50000000>;
2529
2530 max-frequency = <50000000>;
2531 keep-power-in-suspend;
2532 bus-width = <4>;
2533 non-removable;
2534
2535 mmc-pwrseq = <&brcm_wifi_pwrseq>;
2536 vmmc-supply = <&vdd_3v3_sys>;
2537 vqmmc-supply = <&vdd_1v8_vio>;
2538
2539 /* Azurewave AW-AH663 BCM4330B1 */
2540 wifi@1 {
2541 compatible = "brcm,bcm4329-fmac";
2542 reg = <1>;
2543
2544 interrupt-parent = <&gpio>;
2545 interrupts = <TEGRA_GPIO(O, 4) IRQ_TYPE_LEVEL_HIGH>;
2546 interrupt-names = "host-wake";
2547 };
2548 };
2549
2550 sdmmc4: mmc@78000600 {
2551 status = "okay";
2552 bus-width = <8>;
2553 vmmc-supply = <&vcore_emmc>;
2554 vqmmc-supply = <&vdd_1v8_vio>;
2555 non-removable;
2556 };
2557
2558 usb@7d000000 {
2559 compatible = "nvidia,tegra30-udc";
2560 status = "okay";
2561 dr_mode = "otg";
2562 vbus-supply = <&vdd_vbus_usb1>;
2563 };
2564
2565 usb-phy@7d000000 {
2566 status = "okay";
2567 dr_mode = "otg";
2568 nvidia,hssync-start-delay = <0>;
2569 nvidia,xcvr-lsfslew = <2>;
2570 nvidia,xcvr-lsrslew = <2>;
2571 };
2572
2573 usb@7d008000 {
2574 status = "okay";
2575 };
2576
2577 usb-phy@7d008000 {
2578 status = "okay";
2579 vbus-supply = <&vdd_vbus_usb3>;
2580 };
2581
2582 mains: ac-adapter-detect {
2583 compatible = "gpio-charger";
2584 charger-type = "mains";
2585 gpios = <&gpio TEGRA_GPIO(V, 1) GPIO_ACTIVE_HIGH>;
2586 };
2587
2588 backlight: backlight {
2589 compatible = "pwm-backlight";
2590
2591 enable-gpios = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>;
2592 power-supply = <&vdd_5v0_bl>;
2593 pwms = <&pwm 0 5000000>;
2594
2595 brightness-levels = <1 255>;
2596 num-interpolated-steps = <254>;
2597 default-brightness-level = <15>;
2598 };
2599
2600 /* PMIC has a built-in 32KHz oscillator which is used by PMC */
2601 clk32k_in: clock-32k {
2602 compatible = "fixed-clock";
2603 #clock-cells = <0>;
2604 clock-frequency = <32768>;
2605 clock-output-names = "pmic-oscillator";
2606 };
2607
2608 cpus {
2609 cpu0: cpu@0 {
2610 cpu-supply = <&vdd_cpu>;
2611 operating-points-v2 = <&cpu0_opp_table>;
2612 #cooling-cells = <2>;
2613 };
2614 cpu1: cpu@1 {
2615 cpu-supply = <&vdd_cpu>;
2616 operating-points-v2 = <&cpu0_opp_table>;
2617 #cooling-cells = <2>;
2618 };
2619 cpu2: cpu@2 {
2620 cpu-supply = <&vdd_cpu>;
2621 operating-points-v2 = <&cpu0_opp_table>;
2622 #cooling-cells = <2>;
2623 };
2624 cpu3: cpu@3 {
2625 cpu-supply = <&vdd_cpu>;
2626 operating-points-v2 = <&cpu0_opp_table>;
2627 #cooling-cells = <2>;
2628 };
2629 };
2630
2631 display-panel {
2632 compatible = "panel-lvds";
2633
2634 width-mm = <217>;
2635 height-mm = <136>;
2636
2637 data-mapping = "jeida-24";
2638
2639 panel-timing {
2640 /* 1280x800@60Hz */
2641 clock-frequency = <68000000>;
2642 hactive = <1280>;
2643 vactive = <800>;
2644 hfront-porch = <48>;
2645 hback-porch = <18>;
2646 hsync-len = <30>;
2647 vsync-len = <5>;
2648 vfront-porch = <3>;
2649 vback-porch = <12>;
2650 };
2651 };
2652
2653 extcon-keys {
2654 compatible = "gpio-keys";
2655
2656 switch-dock-insert {
2657 label = "Chagall Dock";
2658 gpios = <&gpio TEGRA_GPIO(S, 4) GPIO_ACTIVE_LOW>;
2659 linux,input-type = <EV_SW>;
2660 linux,code = <SW_DOCK>;
2661 debounce-interval = <10>;
2662 wakeup-event-action = <EV_ACT_ASSERTED>;
2663 wakeup-source;
2664 };
2665
2666 switch-lineout-detect {
2667 label = "Audio dock line-out detect";
2668 gpios = <&gpio TEGRA_GPIO(S, 3) GPIO_ACTIVE_LOW>;
2669 linux,input-type = <EV_SW>;
2670 linux,code = <SW_LINEOUT_INSERT>;
2671 debounce-interval = <10>;
2672 wakeup-event-action = <EV_ACT_ASSERTED>;
2673 wakeup-source;
2674 };
2675 };
2676
2677 firmware {
2678 trusted-foundations {
2679 compatible = "tlm,trusted-foundations";
2680 tlm,version-major = <2>;
2681 tlm,version-minor = <8>;
2682 };
2683 };
2684
2685 gpio-keys {
2686 compatible = "gpio-keys";
2687
2688 key-power {
2689 label = "Power";
2690 gpios = <&gpio TEGRA_GPIO(V, 0) GPIO_ACTIVE_LOW>;
2691 linux,code = <KEY_POWER>;
2692 debounce-interval = <10>;
2693 wakeup-event-action = <EV_ACT_ASSERTED>;
2694 wakeup-source;
2695 };
2696
2697 key-volume-up {
2698 label = "Volume Up";
2699 gpios = <&gpio TEGRA_GPIO(Q, 0) GPIO_ACTIVE_LOW>;
2700 linux,code = <KEY_VOLUMEUP>;
2701 debounce-interval = <10>;
2702 wakeup-event-action = <EV_ACT_ASSERTED>;
2703 wakeup-source;
2704 };
2705
2706 key-volume-down {
2707 label = "Volume Down";
2708 gpios = <&gpio TEGRA_GPIO(Q, 1) GPIO_ACTIVE_LOW>;
2709 linux,code = <KEY_VOLUMEDOWN>;
2710 debounce-interval = <10>;
2711 wakeup-event-action = <EV_ACT_ASSERTED>;
2712 wakeup-source;
2713 };
2714 };
2715
2716 haptic-feedback {
2717 compatible = "gpio-vibrator";
2718 enable-gpios = <&gpio TEGRA_GPIO(U, 4) GPIO_ACTIVE_HIGH>;
2719 vcc-supply = <&vdd_3v3_sys>;
2720 };
2721
2722 sound {
2723 compatible = "pegatron,tegra-audio-wm8903-chagall",
2724 "nvidia,tegra-audio-wm8903";
2725 nvidia,model = "Pegatron Chagall WM8903";
2726
2727 nvidia,audio-routing =
2728 "Headphone Jack", "HPOUTR",
2729 "Headphone Jack", "HPOUTL",
2730 "Int Spk", "ROP",
2731 "Int Spk", "RON",
2732 "Int Spk", "LOP",
2733 "Int Spk", "LON",
2734 "IN1R", "Mic Jack",
2735 "DMICDAT", "Int Mic";
2736
2737 nvidia,i2s-controller = <&tegra_i2s1>;
2738 nvidia,audio-codec = <&wm8903>;
2739
2740 nvidia,spkr-en-gpios = <&wm8903 2 GPIO_ACTIVE_HIGH>;
2741 nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_LOW>;
2742 nvidia,headset;
2743
2744 clocks = <&tegra_car TEGRA30_CLK_PLL_A>,
2745 <&tegra_car TEGRA30_CLK_PLL_A_OUT0>,
2746 <&tegra_pmc TEGRA_PMC_CLK_OUT_1>;
2747 clock-names = "pll_a", "pll_a_out0", "mclk";
2748
2749 assigned-clocks = <&tegra_car TEGRA30_CLK_EXTERN1>,
2750 <&tegra_pmc TEGRA_PMC_CLK_OUT_1>;
2751
2752 assigned-clock-parents = <&tegra_car TEGRA30_CLK_PLL_A_OUT0>,
2753 <&tegra_car TEGRA30_CLK_EXTERN1>;
2754 };
2755
2756 thermal-zones {
2757 /*
2758 * NCT72 has two sensors:
2759 *
2760 * 0: internal that monitors ambient/skin temperature
2761 * 1: external that is connected to the CPU's diode
2762 *
2763 * Ideally we should use userspace thermal governor,
2764 * but it's a much more complex solution. The "skin"
2765 * zone exists as a simpler solution which prevents
2766 * Chagall from getting too hot from a user's tactile
2767 * perspective. The CPU zone is intended to protect
2768 * silicon from damage.
2769 */
2770
2771 skin-thermal {
2772 polling-delay-passive = <1000>; /* milliseconds */
2773 polling-delay = <5000>; /* milliseconds */
2774
2775 thermal-sensors = <&nct72 0>;
2776
2777 trips {
2778 trip0: skin-alert {
2779 /* throttle at 57C until temperature drops to 56.8C */
2780 temperature = <57000>;
2781 hysteresis = <200>;
2782 type = "passive";
2783 };
2784
2785 trip1: skin-crit {
2786 /* shut down at 65C */
2787 temperature = <65000>;
2788 hysteresis = <2000>;
2789 type = "critical";
2790 };
2791 };
2792
2793 cooling-maps {
2794 map0 {
2795 trip = <&trip0>;
2796 cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2797 <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2798 <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2799 <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2800 <&actmon THERMAL_NO_LIMIT
2801 THERMAL_NO_LIMIT>;
2802 };
2803 };
2804 };
2805
2806 cpu-thermal {
2807 polling-delay-passive = <1000>; /* milliseconds */
2808 polling-delay = <5000>; /* milliseconds */
2809
2810 thermal-sensors = <&nct72 1>;
2811
2812 trips {
2813 trip2: cpu-alert {
2814 /* throttle at 85C until temperature drops to 84.8C */
2815 temperature = <85000>;
2816 hysteresis = <200>;
2817 type = "passive";
2818 };
2819
2820 trip3: cpu-crit {
2821 /* shut down at 90C */
2822 temperature = <90000>;
2823 hysteresis = <2000>;
2824 type = "critical";
2825 };
2826 };
2827
2828 cooling-maps {
2829 map1 {
2830 trip = <&trip2>;
2831 cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2832 <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2833 <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2834 <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2835 <&actmon THERMAL_NO_LIMIT
2836 THERMAL_NO_LIMIT>;
2837 };
2838 };
2839 };
2840 };
2841};
2842
2843&emc_icc_dvfs_opp_table {
2844 /delete-node/ opp-625000000-1200;
2845 /delete-node/ opp-625000000-1250;
2846 /delete-node/ opp-667000000-1200;
2847 /delete-node/ opp-750000000-1300;
2848 /delete-node/ opp-800000000-1300;
2849 /delete-node/ opp-900000000-1350;
2850};
2851
2852&emc_bw_dfs_opp_table {
2853 /delete-node/ opp-625000000;
2854 /delete-node/ opp-667000000;
2855 /delete-node/ opp-750000000;
2856 /delete-node/ opp-800000000;
2857 /delete-node/ opp-900000000;
2858};