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