1 // SPDX-License-Identifier: GPL-2.0
4 #include <dt-bindings/input/input.h>
5 #include "tegra20.dtsi"
6 #include "tegra20-cpu-opp.dtsi"
7 #include "tegra20-cpu-opp-microvolt.dtsi"
10 model = "Toshiba AC100 / Dynabook AZ";
11 compatible = "compal,paz00", "nvidia,tegra20";
14 rtc0 = "/i2c@7000d000/tps6586x@34";
15 rtc1 = "/rtc@7000e000";
21 stdout-path = "serial0:115200n8";
25 reg = <0x00000000 0x20000000>;
33 nvidia,panel = <&panel>;
40 vdd-supply = <&hdmi_vdd_reg>;
41 pll-supply = <&hdmi_pll_reg>;
43 nvidia,ddc-i2c-bus = <&hdmi_ddc>;
44 nvidia,hpd-gpio = <&gpio TEGRA_GPIO(N, 7)
50 pinctrl-names = "default";
51 pinctrl-0 = <&state_default>;
53 state_default: pinmux {
55 nvidia,pins = "ata", "atc", "atd", "ate",
56 "dap2", "gmb", "gmc", "gmd", "spia",
57 "spib", "spic", "spid", "spie";
58 nvidia,function = "gmi";
61 nvidia,pins = "atb", "gma", "gme";
62 nvidia,function = "sdio4";
65 nvidia,pins = "cdev1";
66 nvidia,function = "plla_out";
69 nvidia,pins = "cdev2";
70 nvidia,function = "pllp_out4";
74 nvidia,function = "crt";
78 nvidia,function = "pllc_out1";
82 nvidia,function = "dap1";
86 nvidia,function = "dap3";
90 nvidia,function = "dap4";
94 nvidia,function = "i2c2";
97 nvidia,pins = "dta", "dtb", "dtc", "dtd", "dte";
98 nvidia,function = "rsvd1";
102 nvidia,function = "i2c3";
105 nvidia,pins = "gpu", "sdb", "sdd";
106 nvidia,function = "pwm";
109 nvidia,pins = "gpu7";
110 nvidia,function = "rtck";
113 nvidia,pins = "gpv", "slxa", "slxk";
114 nvidia,function = "pcie";
117 nvidia,pins = "hdint", "pta";
118 nvidia,function = "hdmi";
121 nvidia,pins = "i2cp";
122 nvidia,function = "i2cp";
125 nvidia,pins = "irrx", "irtx";
126 nvidia,function = "uarta";
129 nvidia,pins = "kbca", "kbcc", "kbce", "kbcf";
130 nvidia,function = "kbc";
133 nvidia,pins = "kbcb", "kbcd";
134 nvidia,function = "sdio2";
137 nvidia,pins = "lcsn", "ld0", "ld1", "ld2",
138 "ld3", "ld4", "ld5", "ld6", "ld7",
139 "ld8", "ld9", "ld10", "ld11", "ld12",
140 "ld13", "ld14", "ld15", "ld16", "ld17",
141 "ldc", "ldi", "lhp0", "lhp1", "lhp2",
142 "lhs", "lm0", "lm1", "lpp", "lpw0",
143 "lpw1", "lpw2", "lsc0", "lsc1", "lsck",
144 "lsda", "lsdi", "lspi", "lvp0", "lvp1",
146 nvidia,function = "displaya";
150 nvidia,function = "owr";
154 nvidia,function = "pwr_on";
158 nvidia,function = "i2c1";
162 nvidia,function = "twc";
165 nvidia,pins = "sdio1";
166 nvidia,function = "sdio1";
169 nvidia,pins = "slxc", "slxd";
170 nvidia,function = "spi4";
173 nvidia,pins = "spdi", "spdo";
174 nvidia,function = "rsvd2";
177 nvidia,pins = "spif", "uac";
178 nvidia,function = "rsvd4";
181 nvidia,pins = "spig", "spih";
182 nvidia,function = "spi2_alt";
185 nvidia,pins = "uaa", "uab", "uda";
186 nvidia,function = "ulpi";
190 nvidia,function = "spdif";
193 nvidia,pins = "uca", "ucb";
194 nvidia,function = "uartc";
197 nvidia,pins = "ata", "atb", "atc", "atd", "ate",
198 "cdev1", "cdev2", "dap1", "dap2", "dtf",
199 "gma", "gmb", "gmc", "gmd", "gme",
200 "gpu", "gpu7", "gpv", "i2cp", "pta",
201 "rm", "sdio1", "slxk", "spdo", "uac",
203 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
204 nvidia,tristate = <TEGRA_PIN_DISABLE>;
207 nvidia,pins = "ck32", "ddrc", "pmca", "pmcb",
208 "pmcc", "pmcd", "pmce", "xm2c", "xm2d";
209 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
212 nvidia,pins = "crtp", "dap3", "dap4", "dtb",
213 "dtc", "dte", "slxa", "slxc", "slxd",
215 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
216 nvidia,tristate = <TEGRA_PIN_ENABLE>;
219 nvidia,pins = "csus", "spia", "spib", "spid",
221 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
222 nvidia,tristate = <TEGRA_PIN_ENABLE>;
225 nvidia,pins = "ddc", "irrx", "irtx", "kbca",
226 "kbcb", "kbcc", "kbcd", "kbce", "kbcf",
227 "spic", "spig", "uaa", "uab";
228 nvidia,pull = <TEGRA_PIN_PULL_UP>;
229 nvidia,tristate = <TEGRA_PIN_DISABLE>;
232 nvidia,pins = "dta", "dtd", "owc", "sdc", "sdd",
233 "spie", "spih", "uad", "uca", "ucb";
234 nvidia,pull = <TEGRA_PIN_PULL_UP>;
235 nvidia,tristate = <TEGRA_PIN_ENABLE>;
238 nvidia,pins = "hdint", "ld0", "ld1", "ld2",
239 "ld3", "ld4", "ld5", "ld6", "ld7",
240 "ld8", "ld9", "ld10", "ld11", "ld12",
241 "ld13", "ld14", "ld15", "ld16", "ld17",
242 "ldc", "ldi", "lhs", "lsc0", "lspi",
244 nvidia,tristate = <TEGRA_PIN_DISABLE>;
247 nvidia,pins = "lc", "ls";
248 nvidia,pull = <TEGRA_PIN_PULL_UP>;
251 nvidia,pins = "lcsn", "lhp0", "lhp1", "lhp2",
252 "lm0", "lm1", "lpp", "lpw0", "lpw1",
253 "lpw2", "lsc1", "lsck", "lsda", "lsdi",
254 "lvp0", "lvp1", "sdb";
255 nvidia,tristate = <TEGRA_PIN_ENABLE>;
258 nvidia,pins = "ld17_0", "ld19_18", "ld21_20",
260 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
281 lvds_ddc: i2c@7000c000 {
283 clock-frequency = <400000>;
285 alc5632: alc5632@1e {
286 compatible = "realtek,alc5632";
293 hdmi_ddc: i2c@7000c400 {
295 clock-frequency = <100000>;
299 compatible = "nvidia,nvec";
300 reg = <0x7000c500 0x100>;
301 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
302 #address-cells = <1>;
304 clock-frequency = <80000>;
305 request-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>;
307 clocks = <&tegra_car TEGRA20_CLK_I2C3>,
308 <&tegra_car TEGRA20_CLK_PLL_P_OUT3>;
309 clock-names = "div-clk", "fast-clk";
310 resets = <&tegra_car 67>;
314 memory-controller@7000f400 {
318 nvidia,ram-code = <0x0>;
319 #address-cells = <1>;
324 compatible = "nvidia,tegra20-emc-table";
325 clock-frequency = <166500>;
326 nvidia,emc-registers = <0x0000000a 0x00000016
327 0x00000008 0x00000003 0x00000004 0x00000004
328 0x00000002 0x0000000c 0x00000003 0x00000003
329 0x00000002 0x00000001 0x00000004 0x00000005
330 0x00000004 0x00000009 0x0000000d 0x000004df
331 0x00000000 0x00000003 0x00000003 0x00000003
332 0x00000003 0x00000001 0x0000000a 0x000000c8
333 0x00000003 0x00000006 0x00000004 0x00000008
334 0x00000002 0x00000000 0x00000000 0x00000002
335 0x00000000 0x00000000 0x00000083 0xe03b0323
336 0x007fe010 0x00001414 0x00000000 0x00000000
337 0x00000000 0x00000000 0x00000000 0x00000000>;
342 compatible = "nvidia,tegra20-emc-table";
343 clock-frequency = <333000>;
344 nvidia,emc-registers = <0x00000018 0x00000033
345 0x00000012 0x00000004 0x00000004 0x00000005
346 0x00000003 0x0000000c 0x00000006 0x00000006
347 0x00000003 0x00000001 0x00000004 0x00000005
348 0x00000004 0x00000009 0x0000000d 0x00000bff
349 0x00000000 0x00000003 0x00000003 0x00000006
350 0x00000006 0x00000001 0x00000011 0x000000c8
351 0x00000003 0x0000000e 0x00000007 0x00000008
352 0x00000002 0x00000000 0x00000000 0x00000002
353 0x00000000 0x00000000 0x00000083 0xf0440303
354 0x007fe010 0x00001414 0x00000000 0x00000000
355 0x00000000 0x00000000 0x00000000 0x00000000>;
362 clock-frequency = <400000>;
365 compatible = "ti,tps6586x";
367 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
372 sys-supply = <&p5valw_reg>;
373 vin-sm0-supply = <&sys_reg>;
374 vin-sm1-supply = <&sys_reg>;
375 vin-sm2-supply = <&sys_reg>;
376 vinldo01-supply = <&sm2_reg>;
377 vinldo23-supply = <&sm2_reg>;
378 vinldo4-supply = <&sm2_reg>;
379 vinldo678-supply = <&sm2_reg>;
380 vinldo9-supply = <&sm2_reg>;
384 regulator-name = "vdd_sys";
389 regulator-name = "+1.2vs_sm0,vdd_core";
390 regulator-min-microvolt = <1200000>;
391 regulator-max-microvolt = <1225000>;
392 regulator-coupled-with = <&rtc_vdd_reg &cpu_vdd_reg>;
393 regulator-coupled-max-spread = <170000 450000>;
396 nvidia,tegra-core-regulator;
400 regulator-name = "+1.0vs_sm1,vdd_cpu";
401 regulator-min-microvolt = <750000>;
402 regulator-max-microvolt = <1100000>;
403 regulator-coupled-with = <&core_vdd_reg &rtc_vdd_reg>;
404 regulator-coupled-max-spread = <450000 450000>;
407 nvidia,tegra-cpu-regulator;
411 regulator-name = "+3.7vs_sm2,vin_ldo*";
412 regulator-min-microvolt = <3700000>;
413 regulator-max-microvolt = <3700000>;
417 /* LDO0 is not connected to anything */
420 regulator-name = "+1.1vs_ldo1,avdd_pll*";
421 regulator-min-microvolt = <1100000>;
422 regulator-max-microvolt = <1100000>;
427 regulator-name = "+1.2vs_ldo2,vdd_rtc";
428 regulator-min-microvolt = <1200000>;
429 regulator-max-microvolt = <1225000>;
430 regulator-coupled-with = <&core_vdd_reg &cpu_vdd_reg>;
431 regulator-coupled-max-spread = <170000 450000>;
434 nvidia,tegra-rtc-regulator;
438 regulator-name = "+3.3vs_ldo3,avdd_usb*";
439 regulator-min-microvolt = <3300000>;
440 regulator-max-microvolt = <3300000>;
445 regulator-name = "+1.8vs_ldo4,avdd_osc,vddio_sys";
446 regulator-min-microvolt = <1800000>;
447 regulator-max-microvolt = <1800000>;
452 regulator-name = "+2.85vs_ldo5,vcore_mmc";
453 regulator-min-microvolt = <2850000>;
454 regulator-max-microvolt = <2850000>;
460 * Research indicates this should be
461 * 1.8v; other boards that use this
462 * rail for the same purpose need it
463 * set to 1.8v. The schematic signal
464 * name is incorrect; perhaps copied
465 * from an incorrect NVIDIA reference.
467 regulator-name = "+2.85vs_ldo6,avdd_vdac";
468 regulator-min-microvolt = <1800000>;
469 regulator-max-microvolt = <1800000>;
473 regulator-name = "+3.3vs_ldo7,avdd_hdmi";
474 regulator-min-microvolt = <3300000>;
475 regulator-max-microvolt = <3300000>;
479 regulator-name = "+1.8vs_ldo8,avdd_hdmi_pll";
480 regulator-min-microvolt = <1800000>;
481 regulator-max-microvolt = <1800000>;
485 regulator-name = "+2.85vs_ldo9,vdd_ddr_rx";
486 regulator-min-microvolt = <2850000>;
487 regulator-max-microvolt = <2850000>;
492 regulator-name = "+3.3vs_rtc";
493 regulator-min-microvolt = <3300000>;
494 regulator-max-microvolt = <3300000>;
501 compatible = "adi,adt7461";
507 nvidia,invert-interrupt;
508 nvidia,suspend-mode = <1>;
509 nvidia,cpu-pwr-good-time = <2000>;
510 nvidia,cpu-pwr-off-time = <0>;
511 nvidia,core-pwr-good-time = <3845 3845>;
512 nvidia,core-pwr-off-time = <0>;
513 nvidia,sys-clock-req-active-high;
517 compatible = "nvidia,tegra20-udc";
519 dr_mode = "peripheral";
528 nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 0)
534 nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 0)
548 cd-gpios = <&gpio TEGRA_GPIO(V, 5) GPIO_ACTIVE_LOW>;
549 wp-gpios = <&gpio TEGRA_GPIO(H, 1) GPIO_ACTIVE_HIGH>;
550 power-gpios = <&gpio TEGRA_GPIO(V, 1) GPIO_ACTIVE_HIGH>;
560 backlight: backlight {
561 compatible = "pwm-backlight";
563 enable-gpios = <&gpio TEGRA_GPIO(U, 4) GPIO_ACTIVE_HIGH>;
564 pwms = <&pwm 0 5000000>;
566 brightness-levels = <0 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 255>;
567 default-brightness-level = <10>;
573 compatible = "fixed-clock";
574 clock-frequency = <32768>;
579 compatible = "gpio-keys";
583 gpios = <&gpio TEGRA_GPIO(J, 7) GPIO_ACTIVE_LOW>;
584 linux,code = <KEY_WAKEUP>;
590 compatible = "gpio-leds";
594 gpios = <&gpio TEGRA_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
595 linux,default-trigger = "rfkill0";
600 compatible = "samsung,ltn101nt05";
602 ddc-i2c-bus = <&lvds_ddc>;
603 power-supply = <&vdd_pnl_reg>;
604 enable-gpios = <&gpio TEGRA_GPIO(M, 6) GPIO_ACTIVE_HIGH>;
606 backlight = <&backlight>;
609 p5valw_reg: regulator@0 {
610 compatible = "regulator-fixed";
611 regulator-name = "+5valw";
612 regulator-min-microvolt = <5000000>;
613 regulator-max-microvolt = <5000000>;
617 vdd_pnl_reg: regulator@1 {
618 compatible = "regulator-fixed";
619 regulator-name = "+3VS,vdd_pnl";
620 regulator-min-microvolt = <3300000>;
621 regulator-max-microvolt = <3300000>;
623 gpio = <&gpio TEGRA_GPIO(A, 4) GPIO_ACTIVE_HIGH>;
628 compatible = "nvidia,tegra-audio-alc5632-paz00",
629 "nvidia,tegra-audio-alc5632";
631 nvidia,model = "Compal PAZ00";
633 nvidia,audio-routing =
635 "Int Spk", "SPKOUTN",
636 "Headset Mic", "MICBIAS1",
637 "MIC1", "Headset Mic",
638 "Headset Stereophone", "HPR",
639 "Headset Stereophone", "HPL",
640 "DMICDAT", "Digital Mic";
642 nvidia,audio-codec = <&alc5632>;
643 nvidia,i2s-controller = <&tegra_i2s1>;
644 nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2)
647 clocks = <&tegra_car TEGRA20_CLK_PLL_A>,
648 <&tegra_car TEGRA20_CLK_PLL_A_OUT0>,
649 <&tegra_car TEGRA20_CLK_CDEV1>;
650 clock-names = "pll_a", "pll_a_out0", "mclk";
655 cpu-supply = <&cpu_vdd_reg>;
656 operating-points-v2 = <&cpu0_opp_table>;
660 cpu-supply = <&cpu_vdd_reg>;
661 operating-points-v2 = <&cpu0_opp_table>;
666 &emc_icc_dvfs_opp_table {
667 /delete-node/ opp@760000000;