1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/input/input.h> 3 #include <dt-bindings/thermal/thermal.h> 4 #include "tegra124.dtsi" 5 6 / { 7 aliases { 8 rtc0 = "/i2c@7000d000/pmic@40"; 9 rtc1 = "/rtc@7000e000"; 10 serial0 = &uarta; 11 }; 12 13 chosen { 14 stdout-path = "serial0:115200n8"; 15 }; 16 17 /* 18 * Note that recent version of the device tree compiler (starting with 19 * version 1.4.2) warn about this node containing a reg property, but 20 * missing a unit-address. However, the bootloader on these Chromebook 21 * devices relies on the full name of this node to be exactly /memory. 22 * Adding the unit-address causes the bootloader to create a /memory 23 * node and write the memory bank configuration to that node, which in 24 * turn leads the kernel to believe that the device has 2 GiB of 25 * memory instead of the amount detected by the bootloader. 26 * 27 * The name of this node is effectively ABI and must not be changed. 28 */ 29 memory { 30 device_type = "memory"; 31 reg = <0x0 0x80000000 0x0 0x80000000>; 32 }; 33 34 /delete-node/ memory@80000000; 35 36 host1x@50000000 { 37 hdmi@54280000 { 38 status = "okay"; 39 40 vdd-supply = <&vdd_3v3_hdmi>; 41 pll-supply = <&vdd_hdmi_pll>; 42 hdmi-supply = <&vdd_5v0_hdmi>; 43 44 nvidia,ddc-i2c-bus = <&hdmi_ddc>; 45 nvidia,hpd-gpio = 46 <&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>; 47 }; 48 49 sor@54540000 { 50 status = "okay"; 51 52 avdd-io-hdmi-dp-supply = <&vdd_3v3_hdmi>; 53 vdd-hdmi-dp-pll-supply = <&vdd_hdmi_pll>; 54 55 nvidia,dpaux = <&dpaux>; 56 nvidia,panel = <&panel>; 57 }; 58 59 dpaux@545c0000 { 60 vdd-supply = <&vdd_3v3_panel>; 61 status = "okay"; 62 }; 63 }; 64 65 gpu@57000000 { 66 status = "okay"; 67 68 vdd-supply = <&vdd_gpu>; 69 }; 70 71 serial@70006000 { 72 /* Debug connector on the bottom of the board near SD card. */ 73 /delete-property/ dmas; 74 /delete-property/ dma-names; 75 status = "okay"; 76 }; 77 78 pwm@7000a000 { 79 status = "okay"; 80 }; 81 82 i2c@7000c000 { 83 status = "okay"; 84 clock-frequency = <100000>; 85 86 acodec: audio-codec@10 { 87 compatible = "maxim,max98090"; 88 reg = <0x10>; 89 interrupt-parent = <&gpio>; 90 interrupts = <TEGRA_GPIO(H, 4) IRQ_TYPE_EDGE_FALLING>; 91 }; 92 93 tmp451: temperature-sensor@4c { 94 compatible = "ti,tmp451"; 95 reg = <0x4c>; 96 interrupt-parent = <&gpio>; 97 interrupts = <TEGRA_GPIO(I, 6) IRQ_TYPE_EDGE_FALLING>; 98 99 #thermal-sensor-cells = <1>; 100 }; 101 }; 102 103 i2c@7000c400 { 104 status = "okay"; 105 clock-frequency = <100000>; 106 107 trackpad@15 { 108 compatible = "elan,ekth3000"; 109 reg = <0x15>; 110 interrupt-parent = <&gpio>; 111 interrupts = <TEGRA_GPIO(W, 3) IRQ_TYPE_EDGE_FALLING>; 112 wakeup-source; 113 }; 114 }; 115 116 i2c@7000c500 { 117 status = "okay"; 118 clock-frequency = <400000>; 119 120 tpm@20 { 121 compatible = "infineon,slb9645tt"; 122 reg = <0x20>; 123 }; 124 }; 125 126 hdmi_ddc: i2c@7000c700 { 127 status = "okay"; 128 clock-frequency = <100000>; 129 }; 130 131 i2c@7000d000 { 132 status = "okay"; 133 clock-frequency = <400000>; 134 135 pmic: pmic@40 { 136 compatible = "ams,as3722"; 137 reg = <0x40>; 138 interrupts = <0 86 IRQ_TYPE_LEVEL_HIGH>; 139 140 ams,system-power-controller; 141 142 #interrupt-cells = <2>; 143 interrupt-controller; 144 145 gpio-controller; 146 #gpio-cells = <2>; 147 148 pinctrl-names = "default"; 149 pinctrl-0 = <&as3722_default>; 150 151 as3722_default: pinmux { 152 gpio0 { 153 pins = "gpio0"; 154 function = "gpio"; 155 bias-pull-down; 156 }; 157 158 gpio1 { 159 pins = "gpio1"; 160 function = "gpio"; 161 bias-pull-up; 162 }; 163 164 gpio2_4_7 { 165 pins = "gpio2", "gpio4", "gpio7"; 166 function = "gpio"; 167 bias-pull-up; 168 }; 169 170 gpio3_6 { 171 pins = "gpio3", "gpio6"; 172 bias-high-impedance; 173 }; 174 175 gpio5 { 176 pins = "gpio5"; 177 function = "clk32k-out"; 178 bias-pull-down; 179 }; 180 }; 181 182 regulators { 183 vsup-sd2-supply = <&vdd_5v0_sys>; 184 vsup-sd3-supply = <&vdd_5v0_sys>; 185 vsup-sd4-supply = <&vdd_5v0_sys>; 186 vsup-sd5-supply = <&vdd_5v0_sys>; 187 vin-ldo0-supply = <&vdd_1v35_lp0>; 188 vin-ldo1-6-supply = <&vdd_3v3_run>; 189 vin-ldo2-5-7-supply = <&vddio_1v8>; 190 vin-ldo3-4-supply = <&vdd_3v3_sys>; 191 vin-ldo9-10-supply = <&vdd_5v0_sys>; 192 vin-ldo11-supply = <&vdd_3v3_run>; 193 194 vdd_cpu: sd0 { 195 regulator-name = "+VDD_CPU_AP"; 196 regulator-min-microvolt = <700000>; 197 regulator-max-microvolt = <1350000>; 198 regulator-min-microamp = <3500000>; 199 regulator-max-microamp = <3500000>; 200 regulator-always-on; 201 regulator-boot-on; 202 ams,ext-control = <2>; 203 }; 204 205 sd1 { 206 regulator-name = "+VDD_CORE"; 207 regulator-min-microvolt = <700000>; 208 regulator-max-microvolt = <1350000>; 209 regulator-min-microamp = <2500000>; 210 regulator-max-microamp = <4000000>; 211 regulator-always-on; 212 regulator-boot-on; 213 ams,ext-control = <1>; 214 }; 215 216 vdd_1v35_lp0: sd2 { 217 regulator-name = "+1.35V_LP0(sd2)"; 218 regulator-min-microvolt = <1350000>; 219 regulator-max-microvolt = <1350000>; 220 regulator-always-on; 221 regulator-boot-on; 222 }; 223 224 sd3 { 225 regulator-name = "+1.35V_LP0(sd3)"; 226 regulator-min-microvolt = <1350000>; 227 regulator-max-microvolt = <1350000>; 228 regulator-always-on; 229 regulator-boot-on; 230 }; 231 232 vdd_1v05_run: sd4 { 233 regulator-name = "+1.05V_RUN"; 234 regulator-min-microvolt = <1050000>; 235 regulator-max-microvolt = <1050000>; 236 }; 237 238 vddio_1v8: sd5 { 239 regulator-name = "+1.8V_VDDIO"; 240 regulator-min-microvolt = <1800000>; 241 regulator-max-microvolt = <1800000>; 242 regulator-always-on; 243 }; 244 245 vdd_gpu: sd6 { 246 regulator-name = "+VDD_GPU_AP"; 247 regulator-min-microvolt = <650000>; 248 regulator-max-microvolt = <1200000>; 249 regulator-min-microamp = <3500000>; 250 regulator-max-microamp = <3500000>; 251 regulator-boot-on; 252 regulator-always-on; 253 }; 254 255 avdd_1v05_run: ldo0 { 256 regulator-name = "+1.05V_RUN_AVDD"; 257 regulator-min-microvolt = <1050000>; 258 regulator-max-microvolt = <1050000>; 259 regulator-boot-on; 260 regulator-always-on; 261 ams,ext-control = <1>; 262 }; 263 264 ldo1 { 265 regulator-name = "+1.8V_RUN_CAM"; 266 regulator-min-microvolt = <1800000>; 267 regulator-max-microvolt = <1800000>; 268 }; 269 270 ldo2 { 271 regulator-name = "+1.2V_GEN_AVDD"; 272 regulator-min-microvolt = <1200000>; 273 regulator-max-microvolt = <1200000>; 274 regulator-boot-on; 275 regulator-always-on; 276 }; 277 278 ldo3 { 279 regulator-name = "+1.00V_LP0_VDD_RTC"; 280 regulator-min-microvolt = <1000000>; 281 regulator-max-microvolt = <1000000>; 282 regulator-boot-on; 283 regulator-always-on; 284 ams,enable-tracking; 285 }; 286 287 vdd_run_cam: ldo4 { 288 regulator-name = "+3.3V_RUN_CAM"; 289 regulator-min-microvolt = <2800000>; 290 regulator-max-microvolt = <2800000>; 291 }; 292 293 ldo5 { 294 regulator-name = "+1.2V_RUN_CAM_FRONT"; 295 regulator-min-microvolt = <1200000>; 296 regulator-max-microvolt = <1200000>; 297 }; 298 299 vddio_sdmmc3: ldo6 { 300 regulator-name = "+VDDIO_SDMMC3"; 301 regulator-min-microvolt = <1800000>; 302 regulator-max-microvolt = <3300000>; 303 }; 304 305 ldo7 { 306 regulator-name = "+1.05V_RUN_CAM_REAR"; 307 regulator-min-microvolt = <1050000>; 308 regulator-max-microvolt = <1050000>; 309 }; 310 311 ldo9 { 312 regulator-name = "+2.8V_RUN_TOUCH"; 313 regulator-min-microvolt = <2800000>; 314 regulator-max-microvolt = <2800000>; 315 }; 316 317 ldo10 { 318 regulator-name = "+2.8V_RUN_CAM_AF"; 319 regulator-min-microvolt = <2800000>; 320 regulator-max-microvolt = <2800000>; 321 }; 322 323 ldo11 { 324 regulator-name = "+1.8V_RUN_VPP_FUSE"; 325 regulator-min-microvolt = <1800000>; 326 regulator-max-microvolt = <1800000>; 327 }; 328 }; 329 }; 330 }; 331 332 spi@7000d400 { 333 status = "okay"; 334 335 cros_ec: cros-ec@0 { 336 compatible = "google,cros-ec-spi"; 337 spi-max-frequency = <3000000>; 338 interrupt-parent = <&gpio>; 339 interrupts = <TEGRA_GPIO(C, 7) IRQ_TYPE_LEVEL_LOW>; 340 reg = <0>; 341 wakeup-source; 342 343 google,cros-ec-spi-msg-delay = <2000>; 344 345 i2c-tunnel { 346 compatible = "google,cros-ec-i2c-tunnel"; 347 #address-cells = <1>; 348 #size-cells = <0>; 349 350 google,remote-bus = <0>; 351 352 charger: bq24735@9 { 353 compatible = "ti,bq24735"; 354 reg = <0x9>; 355 interrupt-parent = <&gpio>; 356 interrupts = <TEGRA_GPIO(J, 0) 357 IRQ_TYPE_EDGE_BOTH>; 358 ti,ac-detect-gpios = <&gpio 359 TEGRA_GPIO(J, 0) 360 GPIO_ACTIVE_HIGH>; 361 ti,external-control; 362 }; 363 364 battery: sbs-battery@b { 365 compatible = "sbs,sbs-battery"; 366 reg = <0xb>; 367 sbs,i2c-retry-count = <2>; 368 sbs,poll-retry-count = <10>; 369 power-supplies = <&charger>; 370 }; 371 }; 372 }; 373 }; 374 375 spi@7000da00 { 376 status = "okay"; 377 spi-max-frequency = <25000000>; 378 379 flash@0 { 380 compatible = "winbond,w25q32dw", "jedec,spi-nor"; 381 spi-max-frequency = <25000000>; 382 reg = <0>; 383 }; 384 }; 385 386 pmc@7000e400 { 387 nvidia,invert-interrupt; 388 nvidia,suspend-mode = <0>; 389 nvidia,cpu-pwr-good-time = <500>; 390 nvidia,cpu-pwr-off-time = <300>; 391 nvidia,core-pwr-good-time = <641 3845>; 392 nvidia,core-pwr-off-time = <61036>; 393 nvidia,core-power-req-active-high; 394 nvidia,sys-clock-req-active-high; 395 }; 396 397 cec@70015000 { 398 status = "okay"; 399 }; 400 401 hda@70030000 { 402 status = "okay"; 403 }; 404 405 usb@70090000 { 406 phys = <&{/padctl@7009f000/pads/usb2/lanes/usb2-0}>, /* 1st USB A */ 407 <&{/padctl@7009f000/pads/usb2/lanes/usb2-1}>, /* Internal USB */ 408 <&{/padctl@7009f000/pads/usb2/lanes/usb2-2}>, /* 2nd USB A */ 409 <&{/padctl@7009f000/pads/pcie/lanes/pcie-0}>, /* 1st USB A */ 410 <&{/padctl@7009f000/pads/pcie/lanes/pcie-1}>; /* 2nd USB A */ 411 phy-names = "usb2-0", "usb2-1", "usb2-2", "usb3-0", "usb3-1"; 412 413 avddio-pex-supply = <&vdd_1v05_run>; 414 dvddio-pex-supply = <&vdd_1v05_run>; 415 avdd-usb-supply = <&vdd_3v3_lp0>; 416 avdd-pll-utmip-supply = <&vddio_1v8>; 417 avdd-pll-erefe-supply = <&avdd_1v05_run>; 418 avdd-usb-ss-pll-supply = <&vdd_1v05_run>; 419 hvdd-usb-ss-supply = <&vdd_3v3_lp0>; 420 hvdd-usb-ss-pll-e-supply = <&vdd_3v3_lp0>; 421 422 status = "okay"; 423 }; 424 425 padctl@7009f000 { 426 status = "okay"; 427 428 avdd-pll-utmip-supply = <&vddio_1v8>; 429 avdd-pll-erefe-supply = <&avdd_1v05_run>; 430 avdd-pex-pll-supply = <&vdd_1v05_run>; 431 hvdd-pex-pll-e-supply = <&vdd_3v3_lp0>; 432 433 pads { 434 usb2 { 435 status = "okay"; 436 437 lanes { 438 usb2-0 { 439 nvidia,function = "xusb"; 440 status = "okay"; 441 }; 442 443 usb2-1 { 444 nvidia,function = "xusb"; 445 status = "okay"; 446 }; 447 448 usb2-2 { 449 nvidia,function = "xusb"; 450 status = "okay"; 451 }; 452 }; 453 }; 454 455 pcie { 456 status = "okay"; 457 458 lanes { 459 pcie-0 { 460 nvidia,function = "usb3-ss"; 461 status = "okay"; 462 }; 463 464 pcie-1 { 465 nvidia,function = "usb3-ss"; 466 status = "okay"; 467 }; 468 }; 469 }; 470 }; 471 472 ports { 473 usb2-0 { 474 vbus-supply = <&vdd_usb1_vbus>; 475 status = "okay"; 476 mode = "otg"; 477 usb-role-switch; 478 }; 479 480 usb2-1 { 481 vbus-supply = <&vdd_run_cam>; 482 status = "okay"; 483 mode = "host"; 484 }; 485 486 usb2-2 { 487 vbus-supply = <&vdd_usb3_vbus>; 488 status = "okay"; 489 mode = "host"; 490 }; 491 492 usb3-0 { 493 nvidia,usb2-companion = <0>; 494 status = "okay"; 495 }; 496 497 usb3-1 { 498 nvidia,usb2-companion = <1>; 499 status = "okay"; 500 }; 501 }; 502 }; 503 504 mmc@700b0000 { /* WiFi/BT on this bus */ 505 status = "okay"; 506 bus-width = <4>; 507 no-1-8-v; 508 non-removable; 509 mmc-pwrseq = <&sdhci0_pwrseq>; 510 vmmc-supply = <&vdd_3v3_lp0>; 511 vqmmc-supply = <&vddio_1v8>; 512 keep-power-in-suspend; 513 }; 514 515 mmc@700b0400 { /* SD Card on this bus */ 516 status = "okay"; 517 cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>; 518 power-gpios = <&gpio TEGRA_GPIO(R, 0) GPIO_ACTIVE_HIGH>; 519 bus-width = <4>; 520 no-1-8-v; 521 vqmmc-supply = <&vddio_sdmmc3>; 522 }; 523 524 mmc@700b0600 { /* eMMC on this bus */ 525 status = "okay"; 526 bus-width = <8>; 527 no-1-8-v; 528 non-removable; 529 }; 530 531 /* CPU DFLL clock */ 532 clock@70110000 { 533 status = "okay"; 534 vdd-cpu-supply = <&vdd_cpu>; 535 nvidia,i2c-fs-rate = <400000>; 536 }; 537 538 ahub@70300000 { 539 i2s@70301100 { 540 status = "okay"; 541 }; 542 }; 543 544 backlight: backlight { 545 compatible = "pwm-backlight"; 546 547 enable-gpios = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>; 548 power-supply = <&vdd_led>; 549 pwms = <&pwm 1 1000000>; 550 551 default-brightness-level = <224>; 552 brightness-levels = 553 < 0 1 2 3 4 5 6 7 554 8 9 10 11 12 13 14 15 555 16 17 18 19 20 21 22 23 556 24 25 26 27 28 29 30 31 557 32 33 34 35 36 37 38 39 558 40 41 42 43 44 45 46 47 559 48 49 50 51 52 53 54 55 560 56 57 58 59 60 61 62 63 561 64 65 66 67 68 69 70 71 562 72 73 74 75 76 77 78 79 563 80 81 82 83 84 85 86 87 564 88 89 90 91 92 93 94 95 565 96 97 98 99 100 101 102 103 566 104 105 106 107 108 109 110 111 567 112 113 114 115 116 117 118 119 568 120 121 122 123 124 125 126 127 569 128 129 130 131 132 133 134 135 570 136 137 138 139 140 141 142 143 571 144 145 146 147 148 149 150 151 572 152 153 154 155 156 157 158 159 573 160 161 162 163 164 165 166 167 574 168 169 170 171 172 173 174 175 575 176 177 178 179 180 181 182 183 576 184 185 186 187 188 189 190 191 577 192 193 194 195 196 197 198 199 578 200 201 202 203 204 205 206 207 579 208 209 210 211 212 213 214 215 580 216 217 218 219 220 221 222 223 581 224 225 226 227 228 229 230 231 582 232 233 234 235 236 237 238 239 583 240 241 242 243 244 245 246 247 584 248 249 250 251 252 253 254 255 585 256>; 586 }; 587 588 clk32k_in: clock-32k { 589 compatible = "fixed-clock"; 590 clock-frequency = <32768>; 591 #clock-cells = <0>; 592 }; 593 594 cpus { 595 cpu0: cpu@0 { 596 #cooling-cells = <2>; 597 vdd-cpu-supply = <&vdd_cpu>; 598 }; 599 600 cpu1: cpu@1 { 601 #cooling-cells = <2>; 602 }; 603 604 cpu2: cpu@2 { 605 #cooling-cells = <2>; 606 }; 607 608 cpu3: cpu@3 { 609 #cooling-cells = <2>; 610 }; 611 }; 612 613 gpio-keys { 614 compatible = "gpio-keys"; 615 616 key-power { 617 label = "Power"; 618 gpios = <&gpio TEGRA_GPIO(Q, 0) GPIO_ACTIVE_LOW>; 619 linux,code = <KEY_POWER>; 620 debounce-interval = <30>; 621 wakeup-source; 622 }; 623 624 switch-lid { 625 label = "Lid"; 626 gpios = <&gpio TEGRA_GPIO(R, 4) GPIO_ACTIVE_LOW>; 627 linux,input-type = <5>; 628 linux,code = <KEY_RESERVED>; 629 debounce-interval = <1>; 630 wakeup-source; 631 }; 632 }; 633 634 gpio-restart { 635 compatible = "gpio-restart"; 636 gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>; 637 priority = <200>; 638 }; 639 640 sdhci0_pwrseq: pwrseq-sdhci0 { 641 compatible = "mmc-pwrseq-simple"; 642 643 reset-gpios = <&gpio TEGRA_GPIO(X, 7) GPIO_ACTIVE_LOW>; 644 }; 645 646 vdd_mux: regulator-mux { 647 compatible = "regulator-fixed"; 648 regulator-name = "+VDD_MUX"; 649 regulator-min-microvolt = <12000000>; 650 regulator-max-microvolt = <12000000>; 651 regulator-always-on; 652 regulator-boot-on; 653 }; 654 655 vdd_5v0_sys: regulator-5v0sys { 656 compatible = "regulator-fixed"; 657 regulator-name = "+5V_SYS"; 658 regulator-min-microvolt = <5000000>; 659 regulator-max-microvolt = <5000000>; 660 regulator-always-on; 661 regulator-boot-on; 662 vin-supply = <&vdd_mux>; 663 }; 664 665 vdd_3v3_sys: regulator-3v3sys { 666 compatible = "regulator-fixed"; 667 regulator-name = "+3.3V_SYS"; 668 regulator-min-microvolt = <3300000>; 669 regulator-max-microvolt = <3300000>; 670 regulator-always-on; 671 regulator-boot-on; 672 vin-supply = <&vdd_mux>; 673 }; 674 675 vdd_3v3_run: regulator-3v3run { 676 compatible = "regulator-fixed"; 677 regulator-name = "+3.3V_RUN"; 678 regulator-min-microvolt = <3300000>; 679 regulator-max-microvolt = <3300000>; 680 regulator-always-on; 681 regulator-boot-on; 682 gpio = <&pmic 1 GPIO_ACTIVE_HIGH>; 683 enable-active-high; 684 vin-supply = <&vdd_3v3_sys>; 685 }; 686 687 vdd_3v3_hdmi: regulator-3v3hdmi { 688 compatible = "regulator-fixed"; 689 regulator-name = "+3.3V_AVDD_HDMI_AP_GATED"; 690 regulator-min-microvolt = <3300000>; 691 regulator-max-microvolt = <3300000>; 692 vin-supply = <&vdd_3v3_run>; 693 }; 694 695 vdd_led: regulator-led { 696 compatible = "regulator-fixed"; 697 regulator-name = "+VDD_LED"; 698 gpio = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_HIGH>; 699 enable-active-high; 700 vin-supply = <&vdd_mux>; 701 }; 702 703 vdd_5v0_ts: regulator-ts { 704 compatible = "regulator-fixed"; 705 regulator-name = "+5V_VDD_TS_SW"; 706 regulator-min-microvolt = <5000000>; 707 regulator-max-microvolt = <5000000>; 708 regulator-boot-on; 709 gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>; 710 enable-active-high; 711 vin-supply = <&vdd_5v0_sys>; 712 }; 713 714 vdd_usb1_vbus: regulator-usb1 { 715 compatible = "regulator-fixed"; 716 regulator-name = "+5V_USB_HS"; 717 regulator-min-microvolt = <5000000>; 718 regulator-max-microvolt = <5000000>; 719 gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>; 720 enable-active-high; 721 gpio-open-drain; 722 vin-supply = <&vdd_5v0_sys>; 723 }; 724 725 vdd_usb3_vbus: regulator-usb3 { 726 compatible = "regulator-fixed"; 727 regulator-name = "+5V_USB_SS"; 728 regulator-min-microvolt = <5000000>; 729 regulator-max-microvolt = <5000000>; 730 gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>; 731 enable-active-high; 732 gpio-open-drain; 733 vin-supply = <&vdd_5v0_sys>; 734 }; 735 736 vdd_3v3_panel: regulator-panel { 737 compatible = "regulator-fixed"; 738 regulator-name = "+3.3V_PANEL"; 739 regulator-min-microvolt = <3300000>; 740 regulator-max-microvolt = <3300000>; 741 gpio = <&pmic 4 GPIO_ACTIVE_HIGH>; 742 enable-active-high; 743 vin-supply = <&vdd_3v3_run>; 744 }; 745 746 vdd_3v3_lp0: regulator-lp0 { 747 compatible = "regulator-fixed"; 748 regulator-name = "+3.3V_LP0"; 749 regulator-min-microvolt = <3300000>; 750 regulator-max-microvolt = <3300000>; 751 /* 752 * TODO: find a way to wire this up with the USB EHCI 753 * controllers so that it can be enabled on demand. 754 */ 755 regulator-always-on; 756 gpio = <&pmic 2 GPIO_ACTIVE_HIGH>; 757 enable-active-high; 758 vin-supply = <&vdd_3v3_sys>; 759 }; 760 761 vdd_hdmi_pll: regulator-hdmipll { 762 compatible = "regulator-fixed"; 763 regulator-name = "+1.05V_RUN_AVDD_HDMI_PLL"; 764 regulator-min-microvolt = <1050000>; 765 regulator-max-microvolt = <1050000>; 766 gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_LOW>; 767 vin-supply = <&vdd_1v05_run>; 768 }; 769 770 vdd_5v0_hdmi: regulator-hdmicon { 771 compatible = "regulator-fixed"; 772 regulator-name = "+5V_HDMI_CON"; 773 regulator-min-microvolt = <5000000>; 774 regulator-max-microvolt = <5000000>; 775 gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>; 776 enable-active-high; 777 vin-supply = <&vdd_5v0_sys>; 778 }; 779 780 sound { 781 nvidia,audio-routing = 782 "Headphones", "HPR", 783 "Headphones", "HPL", 784 "Speakers", "SPKR", 785 "Speakers", "SPKL", 786 "Mic Jack", "MICBIAS", 787 "DMICL", "Int Mic", 788 "DMICR", "Int Mic", 789 "IN34", "Mic Jack"; 790 791 nvidia,i2s-controller = <&tegra_i2s1>; 792 nvidia,audio-codec = <&acodec>; 793 794 clocks = <&tegra_car TEGRA124_CLK_PLL_A>, 795 <&tegra_car TEGRA124_CLK_PLL_A_OUT0>, 796 <&tegra_pmc TEGRA_PMC_CLK_OUT_1>; 797 clock-names = "pll_a", "pll_a_out0", "mclk"; 798 799 assigned-clocks = <&tegra_car TEGRA124_CLK_EXTERN1>, 800 <&tegra_pmc TEGRA_PMC_CLK_OUT_1>; 801 802 assigned-clock-parents = <&tegra_car TEGRA124_CLK_PLL_A_OUT0>, 803 <&tegra_car TEGRA124_CLK_EXTERN1>; 804 805 nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(I, 7) GPIO_ACTIVE_HIGH>; 806 nvidia,mic-det-gpios = 807 <&gpio TEGRA_GPIO(R, 7) GPIO_ACTIVE_HIGH>; 808 }; 809 810 thermal-zones { 811 cpu-skin-thermal { 812 polling-delay-passive = <1000>; /* milliseconds */ 813 polling-delay = <5000>; /* milliseconds */ 814 815 thermal-sensors = <&tmp451 0>; 816 817 trips { 818 cpu_passive_trip: cpu-alert0 { 819 /* throttle at 70C until temperature drops to 69.8C */ 820 temperature = <70000>; 821 hysteresis = <200>; 822 type = "passive"; 823 }; 824 }; 825 826 cooling-maps { 827 map0 { 828 trip = <&cpu_passive_trip>; 829 cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 830 <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 831 <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 832 <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 833 }; 834 }; 835 }; 836 }; 837 }; 838 839 #include "../cros-ec-keyboard.dtsi"
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.