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";
16 reg = <0x00000000 0x20000000>;
23 vdd-supply = <&hdmi_vdd_reg>;
24 pll-supply = <&hdmi_pll_reg>;
26 nvidia,ddc-i2c-bus = <&hdmi_ddc>;
27 nvidia,hpd-gpio = <&gpio TEGRA_GPIO(N, 7)
33 pinctrl-names = "default";
34 pinctrl-0 = <&state_default>;
36 state_default: pinmux {
38 nvidia,pins = "ata", "atb", "ate", "gma", "gmb",
40 nvidia,function = "gmi";
43 nvidia,pins = "atc", "atd";
44 nvidia,function = "sdio4";
47 nvidia,pins = "cdev1";
48 nvidia,function = "plla_out";
51 nvidia,pins = "cdev2";
52 nvidia,function = "osc";
56 nvidia,function = "crt";
60 nvidia,function = "vi_sensor_clk";
64 nvidia,function = "dap1";
68 nvidia,function = "dap2";
72 nvidia,function = "dap3";
76 nvidia,function = "dap4";
80 nvidia,function = "i2c2";
83 nvidia,pins = "dta", "dtb", "dtc", "dtd";
84 nvidia,function = "vi";
88 nvidia,function = "rsvd1";
92 nvidia,function = "i2c3";
96 nvidia,function = "dap5";
100 nvidia,function = "rtck";
104 nvidia,function = "pcie";
107 nvidia,pins = "hdint", "pta";
108 nvidia,function = "hdmi";
111 nvidia,pins = "i2cp";
112 nvidia,function = "i2cp";
115 nvidia,pins = "irrx", "irtx";
116 nvidia,function = "uartb";
119 nvidia,pins = "kbca", "kbcc", "kbce", "kbcf";
120 nvidia,function = "kbc";
123 nvidia,pins = "kbcb", "kbcd";
124 nvidia,function = "sdio2";
127 nvidia,pins = "lcsn", "lsck", "lsda", "lsdi",
128 "spia", "spib", "spic";
129 nvidia,function = "spi3";
132 nvidia,pins = "ld0", "ld1", "ld2", "ld3", "ld4",
133 "ld5", "ld6", "ld7", "ld8", "ld9",
134 "ld10", "ld11", "ld12", "ld13", "ld14",
135 "ld15", "ld16", "ld17", "ldc", "ldi",
136 "lhp0", "lhp1", "lhp2", "lhs", "lm0",
137 "lm1", "lpp", "lpw0", "lpw1", "lpw2",
138 "lsc0", "lsc1", "lspi", "lvp0", "lvp1",
140 nvidia,function = "displaya";
143 nvidia,pins = "owc", "uac";
144 nvidia,function = "owr";
148 nvidia,function = "pwr_on";
152 nvidia,function = "i2c1";
155 nvidia,pins = "sdb", "sdc", "sdd", "slxa",
156 "slxc", "slxd", "slxk";
157 nvidia,function = "sdio3";
160 nvidia,pins = "sdio1";
161 nvidia,function = "sdio1";
164 nvidia,pins = "spdi", "spdo";
165 nvidia,function = "rsvd2";
168 nvidia,pins = "spid", "spie", "spig", "spih";
169 nvidia,function = "spi2_alt";
172 nvidia,pins = "spif";
173 nvidia,function = "spi2";
176 nvidia,pins = "uaa", "uab";
177 nvidia,function = "uarta";
181 nvidia,function = "irda";
184 nvidia,pins = "uca", "ucb";
185 nvidia,function = "uartc";
189 nvidia,function = "spi1";
192 nvidia,pins = "ata", "atb", "atc", "ddc", "gma",
193 "gmb", "gmc", "gmd", "irrx", "irtx",
194 "kbca", "kbcb", "kbcc", "kbcd", "kbce",
195 "kbcf", "sdc", "sdd", "spie", "spig",
196 "spih", "uaa", "uab", "uad", "uca",
198 nvidia,pull = <TEGRA_PIN_PULL_UP>;
199 nvidia,tristate = <TEGRA_PIN_DISABLE>;
202 nvidia,pins = "atd", "ate", "cdev1", "csus",
203 "dap1", "dap2", "dap3", "dap4", "dte",
204 "dtf", "gpu", "gpu7", "gpv", "i2cp",
205 "rm", "sdio1", "slxa", "slxc", "slxd",
206 "slxk", "spdi", "spdo", "uac", "uda";
207 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
208 nvidia,tristate = <TEGRA_PIN_DISABLE>;
211 nvidia,pins = "cdev2", "spia", "spib";
212 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
213 nvidia,tristate = <TEGRA_PIN_ENABLE>;
216 nvidia,pins = "ck32", "ddrc", "lc", "pmca",
217 "pmcb", "pmcc", "pmcd", "xm2c",
219 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
222 nvidia,pins = "crtp";
223 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
224 nvidia,tristate = <TEGRA_PIN_ENABLE>;
227 nvidia,pins = "dta", "dtb", "dtc", "dtd",
229 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
230 nvidia,tristate = <TEGRA_PIN_DISABLE>;
233 nvidia,pins = "gme", "owc", "pta", "spic";
234 nvidia,pull = <TEGRA_PIN_PULL_UP>;
235 nvidia,tristate = <TEGRA_PIN_ENABLE>;
238 nvidia,pins = "ld17_0", "ld19_18", "ld21_20",
240 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
243 nvidia,pins = "ls", "pmce";
244 nvidia,pull = <TEGRA_PIN_PULL_UP>;
247 nvidia,pins = "drive_dap1";
248 nvidia,high-speed-mode = <TEGRA_PIN_DISABLE>;
249 nvidia,schmitt = <TEGRA_PIN_ENABLE>;
250 nvidia,low-power-mode = <TEGRA_PIN_LP_DRIVE_DIV_8>;
251 nvidia,pull-down-strength = <0>;
252 nvidia,pull-up-strength = <0>;
253 nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>;
254 nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FASTEST>;
267 hdmi_ddc: i2c@7000c400 {
269 clock-frequency = <100000>;
274 clock-frequency = <100000>;
277 compatible = "wlf,wm8753";
282 compatible = "ti,tca6416";
289 compatible = "maxim,max8907";
291 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
293 maxim,system-power-controller;
295 mbatt-supply = <&usb0_vbus_reg>;
296 in-v1-supply = <&mbatt_reg>;
297 in-v2-supply = <&mbatt_reg>;
298 in-v3-supply = <&mbatt_reg>;
299 in1-supply = <&mbatt_reg>;
300 in2-supply = <&nvvdd_sv3_reg>;
301 in3-supply = <&mbatt_reg>;
302 in4-supply = <&mbatt_reg>;
303 in5-supply = <&mbatt_reg>;
304 in6-supply = <&mbatt_reg>;
305 in7-supply = <&mbatt_reg>;
306 in8-supply = <&mbatt_reg>;
307 in9-supply = <&mbatt_reg>;
308 in10-supply = <&mbatt_reg>;
309 in11-supply = <&mbatt_reg>;
310 in12-supply = <&mbatt_reg>;
311 in13-supply = <&mbatt_reg>;
312 in14-supply = <&mbatt_reg>;
313 in15-supply = <&mbatt_reg>;
314 in16-supply = <&mbatt_reg>;
315 in17-supply = <&nvvdd_sv3_reg>;
316 in18-supply = <&nvvdd_sv3_reg>;
317 in19-supply = <&mbatt_reg>;
318 in20-supply = <&mbatt_reg>;
322 regulator-name = "vbat_pmu";
327 regulator-name = "nvvdd_sv1,vdd_cpu_pmu";
328 regulator-min-microvolt = <1000000>;
329 regulator-max-microvolt = <1000000>;
334 regulator-name = "nvvdd_sv2,vdd_core";
335 regulator-min-microvolt = <1200000>;
336 regulator-max-microvolt = <1200000>;
341 regulator-name = "nvvdd_sv3";
342 regulator-min-microvolt = <1800000>;
343 regulator-max-microvolt = <1800000>;
348 regulator-name = "nvvdd_ldo1,vddio_rx_ddr,vcore_acc";
349 regulator-min-microvolt = <3300000>;
350 regulator-max-microvolt = <3300000>;
355 regulator-name = "nvvdd_ldo2,avdd_pll*";
356 regulator-min-microvolt = <1100000>;
357 regulator-max-microvolt = <1100000>;
362 regulator-name = "nvvdd_ldo3,vcom_1v8b";
363 regulator-min-microvolt = <1800000>;
364 regulator-max-microvolt = <1800000>;
369 regulator-name = "nvvdd_ldo4,avdd_usb*";
370 regulator-min-microvolt = <3300000>;
371 regulator-max-microvolt = <3300000>;
376 regulator-name = "nvvdd_ldo5,vcore_mmc,avdd_lcd1,vddio_1wire";
377 regulator-min-microvolt = <2800000>;
378 regulator-max-microvolt = <2800000>;
383 regulator-name = "nvvdd_ldo6,avdd_hdmi_pll";
384 regulator-min-microvolt = <1800000>;
385 regulator-max-microvolt = <1800000>;
389 regulator-name = "nvvdd_ldo7,avddio_audio";
390 regulator-min-microvolt = <2800000>;
391 regulator-max-microvolt = <2800000>;
396 regulator-name = "nvvdd_ldo8,vcom_3v0,vcore_cmps";
397 regulator-min-microvolt = <3000000>;
398 regulator-max-microvolt = <3000000>;
402 regulator-name = "nvvdd_ldo9,avdd_cam*";
403 regulator-min-microvolt = <2800000>;
404 regulator-max-microvolt = <2800000>;
408 regulator-name = "nvvdd_ldo10,avdd_usb_ic_3v0";
409 regulator-min-microvolt = <3000000>;
410 regulator-max-microvolt = <3000000>;
414 hdmi_vdd_reg: ldo11 {
415 regulator-name = "nvvdd_ldo11,vddio_pex_clk,vcom_33,avdd_hdmi";
416 regulator-min-microvolt = <3300000>;
417 regulator-max-microvolt = <3300000>;
421 regulator-name = "nvvdd_ldo12,vddio_sdio";
422 regulator-min-microvolt = <2800000>;
423 regulator-max-microvolt = <2800000>;
428 regulator-name = "nvvdd_ldo13,vcore_phtn,vdd_af";
429 regulator-min-microvolt = <2800000>;
430 regulator-max-microvolt = <2800000>;
434 regulator-name = "nvvdd_ldo14,avdd_vdac";
435 regulator-min-microvolt = <2800000>;
436 regulator-max-microvolt = <2800000>;
440 regulator-name = "nvvdd_ldo15,vcore_temp,vddio_hdcp";
441 regulator-min-microvolt = <3300000>;
442 regulator-max-microvolt = <3300000>;
446 regulator-name = "nvvdd_ldo16,vdd_dbrtr";
447 regulator-min-microvolt = <1300000>;
448 regulator-max-microvolt = <1300000>;
452 regulator-name = "nvvdd_ldo17,vddio_mipi";
453 regulator-min-microvolt = <1200000>;
454 regulator-max-microvolt = <1200000>;
458 regulator-name = "nvvdd_ldo18,vddio_vi,vcore_cam*";
459 regulator-min-microvolt = <1800000>;
460 regulator-max-microvolt = <1800000>;
464 regulator-name = "nvvdd_ldo19,avdd_lcd2,vddio_lx";
465 regulator-min-microvolt = <2800000>;
466 regulator-max-microvolt = <2800000>;
470 regulator-name = "nvvdd_ldo20,vddio_ddr_1v2,vddio_hsic,vcom_1v2";
471 regulator-min-microvolt = <1200000>;
472 regulator-max-microvolt = <1200000>;
477 regulator-name = "usb0_vbus_reg";
481 regulator-name = "pmu_out3v3";
485 regulator-name = "pmu_bbat";
486 regulator-min-microvolt = <2400000>;
487 regulator-max-microvolt = <2400000>;
492 regulator-name = "vdd_aon";
497 regulator-name = "vrtc,pmu_vccadc";
506 nvidia,debounce-delay-ms = <20>;
507 nvidia,repeat-delay-ms = <160>;
508 nvidia,kbc-row-pins = <0 1 2>;
509 nvidia,kbc-col-pins = <16 17>;
510 nvidia,wakeup-source;
511 linux,keymap = <MATRIX_KEY(0x00, 0x00, KEY_POWER)
512 MATRIX_KEY(0x01, 0x00, KEY_HOME)
513 MATRIX_KEY(0x01, 0x01, KEY_BACK)
514 MATRIX_KEY(0x02, 0x01, KEY_MENU)>;
518 nvidia,invert-interrupt;
519 nvidia,suspend-mode = <1>;
520 nvidia,cpu-pwr-good-time = <2000>;
521 nvidia,cpu-pwr-off-time = <1000>;
522 nvidia,core-pwr-good-time = <0 3845>;
523 nvidia,core-pwr-off-time = <93727>;
524 nvidia,core-power-req-active-high;
525 nvidia,sys-clock-req-active-high;
526 nvidia,combined-power-req;
535 vbus-supply = <&vbus1_reg>;
544 vbus-supply = <&vbus3_reg>;
549 cd-gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>;
550 wp-gpios = <&gpio TEGRA_GPIO(V, 5) GPIO_ACTIVE_HIGH>;
561 compatible = "simple-bus";
562 #address-cells = <1>;
566 compatible = "fixed-clock";
569 clock-frequency = <32768>;
574 compatible = "simple-bus";
575 #address-cells = <1>;
578 usb0_vbus_reg: regulator@0 {
579 compatible = "regulator-fixed";
581 regulator-name = "usb0_vbus";
582 regulator-min-microvolt = <5000000>;
583 regulator-max-microvolt = <5000000>;
587 vbus1_reg: regulator@2 {
588 compatible = "regulator-fixed";
590 regulator-name = "vbus1";
591 regulator-min-microvolt = <5000000>;
592 regulator-max-microvolt = <5000000>;
594 gpio = <&tca6416 0 0>; /* GPIO_PMU0 */
599 vbus3_reg: regulator@3 {
600 compatible = "regulator-fixed";
602 regulator-name = "vbus3";
603 regulator-min-microvolt = <5000000>;
604 regulator-max-microvolt = <5000000>;
606 gpio = <&tca6416 1 0>; /* GPIO_PMU1 */
613 compatible = "nvidia,tegra-audio-wm8753-whistler",
614 "nvidia,tegra-audio-wm8753";
615 nvidia,model = "NVIDIA Tegra Whistler";
617 nvidia,audio-routing =
618 "Headphone Jack", "LOUT1",
619 "Headphone Jack", "ROUT1",
623 nvidia,i2s-controller = <&tegra_i2s1>;
624 nvidia,audio-codec = <&codec>;
626 clocks = <&tegra_car TEGRA20_CLK_PLL_A>,
627 <&tegra_car TEGRA20_CLK_PLL_A_OUT0>,
628 <&tegra_car TEGRA20_CLK_CDEV1>;
629 clock-names = "pll_a", "pll_a_out0", "mclk";