3 #include <dt-bindings/input/input.h>
4 #include "tegra20.dtsi"
7 model = "NVIDIA Tegra20 Ventana evaluation board";
8 compatible = "nvidia,ventana", "nvidia,tegra20";
11 rtc0 = "/i2c@7000d000/tps6586x@34";
12 rtc1 = "/rtc@7000e000";
17 reg = <0x00000000 0x40000000>;
25 nvidia,panel = <&panel>;
32 vdd-supply = <&hdmi_vdd_reg>;
33 pll-supply = <&hdmi_pll_reg>;
35 nvidia,ddc-i2c-bus = <&hdmi_ddc>;
36 nvidia,hpd-gpio = <&gpio TEGRA_GPIO(N, 7)
42 pinctrl-names = "default";
43 pinctrl-0 = <&state_default>;
45 state_default: pinmux {
48 nvidia,function = "ide";
51 nvidia,pins = "atb", "gma", "gme";
52 nvidia,function = "sdio4";
56 nvidia,function = "nand";
59 nvidia,pins = "atd", "ate", "gmb", "spia",
61 nvidia,function = "gmi";
64 nvidia,pins = "cdev1";
65 nvidia,function = "plla_out";
68 nvidia,pins = "cdev2";
69 nvidia,function = "pllp_out4";
72 nvidia,pins = "crtp", "lm1";
73 nvidia,function = "crt";
77 nvidia,function = "vi_sensor_clk";
81 nvidia,function = "dap1";
85 nvidia,function = "dap2";
89 nvidia,function = "dap3";
93 nvidia,function = "dap4";
96 nvidia,pins = "dta", "dtb", "dtc", "dtd", "dte";
97 nvidia,function = "vi";
101 nvidia,function = "i2c3";
105 nvidia,function = "uartd";
109 nvidia,function = "sflash";
113 nvidia,function = "pwm";
116 nvidia,pins = "gpu7";
117 nvidia,function = "rtck";
120 nvidia,pins = "gpv", "slxa", "slxk";
121 nvidia,function = "pcie";
124 nvidia,pins = "hdint";
125 nvidia,function = "hdmi";
128 nvidia,pins = "i2cp";
129 nvidia,function = "i2cp";
132 nvidia,pins = "irrx", "irtx";
133 nvidia,function = "uartb";
136 nvidia,pins = "kbca", "kbcb", "kbcc", "kbcd",
138 nvidia,function = "kbc";
141 nvidia,pins = "lcsn", "ldc", "lm0", "lpw1",
143 nvidia,function = "rsvd4";
146 nvidia,pins = "ld0", "ld1", "ld2", "ld3", "ld4",
147 "ld5", "ld6", "ld7", "ld8", "ld9",
148 "ld10", "ld11", "ld12", "ld13", "ld14",
149 "ld15", "ld16", "ld17", "ldi", "lhp0",
150 "lhp1", "lhp2", "lhs", "lpp", "lpw0",
151 "lpw2", "lsc0", "lsc1", "lsck", "lsda",
152 "lspi", "lvp1", "lvs";
153 nvidia,function = "displaya";
156 nvidia,pins = "owc", "spdi", "spdo", "uac";
157 nvidia,function = "rsvd2";
161 nvidia,function = "pwr_on";
165 nvidia,function = "i2c1";
168 nvidia,pins = "sdb", "sdc", "sdd", "slxc";
169 nvidia,function = "sdio3";
172 nvidia,pins = "sdio1";
173 nvidia,function = "sdio1";
176 nvidia,pins = "slxd";
177 nvidia,function = "spdif";
180 nvidia,pins = "spid", "spie", "spif";
181 nvidia,function = "spi1";
184 nvidia,pins = "spig", "spih";
185 nvidia,function = "spi2_alt";
188 nvidia,pins = "uaa", "uab", "uda";
189 nvidia,function = "ulpi";
193 nvidia,function = "irda";
196 nvidia,pins = "uca", "ucb";
197 nvidia,function = "uartc";
200 nvidia,pins = "ata", "atb", "atc", "atd",
201 "cdev1", "cdev2", "dap1", "dap2",
202 "dap4", "ddc", "dtf", "gma", "gmc",
203 "gme", "gpu", "gpu7", "i2cp", "irrx",
204 "irtx", "pta", "rm", "sdc", "sdd",
205 "slxc", "slxd", "slxk", "spdi", "spdo",
206 "uac", "uad", "uca", "ucb", "uda";
207 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
208 nvidia,tristate = <TEGRA_PIN_DISABLE>;
211 nvidia,pins = "ate", "csus", "dap3", "gmd",
212 "gpv", "owc", "spia", "spib", "spic",
213 "spid", "spie", "spig";
214 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
215 nvidia,tristate = <TEGRA_PIN_ENABLE>;
218 nvidia,pins = "ck32", "ddrc", "pmca", "pmcb",
219 "pmcc", "pmcd", "pmce", "xm2c", "xm2d";
220 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
223 nvidia,pins = "crtp", "gmb", "slxa", "spih";
224 nvidia,pull = <TEGRA_PIN_PULL_UP>;
225 nvidia,tristate = <TEGRA_PIN_ENABLE>;
228 nvidia,pins = "dta", "dtb", "dtc", "dtd";
229 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
230 nvidia,tristate = <TEGRA_PIN_DISABLE>;
233 nvidia,pins = "dte", "spif";
234 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
235 nvidia,tristate = <TEGRA_PIN_ENABLE>;
238 nvidia,pins = "hdint", "lcsn", "ldc", "lm1",
239 "lpw1", "lsck", "lsda", "lsdi", "lvp0";
240 nvidia,tristate = <TEGRA_PIN_ENABLE>;
243 nvidia,pins = "kbca", "kbcb", "kbcc", "kbcd",
244 "kbce", "kbcf", "sdio1", "uaa", "uab";
245 nvidia,pull = <TEGRA_PIN_PULL_UP>;
246 nvidia,tristate = <TEGRA_PIN_DISABLE>;
249 nvidia,pins = "lc", "ls";
250 nvidia,pull = <TEGRA_PIN_PULL_UP>;
253 nvidia,pins = "ld0", "ld1", "ld2", "ld3", "ld4",
254 "ld5", "ld6", "ld7", "ld8", "ld9",
255 "ld10", "ld11", "ld12", "ld13", "ld14",
256 "ld15", "ld16", "ld17", "ldi", "lhp0",
257 "lhp1", "lhp2", "lhs", "lm0", "lpp",
258 "lpw0", "lpw2", "lsc0", "lsc1", "lspi",
259 "lvp1", "lvs", "pmc", "sdb";
260 nvidia,tristate = <TEGRA_PIN_DISABLE>;
263 nvidia,pins = "ld17_0", "ld19_18", "ld21_20",
265 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
268 nvidia,pins = "drive_sdio1";
269 nvidia,high-speed-mode = <TEGRA_PIN_DISABLE>;
270 nvidia,schmitt = <TEGRA_PIN_ENABLE>;
271 nvidia,low-power-mode = <TEGRA_PIN_LP_DRIVE_DIV_1>;
272 nvidia,pull-down-strength = <31>;
273 nvidia,pull-up-strength = <31>;
274 nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_SLOWEST>;
275 nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_SLOWEST>;
279 state_i2cmux_ddc: pinmux_i2cmux_ddc {
282 nvidia,function = "i2c2";
286 nvidia,function = "rsvd4";
290 state_i2cmux_pta: pinmux_i2cmux_pta {
293 nvidia,function = "rsvd4";
297 nvidia,function = "i2c2";
301 state_i2cmux_idle: pinmux_i2cmux_idle {
304 nvidia,function = "rsvd4";
308 nvidia,function = "rsvd4";
327 clock-frequency = <400000>;
330 compatible = "wlf,wm8903";
332 interrupt-parent = <&gpio>;
333 interrupts = <TEGRA_GPIO(X, 3) IRQ_TYPE_LEVEL_HIGH>;
339 micdet-delay = <100>;
340 gpio-cfg = <0xffffffff 0xffffffff 0 0xffffffff 0xffffffff>;
343 /* ALS and proximity sensor */
345 compatible = "isil,isl29018";
347 interrupt-parent = <&gpio>;
348 interrupts = <TEGRA_GPIO(Z, 2) IRQ_TYPE_LEVEL_HIGH>;
354 clock-frequency = <100000>;
358 compatible = "i2c-mux-pinctrl";
359 #address-cells = <1>;
362 i2c-parent = <&{/i2c@7000c400}>;
364 pinctrl-names = "ddc", "pta", "idle";
365 pinctrl-0 = <&state_i2cmux_ddc>;
366 pinctrl-1 = <&state_i2cmux_pta>;
367 pinctrl-2 = <&state_i2cmux_idle>;
371 #address-cells = <1>;
377 #address-cells = <1>;
384 clock-frequency = <400000>;
389 clock-frequency = <400000>;
392 compatible = "ti,tps6586x";
394 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
396 ti,system-power-controller;
401 sys-supply = <&vdd_5v0_reg>;
402 vin-sm0-supply = <&sys_reg>;
403 vin-sm1-supply = <&sys_reg>;
404 vin-sm2-supply = <&sys_reg>;
405 vinldo01-supply = <&sm2_reg>;
406 vinldo23-supply = <&sm2_reg>;
407 vinldo4-supply = <&sm2_reg>;
408 vinldo678-supply = <&sm2_reg>;
409 vinldo9-supply = <&sm2_reg>;
413 regulator-name = "vdd_sys";
418 regulator-name = "vdd_sm0,vdd_core";
419 regulator-min-microvolt = <1200000>;
420 regulator-max-microvolt = <1200000>;
425 regulator-name = "vdd_sm1,vdd_cpu";
426 regulator-min-microvolt = <1000000>;
427 regulator-max-microvolt = <1000000>;
432 regulator-name = "vdd_sm2,vin_ldo*";
433 regulator-min-microvolt = <3700000>;
434 regulator-max-microvolt = <3700000>;
438 /* LDO0 is not connected to anything */
441 regulator-name = "vdd_ldo1,avdd_pll*";
442 regulator-min-microvolt = <1100000>;
443 regulator-max-microvolt = <1100000>;
448 regulator-name = "vdd_ldo2,vdd_rtc";
449 regulator-min-microvolt = <1200000>;
450 regulator-max-microvolt = <1200000>;
454 regulator-name = "vdd_ldo3,avdd_usb*";
455 regulator-min-microvolt = <3300000>;
456 regulator-max-microvolt = <3300000>;
461 regulator-name = "vdd_ldo4,avdd_osc,vddio_sys";
462 regulator-min-microvolt = <1800000>;
463 regulator-max-microvolt = <1800000>;
468 regulator-name = "vdd_ldo5,vcore_mmc";
469 regulator-min-microvolt = <2850000>;
470 regulator-max-microvolt = <2850000>;
475 regulator-name = "vdd_ldo6,avdd_vdac";
476 regulator-min-microvolt = <1800000>;
477 regulator-max-microvolt = <1800000>;
481 regulator-name = "vdd_ldo7,avdd_hdmi,vdd_fuse";
482 regulator-min-microvolt = <3300000>;
483 regulator-max-microvolt = <3300000>;
487 regulator-name = "vdd_ldo8,avdd_hdmi_pll";
488 regulator-min-microvolt = <1800000>;
489 regulator-max-microvolt = <1800000>;
493 regulator-name = "vdd_ldo9,avdd_2v85,vdd_ddr_rx";
494 regulator-min-microvolt = <2850000>;
495 regulator-max-microvolt = <2850000>;
500 regulator-name = "vdd_rtc_out,vdd_cell";
501 regulator-min-microvolt = <3300000>;
502 regulator-max-microvolt = <3300000>;
508 temperature-sensor@4c {
509 compatible = "onnn,nct1008";
515 nvidia,invert-interrupt;
516 nvidia,suspend-mode = <1>;
517 nvidia,cpu-pwr-good-time = <2000>;
518 nvidia,cpu-pwr-off-time = <100>;
519 nvidia,core-pwr-good-time = <3845 3845>;
520 nvidia,core-pwr-off-time = <458>;
521 nvidia,sys-clock-req-active-high;
534 nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 1)
540 nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 1)
554 power-gpios = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>;
556 keep-power-in-suspend;
561 cd-gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>;
562 wp-gpios = <&gpio TEGRA_GPIO(H, 1) GPIO_ACTIVE_HIGH>;
563 power-gpios = <&gpio TEGRA_GPIO(I, 6) GPIO_ACTIVE_HIGH>;
573 backlight: backlight {
574 compatible = "pwm-backlight";
576 enable-gpios = <&gpio TEGRA_GPIO(D, 4) GPIO_ACTIVE_HIGH>;
577 power-supply = <&vdd_bl_reg>;
578 pwms = <&pwm 2 5000000>;
580 brightness-levels = <0 4 8 16 32 64 128 255>;
581 default-brightness-level = <6>;
585 compatible = "simple-bus";
586 #address-cells = <1>;
590 compatible = "fixed-clock";
593 clock-frequency = <32768>;
598 compatible = "gpio-keys";
602 gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>;
603 linux,code = <KEY_POWER>;
609 compatible = "chunghwa,claa101wa01a", "simple-panel";
611 power-supply = <&vdd_pnl_reg>;
612 enable-gpios = <&gpio TEGRA_GPIO(B, 2) GPIO_ACTIVE_HIGH>;
614 backlight = <&backlight>;
615 ddc-i2c-bus = <&lvds_ddc>;
619 compatible = "simple-bus";
620 #address-cells = <1>;
623 vdd_5v0_reg: regulator@0 {
624 compatible = "regulator-fixed";
626 regulator-name = "vdd_5v0";
627 regulator-min-microvolt = <5000000>;
628 regulator-max-microvolt = <5000000>;
633 compatible = "regulator-fixed";
635 regulator-name = "vdd_1v5";
636 regulator-min-microvolt = <1500000>;
637 regulator-max-microvolt = <1500000>;
638 gpio = <&pmic 0 GPIO_ACTIVE_HIGH>;
642 compatible = "regulator-fixed";
644 regulator-name = "vdd_1v2";
645 regulator-min-microvolt = <1200000>;
646 regulator-max-microvolt = <1200000>;
647 gpio = <&pmic 1 GPIO_ACTIVE_HIGH>;
651 vdd_pnl_reg: regulator@3 {
652 compatible = "regulator-fixed";
654 regulator-name = "vdd_pnl";
655 regulator-min-microvolt = <2800000>;
656 regulator-max-microvolt = <2800000>;
657 gpio = <&gpio TEGRA_GPIO(C, 6) GPIO_ACTIVE_HIGH>;
661 vdd_bl_reg: regulator@4 {
662 compatible = "regulator-fixed";
664 regulator-name = "vdd_bl";
665 regulator-min-microvolt = <2800000>;
666 regulator-max-microvolt = <2800000>;
667 gpio = <&gpio TEGRA_GPIO(W, 0) GPIO_ACTIVE_HIGH>;
673 compatible = "nvidia,tegra-audio-wm8903-ventana",
674 "nvidia,tegra-audio-wm8903";
675 nvidia,model = "NVIDIA Tegra Ventana";
677 nvidia,audio-routing =
678 "Headphone Jack", "HPOUTR",
679 "Headphone Jack", "HPOUTL",
684 "Mic Jack", "MICBIAS",
687 nvidia,i2s-controller = <&tegra_i2s1>;
688 nvidia,audio-codec = <&wm8903>;
690 nvidia,spkr-en-gpios = <&wm8903 2 GPIO_ACTIVE_HIGH>;
691 nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_HIGH>;
692 nvidia,int-mic-en-gpios = <&gpio TEGRA_GPIO(X, 0)
694 nvidia,ext-mic-en-gpios = <&gpio TEGRA_GPIO(X, 1)
697 clocks = <&tegra_car TEGRA20_CLK_PLL_A>,
698 <&tegra_car TEGRA20_CLK_PLL_A_OUT0>,
699 <&tegra_car TEGRA20_CLK_CDEV1>;
700 clock-names = "pll_a", "pll_a_out0", "mclk";