3 #include "tegra20.dtsi"
6 model = "NVIDIA Tegra20 Ventana evaluation board";
7 compatible = "nvidia,ventana", "nvidia,tegra20";
10 reg = <0x00000000 0x40000000>;
17 vdd-supply = <&hdmi_vdd_reg>;
18 pll-supply = <&hdmi_pll_reg>;
20 nvidia,ddc-i2c-bus = <&hdmi_ddc>;
21 nvidia,hpd-gpio = <&gpio TEGRA_GPIO(N, 7)
27 pinctrl-names = "default";
28 pinctrl-0 = <&state_default>;
30 state_default: pinmux {
33 nvidia,function = "ide";
36 nvidia,pins = "atb", "gma", "gme";
37 nvidia,function = "sdio4";
41 nvidia,function = "nand";
44 nvidia,pins = "atd", "ate", "gmb", "spia",
46 nvidia,function = "gmi";
49 nvidia,pins = "cdev1";
50 nvidia,function = "plla_out";
53 nvidia,pins = "cdev2";
54 nvidia,function = "pllp_out4";
57 nvidia,pins = "crtp", "lm1";
58 nvidia,function = "crt";
62 nvidia,function = "vi_sensor_clk";
66 nvidia,function = "dap1";
70 nvidia,function = "dap2";
74 nvidia,function = "dap3";
78 nvidia,function = "dap4";
81 nvidia,pins = "dta", "dtb", "dtc", "dtd", "dte";
82 nvidia,function = "vi";
86 nvidia,function = "i2c3";
90 nvidia,function = "uartd";
94 nvidia,function = "sflash";
98 nvidia,function = "pwm";
101 nvidia,pins = "gpu7";
102 nvidia,function = "rtck";
105 nvidia,pins = "gpv", "slxa", "slxk";
106 nvidia,function = "pcie";
109 nvidia,pins = "hdint";
110 nvidia,function = "hdmi";
113 nvidia,pins = "i2cp";
114 nvidia,function = "i2cp";
117 nvidia,pins = "irrx", "irtx";
118 nvidia,function = "uartb";
121 nvidia,pins = "kbca", "kbcb", "kbcc", "kbcd",
123 nvidia,function = "kbc";
126 nvidia,pins = "lcsn", "ldc", "lm0", "lpw1",
128 nvidia,function = "rsvd4";
131 nvidia,pins = "ld0", "ld1", "ld2", "ld3", "ld4",
132 "ld5", "ld6", "ld7", "ld8", "ld9",
133 "ld10", "ld11", "ld12", "ld13", "ld14",
134 "ld15", "ld16", "ld17", "ldi", "lhp0",
135 "lhp1", "lhp2", "lhs", "lpp", "lpw0",
136 "lpw2", "lsc0", "lsc1", "lsck", "lsda",
137 "lspi", "lvp1", "lvs";
138 nvidia,function = "displaya";
141 nvidia,pins = "owc", "spdi", "spdo", "uac";
142 nvidia,function = "rsvd2";
146 nvidia,function = "pwr_on";
150 nvidia,function = "i2c1";
153 nvidia,pins = "sdb", "sdc", "sdd", "slxc";
154 nvidia,function = "sdio3";
157 nvidia,pins = "sdio1";
158 nvidia,function = "sdio1";
161 nvidia,pins = "slxd";
162 nvidia,function = "spdif";
165 nvidia,pins = "spid", "spie", "spif";
166 nvidia,function = "spi1";
169 nvidia,pins = "spig", "spih";
170 nvidia,function = "spi2_alt";
173 nvidia,pins = "uaa", "uab", "uda";
174 nvidia,function = "ulpi";
178 nvidia,function = "irda";
181 nvidia,pins = "uca", "ucb";
182 nvidia,function = "uartc";
185 nvidia,pins = "ata", "atb", "atc", "atd",
186 "cdev1", "cdev2", "dap1", "dap2",
187 "dap4", "ddc", "dtf", "gma", "gmc",
188 "gme", "gpu", "gpu7", "i2cp", "irrx",
189 "irtx", "pta", "rm", "sdc", "sdd",
190 "slxc", "slxd", "slxk", "spdi", "spdo",
191 "uac", "uad", "uca", "ucb", "uda";
193 nvidia,tristate = <0>;
196 nvidia,pins = "ate", "csus", "dap3", "gmd",
197 "gpv", "owc", "spia", "spib", "spic",
198 "spid", "spie", "spig";
200 nvidia,tristate = <1>;
203 nvidia,pins = "ck32", "ddrc", "pmca", "pmcb",
204 "pmcc", "pmcd", "pmce", "xm2c", "xm2d";
208 nvidia,pins = "crtp", "gmb", "slxa", "spih";
210 nvidia,tristate = <1>;
213 nvidia,pins = "dta", "dtb", "dtc", "dtd";
215 nvidia,tristate = <0>;
218 nvidia,pins = "dte", "spif";
220 nvidia,tristate = <1>;
223 nvidia,pins = "hdint", "lcsn", "ldc", "lm1",
224 "lpw1", "lsck", "lsda", "lsdi", "lvp0";
225 nvidia,tristate = <1>;
228 nvidia,pins = "kbca", "kbcb", "kbcc", "kbcd",
229 "kbce", "kbcf", "sdio1", "uaa", "uab";
231 nvidia,tristate = <0>;
234 nvidia,pins = "lc", "ls";
238 nvidia,pins = "ld0", "ld1", "ld2", "ld3", "ld4",
239 "ld5", "ld6", "ld7", "ld8", "ld9",
240 "ld10", "ld11", "ld12", "ld13", "ld14",
241 "ld15", "ld16", "ld17", "ldi", "lhp0",
242 "lhp1", "lhp2", "lhs", "lm0", "lpp",
243 "lpw0", "lpw2", "lsc0", "lsc1", "lspi",
244 "lvp1", "lvs", "pmc", "sdb";
245 nvidia,tristate = <0>;
248 nvidia,pins = "ld17_0", "ld19_18", "ld21_20",
253 nvidia,pins = "drive_sdio1";
254 nvidia,high-speed-mode = <0>;
255 nvidia,schmitt = <1>;
256 nvidia,low-power-mode = <3>;
257 nvidia,pull-down-strength = <31>;
258 nvidia,pull-up-strength = <31>;
259 nvidia,slew-rate-rising = <3>;
260 nvidia,slew-rate-falling = <3>;
264 state_i2cmux_ddc: pinmux_i2cmux_ddc {
267 nvidia,function = "i2c2";
271 nvidia,function = "rsvd4";
275 state_i2cmux_pta: pinmux_i2cmux_pta {
278 nvidia,function = "rsvd4";
282 nvidia,function = "i2c2";
286 state_i2cmux_idle: pinmux_i2cmux_idle {
289 nvidia,function = "rsvd4";
293 nvidia,function = "rsvd4";
308 clock-frequency = <400000>;
311 compatible = "wlf,wm8903";
313 interrupt-parent = <&gpio>;
314 interrupts = <TEGRA_GPIO(X, 3) IRQ_TYPE_LEVEL_HIGH>;
320 micdet-delay = <100>;
321 gpio-cfg = <0xffffffff 0xffffffff 0 0xffffffff 0xffffffff>;
324 /* ALS and proximity sensor */
326 compatible = "isil,isl29018";
328 interrupt-parent = <&gpio>;
329 interrupts = <TEGRA_GPIO(Z, 2) IRQ_TYPE_LEVEL_HIGH>;
335 clock-frequency = <100000>;
339 compatible = "i2c-mux-pinctrl";
340 #address-cells = <1>;
343 i2c-parent = <&{/i2c@7000c400}>;
345 pinctrl-names = "ddc", "pta", "idle";
346 pinctrl-0 = <&state_i2cmux_ddc>;
347 pinctrl-1 = <&state_i2cmux_pta>;
348 pinctrl-2 = <&state_i2cmux_idle>;
352 #address-cells = <1>;
358 #address-cells = <1>;
365 clock-frequency = <400000>;
370 clock-frequency = <400000>;
373 compatible = "ti,tps6586x";
375 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
377 ti,system-power-controller;
382 sys-supply = <&vdd_5v0_reg>;
383 vin-sm0-supply = <&sys_reg>;
384 vin-sm1-supply = <&sys_reg>;
385 vin-sm2-supply = <&sys_reg>;
386 vinldo01-supply = <&sm2_reg>;
387 vinldo23-supply = <&sm2_reg>;
388 vinldo4-supply = <&sm2_reg>;
389 vinldo678-supply = <&sm2_reg>;
390 vinldo9-supply = <&sm2_reg>;
394 regulator-name = "vdd_sys";
399 regulator-name = "vdd_sm0,vdd_core";
400 regulator-min-microvolt = <1200000>;
401 regulator-max-microvolt = <1200000>;
406 regulator-name = "vdd_sm1,vdd_cpu";
407 regulator-min-microvolt = <1000000>;
408 regulator-max-microvolt = <1000000>;
413 regulator-name = "vdd_sm2,vin_ldo*";
414 regulator-min-microvolt = <3700000>;
415 regulator-max-microvolt = <3700000>;
419 /* LDO0 is not connected to anything */
422 regulator-name = "vdd_ldo1,avdd_pll*";
423 regulator-min-microvolt = <1100000>;
424 regulator-max-microvolt = <1100000>;
429 regulator-name = "vdd_ldo2,vdd_rtc";
430 regulator-min-microvolt = <1200000>;
431 regulator-max-microvolt = <1200000>;
435 regulator-name = "vdd_ldo3,avdd_usb*";
436 regulator-min-microvolt = <3300000>;
437 regulator-max-microvolt = <3300000>;
442 regulator-name = "vdd_ldo4,avdd_osc,vddio_sys";
443 regulator-min-microvolt = <1800000>;
444 regulator-max-microvolt = <1800000>;
449 regulator-name = "vdd_ldo5,vcore_mmc";
450 regulator-min-microvolt = <2850000>;
451 regulator-max-microvolt = <2850000>;
456 regulator-name = "vdd_ldo6,avdd_vdac";
457 regulator-min-microvolt = <1800000>;
458 regulator-max-microvolt = <1800000>;
462 regulator-name = "vdd_ldo7,avdd_hdmi,vdd_fuse";
463 regulator-min-microvolt = <3300000>;
464 regulator-max-microvolt = <3300000>;
468 regulator-name = "vdd_ldo8,avdd_hdmi_pll";
469 regulator-min-microvolt = <1800000>;
470 regulator-max-microvolt = <1800000>;
474 regulator-name = "vdd_ldo9,avdd_2v85,vdd_ddr_rx";
475 regulator-min-microvolt = <2850000>;
476 regulator-max-microvolt = <2850000>;
481 regulator-name = "vdd_rtc_out,vdd_cell";
482 regulator-min-microvolt = <3300000>;
483 regulator-max-microvolt = <3300000>;
489 temperature-sensor@4c {
490 compatible = "onnn,nct1008";
496 nvidia,invert-interrupt;
497 nvidia,suspend-mode = <1>;
498 nvidia,cpu-pwr-good-time = <2000>;
499 nvidia,cpu-pwr-off-time = <100>;
500 nvidia,core-pwr-good-time = <3845 3845>;
501 nvidia,core-pwr-off-time = <458>;
502 nvidia,sys-clock-req-active-high;
515 nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 1)
521 nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 1)
535 power-gpios = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>;
537 keep-power-in-suspend;
542 cd-gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>;
543 wp-gpios = <&gpio TEGRA_GPIO(H, 1) GPIO_ACTIVE_HIGH>;
544 power-gpios = <&gpio TEGRA_GPIO(I, 6) GPIO_ACTIVE_HIGH>;
555 compatible = "simple-bus";
556 #address-cells = <1>;
560 compatible = "fixed-clock";
563 clock-frequency = <32768>;
568 compatible = "gpio-keys";
572 gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>;
573 linux,code = <116>; /* KEY_POWER */
579 compatible = "simple-bus";
580 #address-cells = <1>;
583 vdd_5v0_reg: regulator@0 {
584 compatible = "regulator-fixed";
586 regulator-name = "vdd_5v0";
587 regulator-min-microvolt = <5000000>;
588 regulator-max-microvolt = <5000000>;
593 compatible = "regulator-fixed";
595 regulator-name = "vdd_1v5";
596 regulator-min-microvolt = <1500000>;
597 regulator-max-microvolt = <1500000>;
598 gpio = <&pmic 0 GPIO_ACTIVE_HIGH>;
602 compatible = "regulator-fixed";
604 regulator-name = "vdd_1v2";
605 regulator-min-microvolt = <1200000>;
606 regulator-max-microvolt = <1200000>;
607 gpio = <&pmic 1 GPIO_ACTIVE_HIGH>;
612 compatible = "regulator-fixed";
614 regulator-name = "vdd_pnl";
615 regulator-min-microvolt = <2800000>;
616 regulator-max-microvolt = <2800000>;
617 gpio = <&gpio TEGRA_GPIO(C, 6) GPIO_ACTIVE_HIGH>;
622 compatible = "regulator-fixed";
624 regulator-name = "vdd_bl";
625 regulator-min-microvolt = <2800000>;
626 regulator-max-microvolt = <2800000>;
627 gpio = <&gpio TEGRA_GPIO(W, 0) GPIO_ACTIVE_HIGH>;
633 compatible = "nvidia,tegra-audio-wm8903-ventana",
634 "nvidia,tegra-audio-wm8903";
635 nvidia,model = "NVIDIA Tegra Ventana";
637 nvidia,audio-routing =
638 "Headphone Jack", "HPOUTR",
639 "Headphone Jack", "HPOUTL",
644 "Mic Jack", "MICBIAS",
647 nvidia,i2s-controller = <&tegra_i2s1>;
648 nvidia,audio-codec = <&wm8903>;
650 nvidia,spkr-en-gpios = <&wm8903 2 GPIO_ACTIVE_HIGH>;
651 nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_HIGH>;
652 nvidia,int-mic-en-gpios = <&gpio TEGRA_GPIO(X, 0)
654 nvidia,ext-mic-en-gpios = <&gpio TEGRA_GPIO(X, 1)
657 clocks = <&tegra_car TEGRA20_CLK_PLL_A>,
658 <&tegra_car TEGRA20_CLK_PLL_A_OUT0>,
659 <&tegra_car TEGRA20_CLK_CDEV1>;
660 clock-names = "pll_a", "pll_a_out0", "mclk";