3 #include <dt-bindings/input/input.h>
4 #include "tegra20.dtsi"
7 model = "NVIDIA Tegra20 Ventana evaluation board";
8 compatible = "nvidia,ventana", "nvidia,tegra20";
15 rtc0 = "/i2c@7000d000/tps6586x@34";
16 rtc1 = "/rtc@7000e000";
18 usb0 = "/usb@c5000000";
19 usb1 = "/usb@c5004000";
20 usb2 = "/usb@c5008000";
21 mmc0 = "/sdhci@c8000600";
22 mmc1 = "/sdhci@c8000400";
26 reg = <0x00000000 0x40000000>;
36 nvidia,panel = <&panel>;
40 /* Seaboard has 1366x768 */
41 clock-frequency = <70600000>;
59 vdd-supply = <&hdmi_vdd_reg>;
60 pll-supply = <&hdmi_pll_reg>;
62 nvidia,ddc-i2c-bus = <&hdmi_ddc>;
63 nvidia,hpd-gpio = <&gpio TEGRA_GPIO(N, 7)
69 pinctrl-names = "default";
70 pinctrl-0 = <&state_default>;
72 state_default: pinmux {
75 nvidia,function = "ide";
78 nvidia,pins = "atb", "gma", "gme";
79 nvidia,function = "sdio4";
83 nvidia,function = "nand";
86 nvidia,pins = "atd", "ate", "gmb", "spia",
88 nvidia,function = "gmi";
91 nvidia,pins = "cdev1";
92 nvidia,function = "plla_out";
95 nvidia,pins = "cdev2";
96 nvidia,function = "pllp_out4";
99 nvidia,pins = "crtp", "lm1";
100 nvidia,function = "crt";
103 nvidia,pins = "csus";
104 nvidia,function = "vi_sensor_clk";
107 nvidia,pins = "dap1";
108 nvidia,function = "dap1";
111 nvidia,pins = "dap2";
112 nvidia,function = "dap2";
115 nvidia,pins = "dap3";
116 nvidia,function = "dap3";
119 nvidia,pins = "dap4";
120 nvidia,function = "dap4";
123 nvidia,pins = "dta", "dtb", "dtc", "dtd", "dte";
124 nvidia,function = "vi";
128 nvidia,function = "i2c3";
132 nvidia,function = "uartd";
136 nvidia,function = "sflash";
140 nvidia,function = "pwm";
143 nvidia,pins = "gpu7";
144 nvidia,function = "rtck";
147 nvidia,pins = "gpv", "slxa", "slxk";
148 nvidia,function = "pcie";
151 nvidia,pins = "hdint";
152 nvidia,function = "hdmi";
155 nvidia,pins = "i2cp";
156 nvidia,function = "i2cp";
159 nvidia,pins = "irrx", "irtx";
160 nvidia,function = "uartb";
163 nvidia,pins = "kbca", "kbcb", "kbcc", "kbcd",
165 nvidia,function = "kbc";
168 nvidia,pins = "lcsn", "ldc", "lm0", "lpw1",
170 nvidia,function = "rsvd4";
173 nvidia,pins = "ld0", "ld1", "ld2", "ld3", "ld4",
174 "ld5", "ld6", "ld7", "ld8", "ld9",
175 "ld10", "ld11", "ld12", "ld13", "ld14",
176 "ld15", "ld16", "ld17", "ldi", "lhp0",
177 "lhp1", "lhp2", "lhs", "lpp", "lpw0",
178 "lpw2", "lsc0", "lsc1", "lsck", "lsda",
179 "lspi", "lvp1", "lvs";
180 nvidia,function = "displaya";
183 nvidia,pins = "owc", "spdi", "spdo", "uac";
184 nvidia,function = "rsvd2";
188 nvidia,function = "pwr_on";
192 nvidia,function = "i2c1";
195 nvidia,pins = "sdb", "sdc", "sdd", "slxc";
196 nvidia,function = "sdio3";
199 nvidia,pins = "sdio1";
200 nvidia,function = "sdio1";
203 nvidia,pins = "slxd";
204 nvidia,function = "spdif";
207 nvidia,pins = "spid", "spie", "spif";
208 nvidia,function = "spi1";
211 nvidia,pins = "spig", "spih";
212 nvidia,function = "spi2_alt";
215 nvidia,pins = "uaa", "uab", "uda";
216 nvidia,function = "ulpi";
220 nvidia,function = "irda";
223 nvidia,pins = "uca", "ucb";
224 nvidia,function = "uartc";
227 nvidia,pins = "ata", "atb", "atc", "atd",
228 "cdev1", "cdev2", "dap1", "dap2",
229 "dap4", "ddc", "dtf", "gma", "gmc",
230 "gme", "gpu", "gpu7", "i2cp", "irrx",
231 "irtx", "pta", "rm", "sdc", "sdd",
232 "slxc", "slxd", "slxk", "spdi", "spdo",
233 "uac", "uad", "uca", "ucb", "uda";
234 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
235 nvidia,tristate = <TEGRA_PIN_DISABLE>;
238 nvidia,pins = "ate", "csus", "dap3", "gmd",
239 "gpv", "owc", "spia", "spib", "spic",
240 "spid", "spie", "spig";
241 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
242 nvidia,tristate = <TEGRA_PIN_ENABLE>;
245 nvidia,pins = "ck32", "ddrc", "pmca", "pmcb",
246 "pmcc", "pmcd", "pmce", "xm2c", "xm2d";
247 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
250 nvidia,pins = "crtp", "gmb", "slxa", "spih";
251 nvidia,pull = <TEGRA_PIN_PULL_UP>;
252 nvidia,tristate = <TEGRA_PIN_ENABLE>;
255 nvidia,pins = "dta", "dtb", "dtc", "dtd";
256 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
257 nvidia,tristate = <TEGRA_PIN_DISABLE>;
260 nvidia,pins = "dte", "spif";
261 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
262 nvidia,tristate = <TEGRA_PIN_ENABLE>;
265 nvidia,pins = "hdint", "lcsn", "ldc", "lm1",
266 "lpw1", "lsck", "lsda", "lsdi", "lvp0";
267 nvidia,tristate = <TEGRA_PIN_ENABLE>;
270 nvidia,pins = "kbca", "kbcb", "kbcc", "kbcd",
271 "kbce", "kbcf", "sdio1", "uaa", "uab";
272 nvidia,pull = <TEGRA_PIN_PULL_UP>;
273 nvidia,tristate = <TEGRA_PIN_DISABLE>;
276 nvidia,pins = "lc", "ls";
277 nvidia,pull = <TEGRA_PIN_PULL_UP>;
280 nvidia,pins = "ld0", "ld1", "ld2", "ld3", "ld4",
281 "ld5", "ld6", "ld7", "ld8", "ld9",
282 "ld10", "ld11", "ld12", "ld13", "ld14",
283 "ld15", "ld16", "ld17", "ldi", "lhp0",
284 "lhp1", "lhp2", "lhs", "lm0", "lpp",
285 "lpw0", "lpw2", "lsc0", "lsc1", "lspi",
286 "lvp1", "lvs", "pmc", "sdb";
287 nvidia,tristate = <TEGRA_PIN_DISABLE>;
290 nvidia,pins = "ld17_0", "ld19_18", "ld21_20",
292 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
295 nvidia,pins = "drive_sdio1";
296 nvidia,high-speed-mode = <TEGRA_PIN_DISABLE>;
297 nvidia,schmitt = <TEGRA_PIN_ENABLE>;
298 nvidia,low-power-mode = <TEGRA_PIN_LP_DRIVE_DIV_1>;
299 nvidia,pull-down-strength = <31>;
300 nvidia,pull-up-strength = <31>;
301 nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_SLOWEST>;
302 nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_SLOWEST>;
306 state_i2cmux_ddc: pinmux_i2cmux_ddc {
309 nvidia,function = "i2c2";
313 nvidia,function = "rsvd4";
317 state_i2cmux_pta: pinmux_i2cmux_pta {
320 nvidia,function = "rsvd4";
324 nvidia,function = "i2c2";
328 state_i2cmux_idle: pinmux_i2cmux_idle {
331 nvidia,function = "rsvd4";
335 nvidia,function = "rsvd4";
346 clock-frequency = < 216000000 >; };
354 clock-frequency = <400000>;
357 compatible = "wlf,wm8903";
359 interrupt-parent = <&gpio>;
360 interrupts = <TEGRA_GPIO(X, 3) IRQ_TYPE_LEVEL_HIGH>;
366 micdet-delay = <100>;
367 gpio-cfg = <0xffffffff 0xffffffff 0 0xffffffff 0xffffffff>;
370 /* ALS and proximity sensor */
372 compatible = "isil,isl29018";
374 interrupt-parent = <&gpio>;
375 interrupts = <TEGRA_GPIO(Z, 2) IRQ_TYPE_LEVEL_HIGH>;
381 clock-frequency = <100000>;
385 compatible = "i2c-mux-pinctrl";
386 #address-cells = <1>;
389 i2c-parent = <&{/i2c@7000c400}>;
391 pinctrl-names = "ddc", "pta", "idle";
392 pinctrl-0 = <&state_i2cmux_ddc>;
393 pinctrl-1 = <&state_i2cmux_pta>;
394 pinctrl-2 = <&state_i2cmux_idle>;
398 #address-cells = <1>;
404 #address-cells = <1>;
411 clock-frequency = <400000>;
416 clock-frequency = <400000>;
419 compatible = "ti,tps6586x";
421 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
423 ti,system-power-controller;
428 sys-supply = <&vdd_5v0_reg>;
429 vin-sm0-supply = <&sys_reg>;
430 vin-sm1-supply = <&sys_reg>;
431 vin-sm2-supply = <&sys_reg>;
432 vinldo01-supply = <&sm2_reg>;
433 vinldo23-supply = <&sm2_reg>;
434 vinldo4-supply = <&sm2_reg>;
435 vinldo678-supply = <&sm2_reg>;
436 vinldo9-supply = <&sm2_reg>;
440 regulator-name = "vdd_sys";
445 regulator-name = "vdd_sm0,vdd_core";
446 regulator-min-microvolt = <1200000>;
447 regulator-max-microvolt = <1200000>;
452 regulator-name = "vdd_sm1,vdd_cpu";
453 regulator-min-microvolt = <1000000>;
454 regulator-max-microvolt = <1000000>;
459 regulator-name = "vdd_sm2,vin_ldo*";
460 regulator-min-microvolt = <3700000>;
461 regulator-max-microvolt = <3700000>;
465 /* LDO0 is not connected to anything */
468 regulator-name = "vdd_ldo1,avdd_pll*";
469 regulator-min-microvolt = <1100000>;
470 regulator-max-microvolt = <1100000>;
475 regulator-name = "vdd_ldo2,vdd_rtc";
476 regulator-min-microvolt = <1200000>;
477 regulator-max-microvolt = <1200000>;
481 regulator-name = "vdd_ldo3,avdd_usb*";
482 regulator-min-microvolt = <3300000>;
483 regulator-max-microvolt = <3300000>;
488 regulator-name = "vdd_ldo4,avdd_osc,vddio_sys";
489 regulator-min-microvolt = <1800000>;
490 regulator-max-microvolt = <1800000>;
495 regulator-name = "vdd_ldo5,vcore_mmc";
496 regulator-min-microvolt = <2850000>;
497 regulator-max-microvolt = <2850000>;
502 regulator-name = "vdd_ldo6,avdd_vdac";
503 regulator-min-microvolt = <1800000>;
504 regulator-max-microvolt = <1800000>;
508 regulator-name = "vdd_ldo7,avdd_hdmi,vdd_fuse";
509 regulator-min-microvolt = <3300000>;
510 regulator-max-microvolt = <3300000>;
514 regulator-name = "vdd_ldo8,avdd_hdmi_pll";
515 regulator-min-microvolt = <1800000>;
516 regulator-max-microvolt = <1800000>;
520 regulator-name = "vdd_ldo9,avdd_2v85,vdd_ddr_rx";
521 regulator-min-microvolt = <2850000>;
522 regulator-max-microvolt = <2850000>;
527 regulator-name = "vdd_rtc_out,vdd_cell";
528 regulator-min-microvolt = <3300000>;
529 regulator-max-microvolt = <3300000>;
535 temperature-sensor@4c {
536 compatible = "onnn,nct1008";
542 nvidia,invert-interrupt;
543 nvidia,suspend-mode = <1>;
544 nvidia,cpu-pwr-good-time = <2000>;
545 nvidia,cpu-pwr-off-time = <100>;
546 nvidia,core-pwr-good-time = <3845 3845>;
547 nvidia,core-pwr-off-time = <458>;
548 nvidia,sys-clock-req-active-high;
561 nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 1)
567 nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 1)
581 power-gpios = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>;
583 keep-power-in-suspend;
588 cd-gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>;
589 wp-gpios = <&gpio TEGRA_GPIO(H, 1) GPIO_ACTIVE_HIGH>;
590 power-gpios = <&gpio TEGRA_GPIO(I, 6) GPIO_ACTIVE_HIGH>;
600 backlight: backlight {
601 compatible = "pwm-backlight";
603 enable-gpios = <&gpio TEGRA_GPIO(D, 4) GPIO_ACTIVE_HIGH>;
604 power-supply = <&vdd_bl_reg>;
605 pwms = <&pwm 2 5000000>;
607 brightness-levels = <0 4 8 16 32 64 128 255>;
608 default-brightness-level = <6>;
612 compatible = "simple-bus";
613 #address-cells = <1>;
617 compatible = "fixed-clock";
620 clock-frequency = <32768>;
625 compatible = "gpio-keys";
629 gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>;
630 linux,code = <KEY_POWER>;
636 compatible = "chunghwa,claa101wa01a", "simple-panel";
638 power-supply = <&vdd_pnl_reg>;
639 enable-gpios = <&gpio TEGRA_GPIO(B, 2) GPIO_ACTIVE_HIGH>;
641 backlight = <&backlight>;
642 ddc-i2c-bus = <&lvds_ddc>;
646 compatible = "simple-bus";
647 #address-cells = <1>;
650 vdd_5v0_reg: regulator@0 {
651 compatible = "regulator-fixed";
653 regulator-name = "vdd_5v0";
654 regulator-min-microvolt = <5000000>;
655 regulator-max-microvolt = <5000000>;
660 compatible = "regulator-fixed";
662 regulator-name = "vdd_1v5";
663 regulator-min-microvolt = <1500000>;
664 regulator-max-microvolt = <1500000>;
665 gpio = <&pmic 0 GPIO_ACTIVE_HIGH>;
669 compatible = "regulator-fixed";
671 regulator-name = "vdd_1v2";
672 regulator-min-microvolt = <1200000>;
673 regulator-max-microvolt = <1200000>;
674 gpio = <&pmic 1 GPIO_ACTIVE_HIGH>;
678 vdd_pnl_reg: regulator@3 {
679 compatible = "regulator-fixed";
681 regulator-name = "vdd_pnl";
682 regulator-min-microvolt = <2800000>;
683 regulator-max-microvolt = <2800000>;
684 gpio = <&gpio TEGRA_GPIO(C, 6) GPIO_ACTIVE_HIGH>;
688 vdd_bl_reg: regulator@4 {
689 compatible = "regulator-fixed";
691 regulator-name = "vdd_bl";
692 regulator-min-microvolt = <2800000>;
693 regulator-max-microvolt = <2800000>;
694 gpio = <&gpio TEGRA_GPIO(W, 0) GPIO_ACTIVE_HIGH>;
700 compatible = "nvidia,tegra-audio-wm8903-ventana",
701 "nvidia,tegra-audio-wm8903";
702 nvidia,model = "NVIDIA Tegra Ventana";
704 nvidia,audio-routing =
705 "Headphone Jack", "HPOUTR",
706 "Headphone Jack", "HPOUTL",
711 "Mic Jack", "MICBIAS",
714 nvidia,i2s-controller = <&tegra_i2s1>;
715 nvidia,audio-codec = <&wm8903>;
717 nvidia,spkr-en-gpios = <&wm8903 2 GPIO_ACTIVE_HIGH>;
718 nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_HIGH>;
719 nvidia,int-mic-en-gpios = <&gpio TEGRA_GPIO(X, 0)
721 nvidia,ext-mic-en-gpios = <&gpio TEGRA_GPIO(X, 1)
724 clocks = <&tegra_car TEGRA20_CLK_PLL_A>,
725 <&tegra_car TEGRA20_CLK_PLL_A_OUT0>,
726 <&tegra_car TEGRA20_CLK_CDEV1>;
727 clock-names = "pll_a", "pll_a_out0", "mclk";