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>;
316 clock-frequency = <400000>;
319 compatible = "ti,tps6586x";
321 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
326 sys-supply = <&p5valw_reg>;
327 vin-sm0-supply = <&sys_reg>;
328 vin-sm1-supply = <&sys_reg>;
329 vin-sm2-supply = <&sys_reg>;
330 vinldo01-supply = <&sm2_reg>;
331 vinldo23-supply = <&sm2_reg>;
332 vinldo4-supply = <&sm2_reg>;
333 vinldo678-supply = <&sm2_reg>;
334 vinldo9-supply = <&sm2_reg>;
338 regulator-name = "vdd_sys";
343 regulator-name = "+1.2vs_sm0,vdd_core";
344 regulator-min-microvolt = <1200000>;
345 regulator-max-microvolt = <1225000>;
346 regulator-coupled-with = <&rtc_vdd_reg &cpu_vdd_reg>;
347 regulator-coupled-max-spread = <170000 450000>;
350 nvidia,tegra-core-regulator;
354 regulator-name = "+1.0vs_sm1,vdd_cpu";
355 regulator-min-microvolt = <750000>;
356 regulator-max-microvolt = <1100000>;
357 regulator-coupled-with = <&core_vdd_reg &rtc_vdd_reg>;
358 regulator-coupled-max-spread = <450000 450000>;
361 nvidia,tegra-cpu-regulator;
365 regulator-name = "+3.7vs_sm2,vin_ldo*";
366 regulator-min-microvolt = <3700000>;
367 regulator-max-microvolt = <3700000>;
371 /* LDO0 is not connected to anything */
374 regulator-name = "+1.1vs_ldo1,avdd_pll*";
375 regulator-min-microvolt = <1100000>;
376 regulator-max-microvolt = <1100000>;
381 regulator-name = "+1.2vs_ldo2,vdd_rtc";
382 regulator-min-microvolt = <1200000>;
383 regulator-max-microvolt = <1225000>;
384 regulator-coupled-with = <&core_vdd_reg &cpu_vdd_reg>;
385 regulator-coupled-max-spread = <170000 450000>;
388 nvidia,tegra-rtc-regulator;
392 regulator-name = "+3.3vs_ldo3,avdd_usb*";
393 regulator-min-microvolt = <3300000>;
394 regulator-max-microvolt = <3300000>;
399 regulator-name = "+1.8vs_ldo4,avdd_osc,vddio_sys";
400 regulator-min-microvolt = <1800000>;
401 regulator-max-microvolt = <1800000>;
406 regulator-name = "+2.85vs_ldo5,vcore_mmc";
407 regulator-min-microvolt = <2850000>;
408 regulator-max-microvolt = <2850000>;
414 * Research indicates this should be
415 * 1.8v; other boards that use this
416 * rail for the same purpose need it
417 * set to 1.8v. The schematic signal
418 * name is incorrect; perhaps copied
419 * from an incorrect NVIDIA reference.
421 regulator-name = "+2.85vs_ldo6,avdd_vdac";
422 regulator-min-microvolt = <1800000>;
423 regulator-max-microvolt = <1800000>;
427 regulator-name = "+3.3vs_ldo7,avdd_hdmi";
428 regulator-min-microvolt = <3300000>;
429 regulator-max-microvolt = <3300000>;
433 regulator-name = "+1.8vs_ldo8,avdd_hdmi_pll";
434 regulator-min-microvolt = <1800000>;
435 regulator-max-microvolt = <1800000>;
439 regulator-name = "+2.85vs_ldo9,vdd_ddr_rx";
440 regulator-min-microvolt = <2850000>;
441 regulator-max-microvolt = <2850000>;
446 regulator-name = "+3.3vs_rtc";
447 regulator-min-microvolt = <3300000>;
448 regulator-max-microvolt = <3300000>;
455 compatible = "adi,adt7461";
461 nvidia,invert-interrupt;
462 nvidia,suspend-mode = <1>;
463 nvidia,cpu-pwr-good-time = <2000>;
464 nvidia,cpu-pwr-off-time = <0>;
465 nvidia,core-pwr-good-time = <3845 3845>;
466 nvidia,core-pwr-off-time = <0>;
467 nvidia,sys-clock-req-active-high;
471 compatible = "nvidia,tegra20-udc";
473 dr_mode = "peripheral";
482 nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 0)
488 nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 0)
502 cd-gpios = <&gpio TEGRA_GPIO(V, 5) GPIO_ACTIVE_LOW>;
503 wp-gpios = <&gpio TEGRA_GPIO(H, 1) GPIO_ACTIVE_HIGH>;
504 power-gpios = <&gpio TEGRA_GPIO(V, 1) GPIO_ACTIVE_HIGH>;
514 backlight: backlight {
515 compatible = "pwm-backlight";
517 enable-gpios = <&gpio TEGRA_GPIO(U, 4) GPIO_ACTIVE_HIGH>;
518 pwms = <&pwm 0 5000000>;
520 brightness-levels = <0 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 255>;
521 default-brightness-level = <10>;
527 compatible = "simple-bus";
528 #address-cells = <1>;
532 compatible = "fixed-clock";
535 clock-frequency = <32768>;
540 compatible = "gpio-keys";
544 gpios = <&gpio TEGRA_GPIO(J, 7) GPIO_ACTIVE_LOW>;
545 linux,code = <KEY_WAKEUP>;
551 compatible = "gpio-leds";
555 gpios = <&gpio TEGRA_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
556 linux,default-trigger = "rfkill0";
561 compatible = "samsung,ltn101nt05", "simple-panel";
563 ddc-i2c-bus = <&lvds_ddc>;
564 power-supply = <&vdd_pnl_reg>;
565 enable-gpios = <&gpio TEGRA_GPIO(M, 6) GPIO_ACTIVE_HIGH>;
567 backlight = <&backlight>;
571 compatible = "simple-bus";
572 #address-cells = <1>;
575 p5valw_reg: regulator@0 {
576 compatible = "regulator-fixed";
578 regulator-name = "+5valw";
579 regulator-min-microvolt = <5000000>;
580 regulator-max-microvolt = <5000000>;
584 vdd_pnl_reg: regulator@1 {
585 compatible = "regulator-fixed";
587 regulator-name = "+3VS,vdd_pnl";
588 regulator-min-microvolt = <3300000>;
589 regulator-max-microvolt = <3300000>;
591 gpio = <&gpio TEGRA_GPIO(A, 4) GPIO_ACTIVE_HIGH>;
597 compatible = "nvidia,tegra-audio-alc5632-paz00",
598 "nvidia,tegra-audio-alc5632";
600 nvidia,model = "Compal PAZ00";
602 nvidia,audio-routing =
604 "Int Spk", "SPKOUTN",
605 "Headset Mic", "MICBIAS1",
606 "MIC1", "Headset Mic",
607 "Headset Stereophone", "HPR",
608 "Headset Stereophone", "HPL",
609 "DMICDAT", "Digital Mic";
611 nvidia,audio-codec = <&alc5632>;
612 nvidia,i2s-controller = <&tegra_i2s1>;
613 nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2)
616 clocks = <&tegra_car TEGRA20_CLK_PLL_A>,
617 <&tegra_car TEGRA20_CLK_PLL_A_OUT0>,
618 <&tegra_car TEGRA20_CLK_CDEV1>;
619 clock-names = "pll_a", "pll_a_out0", "mclk";
624 cpu-supply = <&cpu_vdd_reg>;
625 operating-points-v2 = <&cpu0_opp_table>;
629 cpu-supply = <&cpu_vdd_reg>;
630 operating-points-v2 = <&cpu0_opp_table>;