1 // SPDX-License-Identifier: GPL-2.0 2 3 #include <dt-bindings/input/gpio-keys.h> 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/power/summit,smb347-char 6 #include <dt-bindings/thermal/thermal.h> 7 8 #include "tegra30.dtsi" 9 #include "tegra30-cpu-opp.dtsi" 10 #include "tegra30-cpu-opp-microvolt.dtsi" 11 #include "tegra30-asus-lvds-display.dtsi" 12 13 / { 14 aliases { 15 mmc0 = &sdmmc4; /* eMMC */ 16 mmc1 = &sdmmc3; /* WiFi */ 17 18 rtc0 = &pmic; 19 rtc1 = "/rtc@7000e000"; 20 21 serial1 = &uartc; /* Bluetooth 22 serial2 = &uartb; /* GPS */ 23 }; 24 25 /* 26 * The decompressor and also some boot 27 * pre-existing /chosen node to be ava 28 * command line and merge other ATAGS 29 */ 30 chosen {}; 31 32 firmware { 33 trusted-foundations { 34 compatible = "tlm,trus 35 tlm,version-major = <0 36 tlm,version-minor = <0 37 }; 38 }; 39 40 memory@80000000 { 41 reg = <0x80000000 0x40000000>; 42 }; 43 44 reserved-memory { 45 #address-cells = <1>; 46 #size-cells = <1>; 47 ranges; 48 49 linux,cma@80000000 { 50 compatible = "shared-d 51 alloc-ranges = <0x8000 52 size = <0x10000000>; / 53 linux,cma-default; 54 reusable; 55 }; 56 57 ramoops@bfdf0000 { 58 compatible = "ramoops" 59 reg = <0xbfdf0000 0x10 60 console-size = <0x8000 61 record-size = <0x400>; 62 ecc-size = <16>; 63 }; 64 65 trustzone@bfe00000 { 66 reg = <0xbfe00000 0x20 67 no-map; 68 }; 69 }; 70 71 gpio@6000d000 { 72 init-low-power-mode-hog { 73 gpio-hog; 74 gpios = <TEGRA_GPIO(I, 75 input; 76 }; 77 78 init-mode-hog { 79 gpio-hog; 80 gpios = <TEGRA_GPIO(DD 81 <TEGRA_GPIO(CC 82 <TEGRA_GPIO(R, 83 output-low; 84 }; 85 }; 86 87 pinmux@70000868 { 88 pinctrl-names = "default"; 89 pinctrl-0 = <&state_default>; 90 91 state_default: pinmux { 92 clk_32k_out_pa0 { 93 nvidia,pins = 94 nvidia,functio 95 nvidia,pull = 96 nvidia,tristat 97 nvidia,enable- 98 }; 99 uart3_cts_n_pa1 { 100 nvidia,pins = 101 102 nvidia,functio 103 nvidia,pull = 104 nvidia,tristat 105 nvidia,enable- 106 }; 107 dap2_fs_pa2 { 108 nvidia,pins = 109 110 111 112 nvidia,functio 113 nvidia,pull = 114 nvidia,tristat 115 nvidia,enable- 116 }; 117 sdmmc3_clk_pa6 { 118 nvidia,pins = 119 nvidia,functio 120 nvidia,pull = 121 nvidia,tristat 122 nvidia,enable- 123 }; 124 sdmmc3_cmd_pa7 { 125 nvidia,pins = 126 127 128 129 130 131 132 133 nvidia,functio 134 nvidia,pull = 135 nvidia,tristat 136 nvidia,enable- 137 }; 138 gmi_a17_pb0 { 139 nvidia,pins = 140 141 nvidia,functio 142 nvidia,pull = 143 nvidia,tristat 144 nvidia,enable- 145 }; 146 lcd_pwr0_pb2 { 147 nvidia,pins = 148 149 150 nvidia,functio 151 nvidia,pull = 152 nvidia,tristat 153 nvidia,enable- 154 }; 155 lcd_pclk_pb3 { 156 nvidia,pins = 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 nvidia,functio 191 nvidia,pull = 192 nvidia,tristat 193 nvidia,enable- 194 }; 195 uart3_rts_n_pc0 { 196 nvidia,pins = 197 198 nvidia,functio 199 nvidia,pull = 200 nvidia,tristat 201 nvidia,enable- 202 }; 203 uart2_txd_pc2 { 204 nvidia,pins = 205 206 nvidia,functio 207 nvidia,pull = 208 nvidia,tristat 209 nvidia,enable- 210 }; 211 uart2_rxd_pc3 { 212 nvidia,pins = 213 214 nvidia,functio 215 nvidia,pull = 216 nvidia,tristat 217 nvidia,enable- 218 }; 219 gen1_i2c_scl_pc4 { 220 nvidia,pins = 221 222 nvidia,functio 223 nvidia,pull = 224 nvidia,tristat 225 nvidia,enable- 226 nvidia,open-dr 227 }; 228 gmi_wp_n_pc7 { 229 nvidia,pins = 230 231 232 233 nvidia,functio 234 nvidia,pull = 235 nvidia,tristat 236 nvidia,enable- 237 }; 238 gmi_ad12_ph4 { 239 nvidia,pins = 240 241 242 243 nvidia,functio 244 nvidia,pull = 245 nvidia,tristat 246 nvidia,enable- 247 }; 248 sdmmc3_dat5_pd0 { 249 nvidia,pins = 250 nvidia,functio 251 nvidia,pull = 252 nvidia,tristat 253 nvidia,enable- 254 }; 255 gmi_ad0_pg0 { 256 nvidia,pins = 257 258 259 260 nvidia,functio 261 nvidia,pull = 262 nvidia,tristat 263 nvidia,enable- 264 }; 265 gmi_ad2_pg2 { 266 nvidia,pins = 267 268 269 270 nvidia,functio 271 nvidia,pull = 272 nvidia,tristat 273 nvidia,enable- 274 }; 275 gmi_ad4_pg4 { 276 nvidia,pins = 277 278 nvidia,functio 279 nvidia,pull = 280 nvidia,tristat 281 nvidia,enable- 282 }; 283 gmi_ad8_ph0 { 284 nvidia,pins = 285 nvidia,functio 286 nvidia,pull = 287 nvidia,tristat 288 nvidia,enable- 289 }; 290 gmi_ad9_ph1 { 291 nvidia,pins = 292 nvidia,functio 293 nvidia,pull = 294 nvidia,tristat 295 nvidia,enable- 296 }; 297 gmi_ad10_ph2 { 298 nvidia,pins = 299 nvidia,functio 300 nvidia,pull = 301 nvidia,tristat 302 nvidia,enable- 303 }; 304 gmi_ad11_ph3 { 305 nvidia,pins = 306 nvidia,functio 307 nvidia,pull = 308 nvidia,tristat 309 nvidia,enable- 310 }; 311 gmi_ad13_ph5 { 312 nvidia,pins = 313 314 315 316 nvidia,functio 317 nvidia,pull = 318 nvidia,tristat 319 nvidia,enable- 320 }; 321 gmi_ad15_ph7 { 322 nvidia,pins = 323 nvidia,functio 324 nvidia,pull = 325 nvidia,tristat 326 nvidia,enable- 327 }; 328 gmi_dqs_pi2 { 329 nvidia,pins = 330 331 332 nvidia,functio 333 nvidia,pull = 334 nvidia,tristat 335 nvidia,enable- 336 }; 337 gmi_rst_n_pi4 { 338 nvidia,pins = 339 nvidia,functio 340 nvidia,pull = 341 nvidia,tristat 342 nvidia,enable- 343 }; 344 gmi_iordy_pi5 { 345 nvidia,pins = 346 nvidia,functio 347 nvidia,pull = 348 nvidia,tristat 349 nvidia,enable- 350 }; 351 gmi_cs7_n_pi6 { 352 nvidia,pins = 353 354 nvidia,functio 355 nvidia,pull = 356 nvidia,tristat 357 nvidia,enable- 358 }; 359 gmi_a16_pj7 { 360 nvidia,pins = 361 362 nvidia,functio 363 nvidia,pull = 364 nvidia,tristat 365 nvidia,enable- 366 }; 367 spdif_out_pk5 { 368 nvidia,pins = 369 nvidia,functio 370 nvidia,pull = 371 nvidia,tristat 372 nvidia,enable- 373 }; 374 spdif_in_pk6 { 375 nvidia,pins = 376 nvidia,functio 377 nvidia,pull = 378 nvidia,tristat 379 nvidia,enable- 380 }; 381 dap1_fs_pn0 { 382 nvidia,pins = 383 384 385 386 nvidia,functio 387 nvidia,pull = 388 nvidia,tristat 389 nvidia,enable- 390 }; 391 hdmi_int_pn7 { 392 nvidia,pins = 393 nvidia,functio 394 nvidia,pull = 395 nvidia,tristat 396 nvidia,enable- 397 }; 398 ulpi_data7_po0 { 399 nvidia,pins = 400 nvidia,functio 401 nvidia,pull = 402 nvidia,tristat 403 nvidia,enable- 404 }; 405 ulpi_data3_po4 { 406 nvidia,pins = 407 nvidia,functio 408 nvidia,pull = 409 nvidia,tristat 410 nvidia,enable- 411 }; 412 dap3_fs_pp0 { 413 nvidia,pins = 414 nvidia,functio 415 nvidia,pull = 416 nvidia,tristat 417 nvidia,enable- 418 }; 419 dap4_fs_pp4 { 420 nvidia,pins = 421 422 423 424 nvidia,functio 425 nvidia,pull = 426 nvidia,tristat 427 nvidia,enable- 428 }; 429 kb_col0_pq0 { 430 nvidia,pins = 431 432 433 nvidia,functio 434 nvidia,pull = 435 nvidia,tristat 436 nvidia,enable- 437 }; 438 kb_col2_pq2 { 439 nvidia,pins = 440 441 nvidia,functio 442 nvidia,pull = 443 nvidia,tristat 444 nvidia,enable- 445 }; 446 kb_col4_pq4 { 447 nvidia,pins = 448 449 450 451 452 453 454 nvidia,functio 455 nvidia,pull = 456 nvidia,tristat 457 nvidia,enable- 458 }; 459 kb_row0_pr0 { 460 nvidia,pins = 461 nvidia,functio 462 nvidia,pull = 463 nvidia,tristat 464 nvidia,enable- 465 }; 466 kb_row6_pr6 { 467 nvidia,pins = 468 469 470 471 nvidia,functio 472 nvidia,pull = 473 nvidia,tristat 474 nvidia,enable- 475 }; 476 kb_row11_ps3 { 477 nvidia,pins = 478 479 nvidia,functio 480 nvidia,pull = 481 nvidia,tristat 482 nvidia,enable- 483 }; 484 gen2_i2c_scl_pt5 { 485 nvidia,pins = 486 487 nvidia,functio 488 nvidia,pull = 489 nvidia,tristat 490 nvidia,enable- 491 nvidia,open-dr 492 }; 493 sdmmc4_cmd_pt7 { 494 nvidia,pins = 495 496 497 498 499 500 501 502 503 nvidia,functio 504 nvidia,pull = 505 nvidia,tristat 506 nvidia,enable- 507 }; 508 pu0 { 509 nvidia,pins = 510 511 nvidia,functio 512 nvidia,pull = 513 nvidia,tristat 514 nvidia,enable- 515 }; 516 jtag_rtck_pu7 { 517 nvidia,pins = 518 nvidia,functio 519 nvidia,pull = 520 nvidia,tristat 521 nvidia,enable- 522 }; 523 pv0 { 524 nvidia,pins = 525 nvidia,functio 526 nvidia,pull = 527 nvidia,tristat 528 nvidia,enable- 529 }; 530 ddc_scl_pv4 { 531 nvidia,pins = 532 533 nvidia,functio 534 nvidia,pull = 535 nvidia,tristat 536 nvidia,enable- 537 }; 538 crt_hsync_pv6 { 539 nvidia,pins = 540 541 nvidia,functio 542 nvidia,pull = 543 nvidia,tristat 544 nvidia,enable- 545 }; 546 spi2_cs1_n_pw2 { 547 nvidia,pins = 548 549 550 nvidia,functio 551 nvidia,pull = 552 nvidia,tristat 553 nvidia,enable- 554 }; 555 clk1_out_pw4 { 556 nvidia,pins = 557 nvidia,functio 558 nvidia,pull = 559 nvidia,tristat 560 nvidia,enable- 561 }; 562 clk2_out_pw5 { 563 nvidia,pins = 564 nvidia,functio 565 nvidia,pull = 566 nvidia,tristat 567 nvidia,enable- 568 }; 569 spi2_cs0_n_px3 { 570 nvidia,pins = 571 nvidia,functio 572 nvidia,pull = 573 nvidia,tristat 574 nvidia,enable- 575 }; 576 spi1_mosi_px4 { 577 nvidia,pins = 578 579 nvidia,functio 580 nvidia,pull = 581 nvidia,tristat 582 nvidia,enable- 583 }; 584 ulpi_clk_py0 { 585 nvidia,pins = 586 587 nvidia,functio 588 nvidia,pull = 589 nvidia,tristat 590 nvidia,enable- 591 }; 592 sdmmc1_dat3_py4 { 593 nvidia,pins = 594 595 596 597 598 nvidia,functio 599 nvidia,pull = 600 nvidia,tristat 601 nvidia,enable- 602 }; 603 sdmmc1_clk_pz0 { 604 nvidia,pins = 605 nvidia,functio 606 nvidia,pull = 607 nvidia,tristat 608 nvidia,enable- 609 }; 610 lcd_wr_n_pz3 { 611 nvidia,pins = 612 nvidia,functio 613 nvidia,pull = 614 nvidia,tristat 615 nvidia,enable- 616 }; 617 sys_clk_req_pz5 { 618 nvidia,pins = 619 nvidia,functio 620 nvidia,pull = 621 nvidia,tristat 622 nvidia,enable- 623 }; 624 pwr_i2c_scl_pz6 { 625 nvidia,pins = 626 627 nvidia,functio 628 nvidia,pull = 629 nvidia,tristat 630 nvidia,enable- 631 nvidia,open-dr 632 }; 633 pbb0 { 634 nvidia,pins = 635 636 nvidia,functio 637 nvidia,pull = 638 nvidia,tristat 639 nvidia,enable- 640 }; 641 cam_i2c_scl_pbb1 { 642 nvidia,pins = 643 644 nvidia,functio 645 nvidia,pull = 646 nvidia,tristat 647 nvidia,enable- 648 nvidia,open-dr 649 }; 650 pbb3 { 651 nvidia,pins = 652 nvidia,functio 653 nvidia,pull = 654 nvidia,tristat 655 nvidia,enable- 656 }; 657 pbb4 { 658 nvidia,pins = 659 nvidia,functio 660 nvidia,pull = 661 nvidia,tristat 662 nvidia,enable- 663 }; 664 pbb5 { 665 nvidia,pins = 666 nvidia,functio 667 nvidia,pull = 668 nvidia,tristat 669 nvidia,enable- 670 }; 671 pbb6 { 672 nvidia,pins = 673 nvidia,functio 674 nvidia,pull = 675 nvidia,tristat 676 nvidia,enable- 677 }; 678 pbb7 { 679 nvidia,pins = 680 681 nvidia,functio 682 nvidia,pull = 683 nvidia,tristat 684 nvidia,enable- 685 }; 686 cam_mclk_pcc0 { 687 nvidia,pins = 688 nvidia,functio 689 nvidia,pull = 690 nvidia,tristat 691 nvidia,enable- 692 }; 693 sdmmc4_rst_n_pcc3 { 694 nvidia,pins = 695 nvidia,functio 696 nvidia,pull = 697 nvidia,tristat 698 nvidia,enable- 699 }; 700 sdmmc4_clk_pcc4 { 701 nvidia,pins = 702 nvidia,functio 703 nvidia,pull = 704 nvidia,tristat 705 nvidia,enable- 706 }; 707 clk2_req_pcc5 { 708 nvidia,pins = 709 nvidia,functio 710 nvidia,pull = 711 nvidia,tristat 712 nvidia,enable- 713 }; 714 pex_l2_rst_n_pcc6 { 715 nvidia,pins = 716 717 nvidia,functio 718 nvidia,pull = 719 nvidia,tristat 720 nvidia,enable- 721 }; 722 pex_wake_n_pdd3 { 723 nvidia,pins = 724 725 nvidia,functio 726 nvidia,pull = 727 nvidia,tristat 728 nvidia,enable- 729 }; 730 clk3_out_pee0 { 731 nvidia,pins = 732 nvidia,functio 733 nvidia,pull = 734 nvidia,tristat 735 nvidia,enable- 736 }; 737 clk1_req_pee2 { 738 nvidia,pins = 739 nvidia,functio 740 nvidia,pull = 741 nvidia,tristat 742 nvidia,enable- 743 }; 744 hdmi_cec_pee3 { 745 nvidia,pins = 746 nvidia,functio 747 nvidia,pull = 748 nvidia,tristat 749 nvidia,enable- 750 nvidia,open-dr 751 }; 752 owr { 753 nvidia,pins = 754 nvidia,functio 755 nvidia,pull = 756 nvidia,tristat 757 nvidia,enable- 758 }; 759 drive_dap1 { 760 nvidia,pins = 761 762 763 764 765 766 767 768 nvidia,high-sp 769 nvidia,schmitt 770 nvidia,low-pow 771 nvidia,pull-do 772 nvidia,pull-up 773 nvidia,slew-ra 774 nvidia,slew-ra 775 }; 776 drive_sdio1 { 777 nvidia,pins = 778 779 nvidia,high-sp 780 nvidia,schmitt 781 nvidia,pull-do 782 nvidia,pull-up 783 nvidia,slew-ra 784 nvidia,slew-ra 785 }; 786 drive_gma { 787 nvidia,pins = 788 789 790 791 nvidia,pull-do 792 nvidia,pull-up 793 nvidia,slew-ra 794 nvidia,slew-ra 795 }; 796 }; 797 }; 798 799 uartb: serial@70006040 { 800 compatible = "nvidia,tegra30-h 801 reset-names = "serial"; 802 /delete-property/ reg-shift; 803 /* GPS BCM4751 */ 804 }; 805 806 uartc: serial@70006200 { 807 compatible = "nvidia,tegra30-h 808 reset-names = "serial"; 809 /delete-property/ reg-shift; 810 status = "okay"; 811 812 nvidia,adjust-baud-rates = <0 813 <96 814 <10 815 816 /* Azurewave AW-NH665 BCM4330B 817 bluetooth { 818 compatible = "brcm,bcm 819 820 interrupt-parent = <&g 821 interrupts = <TEGRA_GP 822 interrupt-names = "hos 823 824 max-speed = <4000000>; 825 826 clocks = <&tegra_pmc T 827 clock-names = "txco"; 828 829 vbat-supply = <&vdd_3 830 vddio-supply = <&vdd_1 831 832 device-wakeup-gpios = 833 shutdown-gpios = <&gpi 834 }; 835 }; 836 837 pwm: pwm@7000a000 { 838 status = "okay"; 839 }; 840 841 i2c@7000c400 { 842 clock-frequency = <400000>; 843 status = "okay"; 844 845 touchscreen@10 { 846 compatible = "elan,ekt 847 reg = <0x10>; 848 849 interrupt-parent = <&g 850 interrupts = <TEGRA_GP 851 852 reset-gpios = <&gpio T 853 854 vcc33-supply = <&vcc_3 855 vccio-supply = <&vcc_3 856 857 touchscreen-size-x = < 858 touchscreen-size-y = < 859 touchscreen-swapped-x- 860 touchscreen-inverted-x 861 }; 862 }; 863 864 i2c@7000c500 { 865 clock-frequency = <100000>; 866 status = "okay"; 867 868 compass@e { 869 compatible = "asahi-ka 870 reg = <0x0e>; 871 872 interrupt-parent = <&g 873 interrupts = <TEGRA_GP 874 875 avdd-supply = <&vdd_3v 876 dvdd-supply = <&vdd_1v 877 878 mount-matrix = "0", 879 "-1", 880 "0", 881 }; 882 883 light-sensor@1c { 884 compatible = "dynaimag 885 reg = <0x1c>; 886 887 interrupt-parent = <&g 888 interrupts = <TEGRA_GP 889 890 vdd-supply = <&vdd_3v3 891 }; 892 893 accelerometer@68 { 894 compatible = "invensen 895 reg = <0x68>; 896 897 interrupt-parent = <&g 898 interrupts = <TEGRA_GP 899 900 vdd-supply = <&vdd_3 901 vddio-supply = <&vdd_1 902 903 mount-matrix = "0", 904 "-1", 905 "0", 906 }; 907 }; 908 909 i2c@7000d000 { 910 clock-frequency = <100000>; 911 status = "okay"; 912 913 rt5640: audio-codec@1c { 914 compatible = "realtek, 915 reg = <0x1c>; 916 917 realtek,dmic1-data-pin 918 919 clocks = <&tegra_pmc T 920 clock-names = "mclk"; 921 }; 922 923 nct72: temperature-sensor@4c { 924 compatible = "onnn,nct 925 reg = <0x4c>; 926 vcc-supply = <&vdd_3v3 927 928 interrupt-parent = <&g 929 interrupts = <TEGRA_GP 930 931 #thermal-sensor-cells 932 }; 933 934 fuel-gauge@55 { 935 compatible = "ti,bq275 936 reg = <0x55>; 937 power-supplies = <&pow 938 }; 939 940 power_supply: charger@6a { 941 compatible = "summit,s 942 reg = <0x6a>; 943 944 interrupt-parent = <&g 945 interrupts = <TEGRA_GP 946 947 summit,enable-charge-c 948 summit,inok-polarity = 949 summit,enable-usb-char 950 951 monitored-battery = <& 952 953 usb_vbus: usb-vbus { 954 regulator-name 955 regulator-min- 956 regulator-max- 957 regulator-min- 958 regulator-max- 959 960 /* 961 * SMB347 INOK 962 * ACOK output 963 * long as bat 964 * 965 * Active INOK 966 * needs to be 967 * output. 968 */ 969 summit,needs-i 970 }; 971 }; 972 }; 973 974 pmc@7000e400 { 975 status = "okay"; 976 nvidia,invert-interrupt; 977 nvidia,suspend-mode = <1>; 978 nvidia,cpu-pwr-good-time = <20 979 nvidia,cpu-pwr-off-time = <200 980 nvidia,core-pwr-good-time = <3 981 nvidia,core-pwr-off-time = <0> 982 nvidia,core-power-req-active-h 983 nvidia,sys-clock-req-active-hi 984 core-supply = <&vdd_core>; 985 }; 986 987 ahub@70080000 { 988 i2s@70080400 { 989 status = "okay"; 990 }; 991 }; 992 993 sdmmc3: mmc@78000400 { 994 status = "okay"; 995 996 #address-cells = <1>; 997 #size-cells = <0>; 998 999 assigned-clocks = <&tegra_car 1000 assigned-clock-parents = <&te 1001 assigned-clock-rates = <50000 1002 1003 max-frequency = <50000000>; 1004 keep-power-in-suspend; 1005 bus-width = <4>; 1006 non-removable; 1007 1008 mmc-pwrseq = <&brcm_wifi_pwrs 1009 vmmc-supply = <&vdd_3v3_sys>; 1010 vqmmc-supply = <&vdd_1v8>; 1011 1012 /* Azurewave AW-NH665 BCM4330 1013 wifi@1 { 1014 reg = <1>; 1015 compatible = "brcm,bc 1016 interrupt-parent = <& 1017 interrupts = <TEGRA_G 1018 interrupt-names = "ho 1019 }; 1020 }; 1021 1022 sdmmc4: mmc@78000600 { 1023 status = "okay"; 1024 bus-width = <8>; 1025 vmmc-supply = <&vcore_emmc>; 1026 vqmmc-supply = <&vdd_1v8>; 1027 non-removable; 1028 }; 1029 1030 usb@7d000000 { 1031 compatible = "nvidia,tegra30- 1032 status = "okay"; 1033 dr_mode = "otg"; 1034 vbus-supply = <&usb_vbus>; 1035 }; 1036 1037 usb-phy@7d000000 { 1038 status = "okay"; 1039 dr_mode = "otg"; 1040 nvidia,hssync-start-delay = < 1041 nvidia,xcvr-lsfslew = <2>; 1042 nvidia,xcvr-lsrslew = <2>; 1043 }; 1044 1045 backlight: backlight { 1046 compatible = "pwm-backlight"; 1047 1048 power-supply = <&vdd_5v0_sys> 1049 pwms = <&pwm 0 50000>; 1050 1051 brightness-levels = <1 255>; 1052 num-interpolated-steps = <254 1053 default-brightness-level = <1 1054 }; 1055 1056 battery_cell: battery-cell { 1057 compatible = "simple-battery" 1058 constant-charge-current-max-m 1059 operating-range-celsius = <0 1060 }; 1061 1062 /* PMIC has a built-in 32KHz oscillat 1063 clk32k_in: clock-32k { 1064 compatible = "fixed-clock"; 1065 #clock-cells = <0>; 1066 clock-frequency = <32768>; 1067 clock-output-names = "pmic-os 1068 }; 1069 1070 cpus { 1071 cpu0: cpu@0 { 1072 cpu-supply = <&vdd_cp 1073 operating-points-v2 = 1074 #cooling-cells = <2>; 1075 }; 1076 1077 cpu1: cpu@1 { 1078 cpu-supply = <&vdd_cp 1079 operating-points-v2 = 1080 #cooling-cells = <2>; 1081 }; 1082 1083 cpu2: cpu@2 { 1084 cpu-supply = <&vdd_cp 1085 operating-points-v2 = 1086 #cooling-cells = <2>; 1087 }; 1088 1089 cpu3: cpu@3 { 1090 cpu-supply = <&vdd_cp 1091 operating-points-v2 = 1092 #cooling-cells = <2>; 1093 }; 1094 }; 1095 1096 display-panel { 1097 /* 1098 * Some device variants come 1099 * since they are all largely 1100 * Chunghwa one here. 1101 */ 1102 compatible = "chunghwa,claa07 1103 1104 width-mm = <94>; 1105 height-mm = <150>; 1106 rotation = <180>; 1107 1108 data-mapping = "jeida-24"; 1109 1110 /* DDC unconnected on Nexus 7 1111 /delete-property/ ddc-i2c-bus 1112 }; 1113 1114 gpio-keys { 1115 compatible = "gpio-keys"; 1116 1117 key-power { 1118 label = "Power"; 1119 gpios = <&gpio TEGRA_ 1120 linux,code = <KEY_POW 1121 debounce-interval = < 1122 wakeup-event-action = 1123 wakeup-source; 1124 }; 1125 1126 key-volume-down { 1127 label = "Volume Down" 1128 gpios = <&gpio TEGRA_ 1129 linux,code = <KEY_VOL 1130 debounce-interval = < 1131 wakeup-event-action = 1132 wakeup-source; 1133 }; 1134 1135 key-volume-up { 1136 label = "Volume Up"; 1137 gpios = <&gpio TEGRA_ 1138 linux,code = <KEY_VOL 1139 debounce-interval = < 1140 wakeup-event-action = 1141 wakeup-source; 1142 }; 1143 1144 switch-hall-sensor { 1145 label = "Lid"; 1146 gpios = <&gpio TEGRA_ 1147 linux,input-type = <E 1148 linux,code = <SW_LID> 1149 debounce-interval = < 1150 wakeup-event-action = 1151 wakeup-source; 1152 }; 1153 }; 1154 1155 brcm_wifi_pwrseq: pwrseq-wifi { 1156 compatible = "mmc-pwrseq-simp 1157 1158 clocks = <&tegra_pmc TEGRA_PM 1159 clock-names = "ext_clock"; 1160 1161 reset-gpios = <&gpio TEGRA_GP 1162 post-power-on-delay-ms = <300 1163 power-off-delay-us = <300>; 1164 }; 1165 1166 vdd_5v0_sys: regulator-5v0 { 1167 compatible = "regulator-fixed 1168 regulator-name = "vdd_5v0"; 1169 regulator-min-microvolt = <50 1170 regulator-max-microvolt = <50 1171 regulator-always-on; 1172 regulator-boot-on; 1173 }; 1174 1175 vdd_3v3_sys: regulator-3v3 { 1176 compatible = "regulator-fixed 1177 regulator-name = "vdd_3v3"; 1178 regulator-min-microvolt = <33 1179 regulator-max-microvolt = <33 1180 regulator-always-on; 1181 regulator-boot-on; 1182 vin-supply = <&vdd_5v0_sys>; 1183 }; 1184 1185 vdd_pnl: regulator-panel { 1186 compatible = "regulator-fixed 1187 regulator-name = "vdd_panel"; 1188 regulator-min-microvolt = <33 1189 regulator-max-microvolt = <33 1190 regulator-enable-ramp-delay = 1191 gpio = <&gpio TEGRA_GPIO(W, 1 1192 enable-active-high; 1193 vin-supply = <&vdd_3v3_sys>; 1194 }; 1195 1196 vcc_3v3_ts: regulator-ts { 1197 compatible = "regulator-fixed 1198 regulator-name = "ldo_s-1167_ 1199 regulator-min-microvolt = <33 1200 regulator-max-microvolt = <33 1201 regulator-always-on; 1202 regulator-boot-on; 1203 vin-supply = <&vdd_5v0_sys>; 1204 }; 1205 1206 sound { 1207 compatible = "nvidia,tegra-au 1208 "nvidia,tegra-au 1209 nvidia,model = "ASUS Google N 1210 1211 nvidia,audio-routing = 1212 "Headphones", "HPOR", 1213 "Headphones", "HPOL", 1214 "Speakers", "SPORP", 1215 "Speakers", "SPORN", 1216 "Speakers", "SPOLP", 1217 "Speakers", "SPOLN", 1218 "DMIC1", "Mic Jack"; 1219 1220 nvidia,i2s-controller = <&teg 1221 nvidia,audio-codec = <&rt5640 1222 1223 nvidia,hp-det-gpios = <&gpio 1224 1225 clocks = <&tegra_car TEGRA30_ 1226 <&tegra_car TEGRA30_ 1227 <&tegra_pmc TEGRA_PM 1228 clock-names = "pll_a", "pll_a 1229 1230 assigned-clocks = <&tegra_car 1231 <&tegra_pmc 1232 1233 assigned-clock-parents = <&te 1234 <&te 1235 }; 1236 1237 thermal-zones { 1238 /* 1239 * NCT72 has two sensors: 1240 * 1241 * 0: internal that moni 1242 * 1: external that is c 1243 * 1244 * Ideally we should use user 1245 * but it's a much more compl 1246 * zone is a simpler solution 1247 * from getting too hot from 1248 * The CPU zone is intended t 1249 */ 1250 1251 skin-thermal { 1252 polling-delay-passive 1253 polling-delay = <5000 1254 1255 thermal-sensors = <&n 1256 1257 trips { 1258 trip0: skin-a 1259 /* th 1260 tempe 1261 hyste 1262 type 1263 }; 1264 1265 trip1: skin-c 1266 /* sh 1267 tempe 1268 hyste 1269 type 1270 }; 1271 }; 1272 1273 cooling-maps { 1274 map0 { 1275 trip 1276 cooli 1277 1278 1279 1280 1281 1282 }; 1283 }; 1284 }; 1285 1286 cpu-thermal { 1287 polling-delay-passive 1288 polling-delay = <5000 1289 1290 thermal-sensors = <&n 1291 1292 trips { 1293 trip2: cpu-al 1294 /* th 1295 tempe 1296 hyste 1297 type 1298 }; 1299 1300 trip3: cpu-cr 1301 /* sh 1302 tempe 1303 hyste 1304 type 1305 }; 1306 }; 1307 1308 cooling-maps { 1309 map1 { 1310 trip 1311 cooli 1312 1313 1314 1315 1316 1317 }; 1318 }; 1319 }; 1320 }; 1321 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.