1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 3 4 #include <dt-bindings/input/input.h> 5 #include "tegra20.dtsi" 6 7 / { 8 model = "NVIDIA Tegra20 Harmony evalua 9 compatible = "nvidia,harmony", "nvidia 10 11 aliases { 12 rtc0 = "/i2c@7000d000/tps6586x 13 rtc1 = "/rtc@7000e000"; 14 serial0 = &uartd; 15 }; 16 17 chosen { 18 stdout-path = "serial0:115200n 19 }; 20 21 memory@0 { 22 reg = <0x00000000 0x40000000>; 23 }; 24 25 host1x@50000000 { 26 dc@54200000 { 27 rgb { 28 status = "okay 29 30 nvidia,panel = 31 }; 32 }; 33 34 hdmi@54280000 { 35 status = "okay"; 36 37 hdmi-supply = <&vdd_5v 38 vdd-supply = <&hdmi_vd 39 pll-supply = <&hdmi_pl 40 41 nvidia,ddc-i2c-bus = < 42 nvidia,hpd-gpio = <&gp 43 GPIO_ACTIVE_HI 44 }; 45 }; 46 47 pinmux@70000014 { 48 pinctrl-names = "default"; 49 pinctrl-0 = <&state_default>; 50 51 state_default: pinmux { 52 ata { 53 nvidia,pins = 54 nvidia,functio 55 }; 56 atb { 57 nvidia,pins = 58 nvidia,functio 59 }; 60 atc { 61 nvidia,pins = 62 nvidia,functio 63 }; 64 atd { 65 nvidia,pins = 66 "spia" 67 nvidia,functio 68 }; 69 cdev1 { 70 nvidia,pins = 71 nvidia,functio 72 }; 73 cdev2 { 74 nvidia,pins = 75 nvidia,functio 76 }; 77 crtp { 78 nvidia,pins = 79 nvidia,functio 80 }; 81 csus { 82 nvidia,pins = 83 nvidia,functio 84 }; 85 dap1 { 86 nvidia,pins = 87 nvidia,functio 88 }; 89 dap2 { 90 nvidia,pins = 91 nvidia,functio 92 }; 93 dap3 { 94 nvidia,pins = 95 nvidia,functio 96 }; 97 dap4 { 98 nvidia,pins = 99 nvidia,functio 100 }; 101 ddc { 102 nvidia,pins = 103 nvidia,functio 104 }; 105 dta { 106 nvidia,pins = 107 nvidia,functio 108 }; 109 dtb { 110 nvidia,pins = 111 nvidia,functio 112 }; 113 dtf { 114 nvidia,pins = 115 nvidia,functio 116 }; 117 gmc { 118 nvidia,pins = 119 nvidia,functio 120 }; 121 gpu7 { 122 nvidia,pins = 123 nvidia,functio 124 }; 125 gpv { 126 nvidia,pins = 127 nvidia,functio 128 }; 129 hdint { 130 nvidia,pins = 131 nvidia,functio 132 }; 133 i2cp { 134 nvidia,pins = 135 nvidia,functio 136 }; 137 irrx { 138 nvidia,pins = 139 nvidia,functio 140 }; 141 kbca { 142 nvidia,pins = 143 "kbce" 144 nvidia,functio 145 }; 146 lcsn { 147 nvidia,pins = 148 "ld3", 149 "ld8", 150 "ld13" 151 "ldc", 152 "lhs", 153 "lpw1" 154 "lsda" 155 "lvs"; 156 nvidia,functio 157 }; 158 owc { 159 nvidia,pins = 160 nvidia,functio 161 }; 162 pmc { 163 nvidia,pins = 164 nvidia,functio 165 }; 166 rm { 167 nvidia,pins = 168 nvidia,functio 169 }; 170 sdb { 171 nvidia,pins = 172 nvidia,functio 173 }; 174 sdio1 { 175 nvidia,pins = 176 nvidia,functio 177 }; 178 slxc { 179 nvidia,pins = 180 nvidia,functio 181 }; 182 spid { 183 nvidia,pins = 184 nvidia,functio 185 }; 186 spig { 187 nvidia,pins = 188 nvidia,functio 189 }; 190 uaa { 191 nvidia,pins = 192 nvidia,functio 193 }; 194 uad { 195 nvidia,pins = 196 nvidia,functio 197 }; 198 uca { 199 nvidia,pins = 200 nvidia,functio 201 }; 202 conf_ata { 203 nvidia,pins = 204 "cdev1 205 "gmb", 206 "gpv", 207 "slxk" 208 nvidia,pull = 209 nvidia,tristat 210 }; 211 conf_ck32 { 212 nvidia,pins = 213 "pmcc" 214 nvidia,pull = 215 }; 216 conf_csus { 217 nvidia,pins = 218 nvidia,pull = 219 nvidia,tristat 220 }; 221 conf_crtp { 222 nvidia,pins = 223 "dtc", 224 "slxc" 225 "uda"; 226 nvidia,pull = 227 nvidia,tristat 228 }; 229 conf_ddc { 230 nvidia,pins = 231 "kbcb" 232 "sdc"; 233 nvidia,pull = 234 nvidia,tristat 235 }; 236 conf_hdint { 237 nvidia,pins = 238 "lpw1" 239 "lvp0" 240 nvidia,tristat 241 }; 242 conf_irrx { 243 nvidia,pins = 244 "spie" 245 "uca", 246 nvidia,pull = 247 nvidia,tristat 248 }; 249 conf_lc { 250 nvidia,pins = 251 nvidia,pull = 252 }; 253 conf_ld0 { 254 nvidia,pins = 255 "ld5", 256 "ld10" 257 "ld15" 258 "lhp1" 259 "lpw0" 260 "lvs", 261 nvidia,tristat 262 }; 263 conf_ld17_0 { 264 nvidia,pins = 265 "ld23_ 266 nvidia,pull = 267 }; 268 }; 269 }; 270 271 i2s@70002800 { 272 status = "okay"; 273 }; 274 275 serial@70006300 { 276 /delete-property/ dmas; 277 /delete-property/ dma-names; 278 status = "okay"; 279 }; 280 281 pwm: pwm@7000a000 { 282 status = "okay"; 283 }; 284 285 i2c@7000c000 { 286 status = "okay"; 287 clock-frequency = <400000>; 288 289 wm8903: wm8903@1a { 290 compatible = "wlf,wm89 291 reg = <0x1a>; 292 interrupt-parent = <&g 293 interrupts = <TEGRA_GP 294 295 gpio-controller; 296 #gpio-cells = <2>; 297 298 micdet-cfg = <0>; 299 micdet-delay = <100>; 300 gpio-cfg = <0xffffffff 301 }; 302 }; 303 304 hdmi_ddc: i2c@7000c400 { 305 status = "okay"; 306 clock-frequency = <100000>; 307 }; 308 309 i2c@7000c500 { 310 status = "okay"; 311 clock-frequency = <400000>; 312 }; 313 314 i2c@7000d000 { 315 status = "okay"; 316 clock-frequency = <400000>; 317 318 pmic: tps6586x@34 { 319 compatible = "ti,tps65 320 reg = <0x34>; 321 interrupts = <GIC_SPI 322 323 ti,system-power-contro 324 325 #gpio-cells = <2>; 326 gpio-controller; 327 328 sys-supply = <&vdd_5v0 329 vin-sm0-supply = <&sys 330 vin-sm1-supply = <&sys 331 vin-sm2-supply = <&sys 332 vinldo01-supply = <&sm 333 vinldo23-supply = <&sm 334 vinldo4-supply = <&sm2 335 vinldo678-supply = <&s 336 vinldo9-supply = <&sm2 337 338 regulators { 339 sys_reg: sys { 340 regula 341 regula 342 }; 343 344 vdd_core: sm0 345 regula 346 regula 347 regula 348 regula 349 }; 350 351 sm1 { 352 regula 353 regula 354 regula 355 regula 356 }; 357 358 sm2_reg: sm2 { 359 regula 360 regula 361 regula 362 regula 363 }; 364 365 pci_clk_reg: l 366 regula 367 regula 368 regula 369 }; 370 371 ldo1 { 372 regula 373 regula 374 regula 375 regula 376 }; 377 378 ldo2 { 379 regula 380 regula 381 regula 382 }; 383 384 ldo3 { 385 regula 386 regula 387 regula 388 regula 389 }; 390 391 ldo4 { 392 regula 393 regula 394 regula 395 regula 396 }; 397 398 ldo5 { 399 regula 400 regula 401 regula 402 regula 403 }; 404 405 ldo6 { 406 regula 407 regula 408 regula 409 }; 410 411 hdmi_vdd_reg: 412 regula 413 regula 414 regula 415 }; 416 417 hdmi_pll_reg: 418 regula 419 regula 420 regula 421 }; 422 423 ldo9 { 424 regula 425 regula 426 regula 427 regula 428 }; 429 430 ldo_rtc { 431 regula 432 regula 433 regula 434 regula 435 }; 436 }; 437 }; 438 439 temperature-sensor@4c { 440 compatible = "adi,adt7 441 reg = <0x4c>; 442 }; 443 }; 444 445 kbc@7000e200 { 446 status = "okay"; 447 nvidia,debounce-delay-ms = <2> 448 nvidia,repeat-delay-ms = <160> 449 nvidia,kbc-row-pins = <0 1 2 3 450 nvidia,kbc-col-pins = <16 17 1 451 linux,keymap = <MATRIX_KEY(0x0 452 MATRIX_KEY(0x0 453 MATRIX_KEY(0x0 454 MATRIX_KEY(0x0 455 MATRIX_KEY(0x0 456 MATRIX_KEY(0x0 457 MATRIX_KEY(0x0 458 MATRIX_KEY(0x0 459 MATRIX_KEY(0x0 460 MATRIX_KEY(0x0 461 MATRIX_KEY(0x0 462 MATRIX_KEY(0x0 463 MATRIX_KEY(0x0 464 MATRIX_KEY(0x0 465 MATRIX_KEY(0x0 466 MATRIX_KEY(0x0 467 MATRIX_KEY(0x0 468 MATRIX_KEY(0x0 469 MATRIX_KEY(0x0 470 MATRIX_KEY(0x0 471 MATRIX_KEY(0x0 472 MATRIX_KEY(0x0 473 MATRIX_KEY(0x0 474 MATRIX_KEY(0x0 475 MATRIX_KEY(0x0 476 MATRIX_KEY(0x0 477 MATRIX_KEY(0x0 478 MATRIX_KEY(0x0 479 MATRIX_KEY(0x0 480 MATRIX_KEY(0x0 481 MATRIX_KEY(0x0 482 MATRIX_KEY(0x0 483 MATRIX_KEY(0x0 484 MATRIX_KEY(0x0 485 MATRIX_KEY(0x0 486 MATRIX_KEY(0x0 487 MATRIX_KEY(0x0 488 MATRIX_KEY(0x0 489 MATRIX_KEY(0x0 490 MATRIX_KEY(0x0 491 MATRIX_KEY(0x0 492 MATRIX_KEY(0x0 493 MATRIX_KEY(0x0 494 MATRIX_KEY(0x0 495 MATRIX_KEY(0x0 496 MATRIX_KEY(0x0 497 MATRIX_KEY(0x0 498 MATRIX_KEY(0x0 499 MATRIX_KEY(0x0 500 MATRIX_KEY(0x0 501 MATRIX_KEY(0x0 502 MATRIX_KEY(0x0 503 MATRIX_KEY(0x0 504 MATRIX_KEY(0x0 505 MATRIX_KEY(0x0 506 MATRIX_KEY(0x0 507 MATRIX_KEY(0x0 508 MATRIX_KEY(0x0 509 MATRIX_KEY(0x0 510 MATRIX_KEY(0x0 511 MATRIX_KEY(0x0 512 MATRIX_KEY(0x0 513 MATRIX_KEY(0x0 514 MATRIX_KEY(0x0 515 MATRIX_KEY(0x0 516 MATRIX_KEY(0x0 517 MATRIX_KEY(0x0 518 MATRIX_KEY(0x0 519 MATRIX_KEY(0x0 520 MATRIX_KEY(0x0 521 MATRIX_KEY(0x0 522 MATRIX_KEY(0x0 523 MATRIX_KEY(0x0 524 MATRIX_KEY(0x0 525 MATRIX_KEY(0x0 526 MATRIX_KEY(0x0 527 MATRIX_KEY(0x0 528 MATRIX_KEY(0x0 529 MATRIX_KEY(0x0 530 MATRIX_KEY(0x0 531 MATRIX_KEY(0x0 532 MATRIX_KEY(0x0 533 MATRIX_KEY(0x0 534 MATRIX_KEY(0x0 535 MATRIX_KEY(0x1 536 MATRIX_KEY(0x1 537 MATRIX_KEY(0x1 538 MATRIX_KEY(0x1 539 MATRIX_KEY(0x1 540 MATRIX_KEY(0x1 541 MATRIX_KEY(0x1 542 MATRIX_KEY(0x1 543 MATRIX_KEY(0x1 544 MATRIX_KEY(0x1 545 MATRIX_KEY(0x1 546 MATRIX_KEY(0x1 547 MATRIX_KEY(0x1 548 MATRIX_KEY(0x1 549 MATRIX_KEY(0x1 550 MATRIX_KEY(0x1 551 MATRIX_KEY(0x1 552 MATRIX_KEY(0x1 553 MATRIX_KEY(0x1 554 MATRIX_KEY(0x1 555 MATRIX_KEY(0x1 556 MATRIX_KEY(0x1 557 MATRIX_KEY(0x1 558 MATRIX_KEY(0x1 559 MATRIX_KEY(0x1 560 }; 561 562 pmc@7000e400 { 563 nvidia,invert-interrupt; 564 nvidia,suspend-mode = <1>; 565 nvidia,cpu-pwr-good-time = <50 566 nvidia,cpu-pwr-off-time = <500 567 nvidia,core-pwr-good-time = <3 568 nvidia,core-pwr-off-time = <38 569 nvidia,sys-clock-req-active-hi 570 core-supply = <&vdd_core>; 571 }; 572 573 pcie@80003000 { 574 status = "okay"; 575 576 avdd-pex-supply = <&pci_vdd_re 577 vdd-pex-supply = <&pci_vdd_reg 578 avdd-pex-pll-supply = <&pci_vd 579 avdd-plle-supply = <&pci_vdd_r 580 vddio-pex-clk-supply = <&pci_c 581 582 pci@1,0 { 583 status = "okay"; 584 }; 585 586 pci@2,0 { 587 status = "okay"; 588 }; 589 }; 590 591 usb@c5000000 { 592 status = "okay"; 593 }; 594 595 usb-phy@c5000000 { 596 status = "okay"; 597 }; 598 599 usb@c5004000 { 600 status = "okay"; 601 }; 602 603 usb-phy@c5004000 { 604 status = "okay"; 605 nvidia,phy-reset-gpio = <&gpio 606 GPIO_ACTIVE_LOW>; 607 }; 608 609 usb@c5008000 { 610 status = "okay"; 611 }; 612 613 usb-phy@c5008000 { 614 status = "okay"; 615 }; 616 617 mmc@c8000200 { 618 status = "okay"; 619 cd-gpios = <&gpio TEGRA_GPIO(I 620 wp-gpios = <&gpio TEGRA_GPIO(H 621 power-gpios = <&gpio TEGRA_GPI 622 bus-width = <4>; 623 }; 624 625 mmc@c8000600 { 626 status = "okay"; 627 cd-gpios = <&gpio TEGRA_GPIO(H 628 wp-gpios = <&gpio TEGRA_GPIO(H 629 power-gpios = <&gpio TEGRA_GPI 630 bus-width = <8>; 631 }; 632 633 backlight: backlight { 634 compatible = "pwm-backlight"; 635 636 enable-gpios = <&gpio TEGRA_GP 637 power-supply = <&vdd_bl_reg>; 638 pwms = <&pwm 0 5000000>; 639 640 brightness-levels = <0 4 8 16 641 default-brightness-level = <6> 642 }; 643 644 clk32k_in: clock-32k { 645 compatible = "fixed-clock"; 646 clock-frequency = <32768>; 647 #clock-cells = <0>; 648 }; 649 650 gpio-keys { 651 compatible = "gpio-keys"; 652 653 key-power { 654 label = "Power"; 655 gpios = <&gpio TEGRA_G 656 linux,code = <KEY_POWE 657 wakeup-source; 658 }; 659 }; 660 661 panel: panel { 662 compatible = "auo,b101aw03"; 663 664 power-supply = <&vdd_pnl_reg>; 665 enable-gpios = <&gpio TEGRA_GP 666 667 backlight = <&backlight>; 668 }; 669 670 vdd_5v0_reg: regulator-5v0 { 671 compatible = "regulator-fixed" 672 regulator-name = "vdd_5v0"; 673 regulator-min-microvolt = <500 674 regulator-max-microvolt = <500 675 regulator-always-on; 676 }; 677 678 regulator-1v5 { 679 compatible = "regulator-fixed" 680 regulator-name = "vdd_1v5"; 681 regulator-min-microvolt = <150 682 regulator-max-microvolt = <150 683 gpio = <&pmic 0 GPIO_ACTIVE_HI 684 }; 685 686 regulator-1v2 { 687 compatible = "regulator-fixed" 688 regulator-name = "vdd_1v2"; 689 regulator-min-microvolt = <120 690 regulator-max-microvolt = <120 691 gpio = <&pmic 1 GPIO_ACTIVE_HI 692 enable-active-high; 693 }; 694 695 pci_vdd_reg: regulator-1v05 { 696 compatible = "regulator-fixed" 697 regulator-name = "vdd_1v05"; 698 regulator-min-microvolt = <105 699 regulator-max-microvolt = <105 700 gpio = <&pmic 2 GPIO_ACTIVE_HI 701 enable-active-high; 702 }; 703 704 vdd_pnl_reg: regulator-pn1 { 705 compatible = "regulator-fixed" 706 regulator-name = "vdd_pnl"; 707 regulator-min-microvolt = <280 708 regulator-max-microvolt = <280 709 gpio = <&gpio TEGRA_GPIO(C, 6) 710 enable-active-high; 711 }; 712 713 vdd_bl_reg: regulator-bl { 714 compatible = "regulator-fixed" 715 regulator-name = "vdd_bl"; 716 regulator-min-microvolt = <280 717 regulator-max-microvolt = <280 718 gpio = <&gpio TEGRA_GPIO(W, 0) 719 enable-active-high; 720 }; 721 722 vdd_5v0_hdmi: regulator-hdmi { 723 compatible = "regulator-fixed" 724 regulator-name = "VDDIO_HDMI"; 725 regulator-min-microvolt = <500 726 regulator-max-microvolt = <500 727 gpio = <&gpio TEGRA_GPIO(T, 2) 728 enable-active-high; 729 vin-supply = <&vdd_5v0_reg>; 730 }; 731 732 sound { 733 compatible = "nvidia,tegra-aud 734 "nvidia,tegra-aud 735 nvidia,model = "NVIDIA Tegra H 736 737 nvidia,audio-routing = 738 "Headphone Jack", "HPO 739 "Headphone Jack", "HPO 740 "Int Spk", "ROP", 741 "Int Spk", "RON", 742 "Int Spk", "LOP", 743 "Int Spk", "LON", 744 "Mic Jack", "MICBIAS", 745 "IN1L", "Mic Jack"; 746 747 nvidia,i2s-controller = <&tegr 748 nvidia,audio-codec = <&wm8903> 749 750 nvidia,spkr-en-gpios = <&wm890 751 nvidia,hp-det-gpios = <&gpio T 752 GPIO_ACTIVE_LOW>; 753 nvidia,int-mic-en-gpios = <&gp 754 GPIO_ACTIVE_HIGH>; 755 nvidia,ext-mic-en-gpios = <&gp 756 GPIO_ACTIVE_HIGH>; 757 758 clocks = <&tegra_car TEGRA20_C 759 <&tegra_car TEGRA20_C 760 <&tegra_car TEGRA20_C 761 clock-names = "pll_a", "pll_a_ 762 }; 763 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.