Loading...
1// SPDX-License-Identifier: GPL-2.0
2/dts-v1/;
3
4#include <dt-bindings/input/input.h>
5#include <dt-bindings/thermal/thermal.h>
6
7#include "tegra20.dtsi"
8#include "tegra20-cpu-opp.dtsi"
9#include "tegra20-cpu-opp-microvolt.dtsi"
10
11/ {
12 model = "Toshiba AC100 / Dynabook AZ";
13 compatible = "compal,paz00", "nvidia,tegra20";
14
15 aliases {
16 mmc0 = &sdmmc4; /* eMMC */
17 mmc1 = &sdmmc1; /* MicroSD */
18 rtc0 = "/i2c@7000d000/tps6586x@34";
19 rtc1 = "/rtc@7000e000";
20 serial0 = &uarta;
21 serial1 = &uartc;
22 };
23
24 chosen {
25 stdout-path = "serial0:115200n8";
26 };
27
28 memory@0 {
29 reg = <0x00000000 0x20000000>;
30 };
31
32 host1x@50000000 {
33 dc@54200000 {
34 rgb {
35 status = "okay";
36
37 nvidia,panel = <&panel>;
38 };
39 };
40
41 hdmi@54280000 {
42 status = "okay";
43
44 vdd-supply = <&hdmi_vdd_reg>;
45 pll-supply = <&hdmi_pll_reg>;
46
47 nvidia,ddc-i2c-bus = <&hdmi_ddc>;
48 nvidia,hpd-gpio = <&gpio TEGRA_GPIO(N, 7)
49 GPIO_ACTIVE_HIGH>;
50 };
51 };
52
53 pinmux@70000014 {
54 pinctrl-names = "default";
55 pinctrl-0 = <&state_default>;
56
57 state_default: pinmux {
58 ata {
59 nvidia,pins = "ata", "atc", "atd", "ate",
60 "dap2", "gmb", "gmc", "gmd", "spia",
61 "spib", "spic", "spid", "spie";
62 nvidia,function = "gmi";
63 };
64 atb {
65 nvidia,pins = "atb", "gma", "gme";
66 nvidia,function = "sdio4";
67 };
68 cdev1 {
69 nvidia,pins = "cdev1";
70 nvidia,function = "plla_out";
71 };
72 cdev2 {
73 nvidia,pins = "cdev2";
74 nvidia,function = "pllp_out4";
75 };
76 crtp {
77 nvidia,pins = "crtp";
78 nvidia,function = "crt";
79 };
80 csus {
81 nvidia,pins = "csus";
82 nvidia,function = "pllc_out1";
83 };
84 dap1 {
85 nvidia,pins = "dap1";
86 nvidia,function = "dap1";
87 };
88 dap3 {
89 nvidia,pins = "dap3";
90 nvidia,function = "dap3";
91 };
92 dap4 {
93 nvidia,pins = "dap4";
94 nvidia,function = "dap4";
95 };
96 ddc {
97 nvidia,pins = "ddc";
98 nvidia,function = "i2c2";
99 };
100 dta {
101 nvidia,pins = "dta", "dtb", "dtc", "dtd", "dte";
102 nvidia,function = "rsvd1";
103 };
104 dtf {
105 nvidia,pins = "dtf";
106 nvidia,function = "i2c3";
107 };
108 gpu {
109 nvidia,pins = "gpu", "sdb", "sdd";
110 nvidia,function = "pwm";
111 };
112 gpu7 {
113 nvidia,pins = "gpu7";
114 nvidia,function = "rtck";
115 };
116 gpv {
117 nvidia,pins = "gpv", "slxa", "slxk";
118 nvidia,function = "pcie";
119 };
120 hdint {
121 nvidia,pins = "hdint", "pta";
122 nvidia,function = "hdmi";
123 };
124 i2cp {
125 nvidia,pins = "i2cp";
126 nvidia,function = "i2cp";
127 };
128 irrx {
129 nvidia,pins = "irrx", "irtx";
130 nvidia,function = "uarta";
131 };
132 kbca {
133 nvidia,pins = "kbca", "kbcc", "kbce", "kbcf";
134 nvidia,function = "kbc";
135 };
136 kbcb {
137 nvidia,pins = "kbcb", "kbcd";
138 nvidia,function = "sdio2";
139 };
140 lcsn {
141 nvidia,pins = "lcsn", "ld0", "ld1", "ld2",
142 "ld3", "ld4", "ld5", "ld6", "ld7",
143 "ld8", "ld9", "ld10", "ld11", "ld12",
144 "ld13", "ld14", "ld15", "ld16", "ld17",
145 "ldc", "ldi", "lhp0", "lhp1", "lhp2",
146 "lhs", "lm0", "lm1", "lpp", "lpw0",
147 "lpw1", "lpw2", "lsc0", "lsc1", "lsck",
148 "lsda", "lsdi", "lspi", "lvp0", "lvp1",
149 "lvs";
150 nvidia,function = "displaya";
151 };
152 owc {
153 nvidia,pins = "owc";
154 nvidia,function = "owr";
155 };
156 pmc {
157 nvidia,pins = "pmc";
158 nvidia,function = "pwr_on";
159 };
160 rm {
161 nvidia,pins = "rm";
162 nvidia,function = "i2c1";
163 };
164 sdc {
165 nvidia,pins = "sdc";
166 nvidia,function = "twc";
167 };
168 sdio1 {
169 nvidia,pins = "sdio1";
170 nvidia,function = "sdio1";
171 };
172 slxc {
173 nvidia,pins = "slxc", "slxd";
174 nvidia,function = "spi4";
175 };
176 spdi {
177 nvidia,pins = "spdi", "spdo";
178 nvidia,function = "rsvd2";
179 };
180 spif {
181 nvidia,pins = "spif", "uac";
182 nvidia,function = "rsvd4";
183 };
184 spig {
185 nvidia,pins = "spig", "spih";
186 nvidia,function = "spi2_alt";
187 };
188 uaa {
189 nvidia,pins = "uaa", "uab", "uda";
190 nvidia,function = "ulpi";
191 };
192 uad {
193 nvidia,pins = "uad";
194 nvidia,function = "spdif";
195 };
196 uca {
197 nvidia,pins = "uca", "ucb";
198 nvidia,function = "uartc";
199 };
200 conf_ata {
201 nvidia,pins = "ata", "atb", "atc", "atd", "ate",
202 "cdev1", "cdev2", "dap1", "dap2", "dtf",
203 "gma", "gmb", "gmc", "gmd", "gme",
204 "gpu", "gpu7", "gpv", "i2cp", "pta",
205 "rm", "sdio1", "slxk", "spdo", "uac",
206 "uda";
207 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
208 nvidia,tristate = <TEGRA_PIN_DISABLE>;
209 };
210 conf_ck32 {
211 nvidia,pins = "ck32", "ddrc", "pmca", "pmcb",
212 "pmcc", "pmcd", "pmce", "xm2c", "xm2d";
213 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
214 };
215 conf_crtp {
216 nvidia,pins = "crtp", "dap3", "dap4", "dtb",
217 "dtc", "dte", "slxa", "slxc", "slxd",
218 "spdi";
219 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
220 nvidia,tristate = <TEGRA_PIN_ENABLE>;
221 };
222 conf_csus {
223 nvidia,pins = "csus", "spia", "spib", "spid",
224 "spif";
225 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
226 nvidia,tristate = <TEGRA_PIN_ENABLE>;
227 };
228 conf_ddc {
229 nvidia,pins = "ddc", "irrx", "irtx", "kbca",
230 "kbcb", "kbcc", "kbcd", "kbce", "kbcf",
231 "spic", "spig", "uaa", "uab";
232 nvidia,pull = <TEGRA_PIN_PULL_UP>;
233 nvidia,tristate = <TEGRA_PIN_DISABLE>;
234 };
235 conf_dta {
236 nvidia,pins = "dta", "dtd", "owc", "sdc", "sdd",
237 "spie", "spih", "uad", "uca", "ucb";
238 nvidia,pull = <TEGRA_PIN_PULL_UP>;
239 nvidia,tristate = <TEGRA_PIN_ENABLE>;
240 };
241 conf_hdint {
242 nvidia,pins = "hdint", "ld0", "ld1", "ld2",
243 "ld3", "ld4", "ld5", "ld6", "ld7",
244 "ld8", "ld9", "ld10", "ld11", "ld12",
245 "ld13", "ld14", "ld15", "ld16", "ld17",
246 "ldc", "ldi", "lhs", "lsc0", "lspi",
247 "lvs", "pmc";
248 nvidia,tristate = <TEGRA_PIN_DISABLE>;
249 };
250 conf_lc {
251 nvidia,pins = "lc", "ls";
252 nvidia,pull = <TEGRA_PIN_PULL_UP>;
253 };
254 conf_lcsn {
255 nvidia,pins = "lcsn", "lhp0", "lhp1", "lhp2",
256 "lm0", "lm1", "lpp", "lpw0", "lpw1",
257 "lpw2", "lsc1", "lsck", "lsda", "lsdi",
258 "lvp0", "lvp1", "sdb";
259 nvidia,tristate = <TEGRA_PIN_ENABLE>;
260 };
261 conf_ld17_0 {
262 nvidia,pins = "ld17_0", "ld19_18", "ld21_20",
263 "ld23_22";
264 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
265 };
266 };
267 };
268
269 spdif@70002400 {
270 status = "okay";
271
272 nvidia,fixed-parent-rate;
273 };
274
275 i2s@70002800 {
276 status = "okay";
277
278 nvidia,fixed-parent-rate;
279 };
280
281 serial@70006000 {
282 status = "okay";
283 };
284
285 serial@70006200 {
286 status = "okay";
287 };
288
289 pwm: pwm@7000a000 {
290 status = "okay";
291 };
292
293 lvds_ddc: i2c@7000c000 {
294 status = "okay";
295 clock-frequency = <400000>;
296
297 alc5632: alc5632@1e {
298 compatible = "realtek,alc5632";
299 reg = <0x1e>;
300 gpio-controller;
301 #gpio-cells = <2>;
302 };
303 };
304
305 hdmi_ddc: i2c@7000c400 {
306 status = "okay";
307 clock-frequency = <100000>;
308 };
309
310 nvec@7000c500 {
311 compatible = "nvidia,nvec";
312 reg = <0x7000c500 0x100>;
313 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
314 #address-cells = <1>;
315 #size-cells = <0>;
316 clock-frequency = <80000>;
317 request-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>;
318 slave-addr = <138>;
319 clocks = <&tegra_car TEGRA20_CLK_I2C3>,
320 <&tegra_car TEGRA20_CLK_PLL_P_OUT3>;
321 clock-names = "div-clk", "fast-clk";
322 resets = <&tegra_car 67>;
323 reset-names = "i2c";
324 };
325
326 memory-controller@7000f400 {
327 nvidia,use-ram-code;
328
329 emc-tables@0 {
330 nvidia,ram-code = <0x0>;
331 #address-cells = <1>;
332 #size-cells = <0>;
333 reg = <0>;
334
335 emc-table@166500 {
336 reg = <166500>;
337 compatible = "nvidia,tegra20-emc-table";
338 clock-frequency = <166500>;
339 nvidia,emc-registers = <0x0000000a 0x00000016
340 0x00000008 0x00000003 0x00000004 0x00000004
341 0x00000002 0x0000000c 0x00000003 0x00000003
342 0x00000002 0x00000001 0x00000004 0x00000005
343 0x00000004 0x00000009 0x0000000d 0x000004df
344 0x00000000 0x00000003 0x00000003 0x00000003
345 0x00000003 0x00000001 0x0000000a 0x000000c8
346 0x00000003 0x00000006 0x00000004 0x00000008
347 0x00000002 0x00000000 0x00000000 0x00000002
348 0x00000000 0x00000000 0x00000083 0xe03b0323
349 0x007fe010 0x00001414 0x00000000 0x00000000
350 0x00000000 0x00000000 0x00000000 0x00000000>;
351 };
352
353 emc-table@333000 {
354 reg = <333000>;
355 compatible = "nvidia,tegra20-emc-table";
356 clock-frequency = <333000>;
357 nvidia,emc-registers = <0x00000018 0x00000033
358 0x00000012 0x00000004 0x00000004 0x00000005
359 0x00000003 0x0000000c 0x00000006 0x00000006
360 0x00000003 0x00000001 0x00000004 0x00000005
361 0x00000004 0x00000009 0x0000000d 0x00000bff
362 0x00000000 0x00000003 0x00000003 0x00000006
363 0x00000006 0x00000001 0x00000011 0x000000c8
364 0x00000003 0x0000000e 0x00000007 0x00000008
365 0x00000002 0x00000000 0x00000000 0x00000002
366 0x00000000 0x00000000 0x00000083 0xf0440303
367 0x007fe010 0x00001414 0x00000000 0x00000000
368 0x00000000 0x00000000 0x00000000 0x00000000>;
369 };
370 };
371 };
372
373 i2c@7000d000 {
374 status = "okay";
375 clock-frequency = <400000>;
376
377 pmic: tps6586x@34 {
378 compatible = "ti,tps6586x";
379 reg = <0x34>;
380 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
381
382 #gpio-cells = <2>;
383 gpio-controller;
384
385 sys-supply = <&p5valw_reg>;
386 vin-sm0-supply = <&sys_reg>;
387 vin-sm1-supply = <&sys_reg>;
388 vin-sm2-supply = <&sys_reg>;
389 vinldo01-supply = <&sm2_reg>;
390 vinldo23-supply = <&sm2_reg>;
391 vinldo4-supply = <&sm2_reg>;
392 vinldo678-supply = <&sm2_reg>;
393 vinldo9-supply = <&sm2_reg>;
394
395 regulators {
396 sys_reg: sys {
397 regulator-name = "vdd_sys";
398 regulator-always-on;
399 };
400
401 core_vdd_reg: sm0 {
402 regulator-name = "+1.2vs_sm0,vdd_core";
403 regulator-min-microvolt = <950000>;
404 regulator-max-microvolt = <1300000>;
405 regulator-coupled-with = <&rtc_vdd_reg &cpu_vdd_reg>;
406 regulator-coupled-max-spread = <170000 550000>;
407 regulator-always-on;
408
409 nvidia,tegra-core-regulator;
410 };
411
412 cpu_vdd_reg: sm1 {
413 regulator-name = "+1.0vs_sm1,vdd_cpu";
414 regulator-min-microvolt = <750000>;
415 regulator-max-microvolt = <1100000>;
416 regulator-coupled-with = <&core_vdd_reg &rtc_vdd_reg>;
417 regulator-coupled-max-spread = <550000 550000>;
418 regulator-always-on;
419
420 nvidia,tegra-cpu-regulator;
421 };
422
423 sm2_reg: sm2 {
424 regulator-name = "+3.7vs_sm2,vin_ldo*";
425 regulator-min-microvolt = <3700000>;
426 regulator-max-microvolt = <3700000>;
427 regulator-always-on;
428 };
429
430 /* LDO0 is not connected to anything */
431
432 ldo1 {
433 regulator-name = "+1.1vs_ldo1,avdd_pll*";
434 regulator-min-microvolt = <1100000>;
435 regulator-max-microvolt = <1100000>;
436 regulator-always-on;
437 };
438
439 rtc_vdd_reg: ldo2 {
440 regulator-name = "+1.2vs_ldo2,vdd_rtc";
441 regulator-min-microvolt = <950000>;
442 regulator-max-microvolt = <1300000>;
443 regulator-coupled-with = <&core_vdd_reg &cpu_vdd_reg>;
444 regulator-coupled-max-spread = <170000 550000>;
445 regulator-always-on;
446
447 nvidia,tegra-rtc-regulator;
448 };
449
450 ldo3 {
451 regulator-name = "+3.3vs_ldo3,avdd_usb*";
452 regulator-min-microvolt = <3300000>;
453 regulator-max-microvolt = <3300000>;
454 regulator-always-on;
455 };
456
457 ldo4 {
458 regulator-name = "+1.8vs_ldo4,avdd_osc,vddio_sys";
459 regulator-min-microvolt = <1800000>;
460 regulator-max-microvolt = <1800000>;
461 regulator-always-on;
462 };
463
464 ldo5 {
465 regulator-name = "+2.85vs_ldo5,vcore_mmc";
466 regulator-min-microvolt = <2850000>;
467 regulator-max-microvolt = <2850000>;
468 regulator-always-on;
469 };
470
471 ldo6 {
472 /*
473 * Research indicates this should be
474 * 1.8v; other boards that use this
475 * rail for the same purpose need it
476 * set to 1.8v. The schematic signal
477 * name is incorrect; perhaps copied
478 * from an incorrect NVIDIA reference.
479 */
480 regulator-name = "+2.85vs_ldo6,avdd_vdac";
481 regulator-min-microvolt = <1800000>;
482 regulator-max-microvolt = <1800000>;
483 };
484
485 hdmi_vdd_reg: ldo7 {
486 regulator-name = "+3.3vs_ldo7,avdd_hdmi";
487 regulator-min-microvolt = <3300000>;
488 regulator-max-microvolt = <3300000>;
489 };
490
491 hdmi_pll_reg: ldo8 {
492 regulator-name = "+1.8vs_ldo8,avdd_hdmi_pll";
493 regulator-min-microvolt = <1800000>;
494 regulator-max-microvolt = <1800000>;
495 };
496
497 ldo9 {
498 regulator-name = "+2.85vs_ldo9,vdd_ddr_rx";
499 regulator-min-microvolt = <2850000>;
500 regulator-max-microvolt = <2850000>;
501 regulator-always-on;
502 };
503
504 ldo_rtc {
505 regulator-name = "+3.3vs_rtc";
506 regulator-min-microvolt = <3300000>;
507 regulator-max-microvolt = <3300000>;
508 regulator-always-on;
509 };
510 };
511 };
512
513 adt7461: temperature-sensor@4c {
514 compatible = "adi,adt7461";
515 reg = <0x4c>;
516
517 interrupt-parent = <&gpio>;
518 interrupts = <TEGRA_GPIO(N, 6) IRQ_TYPE_EDGE_FALLING>;
519
520 #thermal-sensor-cells = <1>;
521 };
522 };
523
524 pmc@7000e400 {
525 nvidia,invert-interrupt;
526 nvidia,suspend-mode = <1>;
527 nvidia,cpu-pwr-good-time = <2000>;
528 nvidia,cpu-pwr-off-time = <0>;
529 nvidia,core-pwr-good-time = <3845 3845>;
530 nvidia,core-pwr-off-time = <0>;
531 nvidia,sys-clock-req-active-high;
532 core-supply = <&core_vdd_reg>;
533 };
534
535 usb@c5000000 {
536 compatible = "nvidia,tegra20-udc";
537 status = "okay";
538 dr_mode = "peripheral";
539 };
540
541 usb-phy@c5000000 {
542 status = "okay";
543 };
544
545 usb@c5004000 {
546 status = "okay";
547 };
548
549 usb-phy@c5004000 {
550 status = "okay";
551 nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 0)
552 GPIO_ACTIVE_LOW>;
553 };
554
555 usb@c5008000 {
556 status = "okay";
557 };
558
559 usb-phy@c5008000 {
560 status = "okay";
561 };
562
563 sdmmc1: mmc@c8000000 {
564 status = "okay";
565 cd-gpios = <&gpio TEGRA_GPIO(V, 5) GPIO_ACTIVE_LOW>;
566 wp-gpios = <&gpio TEGRA_GPIO(H, 1) GPIO_ACTIVE_HIGH>;
567 power-gpios = <&gpio TEGRA_GPIO(V, 1) GPIO_ACTIVE_HIGH>;
568 bus-width = <4>;
569 };
570
571 sdmmc4: mmc@c8000600 {
572 status = "okay";
573 bus-width = <8>;
574 non-removable;
575 };
576
577 backlight: backlight {
578 compatible = "pwm-backlight";
579
580 enable-gpios = <&gpio TEGRA_GPIO(U, 4) GPIO_ACTIVE_HIGH>;
581 pwms = <&pwm 0 5000000>;
582
583 brightness-levels = <0 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 255>;
584 default-brightness-level = <10>;
585
586 /* close enough */
587 power-supply = <&vdd_pnl_reg>;
588 };
589
590 clk32k_in: clock-32k {
591 compatible = "fixed-clock";
592 clock-frequency = <32768>;
593 #clock-cells = <0>;
594 };
595
596 gpio-keys {
597 compatible = "gpio-keys";
598
599 key-wakeup {
600 label = "Wakeup";
601 gpios = <&gpio TEGRA_GPIO(J, 7) GPIO_ACTIVE_LOW>;
602 linux,code = <KEY_WAKEUP>;
603 wakeup-source;
604 };
605 };
606
607 gpio-leds {
608 compatible = "gpio-leds";
609
610 led-0 {
611 label = "wifi-led";
612 gpios = <&gpio TEGRA_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
613 linux,default-trigger = "rfkill0";
614 };
615 };
616
617 panel: panel {
618 compatible = "samsung,ltn101nt05";
619
620 ddc-i2c-bus = <&lvds_ddc>;
621 power-supply = <&vdd_pnl_reg>;
622 enable-gpios = <&gpio TEGRA_GPIO(M, 6) GPIO_ACTIVE_HIGH>;
623
624 backlight = <&backlight>;
625 };
626
627 p5valw_reg: regulator-5v0alw {
628 compatible = "regulator-fixed";
629 regulator-name = "+5valw";
630 regulator-min-microvolt = <5000000>;
631 regulator-max-microvolt = <5000000>;
632 regulator-always-on;
633 };
634
635 vdd_pnl_reg: regulator-3v0 {
636 compatible = "regulator-fixed";
637 regulator-name = "+3VS,vdd_pnl";
638 regulator-min-microvolt = <3300000>;
639 regulator-max-microvolt = <3300000>;
640 regulator-boot-on;
641 gpio = <&gpio TEGRA_GPIO(A, 4) GPIO_ACTIVE_HIGH>;
642 enable-active-high;
643 };
644
645 sound {
646 compatible = "nvidia,tegra-audio-alc5632-paz00",
647 "nvidia,tegra-audio-alc5632";
648
649 nvidia,model = "Compal PAZ00";
650
651 nvidia,audio-routing =
652 "Int Spk", "SPKOUT",
653 "Int Spk", "SPKOUTN",
654 "Headset Mic", "MICBIAS1",
655 "MIC1", "Headset Mic",
656 "Headset Stereophone", "HPR",
657 "Headset Stereophone", "HPL",
658 "DMICDAT", "Digital Mic";
659
660 nvidia,audio-codec = <&alc5632>;
661 nvidia,i2s-controller = <&tegra_i2s1>;
662 nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2)
663 GPIO_ACTIVE_HIGH>;
664
665 clocks = <&tegra_car TEGRA20_CLK_PLL_A>,
666 <&tegra_car TEGRA20_CLK_PLL_A_OUT0>,
667 <&tegra_car TEGRA20_CLK_CDEV1>;
668 clock-names = "pll_a", "pll_a_out0", "mclk";
669 };
670
671 cpus {
672 cpu0: cpu@0 {
673 cpu-supply = <&cpu_vdd_reg>;
674 operating-points-v2 = <&cpu0_opp_table>;
675 #cooling-cells = <2>;
676 };
677
678 cpu1: cpu@1 {
679 cpu-supply = <&cpu_vdd_reg>;
680 operating-points-v2 = <&cpu0_opp_table>;
681 #cooling-cells = <2>;
682 };
683 };
684
685 thermal-zones {
686 cpu-thermal {
687 polling-delay-passive = <500>; /* milliseconds */
688 polling-delay = <1500>; /* milliseconds */
689
690 thermal-sensors = <&adt7461 1>;
691
692 trips {
693 trip0: cpu-alert0 {
694 /* start throttling at 80C */
695 temperature = <80000>;
696 hysteresis = <200>;
697 type = "passive";
698 };
699
700 trip1: cpu-crit {
701 /* shut down at 85C */
702 temperature = <85000>;
703 hysteresis = <2000>;
704 type = "critical";
705 };
706 };
707
708 cooling-maps {
709 map0 {
710 trip = <&trip0>;
711 cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
712 <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
713 };
714 };
715 };
716 };
717};
718
719&emc_icc_dvfs_opp_table {
720 /delete-node/ opp-760000000;
721};
1/dts-v1/;
2
3#include <dt-bindings/input/input.h>
4#include "tegra20.dtsi"
5
6/ {
7 model = "Toshiba AC100 / Dynabook AZ";
8 compatible = "compal,paz00", "nvidia,tegra20";
9
10 aliases {
11 rtc0 = "/i2c@7000d000/tps6586x@34";
12 rtc1 = "/rtc@7000e000";
13 };
14
15 memory {
16 reg = <0x00000000 0x20000000>;
17 };
18
19 host1x@50000000 {
20 dc@54200000 {
21 rgb {
22 status = "okay";
23
24 nvidia,panel = <&panel>;
25 };
26 };
27
28 hdmi@54280000 {
29 status = "okay";
30
31 vdd-supply = <&hdmi_vdd_reg>;
32 pll-supply = <&hdmi_pll_reg>;
33
34 nvidia,ddc-i2c-bus = <&hdmi_ddc>;
35 nvidia,hpd-gpio = <&gpio TEGRA_GPIO(N, 7)
36 GPIO_ACTIVE_HIGH>;
37 };
38 };
39
40 pinmux@70000014 {
41 pinctrl-names = "default";
42 pinctrl-0 = <&state_default>;
43
44 state_default: pinmux {
45 ata {
46 nvidia,pins = "ata", "atc", "atd", "ate",
47 "dap2", "gmb", "gmc", "gmd", "spia",
48 "spib", "spic", "spid", "spie";
49 nvidia,function = "gmi";
50 };
51 atb {
52 nvidia,pins = "atb", "gma", "gme";
53 nvidia,function = "sdio4";
54 };
55 cdev1 {
56 nvidia,pins = "cdev1";
57 nvidia,function = "plla_out";
58 };
59 cdev2 {
60 nvidia,pins = "cdev2";
61 nvidia,function = "pllp_out4";
62 };
63 crtp {
64 nvidia,pins = "crtp";
65 nvidia,function = "crt";
66 };
67 csus {
68 nvidia,pins = "csus";
69 nvidia,function = "pllc_out1";
70 };
71 dap1 {
72 nvidia,pins = "dap1";
73 nvidia,function = "dap1";
74 };
75 dap3 {
76 nvidia,pins = "dap3";
77 nvidia,function = "dap3";
78 };
79 dap4 {
80 nvidia,pins = "dap4";
81 nvidia,function = "dap4";
82 };
83 ddc {
84 nvidia,pins = "ddc";
85 nvidia,function = "i2c2";
86 };
87 dta {
88 nvidia,pins = "dta", "dtb", "dtc", "dtd", "dte";
89 nvidia,function = "rsvd1";
90 };
91 dtf {
92 nvidia,pins = "dtf";
93 nvidia,function = "i2c3";
94 };
95 gpu {
96 nvidia,pins = "gpu", "sdb", "sdd";
97 nvidia,function = "pwm";
98 };
99 gpu7 {
100 nvidia,pins = "gpu7";
101 nvidia,function = "rtck";
102 };
103 gpv {
104 nvidia,pins = "gpv", "slxa", "slxk";
105 nvidia,function = "pcie";
106 };
107 hdint {
108 nvidia,pins = "hdint", "pta";
109 nvidia,function = "hdmi";
110 };
111 i2cp {
112 nvidia,pins = "i2cp";
113 nvidia,function = "i2cp";
114 };
115 irrx {
116 nvidia,pins = "irrx", "irtx";
117 nvidia,function = "uarta";
118 };
119 kbca {
120 nvidia,pins = "kbca", "kbcc", "kbce", "kbcf";
121 nvidia,function = "kbc";
122 };
123 kbcb {
124 nvidia,pins = "kbcb", "kbcd";
125 nvidia,function = "sdio2";
126 };
127 lcsn {
128 nvidia,pins = "lcsn", "ld0", "ld1", "ld2",
129 "ld3", "ld4", "ld5", "ld6", "ld7",
130 "ld8", "ld9", "ld10", "ld11", "ld12",
131 "ld13", "ld14", "ld15", "ld16", "ld17",
132 "ldc", "ldi", "lhp0", "lhp1", "lhp2",
133 "lhs", "lm0", "lm1", "lpp", "lpw0",
134 "lpw1", "lpw2", "lsc0", "lsc1", "lsck",
135 "lsda", "lsdi", "lspi", "lvp0", "lvp1",
136 "lvs";
137 nvidia,function = "displaya";
138 };
139 owc {
140 nvidia,pins = "owc";
141 nvidia,function = "owr";
142 };
143 pmc {
144 nvidia,pins = "pmc";
145 nvidia,function = "pwr_on";
146 };
147 rm {
148 nvidia,pins = "rm";
149 nvidia,function = "i2c1";
150 };
151 sdc {
152 nvidia,pins = "sdc";
153 nvidia,function = "twc";
154 };
155 sdio1 {
156 nvidia,pins = "sdio1";
157 nvidia,function = "sdio1";
158 };
159 slxc {
160 nvidia,pins = "slxc", "slxd";
161 nvidia,function = "spi4";
162 };
163 spdi {
164 nvidia,pins = "spdi", "spdo";
165 nvidia,function = "rsvd2";
166 };
167 spif {
168 nvidia,pins = "spif", "uac";
169 nvidia,function = "rsvd4";
170 };
171 spig {
172 nvidia,pins = "spig", "spih";
173 nvidia,function = "spi2_alt";
174 };
175 uaa {
176 nvidia,pins = "uaa", "uab", "uda";
177 nvidia,function = "ulpi";
178 };
179 uad {
180 nvidia,pins = "uad";
181 nvidia,function = "spdif";
182 };
183 uca {
184 nvidia,pins = "uca", "ucb";
185 nvidia,function = "uartc";
186 };
187 conf_ata {
188 nvidia,pins = "ata", "atb", "atc", "atd", "ate",
189 "cdev1", "cdev2", "dap1", "dap2", "dtf",
190 "gma", "gmb", "gmc", "gmd", "gme",
191 "gpu", "gpu7", "gpv", "i2cp", "pta",
192 "rm", "sdio1", "slxk", "spdo", "uac",
193 "uda";
194 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
195 nvidia,tristate = <TEGRA_PIN_DISABLE>;
196 };
197 conf_ck32 {
198 nvidia,pins = "ck32", "ddrc", "pmca", "pmcb",
199 "pmcc", "pmcd", "pmce", "xm2c", "xm2d";
200 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
201 };
202 conf_crtp {
203 nvidia,pins = "crtp", "dap3", "dap4", "dtb",
204 "dtc", "dte", "slxa", "slxc", "slxd",
205 "spdi";
206 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
207 nvidia,tristate = <TEGRA_PIN_ENABLE>;
208 };
209 conf_csus {
210 nvidia,pins = "csus", "spia", "spib", "spid",
211 "spif";
212 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
213 nvidia,tristate = <TEGRA_PIN_ENABLE>;
214 };
215 conf_ddc {
216 nvidia,pins = "ddc", "irrx", "irtx", "kbca",
217 "kbcb", "kbcc", "kbcd", "kbce", "kbcf",
218 "spic", "spig", "uaa", "uab";
219 nvidia,pull = <TEGRA_PIN_PULL_UP>;
220 nvidia,tristate = <TEGRA_PIN_DISABLE>;
221 };
222 conf_dta {
223 nvidia,pins = "dta", "dtd", "owc", "sdc", "sdd",
224 "spie", "spih", "uad", "uca", "ucb";
225 nvidia,pull = <TEGRA_PIN_PULL_UP>;
226 nvidia,tristate = <TEGRA_PIN_ENABLE>;
227 };
228 conf_hdint {
229 nvidia,pins = "hdint", "ld0", "ld1", "ld2",
230 "ld3", "ld4", "ld5", "ld6", "ld7",
231 "ld8", "ld9", "ld10", "ld11", "ld12",
232 "ld13", "ld14", "ld15", "ld16", "ld17",
233 "ldc", "ldi", "lhs", "lsc0", "lspi",
234 "lvs", "pmc";
235 nvidia,tristate = <TEGRA_PIN_DISABLE>;
236 };
237 conf_lc {
238 nvidia,pins = "lc", "ls";
239 nvidia,pull = <TEGRA_PIN_PULL_UP>;
240 };
241 conf_lcsn {
242 nvidia,pins = "lcsn", "lhp0", "lhp1", "lhp2",
243 "lm0", "lm1", "lpp", "lpw0", "lpw1",
244 "lpw2", "lsc1", "lsck", "lsda", "lsdi",
245 "lvp0", "lvp1", "sdb";
246 nvidia,tristate = <TEGRA_PIN_ENABLE>;
247 };
248 conf_ld17_0 {
249 nvidia,pins = "ld17_0", "ld19_18", "ld21_20",
250 "ld23_22";
251 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
252 };
253 };
254 };
255
256 i2s@70002800 {
257 status = "okay";
258 };
259
260 serial@70006000 {
261 status = "okay";
262 };
263
264 serial@70006200 {
265 status = "okay";
266 };
267
268 pwm: pwm@7000a000 {
269 status = "okay";
270 };
271
272 lvds_ddc: i2c@7000c000 {
273 status = "okay";
274 clock-frequency = <400000>;
275
276 alc5632: alc5632@1e {
277 compatible = "realtek,alc5632";
278 reg = <0x1e>;
279 gpio-controller;
280 #gpio-cells = <2>;
281 };
282 };
283
284 hdmi_ddc: i2c@7000c400 {
285 status = "okay";
286 clock-frequency = <100000>;
287 };
288
289 nvec@7000c500 {
290 compatible = "nvidia,nvec";
291 reg = <0x7000c500 0x100>;
292 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
293 #address-cells = <1>;
294 #size-cells = <0>;
295 clock-frequency = <80000>;
296 request-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>;
297 slave-addr = <138>;
298 clocks = <&tegra_car TEGRA20_CLK_I2C3>,
299 <&tegra_car TEGRA20_CLK_PLL_P_OUT3>;
300 clock-names = "div-clk", "fast-clk";
301 resets = <&tegra_car 67>;
302 reset-names = "i2c";
303 };
304
305 i2c@7000d000 {
306 status = "okay";
307 clock-frequency = <400000>;
308
309 pmic: tps6586x@34 {
310 compatible = "ti,tps6586x";
311 reg = <0x34>;
312 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
313
314 #gpio-cells = <2>;
315 gpio-controller;
316
317 sys-supply = <&p5valw_reg>;
318 vin-sm0-supply = <&sys_reg>;
319 vin-sm1-supply = <&sys_reg>;
320 vin-sm2-supply = <&sys_reg>;
321 vinldo01-supply = <&sm2_reg>;
322 vinldo23-supply = <&sm2_reg>;
323 vinldo4-supply = <&sm2_reg>;
324 vinldo678-supply = <&sm2_reg>;
325 vinldo9-supply = <&sm2_reg>;
326
327 regulators {
328 sys_reg: sys {
329 regulator-name = "vdd_sys";
330 regulator-always-on;
331 };
332
333 sm0 {
334 regulator-name = "+1.2vs_sm0,vdd_core";
335 regulator-min-microvolt = <1200000>;
336 regulator-max-microvolt = <1200000>;
337 regulator-always-on;
338 };
339
340 sm1 {
341 regulator-name = "+1.0vs_sm1,vdd_cpu";
342 regulator-min-microvolt = <1000000>;
343 regulator-max-microvolt = <1000000>;
344 regulator-always-on;
345 };
346
347 sm2_reg: sm2 {
348 regulator-name = "+3.7vs_sm2,vin_ldo*";
349 regulator-min-microvolt = <3700000>;
350 regulator-max-microvolt = <3700000>;
351 regulator-always-on;
352 };
353
354 /* LDO0 is not connected to anything */
355
356 ldo1 {
357 regulator-name = "+1.1vs_ldo1,avdd_pll*";
358 regulator-min-microvolt = <1100000>;
359 regulator-max-microvolt = <1100000>;
360 regulator-always-on;
361 };
362
363 ldo2 {
364 regulator-name = "+1.2vs_ldo2,vdd_rtc";
365 regulator-min-microvolt = <1200000>;
366 regulator-max-microvolt = <1200000>;
367 };
368
369 ldo3 {
370 regulator-name = "+3.3vs_ldo3,avdd_usb*";
371 regulator-min-microvolt = <3300000>;
372 regulator-max-microvolt = <3300000>;
373 regulator-always-on;
374 };
375
376 ldo4 {
377 regulator-name = "+1.8vs_ldo4,avdd_osc,vddio_sys";
378 regulator-min-microvolt = <1800000>;
379 regulator-max-microvolt = <1800000>;
380 regulator-always-on;
381 };
382
383 ldo5 {
384 regulator-name = "+2.85vs_ldo5,vcore_mmc";
385 regulator-min-microvolt = <2850000>;
386 regulator-max-microvolt = <2850000>;
387 regulator-always-on;
388 };
389
390 ldo6 {
391 /*
392 * Research indicates this should be
393 * 1.8v; other boards that use this
394 * rail for the same purpose need it
395 * set to 1.8v. The schematic signal
396 * name is incorrect; perhaps copied
397 * from an incorrect NVIDIA reference.
398 */
399 regulator-name = "+2.85vs_ldo6,avdd_vdac";
400 regulator-min-microvolt = <1800000>;
401 regulator-max-microvolt = <1800000>;
402 };
403
404 hdmi_vdd_reg: ldo7 {
405 regulator-name = "+3.3vs_ldo7,avdd_hdmi";
406 regulator-min-microvolt = <3300000>;
407 regulator-max-microvolt = <3300000>;
408 };
409
410 hdmi_pll_reg: ldo8 {
411 regulator-name = "+1.8vs_ldo8,avdd_hdmi_pll";
412 regulator-min-microvolt = <1800000>;
413 regulator-max-microvolt = <1800000>;
414 };
415
416 ldo9 {
417 regulator-name = "+2.85vs_ldo9,vdd_ddr_rx";
418 regulator-min-microvolt = <2850000>;
419 regulator-max-microvolt = <2850000>;
420 regulator-always-on;
421 };
422
423 ldo_rtc {
424 regulator-name = "+3.3vs_rtc";
425 regulator-min-microvolt = <3300000>;
426 regulator-max-microvolt = <3300000>;
427 regulator-always-on;
428 };
429 };
430 };
431
432 adt7461@4c {
433 compatible = "adi,adt7461";
434 reg = <0x4c>;
435 };
436 };
437
438 pmc@7000e400 {
439 nvidia,invert-interrupt;
440 nvidia,suspend-mode = <1>;
441 nvidia,cpu-pwr-good-time = <2000>;
442 nvidia,cpu-pwr-off-time = <0>;
443 nvidia,core-pwr-good-time = <3845 3845>;
444 nvidia,core-pwr-off-time = <0>;
445 nvidia,sys-clock-req-active-high;
446 };
447
448 usb@c5000000 {
449 status = "okay";
450 };
451
452 usb-phy@c5000000 {
453 status = "okay";
454 };
455
456 usb@c5004000 {
457 status = "okay";
458 nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 0)
459 GPIO_ACTIVE_LOW>;
460 };
461
462 usb-phy@c5004000 {
463 status = "okay";
464 nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 0)
465 GPIO_ACTIVE_LOW>;
466 };
467
468 usb@c5008000 {
469 status = "okay";
470 };
471
472 usb-phy@c5008000 {
473 status = "okay";
474 };
475
476 sdhci@c8000000 {
477 status = "okay";
478 cd-gpios = <&gpio TEGRA_GPIO(V, 5) GPIO_ACTIVE_LOW>;
479 wp-gpios = <&gpio TEGRA_GPIO(H, 1) GPIO_ACTIVE_HIGH>;
480 power-gpios = <&gpio TEGRA_GPIO(V, 1) GPIO_ACTIVE_HIGH>;
481 bus-width = <4>;
482 };
483
484 sdhci@c8000600 {
485 status = "okay";
486 bus-width = <8>;
487 non-removable;
488 };
489
490 backlight: backlight {
491 compatible = "pwm-backlight";
492
493 enable-gpios = <&gpio TEGRA_GPIO(U, 4) GPIO_ACTIVE_HIGH>;
494 pwms = <&pwm 0 5000000>;
495
496 brightness-levels = <0 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 255>;
497 default-brightness-level = <10>;
498
499 backlight-boot-off;
500 };
501
502 clocks {
503 compatible = "simple-bus";
504 #address-cells = <1>;
505 #size-cells = <0>;
506
507 clk32k_in: clock@0 {
508 compatible = "fixed-clock";
509 reg=<0>;
510 #clock-cells = <0>;
511 clock-frequency = <32768>;
512 };
513 };
514
515 gpio-keys {
516 compatible = "gpio-keys";
517
518 power {
519 label = "Power";
520 gpios = <&gpio TEGRA_GPIO(J, 7) GPIO_ACTIVE_LOW>;
521 linux,code = <KEY_POWER>;
522 gpio-key,wakeup;
523 };
524 };
525
526 gpio-leds {
527 compatible = "gpio-leds";
528
529 wifi {
530 label = "wifi-led";
531 gpios = <&gpio TEGRA_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
532 linux,default-trigger = "rfkill0";
533 };
534 };
535
536 panel: panel {
537 compatible = "samsung,ltn101nt05", "simple-panel";
538
539 ddc-i2c-bus = <&lvds_ddc>;
540 power-supply = <&vdd_pnl_reg>;
541 enable-gpios = <&gpio TEGRA_GPIO(M, 6) GPIO_ACTIVE_HIGH>;
542
543 backlight = <&backlight>;
544 };
545
546 regulators {
547 compatible = "simple-bus";
548 #address-cells = <1>;
549 #size-cells = <0>;
550
551 p5valw_reg: regulator@0 {
552 compatible = "regulator-fixed";
553 reg = <0>;
554 regulator-name = "+5valw";
555 regulator-min-microvolt = <5000000>;
556 regulator-max-microvolt = <5000000>;
557 regulator-always-on;
558 };
559
560 vdd_pnl_reg: regulator@1 {
561 compatible = "regulator-fixed";
562 reg = <1>;
563 regulator-name = "+3VS,vdd_pnl";
564 regulator-min-microvolt = <3300000>;
565 regulator-max-microvolt = <3300000>;
566 gpio = <&gpio TEGRA_GPIO(A, 4) GPIO_ACTIVE_HIGH>;
567 enable-active-high;
568 };
569 };
570
571 sound {
572 compatible = "nvidia,tegra-audio-alc5632-paz00",
573 "nvidia,tegra-audio-alc5632";
574
575 nvidia,model = "Compal PAZ00";
576
577 nvidia,audio-routing =
578 "Int Spk", "SPKOUT",
579 "Int Spk", "SPKOUTN",
580 "Headset Mic", "MICBIAS1",
581 "MIC1", "Headset Mic",
582 "Headset Stereophone", "HPR",
583 "Headset Stereophone", "HPL",
584 "DMICDAT", "Digital Mic";
585
586 nvidia,audio-codec = <&alc5632>;
587 nvidia,i2s-controller = <&tegra_i2s1>;
588 nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2)
589 GPIO_ACTIVE_HIGH>;
590
591 clocks = <&tegra_car TEGRA20_CLK_PLL_A>,
592 <&tegra_car TEGRA20_CLK_PLL_A_OUT0>,
593 <&tegra_car TEGRA20_CLK_CDEV1>;
594 clock-names = "pll_a", "pll_a_out0", "mclk";
595 };
596};