3 /include/ "tegra20.dtsi"
6 model = "NVIDIA Tegra20 Harmony evaluation board";
7 compatible = "nvidia,harmony", "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 111 0>; /* PN7 */
26 pinctrl-names = "default";
27 pinctrl-0 = <&state_default>;
29 state_default: pinmux {
32 nvidia,function = "ide";
35 nvidia,pins = "atb", "gma", "gme";
36 nvidia,function = "sdio4";
40 nvidia,function = "nand";
43 nvidia,pins = "atd", "ate", "gmb", "gmd", "gpu",
44 "spia", "spib", "spic";
45 nvidia,function = "gmi";
48 nvidia,pins = "cdev1";
49 nvidia,function = "plla_out";
52 nvidia,pins = "cdev2";
53 nvidia,function = "pllp_out4";
57 nvidia,function = "crt";
61 nvidia,function = "vi_sensor_clk";
65 nvidia,function = "dap1";
69 nvidia,function = "dap2";
73 nvidia,function = "dap3";
77 nvidia,function = "dap4";
81 nvidia,function = "i2c2";
84 nvidia,pins = "dta", "dtd";
85 nvidia,function = "sdio2";
88 nvidia,pins = "dtb", "dtc", "dte";
89 nvidia,function = "rsvd1";
93 nvidia,function = "i2c3";
97 nvidia,function = "uartd";
100 nvidia,pins = "gpu7";
101 nvidia,function = "rtck";
104 nvidia,pins = "gpv", "slxa", "slxk";
105 nvidia,function = "pcie";
108 nvidia,pins = "hdint", "pta";
109 nvidia,function = "hdmi";
112 nvidia,pins = "i2cp";
113 nvidia,function = "i2cp";
116 nvidia,pins = "irrx", "irtx";
117 nvidia,function = "uarta";
120 nvidia,pins = "kbca", "kbcb", "kbcc", "kbcd",
122 nvidia,function = "kbc";
125 nvidia,pins = "lcsn", "ld0", "ld1", "ld2",
126 "ld3", "ld4", "ld5", "ld6", "ld7",
127 "ld8", "ld9", "ld10", "ld11", "ld12",
128 "ld13", "ld14", "ld15", "ld16", "ld17",
129 "ldc", "ldi", "lhp0", "lhp1", "lhp2",
130 "lhs", "lm0", "lm1", "lpp", "lpw0",
131 "lpw1", "lpw2", "lsc0", "lsc1", "lsck",
132 "lsda", "lsdi", "lspi", "lvp0", "lvp1",
134 nvidia,function = "displaya";
137 nvidia,pins = "owc", "spdi", "spdo", "uac";
138 nvidia,function = "rsvd2";
142 nvidia,function = "pwr_on";
146 nvidia,function = "i2c1";
149 nvidia,pins = "sdb", "sdc", "sdd";
150 nvidia,function = "pwm";
153 nvidia,pins = "sdio1";
154 nvidia,function = "sdio1";
157 nvidia,pins = "slxc", "slxd";
158 nvidia,function = "spdif";
161 nvidia,pins = "spid", "spie", "spif";
162 nvidia,function = "spi1";
165 nvidia,pins = "spig", "spih";
166 nvidia,function = "spi2_alt";
169 nvidia,pins = "uaa", "uab", "uda";
170 nvidia,function = "ulpi";
174 nvidia,function = "irda";
177 nvidia,pins = "uca", "ucb";
178 nvidia,function = "uartc";
181 nvidia,pins = "ata", "atb", "atc", "atd", "ate",
182 "cdev1", "cdev2", "dap1", "dtb", "gma",
183 "gmb", "gmc", "gmd", "gme", "gpu7",
184 "gpv", "i2cp", "pta", "rm", "slxa",
185 "slxk", "spia", "spib", "uac";
187 nvidia,tristate = <0>;
190 nvidia,pins = "ck32", "ddrc", "pmca", "pmcb",
191 "pmcc", "pmcd", "pmce", "xm2c", "xm2d";
195 nvidia,pins = "csus", "spid", "spif";
197 nvidia,tristate = <1>;
200 nvidia,pins = "crtp", "dap2", "dap3", "dap4",
201 "dtc", "dte", "dtf", "gpu", "sdio1",
202 "slxc", "slxd", "spdi", "spdo", "spig",
205 nvidia,tristate = <1>;
208 nvidia,pins = "ddc", "dta", "dtd", "kbca",
209 "kbcb", "kbcc", "kbcd", "kbce", "kbcf",
212 nvidia,tristate = <0>;
215 nvidia,pins = "hdint", "lcsn", "ldc", "lm1",
216 "lpw1", "lsc1", "lsck", "lsda", "lsdi",
217 "lvp0", "owc", "sdb";
218 nvidia,tristate = <1>;
221 nvidia,pins = "irrx", "irtx", "sdd", "spic",
222 "spie", "spih", "uaa", "uab", "uad",
225 nvidia,tristate = <1>;
228 nvidia,pins = "lc", "ls";
232 nvidia,pins = "ld0", "ld1", "ld2", "ld3", "ld4",
233 "ld5", "ld6", "ld7", "ld8", "ld9",
234 "ld10", "ld11", "ld12", "ld13", "ld14",
235 "ld15", "ld16", "ld17", "ldi", "lhp0",
236 "lhp1", "lhp2", "lhs", "lm0", "lpp",
237 "lpw0", "lpw2", "lsc0", "lspi", "lvp1",
239 nvidia,tristate = <0>;
242 nvidia,pins = "ld17_0", "ld19_18", "ld21_20",
259 clock-frequency = <400000>;
262 compatible = "wlf,wm8903";
264 interrupt-parent = <&gpio>;
265 interrupts = <187 0x04>;
271 micdet-delay = <100>;
272 gpio-cfg = <0xffffffff 0xffffffff 0 0xffffffff 0xffffffff>;
276 hdmi_ddc: i2c@7000c400 {
278 clock-frequency = <100000>;
283 clock-frequency = <400000>;
288 clock-frequency = <400000>;
291 compatible = "ti,tps6586x";
293 interrupts = <0 86 0x4>;
295 ti,system-power-controller;
300 sys-supply = <&vdd_5v0_reg>;
301 vin-sm0-supply = <&sys_reg>;
302 vin-sm1-supply = <&sys_reg>;
303 vin-sm2-supply = <&sys_reg>;
304 vinldo01-supply = <&sm2_reg>;
305 vinldo23-supply = <&sm2_reg>;
306 vinldo4-supply = <&sm2_reg>;
307 vinldo678-supply = <&sm2_reg>;
308 vinldo9-supply = <&sm2_reg>;
312 regulator-name = "vdd_sys";
317 regulator-name = "vdd_sm0,vdd_core";
318 regulator-min-microvolt = <1200000>;
319 regulator-max-microvolt = <1200000>;
324 regulator-name = "vdd_sm1,vdd_cpu";
325 regulator-min-microvolt = <1000000>;
326 regulator-max-microvolt = <1000000>;
331 regulator-name = "vdd_sm2,vin_ldo*";
332 regulator-min-microvolt = <3700000>;
333 regulator-max-microvolt = <3700000>;
338 regulator-name = "vdd_ldo0,vddio_pex_clk";
339 regulator-min-microvolt = <3300000>;
340 regulator-max-microvolt = <3300000>;
344 regulator-name = "vdd_ldo1,avdd_pll*";
345 regulator-min-microvolt = <1100000>;
346 regulator-max-microvolt = <1100000>;
351 regulator-name = "vdd_ldo2,vdd_rtc";
352 regulator-min-microvolt = <1200000>;
353 regulator-max-microvolt = <1200000>;
357 regulator-name = "vdd_ldo3,avdd_usb*";
358 regulator-min-microvolt = <3300000>;
359 regulator-max-microvolt = <3300000>;
364 regulator-name = "vdd_ldo4,avdd_osc,vddio_sys";
365 regulator-min-microvolt = <1800000>;
366 regulator-max-microvolt = <1800000>;
371 regulator-name = "vdd_ldo5,vcore_mmc";
372 regulator-min-microvolt = <2850000>;
373 regulator-max-microvolt = <2850000>;
378 regulator-name = "vdd_ldo6,avdd_vdac";
379 regulator-min-microvolt = <1800000>;
380 regulator-max-microvolt = <1800000>;
384 regulator-name = "vdd_ldo7,avdd_hdmi";
385 regulator-min-microvolt = <3300000>;
386 regulator-max-microvolt = <3300000>;
390 regulator-name = "vdd_ldo8,avdd_hdmi_pll";
391 regulator-min-microvolt = <1800000>;
392 regulator-max-microvolt = <1800000>;
396 regulator-name = "vdd_ldo9,avdd_2v85,vdd_ddr_rx";
397 regulator-min-microvolt = <2850000>;
398 regulator-max-microvolt = <2850000>;
403 regulator-name = "vdd_rtc_out,vdd_cell";
404 regulator-min-microvolt = <3300000>;
405 regulator-max-microvolt = <3300000>;
411 temperature-sensor@4c {
412 compatible = "adi,adt7461";
418 nvidia,invert-interrupt;
427 nvidia,phy-reset-gpio = <&gpio 169 0>; /* gpio PV1 */
435 nvidia,phy-reset-gpio = <&gpio 169 0>; /* gpio PV1 */
440 cd-gpios = <&gpio 69 0>; /* gpio PI5 */
441 wp-gpios = <&gpio 57 0>; /* gpio PH1 */
442 power-gpios = <&gpio 155 0>; /* gpio PT3 */
448 cd-gpios = <&gpio 58 0>; /* gpio PH2 */
449 wp-gpios = <&gpio 59 0>; /* gpio PH3 */
450 power-gpios = <&gpio 70 0>; /* gpio PI6 */
456 nvidia,debounce-delay-ms = <2>;
457 nvidia,repeat-delay-ms = <160>;
458 nvidia,kbc-row-pins = <0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15>;
459 nvidia,kbc-col-pins = <16 17 18 19 20 21 22 23>;
460 linux,keymap = <0x00020011 /* KEY_W */
461 0x0003001F /* KEY_S */
462 0x0004001E /* KEY_A */
463 0x0005002C /* KEY_Z */
464 0x000701D0 /* KEY_FN */
465 0x0107008B /* KEY_MENU */
466 0x02060038 /* KEY_LEFTALT */
467 0x02070064 /* KEY_RIGHTALT */
468 0x03000006 /* KEY_5 */
469 0x03010005 /* KEY_4 */
470 0x03020013 /* KEY_R */
471 0x03030012 /* KEY_E */
472 0x03040021 /* KEY_F */
473 0x03050020 /* KEY_D */
474 0x0306002D /* KEY_X */
475 0x04000008 /* KEY_7 */
476 0x04010007 /* KEY_6 */
477 0x04020014 /* KEY_T */
478 0x04030023 /* KEY_H */
479 0x04040022 /* KEY_G */
480 0x0405002F /* KEY_V */
481 0x0406002E /* KEY_C */
482 0x04070039 /* KEY_SPACE */
483 0x0500000A /* KEY_9 */
484 0x05010009 /* KEY_8 */
485 0x05020016 /* KEY_U */
486 0x05030015 /* KEY_Y */
487 0x05040024 /* KEY_J */
488 0x05050031 /* KEY_N */
489 0x05060030 /* KEY_B */
490 0x0507002B /* KEY_BACKSLASH */
491 0x0600000C /* KEY_MINUS */
492 0x0601000B /* KEY_0 */
493 0x06020018 /* KEY_O */
494 0x06030017 /* KEY_I */
495 0x06040026 /* KEY_L */
496 0x06050025 /* KEY_K */
497 0x06060033 /* KEY_COMMA */
498 0x06070032 /* KEY_M */
499 0x0701000D /* KEY_EQUAL */
500 0x0702001B /* KEY_RIGHTBRACE */
501 0x0703001C /* KEY_ENTER */
502 0x0707008B /* KEY_MENU */
503 0x0804002A /* KEY_LEFTSHIFT */
504 0x08050036 /* KEY_RIGHTSHIFT */
505 0x0905001D /* KEY_LEFTCTRL */
506 0x09070061 /* KEY_RIGHTCTRL */
507 0x0B00001A /* KEY_LEFTBRACE */
508 0x0B010019 /* KEY_P */
509 0x0B020028 /* KEY_APOSTROPHE */
510 0x0B030027 /* KEY_SEMICOLON */
511 0x0B040035 /* KEY_SLASH */
512 0x0B050034 /* KEY_DOT */
513 0x0C000044 /* KEY_F10 */
514 0x0C010043 /* KEY_F9 */
515 0x0C02000E /* KEY_BACKSPACE */
516 0x0C030004 /* KEY_3 */
517 0x0C040003 /* KEY_2 */
518 0x0C050067 /* KEY_UP */
519 0x0C0600D2 /* KEY_PRINT */
520 0x0C070077 /* KEY_PAUSE */
521 0x0D00006E /* KEY_INSERT */
522 0x0D01006F /* KEY_DELETE */
523 0x0D030068 /* KEY_PAGEUP */
524 0x0D04006D /* KEY_PAGEDOWN */
525 0x0D05006A /* KEY_RIGHT */
526 0x0D06006C /* KEY_DOWN */
527 0x0D070069 /* KEY_LEFT */
528 0x0E000057 /* KEY_F11 */
529 0x0E010058 /* KEY_F12 */
530 0x0E020042 /* KEY_F8 */
531 0x0E030010 /* KEY_Q */
532 0x0E04003E /* KEY_F4 */
533 0x0E05003D /* KEY_F3 */
534 0x0E060002 /* KEY_1 */
535 0x0E070041 /* KEY_F7 */
536 0x0F000001 /* KEY_ESC */
537 0x0F010029 /* KEY_GRAVE */
538 0x0F02003F /* KEY_F5 */
539 0x0F03000F /* KEY_TAB */
540 0x0F04003B /* KEY_F1 */
541 0x0F05003C /* KEY_F2 */
542 0x0F06003A /* KEY_CAPSLOCK */
543 0x0F070040 /* KEY_F6 */
544 0x14000047 /* KEY_KP7 */
545 0x15000049 /* KEY_KP9 */
546 0x15010048 /* KEY_KP8 */
547 0x1502004B /* KEY_KP4 */
548 0x1504004F /* KEY_KP1 */
549 0x1601004E /* KEY_KPSLASH */
550 0x1602004D /* KEY_KP6 */
551 0x1603004C /* KEY_KP5 */
552 0x16040051 /* KEY_KP3 */
553 0x16050050 /* KEY_KP2 */
554 0x16070052 /* KEY_KP0 */
555 0x1B010037 /* KEY_KPASTERISK */
556 0x1B03004A /* KEY_KPMINUS */
557 0x1B04004E /* KEY_KPPLUS */
558 0x1B050053 /* KEY_KPDOT */
559 0x1C050073 /* KEY_VOLUMEUP */
560 0x1D030066 /* KEY_HOME */
561 0x1D04006B /* KEY_END */
562 0x1D0500E1 /* KEY_BRIGHTNESSUP */
563 0x1D060072 /* KEY_VOLUMEDOWN */
564 0x1D0700E0 /* KEY_BRIGHTNESSDOWN */
565 0x1E000045 /* KEY_NUMLOCK */
566 0x1E010046 /* KEY_SCROLLLOCK */
567 0x1E020071 /* KEY_MUTE */
568 0x1F0400D6>; /* KEY_QUESTION */
572 compatible = "simple-bus";
573 #address-cells = <1>;
576 vdd_5v0_reg: regulator@0 {
577 compatible = "regulator-fixed";
579 regulator-name = "vdd_5v0";
580 regulator-min-microvolt = <5000000>;
581 regulator-max-microvolt = <5000000>;
586 compatible = "regulator-fixed";
588 regulator-name = "vdd_1v5";
589 regulator-min-microvolt = <1500000>;
590 regulator-max-microvolt = <1500000>;
595 compatible = "regulator-fixed";
597 regulator-name = "vdd_1v2";
598 regulator-min-microvolt = <1200000>;
599 regulator-max-microvolt = <1200000>;
605 compatible = "regulator-fixed";
607 regulator-name = "vdd_1v05";
608 regulator-min-microvolt = <1050000>;
609 regulator-max-microvolt = <1050000>;
612 /* Hack until board-harmony-pcie.c is removed */
617 compatible = "regulator-fixed";
619 regulator-name = "vdd_pnl";
620 regulator-min-microvolt = <2800000>;
621 regulator-max-microvolt = <2800000>;
622 gpio = <&gpio 22 0>; /* gpio PC6 */
627 compatible = "regulator-fixed";
629 regulator-name = "vdd_bl";
630 regulator-min-microvolt = <2800000>;
631 regulator-max-microvolt = <2800000>;
632 gpio = <&gpio 176 0>; /* gpio PW0 */
638 compatible = "nvidia,tegra-audio-wm8903-harmony",
639 "nvidia,tegra-audio-wm8903";
640 nvidia,model = "NVIDIA Tegra Harmony";
642 nvidia,audio-routing =
643 "Headphone Jack", "HPOUTR",
644 "Headphone Jack", "HPOUTL",
649 "Mic Jack", "MICBIAS",
652 nvidia,i2s-controller = <&tegra_i2s1>;
653 nvidia,audio-codec = <&wm8903>;
655 nvidia,spkr-en-gpios = <&wm8903 2 0>;
656 nvidia,hp-det-gpios = <&gpio 178 0>; /* gpio PW2 */
657 nvidia,int-mic-en-gpios = <&gpio 184 0>; /*gpio PX0 */
658 nvidia,ext-mic-en-gpios = <&gpio 185 0>; /* gpio PX1 */