3 #include <dt-bindings/input/input.h>
4 #include "tegra20.dtsi"
7 model = "NVIDIA Tegra20 Whistler evaluation board";
8 compatible = "nvidia,whistler", "nvidia,tegra20";
11 rtc0 = "/i2c@7000d000/max8907@3c";
12 rtc1 = "/rtc@7000e000";
17 stdout-path = "serial0:115200n8";
21 reg = <0x00000000 0x20000000>;
28 vdd-supply = <&hdmi_vdd_reg>;
29 pll-supply = <&hdmi_pll_reg>;
31 nvidia,ddc-i2c-bus = <&hdmi_ddc>;
32 nvidia,hpd-gpio = <&gpio TEGRA_GPIO(N, 7)
38 pinctrl-names = "default";
39 pinctrl-0 = <&state_default>;
41 state_default: pinmux {
43 nvidia,pins = "ata", "atb", "ate", "gma", "gmb",
45 nvidia,function = "gmi";
48 nvidia,pins = "atc", "atd";
49 nvidia,function = "sdio4";
52 nvidia,pins = "cdev1";
53 nvidia,function = "plla_out";
56 nvidia,pins = "cdev2";
57 nvidia,function = "osc";
61 nvidia,function = "crt";
65 nvidia,function = "vi_sensor_clk";
69 nvidia,function = "dap1";
73 nvidia,function = "dap2";
77 nvidia,function = "dap3";
81 nvidia,function = "dap4";
85 nvidia,function = "i2c2";
88 nvidia,pins = "dta", "dtb", "dtc", "dtd";
89 nvidia,function = "vi";
93 nvidia,function = "rsvd1";
97 nvidia,function = "i2c3";
101 nvidia,function = "dap5";
104 nvidia,pins = "gpu7";
105 nvidia,function = "rtck";
109 nvidia,function = "pcie";
112 nvidia,pins = "hdint", "pta";
113 nvidia,function = "hdmi";
116 nvidia,pins = "i2cp";
117 nvidia,function = "i2cp";
120 nvidia,pins = "irrx", "irtx";
121 nvidia,function = "uartb";
124 nvidia,pins = "kbca", "kbcc", "kbce", "kbcf";
125 nvidia,function = "kbc";
128 nvidia,pins = "kbcb", "kbcd";
129 nvidia,function = "sdio2";
132 nvidia,pins = "lcsn", "lsck", "lsda", "lsdi",
133 "spia", "spib", "spic";
134 nvidia,function = "spi3";
137 nvidia,pins = "ld0", "ld1", "ld2", "ld3", "ld4",
138 "ld5", "ld6", "ld7", "ld8", "ld9",
139 "ld10", "ld11", "ld12", "ld13", "ld14",
140 "ld15", "ld16", "ld17", "ldc", "ldi",
141 "lhp0", "lhp1", "lhp2", "lhs", "lm0",
142 "lm1", "lpp", "lpw0", "lpw1", "lpw2",
143 "lsc0", "lsc1", "lspi", "lvp0", "lvp1",
145 nvidia,function = "displaya";
148 nvidia,pins = "owc", "uac";
149 nvidia,function = "owr";
153 nvidia,function = "pwr_on";
157 nvidia,function = "i2c1";
160 nvidia,pins = "sdb", "sdc", "sdd", "slxa",
161 "slxc", "slxd", "slxk";
162 nvidia,function = "sdio3";
165 nvidia,pins = "sdio1";
166 nvidia,function = "sdio1";
169 nvidia,pins = "spdi", "spdo";
170 nvidia,function = "rsvd2";
173 nvidia,pins = "spid", "spie", "spig", "spih";
174 nvidia,function = "spi2_alt";
177 nvidia,pins = "spif";
178 nvidia,function = "spi2";
181 nvidia,pins = "uaa", "uab";
182 nvidia,function = "uarta";
186 nvidia,function = "irda";
189 nvidia,pins = "uca", "ucb";
190 nvidia,function = "uartc";
194 nvidia,function = "spi1";
197 nvidia,pins = "ata", "atb", "atc", "ddc", "gma",
198 "gmb", "gmc", "gmd", "irrx", "irtx",
199 "kbca", "kbcb", "kbcc", "kbcd", "kbce",
200 "kbcf", "sdc", "sdd", "spie", "spig",
201 "spih", "uaa", "uab", "uad", "uca",
203 nvidia,pull = <TEGRA_PIN_PULL_UP>;
204 nvidia,tristate = <TEGRA_PIN_DISABLE>;
207 nvidia,pins = "atd", "ate", "cdev1", "csus",
208 "dap1", "dap2", "dap3", "dap4", "dte",
209 "dtf", "gpu", "gpu7", "gpv", "i2cp",
210 "rm", "sdio1", "slxa", "slxc", "slxd",
211 "slxk", "spdi", "spdo", "uac", "uda";
212 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
213 nvidia,tristate = <TEGRA_PIN_DISABLE>;
216 nvidia,pins = "cdev2", "spia", "spib";
217 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
218 nvidia,tristate = <TEGRA_PIN_ENABLE>;
221 nvidia,pins = "ck32", "ddrc", "lc", "pmca",
222 "pmcb", "pmcc", "pmcd", "xm2c",
224 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
227 nvidia,pins = "crtp";
228 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
229 nvidia,tristate = <TEGRA_PIN_ENABLE>;
232 nvidia,pins = "dta", "dtb", "dtc", "dtd",
234 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
235 nvidia,tristate = <TEGRA_PIN_DISABLE>;
238 nvidia,pins = "gme", "owc", "pta", "spic";
239 nvidia,pull = <TEGRA_PIN_PULL_UP>;
240 nvidia,tristate = <TEGRA_PIN_ENABLE>;
243 nvidia,pins = "ld17_0", "ld19_18", "ld21_20",
245 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
248 nvidia,pins = "ls", "pmce";
249 nvidia,pull = <TEGRA_PIN_PULL_UP>;
252 nvidia,pins = "drive_dap1";
253 nvidia,high-speed-mode = <TEGRA_PIN_DISABLE>;
254 nvidia,schmitt = <TEGRA_PIN_ENABLE>;
255 nvidia,low-power-mode = <TEGRA_PIN_LP_DRIVE_DIV_8>;
256 nvidia,pull-down-strength = <0>;
257 nvidia,pull-up-strength = <0>;
258 nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>;
259 nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FASTEST>;
272 hdmi_ddc: i2c@7000c400 {
274 clock-frequency = <100000>;
279 clock-frequency = <100000>;
282 compatible = "wlf,wm8753";
287 compatible = "ti,tca6416";
294 compatible = "maxim,max8907";
296 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
298 maxim,system-power-controller;
300 mbatt-supply = <&usb0_vbus_reg>;
301 in-v1-supply = <&mbatt_reg>;
302 in-v2-supply = <&mbatt_reg>;
303 in-v3-supply = <&mbatt_reg>;
304 in1-supply = <&mbatt_reg>;
305 in2-supply = <&nvvdd_sv3_reg>;
306 in3-supply = <&mbatt_reg>;
307 in4-supply = <&mbatt_reg>;
308 in5-supply = <&mbatt_reg>;
309 in6-supply = <&mbatt_reg>;
310 in7-supply = <&mbatt_reg>;
311 in8-supply = <&mbatt_reg>;
312 in9-supply = <&mbatt_reg>;
313 in10-supply = <&mbatt_reg>;
314 in11-supply = <&mbatt_reg>;
315 in12-supply = <&mbatt_reg>;
316 in13-supply = <&mbatt_reg>;
317 in14-supply = <&mbatt_reg>;
318 in15-supply = <&mbatt_reg>;
319 in16-supply = <&mbatt_reg>;
320 in17-supply = <&nvvdd_sv3_reg>;
321 in18-supply = <&nvvdd_sv3_reg>;
322 in19-supply = <&mbatt_reg>;
323 in20-supply = <&mbatt_reg>;
327 regulator-name = "vbat_pmu";
332 regulator-name = "nvvdd_sv1,vdd_cpu_pmu";
333 regulator-min-microvolt = <1000000>;
334 regulator-max-microvolt = <1000000>;
339 regulator-name = "nvvdd_sv2,vdd_core";
340 regulator-min-microvolt = <1200000>;
341 regulator-max-microvolt = <1200000>;
346 regulator-name = "nvvdd_sv3";
347 regulator-min-microvolt = <1800000>;
348 regulator-max-microvolt = <1800000>;
353 regulator-name = "nvvdd_ldo1,vddio_rx_ddr,vcore_acc";
354 regulator-min-microvolt = <3300000>;
355 regulator-max-microvolt = <3300000>;
360 regulator-name = "nvvdd_ldo2,avdd_pll*";
361 regulator-min-microvolt = <1100000>;
362 regulator-max-microvolt = <1100000>;
367 regulator-name = "nvvdd_ldo3,vcom_1v8b";
368 regulator-min-microvolt = <1800000>;
369 regulator-max-microvolt = <1800000>;
374 regulator-name = "nvvdd_ldo4,avdd_usb*";
375 regulator-min-microvolt = <3300000>;
376 regulator-max-microvolt = <3300000>;
381 regulator-name = "nvvdd_ldo5,vcore_mmc,avdd_lcd1,vddio_1wire";
382 regulator-min-microvolt = <2800000>;
383 regulator-max-microvolt = <2800000>;
388 regulator-name = "nvvdd_ldo6,avdd_hdmi_pll";
389 regulator-min-microvolt = <1800000>;
390 regulator-max-microvolt = <1800000>;
394 regulator-name = "nvvdd_ldo7,avddio_audio";
395 regulator-min-microvolt = <2800000>;
396 regulator-max-microvolt = <2800000>;
401 regulator-name = "nvvdd_ldo8,vcom_3v0,vcore_cmps";
402 regulator-min-microvolt = <3000000>;
403 regulator-max-microvolt = <3000000>;
407 regulator-name = "nvvdd_ldo9,avdd_cam*";
408 regulator-min-microvolt = <2800000>;
409 regulator-max-microvolt = <2800000>;
413 regulator-name = "nvvdd_ldo10,avdd_usb_ic_3v0";
414 regulator-min-microvolt = <3000000>;
415 regulator-max-microvolt = <3000000>;
419 hdmi_vdd_reg: ldo11 {
420 regulator-name = "nvvdd_ldo11,vddio_pex_clk,vcom_33,avdd_hdmi";
421 regulator-min-microvolt = <3300000>;
422 regulator-max-microvolt = <3300000>;
426 regulator-name = "nvvdd_ldo12,vddio_sdio";
427 regulator-min-microvolt = <2800000>;
428 regulator-max-microvolt = <2800000>;
433 regulator-name = "nvvdd_ldo13,vcore_phtn,vdd_af";
434 regulator-min-microvolt = <2800000>;
435 regulator-max-microvolt = <2800000>;
439 regulator-name = "nvvdd_ldo14,avdd_vdac";
440 regulator-min-microvolt = <2800000>;
441 regulator-max-microvolt = <2800000>;
445 regulator-name = "nvvdd_ldo15,vcore_temp,vddio_hdcp";
446 regulator-min-microvolt = <3300000>;
447 regulator-max-microvolt = <3300000>;
451 regulator-name = "nvvdd_ldo16,vdd_dbrtr";
452 regulator-min-microvolt = <1300000>;
453 regulator-max-microvolt = <1300000>;
457 regulator-name = "nvvdd_ldo17,vddio_mipi";
458 regulator-min-microvolt = <1200000>;
459 regulator-max-microvolt = <1200000>;
463 regulator-name = "nvvdd_ldo18,vddio_vi,vcore_cam*";
464 regulator-min-microvolt = <1800000>;
465 regulator-max-microvolt = <1800000>;
469 regulator-name = "nvvdd_ldo19,avdd_lcd2,vddio_lx";
470 regulator-min-microvolt = <2800000>;
471 regulator-max-microvolt = <2800000>;
475 regulator-name = "nvvdd_ldo20,vddio_ddr_1v2,vddio_hsic,vcom_1v2";
476 regulator-min-microvolt = <1200000>;
477 regulator-max-microvolt = <1200000>;
482 regulator-name = "usb0_vbus_reg";
486 regulator-name = "pmu_out3v3";
490 regulator-name = "pmu_bbat";
491 regulator-min-microvolt = <2400000>;
492 regulator-max-microvolt = <2400000>;
497 regulator-name = "vdd_aon";
502 regulator-name = "vrtc,pmu_vccadc";
511 nvidia,debounce-delay-ms = <20>;
512 nvidia,repeat-delay-ms = <160>;
513 nvidia,kbc-row-pins = <0 1 2>;
514 nvidia,kbc-col-pins = <16 17>;
516 linux,keymap = <MATRIX_KEY(0x00, 0x00, KEY_POWER)
517 MATRIX_KEY(0x01, 0x00, KEY_HOME)
518 MATRIX_KEY(0x01, 0x01, KEY_BACK)
519 MATRIX_KEY(0x02, 0x01, KEY_MENU)>;
523 nvidia,invert-interrupt;
524 nvidia,suspend-mode = <1>;
525 nvidia,cpu-pwr-good-time = <2000>;
526 nvidia,cpu-pwr-off-time = <1000>;
527 nvidia,core-pwr-good-time = <0 3845>;
528 nvidia,core-pwr-off-time = <93727>;
529 nvidia,core-power-req-active-high;
530 nvidia,sys-clock-req-active-high;
531 nvidia,combined-power-req;
540 vbus-supply = <&vbus1_reg>;
549 vbus-supply = <&vbus3_reg>;
554 cd-gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>;
555 wp-gpios = <&gpio TEGRA_GPIO(V, 5) GPIO_ACTIVE_HIGH>;
566 compatible = "simple-bus";
567 #address-cells = <1>;
571 compatible = "fixed-clock";
574 clock-frequency = <32768>;
579 compatible = "simple-bus";
580 #address-cells = <1>;
583 usb0_vbus_reg: regulator@0 {
584 compatible = "regulator-fixed";
586 regulator-name = "usb0_vbus";
587 regulator-min-microvolt = <5000000>;
588 regulator-max-microvolt = <5000000>;
592 vbus1_reg: regulator@2 {
593 compatible = "regulator-fixed";
595 regulator-name = "vbus1";
596 regulator-min-microvolt = <5000000>;
597 regulator-max-microvolt = <5000000>;
599 gpio = <&tca6416 0 0>; /* GPIO_PMU0 */
604 vbus3_reg: regulator@3 {
605 compatible = "regulator-fixed";
607 regulator-name = "vbus3";
608 regulator-min-microvolt = <5000000>;
609 regulator-max-microvolt = <5000000>;
611 gpio = <&tca6416 1 0>; /* GPIO_PMU1 */
618 compatible = "nvidia,tegra-audio-wm8753-whistler",
619 "nvidia,tegra-audio-wm8753";
620 nvidia,model = "NVIDIA Tegra Whistler";
622 nvidia,audio-routing =
623 "Headphone Jack", "LOUT1",
624 "Headphone Jack", "ROUT1",
628 nvidia,i2s-controller = <&tegra_i2s1>;
629 nvidia,audio-codec = <&codec>;
631 clocks = <&tegra_car TEGRA20_CLK_PLL_A>,
632 <&tegra_car TEGRA20_CLK_PLL_A_OUT0>,
633 <&tegra_car TEGRA20_CLK_CDEV1>;
634 clock-names = "pll_a", "pll_a_out0", "mclk";