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 stdout-path = "serial0:115200n8";
21 reg = <0x00000000 0x40000000>;
29 nvidia,panel = <&panel>;
36 vdd-supply = <&hdmi_vdd_reg>;
37 pll-supply = <&hdmi_pll_reg>;
39 nvidia,ddc-i2c-bus = <&hdmi_ddc>;
40 nvidia,hpd-gpio = <&gpio TEGRA_GPIO(N, 7)
46 pinctrl-names = "default";
47 pinctrl-0 = <&state_default>;
49 state_default: pinmux {
52 nvidia,function = "ide";
55 nvidia,pins = "atb", "gma", "gme";
56 nvidia,function = "sdio4";
60 nvidia,function = "nand";
63 nvidia,pins = "atd", "ate", "gmb", "spia",
65 nvidia,function = "gmi";
68 nvidia,pins = "cdev1";
69 nvidia,function = "plla_out";
72 nvidia,pins = "cdev2";
73 nvidia,function = "pllp_out4";
76 nvidia,pins = "crtp", "lm1";
77 nvidia,function = "crt";
81 nvidia,function = "vi_sensor_clk";
85 nvidia,function = "dap1";
89 nvidia,function = "dap2";
93 nvidia,function = "dap3";
97 nvidia,function = "dap4";
100 nvidia,pins = "dta", "dtb", "dtc", "dtd", "dte";
101 nvidia,function = "vi";
105 nvidia,function = "i2c3";
109 nvidia,function = "uartd";
113 nvidia,function = "sflash";
117 nvidia,function = "pwm";
120 nvidia,pins = "gpu7";
121 nvidia,function = "rtck";
124 nvidia,pins = "gpv", "slxa", "slxk";
125 nvidia,function = "pcie";
128 nvidia,pins = "hdint";
129 nvidia,function = "hdmi";
132 nvidia,pins = "i2cp";
133 nvidia,function = "i2cp";
136 nvidia,pins = "irrx", "irtx";
137 nvidia,function = "uartb";
140 nvidia,pins = "kbca", "kbcb", "kbcc", "kbcd",
142 nvidia,function = "kbc";
145 nvidia,pins = "lcsn", "ldc", "lm0", "lpw1",
147 nvidia,function = "rsvd4";
150 nvidia,pins = "ld0", "ld1", "ld2", "ld3", "ld4",
151 "ld5", "ld6", "ld7", "ld8", "ld9",
152 "ld10", "ld11", "ld12", "ld13", "ld14",
153 "ld15", "ld16", "ld17", "ldi", "lhp0",
154 "lhp1", "lhp2", "lhs", "lpp", "lpw0",
155 "lpw2", "lsc0", "lsc1", "lsck", "lsda",
156 "lspi", "lvp1", "lvs";
157 nvidia,function = "displaya";
160 nvidia,pins = "owc", "spdi", "spdo", "uac";
161 nvidia,function = "rsvd2";
165 nvidia,function = "pwr_on";
169 nvidia,function = "i2c1";
172 nvidia,pins = "sdb", "sdc", "sdd", "slxc";
173 nvidia,function = "sdio3";
176 nvidia,pins = "sdio1";
177 nvidia,function = "sdio1";
180 nvidia,pins = "slxd";
181 nvidia,function = "spdif";
184 nvidia,pins = "spid", "spie", "spif";
185 nvidia,function = "spi1";
188 nvidia,pins = "spig", "spih";
189 nvidia,function = "spi2_alt";
192 nvidia,pins = "uaa", "uab", "uda";
193 nvidia,function = "ulpi";
197 nvidia,function = "irda";
200 nvidia,pins = "uca", "ucb";
201 nvidia,function = "uartc";
204 nvidia,pins = "ata", "atb", "atc", "atd",
205 "cdev1", "cdev2", "dap1", "dap2",
206 "dap4", "ddc", "dtf", "gma", "gmc",
207 "gme", "gpu", "gpu7", "i2cp", "irrx",
208 "irtx", "pta", "rm", "sdc", "sdd",
209 "slxc", "slxd", "slxk", "spdi", "spdo",
210 "uac", "uad", "uca", "ucb", "uda";
211 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
212 nvidia,tristate = <TEGRA_PIN_DISABLE>;
215 nvidia,pins = "ate", "csus", "dap3", "gmd",
216 "gpv", "owc", "spia", "spib", "spic",
217 "spid", "spie", "spig";
218 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
219 nvidia,tristate = <TEGRA_PIN_ENABLE>;
222 nvidia,pins = "ck32", "ddrc", "pmca", "pmcb",
223 "pmcc", "pmcd", "pmce", "xm2c", "xm2d";
224 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
227 nvidia,pins = "crtp", "gmb", "slxa", "spih";
228 nvidia,pull = <TEGRA_PIN_PULL_UP>;
229 nvidia,tristate = <TEGRA_PIN_ENABLE>;
232 nvidia,pins = "dta", "dtb", "dtc", "dtd";
233 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
234 nvidia,tristate = <TEGRA_PIN_DISABLE>;
237 nvidia,pins = "dte", "spif";
238 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
239 nvidia,tristate = <TEGRA_PIN_ENABLE>;
242 nvidia,pins = "hdint", "lcsn", "ldc", "lm1",
243 "lpw1", "lsck", "lsda", "lsdi", "lvp0";
244 nvidia,tristate = <TEGRA_PIN_ENABLE>;
247 nvidia,pins = "kbca", "kbcb", "kbcc", "kbcd",
248 "kbce", "kbcf", "sdio1", "uaa", "uab";
249 nvidia,pull = <TEGRA_PIN_PULL_UP>;
250 nvidia,tristate = <TEGRA_PIN_DISABLE>;
253 nvidia,pins = "lc", "ls";
254 nvidia,pull = <TEGRA_PIN_PULL_UP>;
257 nvidia,pins = "ld0", "ld1", "ld2", "ld3", "ld4",
258 "ld5", "ld6", "ld7", "ld8", "ld9",
259 "ld10", "ld11", "ld12", "ld13", "ld14",
260 "ld15", "ld16", "ld17", "ldi", "lhp0",
261 "lhp1", "lhp2", "lhs", "lm0", "lpp",
262 "lpw0", "lpw2", "lsc0", "lsc1", "lspi",
263 "lvp1", "lvs", "pmc", "sdb";
264 nvidia,tristate = <TEGRA_PIN_DISABLE>;
267 nvidia,pins = "ld17_0", "ld19_18", "ld21_20",
269 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
272 nvidia,pins = "drive_sdio1";
273 nvidia,high-speed-mode = <TEGRA_PIN_DISABLE>;
274 nvidia,schmitt = <TEGRA_PIN_ENABLE>;
275 nvidia,low-power-mode = <TEGRA_PIN_LP_DRIVE_DIV_1>;
276 nvidia,pull-down-strength = <31>;
277 nvidia,pull-up-strength = <31>;
278 nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_SLOWEST>;
279 nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_SLOWEST>;
283 state_i2cmux_ddc: pinmux_i2cmux_ddc {
286 nvidia,function = "i2c2";
290 nvidia,function = "rsvd4";
294 state_i2cmux_pta: pinmux_i2cmux_pta {
297 nvidia,function = "rsvd4";
301 nvidia,function = "i2c2";
305 state_i2cmux_idle: pinmux_i2cmux_idle {
308 nvidia,function = "rsvd4";
312 nvidia,function = "rsvd4";
331 clock-frequency = <400000>;
334 compatible = "wlf,wm8903";
336 interrupt-parent = <&gpio>;
337 interrupts = <TEGRA_GPIO(X, 3) IRQ_TYPE_LEVEL_HIGH>;
343 micdet-delay = <100>;
344 gpio-cfg = <0xffffffff 0xffffffff 0 0xffffffff 0xffffffff>;
347 /* ALS and proximity sensor */
349 compatible = "isil,isl29018";
351 interrupt-parent = <&gpio>;
352 interrupts = <TEGRA_GPIO(Z, 2) IRQ_TYPE_LEVEL_HIGH>;
358 clock-frequency = <100000>;
362 compatible = "i2c-mux-pinctrl";
363 #address-cells = <1>;
366 i2c-parent = <&{/i2c@7000c400}>;
368 pinctrl-names = "ddc", "pta", "idle";
369 pinctrl-0 = <&state_i2cmux_ddc>;
370 pinctrl-1 = <&state_i2cmux_pta>;
371 pinctrl-2 = <&state_i2cmux_idle>;
375 #address-cells = <1>;
381 #address-cells = <1>;
388 clock-frequency = <400000>;
393 clock-frequency = <400000>;
396 compatible = "ti,tps6586x";
398 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
400 ti,system-power-controller;
405 sys-supply = <&vdd_5v0_reg>;
406 vin-sm0-supply = <&sys_reg>;
407 vin-sm1-supply = <&sys_reg>;
408 vin-sm2-supply = <&sys_reg>;
409 vinldo01-supply = <&sm2_reg>;
410 vinldo23-supply = <&sm2_reg>;
411 vinldo4-supply = <&sm2_reg>;
412 vinldo678-supply = <&sm2_reg>;
413 vinldo9-supply = <&sm2_reg>;
417 regulator-name = "vdd_sys";
422 regulator-name = "vdd_sm0,vdd_core";
423 regulator-min-microvolt = <1200000>;
424 regulator-max-microvolt = <1200000>;
429 regulator-name = "vdd_sm1,vdd_cpu";
430 regulator-min-microvolt = <1000000>;
431 regulator-max-microvolt = <1000000>;
436 regulator-name = "vdd_sm2,vin_ldo*";
437 regulator-min-microvolt = <3700000>;
438 regulator-max-microvolt = <3700000>;
442 /* LDO0 is not connected to anything */
445 regulator-name = "vdd_ldo1,avdd_pll*";
446 regulator-min-microvolt = <1100000>;
447 regulator-max-microvolt = <1100000>;
452 regulator-name = "vdd_ldo2,vdd_rtc";
453 regulator-min-microvolt = <1200000>;
454 regulator-max-microvolt = <1200000>;
458 regulator-name = "vdd_ldo3,avdd_usb*";
459 regulator-min-microvolt = <3300000>;
460 regulator-max-microvolt = <3300000>;
465 regulator-name = "vdd_ldo4,avdd_osc,vddio_sys";
466 regulator-min-microvolt = <1800000>;
467 regulator-max-microvolt = <1800000>;
472 regulator-name = "vdd_ldo5,vcore_mmc";
473 regulator-min-microvolt = <2850000>;
474 regulator-max-microvolt = <2850000>;
479 regulator-name = "vdd_ldo6,avdd_vdac";
480 regulator-min-microvolt = <1800000>;
481 regulator-max-microvolt = <1800000>;
485 regulator-name = "vdd_ldo7,avdd_hdmi,vdd_fuse";
486 regulator-min-microvolt = <3300000>;
487 regulator-max-microvolt = <3300000>;
491 regulator-name = "vdd_ldo8,avdd_hdmi_pll";
492 regulator-min-microvolt = <1800000>;
493 regulator-max-microvolt = <1800000>;
497 regulator-name = "vdd_ldo9,avdd_2v85,vdd_ddr_rx";
498 regulator-min-microvolt = <2850000>;
499 regulator-max-microvolt = <2850000>;
504 regulator-name = "vdd_rtc_out,vdd_cell";
505 regulator-min-microvolt = <3300000>;
506 regulator-max-microvolt = <3300000>;
512 temperature-sensor@4c {
513 compatible = "onnn,nct1008";
519 nvidia,invert-interrupt;
520 nvidia,suspend-mode = <1>;
521 nvidia,cpu-pwr-good-time = <2000>;
522 nvidia,cpu-pwr-off-time = <100>;
523 nvidia,core-pwr-good-time = <3845 3845>;
524 nvidia,core-pwr-off-time = <458>;
525 nvidia,sys-clock-req-active-high;
538 nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 1)
544 nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 1)
558 power-gpios = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>;
560 keep-power-in-suspend;
565 cd-gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>;
566 wp-gpios = <&gpio TEGRA_GPIO(H, 1) GPIO_ACTIVE_HIGH>;
567 power-gpios = <&gpio TEGRA_GPIO(I, 6) GPIO_ACTIVE_HIGH>;
577 backlight: backlight {
578 compatible = "pwm-backlight";
580 enable-gpios = <&gpio TEGRA_GPIO(D, 4) GPIO_ACTIVE_HIGH>;
581 power-supply = <&vdd_bl_reg>;
582 pwms = <&pwm 2 5000000>;
584 brightness-levels = <0 4 8 16 32 64 128 255>;
585 default-brightness-level = <6>;
589 compatible = "simple-bus";
590 #address-cells = <1>;
594 compatible = "fixed-clock";
597 clock-frequency = <32768>;
602 compatible = "gpio-keys";
606 gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>;
607 linux,code = <KEY_POWER>;
613 compatible = "chunghwa,claa101wa01a", "simple-panel";
615 power-supply = <&vdd_pnl_reg>;
616 enable-gpios = <&gpio TEGRA_GPIO(B, 2) GPIO_ACTIVE_HIGH>;
618 backlight = <&backlight>;
619 ddc-i2c-bus = <&lvds_ddc>;
623 compatible = "simple-bus";
624 #address-cells = <1>;
627 vdd_5v0_reg: regulator@0 {
628 compatible = "regulator-fixed";
630 regulator-name = "vdd_5v0";
631 regulator-min-microvolt = <5000000>;
632 regulator-max-microvolt = <5000000>;
637 compatible = "regulator-fixed";
639 regulator-name = "vdd_1v5";
640 regulator-min-microvolt = <1500000>;
641 regulator-max-microvolt = <1500000>;
642 gpio = <&pmic 0 GPIO_ACTIVE_HIGH>;
646 compatible = "regulator-fixed";
648 regulator-name = "vdd_1v2";
649 regulator-min-microvolt = <1200000>;
650 regulator-max-microvolt = <1200000>;
651 gpio = <&pmic 1 GPIO_ACTIVE_HIGH>;
655 vdd_pnl_reg: regulator@3 {
656 compatible = "regulator-fixed";
658 regulator-name = "vdd_pnl";
659 regulator-min-microvolt = <2800000>;
660 regulator-max-microvolt = <2800000>;
661 gpio = <&gpio TEGRA_GPIO(C, 6) GPIO_ACTIVE_HIGH>;
665 vdd_bl_reg: regulator@4 {
666 compatible = "regulator-fixed";
668 regulator-name = "vdd_bl";
669 regulator-min-microvolt = <2800000>;
670 regulator-max-microvolt = <2800000>;
671 gpio = <&gpio TEGRA_GPIO(W, 0) GPIO_ACTIVE_HIGH>;
677 compatible = "nvidia,tegra-audio-wm8903-ventana",
678 "nvidia,tegra-audio-wm8903";
679 nvidia,model = "NVIDIA Tegra Ventana";
681 nvidia,audio-routing =
682 "Headphone Jack", "HPOUTR",
683 "Headphone Jack", "HPOUTL",
688 "Mic Jack", "MICBIAS",
691 nvidia,i2s-controller = <&tegra_i2s1>;
692 nvidia,audio-codec = <&wm8903>;
694 nvidia,spkr-en-gpios = <&wm8903 2 GPIO_ACTIVE_HIGH>;
695 nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_HIGH>;
696 nvidia,int-mic-en-gpios = <&gpio TEGRA_GPIO(X, 0)
698 nvidia,ext-mic-en-gpios = <&gpio TEGRA_GPIO(X, 1)
701 clocks = <&tegra_car TEGRA20_CLK_PLL_A>,
702 <&tegra_car TEGRA20_CLK_PLL_A_OUT0>,
703 <&tegra_car TEGRA20_CLK_CDEV1>;
704 clock-names = "pll_a", "pll_a_out0", "mclk";