1// SPDX-License-Identifier: GPL-2.0 2/dts-v1/; 3 4#include <dt-bindings/input/gpio-keys.h> 5#include <dt-bindings/input/input.h> 6#include <dt-bindings/leds/common.h> 7#include <dt-bindings/thermal/thermal.h> 8 9#include "tegra30.dtsi" 10#include "tegra30-cpu-opp.dtsi" 11#include "tegra30-cpu-opp-microvolt.dtsi" 12 13/ { 14 model = "Asus VivoTab RT TF600T"; 15 compatible = "asus,tf600t", "nvidia,tegra30"; 16 chassis-type = "convertible"; 17 18 aliases { 19 mmc0 = &sdmmc4; /* eMMC */ 20 mmc1 = &sdmmc1; /* uSD slot */ 21 mmc2 = &sdmmc3; /* WiFi */ 22 23 rtc0 = &pmic; 24 rtc1 = "/rtc@7000e000"; 25 26 display1 = &hdmi; 27 28 serial1 = &uartc; /* Bluetooth */ 29 serial2 = &uartb; /* GPS */ 30 }; 31 32 /* 33 * The decompressor and also some bootloaders rely on a 34 * pre-existing /chosen node to be available to insert the 35 * command line and merge other ATAGS info. 36 */ 37 chosen {}; 38 39 memory@80000000 { 40 reg = <0x80000000 0x80000000>; 41 }; 42 43 reserved-memory { 44 #address-cells = <1>; 45 #size-cells = <1>; 46 ranges; 47 48 linux,cma@80000000 { 49 compatible = "shared-dma-pool"; 50 alloc-ranges = <0x80000000 0x30000000>; 51 size = <0x10000000>; /* 256MiB */ 52 linux,cma-default; 53 reusable; 54 }; 55 }; 56 57 host1x@50000000 { 58 hdmi: hdmi@54280000 { 59 status = "okay"; 60 61 hdmi-supply = <&hdmi_5v0_sys>; 62 pll-supply = <&vdd_1v8_vio>; 63 vdd-supply = <&vdd_3v3_sys>; 64 65 nvidia,hpd-gpio = <&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>; 66 nvidia,ddc-i2c-bus = <&hdmi_ddc>; 67 }; 68 }; 69 70 vde@6001a000 { 71 assigned-clocks = <&tegra_car TEGRA30_CLK_VDE>; 72 assigned-clock-parents = <&tegra_car TEGRA30_CLK_PLL_P>; 73 assigned-clock-rates = <408000000>; 74 }; 75 76 pinmux@70000868 { 77 pinctrl-names = "default"; 78 pinctrl-0 = <&state_default>; 79 80 state_default: pinmux { 81 /* SDMMC1 pinmux */ 82 sdmmc1-clk { 83 nvidia,pins = "sdmmc1_clk_pz0"; 84 nvidia,function = "sdmmc1"; 85 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 86 nvidia,tristate = <TEGRA_PIN_DISABLE>; 87 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 88 }; 89 sdmmc1-cmd { 90 nvidia,pins = "sdmmc1_dat3_py4", 91 "sdmmc1_dat2_py5", 92 "sdmmc1_dat1_py6", 93 "sdmmc1_dat0_py7", 94 "sdmmc1_cmd_pz1"; 95 nvidia,function = "sdmmc1"; 96 nvidia,pull = <TEGRA_PIN_PULL_UP>; 97 nvidia,tristate = <TEGRA_PIN_DISABLE>; 98 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 99 }; 100 sdmmc1-cd { 101 nvidia,pins = "gmi_iordy_pi5"; 102 nvidia,function = "rsvd1"; 103 nvidia,pull = <TEGRA_PIN_PULL_UP>; 104 nvidia,tristate = <TEGRA_PIN_DISABLE>; 105 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 106 }; 107 sdmmc1-wp { 108 nvidia,pins = "vi_d11_pt3"; 109 nvidia,function = "rsvd2"; 110 nvidia,pull = <TEGRA_PIN_PULL_UP>; 111 nvidia,tristate = <TEGRA_PIN_DISABLE>; 112 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 113 }; 114 115 /* SDMMC2 pinmux */ 116 vi-d1-pd5 { 117 nvidia,pins = "vi_d1_pd5", 118 "vi_d2_pl0", 119 "vi_d3_pl1", 120 "vi_d5_pl3", 121 "vi_d7_pl5"; 122 nvidia,function = "sdmmc2"; 123 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 124 nvidia,tristate = <TEGRA_PIN_DISABLE>; 125 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 126 }; 127 vi-d8-pl6 { 128 nvidia,pins = "vi_d8_pl6", 129 "vi_d9_pl7"; 130 nvidia,function = "sdmmc2"; 131 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 132 nvidia,tristate = <TEGRA_PIN_DISABLE>; 133 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 134 nvidia,lock = <0>; 135 nvidia,io-reset = <0>; 136 }; 137 138 /* SDMMC3 pinmux */ 139 sdmmc3-clk { 140 nvidia,pins = "sdmmc3_clk_pa6"; 141 nvidia,function = "sdmmc3"; 142 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 143 nvidia,tristate = <TEGRA_PIN_DISABLE>; 144 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 145 }; 146 sdmmc3-cmd { 147 nvidia,pins = "sdmmc3_cmd_pa7", 148 "sdmmc3_dat0_pb7", 149 "sdmmc3_dat1_pb6", 150 "sdmmc3_dat2_pb5", 151 "sdmmc3_dat3_pb4", 152 "sdmmc3_dat4_pd1", 153 "sdmmc3_dat5_pd0", 154 "sdmmc3_dat6_pd3", 155 "sdmmc3_dat7_pd4"; 156 nvidia,function = "sdmmc3"; 157 nvidia,pull = <TEGRA_PIN_PULL_UP>; 158 nvidia,tristate = <TEGRA_PIN_DISABLE>; 159 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 160 }; 161 162 /* SDMMC4 pinmux */ 163 sdmmc4-clk { 164 nvidia,pins = "sdmmc4_clk_pcc4"; 165 nvidia,function = "sdmmc4"; 166 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 167 nvidia,tristate = <TEGRA_PIN_DISABLE>; 168 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 169 }; 170 sdmmc4-cmd { 171 nvidia,pins = "sdmmc4_cmd_pt7", 172 "sdmmc4_dat0_paa0", 173 "sdmmc4_dat1_paa1", 174 "sdmmc4_dat2_paa2", 175 "sdmmc4_dat3_paa3", 176 "sdmmc4_dat4_paa4", 177 "sdmmc4_dat5_paa5", 178 "sdmmc4_dat6_paa6", 179 "sdmmc4_dat7_paa7"; 180 nvidia,function = "sdmmc4"; 181 nvidia,pull = <TEGRA_PIN_PULL_UP>; 182 nvidia,tristate = <TEGRA_PIN_DISABLE>; 183 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 184 }; 185 sdmmc4-rst-n { 186 nvidia,pins = "sdmmc4_rst_n_pcc3"; 187 nvidia,function = "rsvd2"; 188 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 189 nvidia,tristate = <TEGRA_PIN_DISABLE>; 190 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 191 }; 192 cam-mclk { 193 nvidia,pins = "cam_mclk_pcc0"; 194 nvidia,function = "vi_alt3"; 195 nvidia,pull = <TEGRA_PIN_PULL_UP>; 196 nvidia,tristate = <TEGRA_PIN_DISABLE>; 197 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 198 }; 199 200 /* I2C pinmux */ 201 gen1-i2c { 202 nvidia,pins = "gen1_i2c_scl_pc4", 203 "gen1_i2c_sda_pc5"; 204 nvidia,function = "i2c1"; 205 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 206 nvidia,tristate = <TEGRA_PIN_DISABLE>; 207 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 208 nvidia,open-drain = <TEGRA_PIN_ENABLE>; 209 nvidia,lock = <TEGRA_PIN_DISABLE>; 210 }; 211 gen2-i2c { 212 nvidia,pins = "gen2_i2c_scl_pt5", 213 "gen2_i2c_sda_pt6"; 214 nvidia,function = "i2c2"; 215 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 216 nvidia,tristate = <TEGRA_PIN_DISABLE>; 217 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 218 nvidia,open-drain = <TEGRA_PIN_ENABLE>; 219 nvidia,lock = <TEGRA_PIN_DISABLE>; 220 }; 221 cam-i2c { 222 nvidia,pins = "cam_i2c_scl_pbb1", 223 "cam_i2c_sda_pbb2"; 224 nvidia,function = "i2c3"; 225 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 226 nvidia,tristate = <TEGRA_PIN_DISABLE>; 227 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 228 nvidia,open-drain = <TEGRA_PIN_ENABLE>; 229 nvidia,lock = <TEGRA_PIN_DISABLE>; 230 }; 231 ddc-i2c { 232 nvidia,pins = "ddc_scl_pv4", 233 "ddc_sda_pv5"; 234 nvidia,function = "i2c4"; 235 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 236 nvidia,tristate = <TEGRA_PIN_DISABLE>; 237 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 238 nvidia,lock = <TEGRA_PIN_DISABLE>; 239 }; 240 pwr-i2c { 241 nvidia,pins = "pwr_i2c_scl_pz6", 242 "pwr_i2c_sda_pz7"; 243 nvidia,function = "i2cpwr"; 244 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 245 nvidia,tristate = <TEGRA_PIN_DISABLE>; 246 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 247 nvidia,open-drain = <TEGRA_PIN_ENABLE>; 248 nvidia,lock = <TEGRA_PIN_DISABLE>; 249 }; 250 hotplug-i2c { 251 nvidia,pins = "pu4"; 252 nvidia,function = "rsvd4"; 253 nvidia,pull = <TEGRA_PIN_PULL_UP>; 254 nvidia,tristate = <TEGRA_PIN_DISABLE>; 255 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 256 }; 257 258 /* HDMI pinmux */ 259 hdmi-cec { 260 nvidia,pins = "hdmi_cec_pee3"; 261 nvidia,function = "cec"; 262 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 263 nvidia,tristate = <TEGRA_PIN_DISABLE>; 264 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 265 nvidia,open-drain = <TEGRA_PIN_ENABLE>; 266 nvidia,lock = <TEGRA_PIN_DISABLE>; 267 }; 268 hdmi-hpd { 269 nvidia,pins = "hdmi_int_pn7"; 270 nvidia,function = "hdmi"; 271 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 272 nvidia,tristate = <TEGRA_PIN_ENABLE>; 273 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 274 }; 275 276 /* UART-A */ 277 ulpi-data0-po1 { 278 nvidia,pins = "ulpi_data0_po1"; 279 nvidia,function = "uarta"; 280 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 281 nvidia,tristate = <TEGRA_PIN_DISABLE>; 282 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 283 }; 284 ulpi-data1-po2 { 285 nvidia,pins = "ulpi_data1_po2"; 286 nvidia,function = "uarta"; 287 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 288 nvidia,tristate = <TEGRA_PIN_ENABLE>; 289 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 290 }; 291 ulpi-data5-po6 { 292 nvidia,pins = "ulpi_data5_po6"; 293 nvidia,function = "uarta"; 294 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 295 nvidia,tristate = <TEGRA_PIN_ENABLE>; 296 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 297 }; 298 ulpi-data7-po0 { 299 nvidia,pins = "ulpi_data7_po0", 300 "ulpi_data2_po3", 301 "ulpi_data3_po4", 302 "ulpi_data4_po5", 303 "ulpi_data6_po7"; 304 nvidia,function = "uarta"; 305 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 306 nvidia,tristate = <TEGRA_PIN_DISABLE>; 307 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 308 }; 309 310 /* UART-B */ 311 uartb-txd-rts { 312 nvidia,pins = "uart2_txd_pc2", 313 "uart2_rts_n_pj6"; 314 nvidia,function = "uartb"; 315 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 316 nvidia,tristate = <TEGRA_PIN_DISABLE>; 317 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 318 }; 319 uartb-rxd-cts { 320 nvidia,pins = "uart2_rxd_pc3", 321 "uart2_cts_n_pj5"; 322 nvidia,function = "uartb"; 323 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 324 nvidia,tristate = <TEGRA_PIN_DISABLE>; 325 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 326 }; 327 328 /* UART-C */ 329 uartc-rxd-cts { 330 nvidia,pins = "uart3_cts_n_pa1", 331 "uart3_rxd_pw7"; 332 nvidia,function = "uartc"; 333 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 334 nvidia,tristate = <TEGRA_PIN_DISABLE>; 335 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 336 }; 337 uartc-txd-rts { 338 nvidia,pins = "uart3_rts_n_pc0", 339 "uart3_txd_pw6"; 340 nvidia,function = "uartc"; 341 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 342 nvidia,tristate = <TEGRA_PIN_DISABLE>; 343 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 344 }; 345 346 /* UART-D */ 347 ulpi-nxt-py2 { 348 nvidia,pins = "ulpi_nxt_py2"; 349 nvidia,function = "uartd"; 350 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 351 nvidia,tristate = <TEGRA_PIN_ENABLE>; 352 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 353 }; 354 ulpi-clk-py0 { 355 nvidia,pins = "ulpi_clk_py0", 356 "ulpi_dir_py1", 357 "ulpi_stp_py3"; 358 nvidia,function = "uartd"; 359 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 360 nvidia,tristate = <TEGRA_PIN_ENABLE>; 361 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 362 }; 363 364 /* I2S pinmux */ 365 dap-i2s0 { 366 nvidia,pins = "dap1_fs_pn0", 367 "dap1_din_pn1", 368 "dap1_dout_pn2", 369 "dap1_sclk_pn3"; 370 nvidia,function = "i2s0"; 371 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 372 nvidia,tristate = <TEGRA_PIN_ENABLE>; 373 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 374 }; 375 dap-i2s1 { 376 nvidia,pins = "dap2_fs_pa2", 377 "dap2_sclk_pa3", 378 "dap2_din_pa4", 379 "dap2_dout_pa5"; 380 nvidia,function = "i2s1"; 381 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 382 nvidia,tristate = <TEGRA_PIN_DISABLE>; 383 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 384 }; 385 dap3-fs { 386 nvidia,pins = "dap3_fs_pp0"; 387 nvidia,function = "i2s2"; 388 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 389 nvidia,tristate = <TEGRA_PIN_ENABLE>; 390 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 391 }; 392 dap3-din { 393 nvidia,pins = "dap3_din_pp1"; 394 nvidia,function = "i2s2"; 395 nvidia,pull = <TEGRA_PIN_PULL_UP>; 396 nvidia,tristate = <TEGRA_PIN_DISABLE>; 397 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 398 }; 399 dap3-dout { 400 nvidia,pins = "dap3_dout_pp2", 401 "dap3_sclk_pp3"; 402 nvidia,function = "i2s2"; 403 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 404 nvidia,tristate = <TEGRA_PIN_DISABLE>; 405 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 406 }; 407 dap-i2s3 { 408 nvidia,pins = "dap4_fs_pp4", 409 "dap4_din_pp5", 410 "dap4_dout_pp6", 411 "dap4_sclk_pp7"; 412 nvidia,function = "i2s3"; 413 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 414 nvidia,tristate = <TEGRA_PIN_DISABLE>; 415 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 416 }; 417 i2s4 { 418 nvidia,pins = "pbb7"; 419 nvidia,function = "i2s4"; 420 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 421 nvidia,tristate = <TEGRA_PIN_DISABLE>; 422 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 423 }; 424 425 /* Sensors pinmux */ 426 nct-irq { 427 nvidia,pins = "pcc2"; 428 nvidia,function = "i2s4"; 429 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 430 nvidia,tristate = <TEGRA_PIN_DISABLE>; 431 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 432 }; 433 hall { 434 nvidia,pins = "pbb6"; 435 nvidia,function = "vgp6"; 436 nvidia,pull = <TEGRA_PIN_PULL_UP>; 437 nvidia,tristate = <TEGRA_PIN_DISABLE>; 438 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 439 }; 440 441 /* Asus EC pinmux */ 442 ec-irqs { 443 nvidia,pins = "kb_row10_ps2", 444 "kb_row15_ps7"; 445 nvidia,function = "kbc"; 446 nvidia,pull = <TEGRA_PIN_PULL_UP>; 447 nvidia,tristate = <TEGRA_PIN_DISABLE>; 448 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 449 }; 450 ec-reqs { 451 nvidia,pins = "kb_col1_pq1"; 452 nvidia,function = "kbc"; 453 nvidia,pull = <TEGRA_PIN_PULL_UP>; 454 nvidia,tristate = <TEGRA_PIN_DISABLE>; 455 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 456 }; 457 458 /* Memory type bootstrap */ 459 mem-boostraps { 460 nvidia,pins = "gmi_ad4_pg4", 461 "gmi_ad5_pg5"; 462 nvidia,function = "nand"; 463 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 464 nvidia,tristate = <TEGRA_PIN_DISABLE>; 465 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 466 }; 467 468 /* PCI-e pinmux */ 469 pex-l2-rst-n { 470 nvidia,pins = "pex_l2_rst_n_pcc6", 471 "pex_l0_rst_n_pdd1", 472 "pex_l1_rst_n_pdd5"; 473 nvidia,function = "pcie"; 474 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 475 nvidia,tristate = <TEGRA_PIN_DISABLE>; 476 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 477 }; 478 pex-l2-clkreq-n { 479 nvidia,pins = "pex_l2_clkreq_n_pcc7", 480 "pex_l0_prsnt_n_pdd0", 481 "pex_l0_clkreq_n_pdd2", 482 "pex_wake_n_pdd3", 483 "pex_l1_prsnt_n_pdd4", 484 "pex_l1_clkreq_n_pdd6", 485 "pex_l2_prsnt_n_pdd7"; 486 nvidia,function = "pcie"; 487 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 488 nvidia,tristate = <TEGRA_PIN_DISABLE>; 489 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 490 }; 491 492 /* Display A pinmux */ 493 lcd-pwr0-pb2 { 494 nvidia,pins = "lcd_pwr0_pb2", 495 "lcd_pclk_pb3", 496 "lcd_pwr1_pc1", 497 "lcd_d0_pe0", 498 "lcd_d1_pe1", 499 "lcd_d2_pe2", 500 "lcd_d3_pe3", 501 "lcd_d4_pe4", 502 "lcd_d5_pe5", 503 "lcd_d6_pe6", 504 "lcd_d7_pe7", 505 "lcd_d8_pf0", 506 "lcd_d9_pf1", 507 "lcd_d10_pf2", 508 "lcd_d11_pf3", 509 "lcd_d12_pf4", 510 "lcd_d13_pf5", 511 "lcd_d14_pf6", 512 "lcd_d15_pf7", 513 "lcd_de_pj1", 514 "lcd_hsync_pj3", 515 "lcd_vsync_pj4", 516 "lcd_d16_pm0", 517 "lcd_d17_pm1", 518 "lcd_d18_pm2", 519 "lcd_d19_pm3", 520 "lcd_d20_pm4", 521 "lcd_d21_pm5", 522 "lcd_d22_pm6", 523 "lcd_d23_pm7", 524 "lcd_dc0_pn6", 525 "lcd_sdin_pz2"; 526 nvidia,function = "displaya"; 527 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 528 nvidia,tristate = <TEGRA_PIN_DISABLE>; 529 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 530 }; 531 lcd-cs0-n-pn4 { 532 nvidia,pins = "lcd_sdout_pn5", 533 "lcd_wr_n_pz3", 534 "lcd_pwr2_pc6", 535 "lcd_dc1_pd2"; 536 nvidia,function = "displaya"; 537 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 538 nvidia,tristate = <TEGRA_PIN_ENABLE>; 539 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 540 }; 541 542 blink { 543 nvidia,pins = "clk_32k_out_pa0"; 544 nvidia,function = "blink"; 545 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 546 nvidia,tristate = <TEGRA_PIN_DISABLE>; 547 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 548 }; 549 550 /* KBC keys */ 551 kb-col0 { 552 nvidia,pins = "kb_col0_pq0", 553 "kb_row1_pr1", 554 "kb_row3_pr3", 555 "kb_row7_pr7", 556 "kb_row8_ps0"; 557 nvidia,function = "kbc"; 558 nvidia,pull = <TEGRA_PIN_PULL_UP>; 559 nvidia,tristate = <TEGRA_PIN_DISABLE>; 560 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 561 }; 562 kb-col5 { 563 nvidia,pins = "kb_col5_pq5", 564 "kb_col7_pq7", 565 "kb_row2_pr2", 566 "kb_row4_pr4", 567 "kb_row5_pr5", 568 "kb_row13_ps5"; 569 nvidia,function = "kbc"; 570 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 571 nvidia,tristate = <TEGRA_PIN_ENABLE>; 572 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 573 }; 574 575 gmi-cs0-n-pj0 { 576 nvidia,pins = "gmi_wp_n_pc7", 577 "gmi_wait_pi7", 578 "gmi_cs0_n_pj0", 579 "gmi_cs1_n_pj2", 580 "gmi_cs2_n_pk3", 581 "gmi_cs3_n_pk4"; 582 nvidia,function = "rsvd1"; 583 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 584 nvidia,tristate = <TEGRA_PIN_ENABLE>; 585 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 586 }; 587 588 vi-pclk-pt0 { 589 nvidia,pins = "vi_pclk_pt0"; 590 nvidia,function = "rsvd1"; 591 nvidia,pull = <TEGRA_PIN_PULL_UP>; 592 nvidia,tristate = <TEGRA_PIN_ENABLE>; 593 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 594 nvidia,lock = <0>; 595 nvidia,io-reset = <0>; 596 }; 597 598 /* GPIO keys pinmux */ 599 power-key { 600 nvidia,pins = "pv0"; 601 nvidia,function = "rsvd1"; 602 nvidia,pull = <TEGRA_PIN_PULL_UP>; 603 nvidia,tristate = <TEGRA_PIN_ENABLE>; 604 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 605 }; 606 vol-keys { 607 nvidia,pins = "kb_col3_pq3", 608 "kb_col4_pq4"; 609 nvidia,function = "rsvd4"; 610 nvidia,pull = <TEGRA_PIN_PULL_UP>; 611 nvidia,tristate = <TEGRA_PIN_ENABLE>; 612 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 613 }; 614 615 /* Bluetooth */ 616 bt-shutdown { 617 nvidia,pins = "pu0"; 618 nvidia,function = "rsvd4"; 619 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 620 nvidia,tristate = <TEGRA_PIN_DISABLE>; 621 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 622 }; 623 bt-dev-wake { 624 nvidia,pins = "pu1"; 625 nvidia,function = "rsvd1"; 626 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 627 nvidia,tristate = <TEGRA_PIN_DISABLE>; 628 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 629 }; 630 bt-host-wake { 631 nvidia,pins = "pu6"; 632 nvidia,function = "rsvd4"; 633 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 634 nvidia,tristate = <TEGRA_PIN_DISABLE>; 635 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 636 }; 637 638 pu2 { 639 nvidia,pins = "pu2"; 640 nvidia,function = "rsvd1"; 641 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 642 nvidia,tristate = <TEGRA_PIN_DISABLE>; 643 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 644 }; 645 pu3 { 646 nvidia,pins = "pu3"; 647 nvidia,function = "rsvd4"; 648 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 649 nvidia,tristate = <TEGRA_PIN_DISABLE>; 650 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 651 }; 652 pcc1 { 653 nvidia,pins = "pcc1"; 654 nvidia,function = "rsvd2"; 655 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 656 nvidia,tristate = <TEGRA_PIN_ENABLE>; 657 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 658 }; 659 pv2 { 660 nvidia,pins = "pv2"; 661 nvidia,function = "rsvd2"; 662 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 663 nvidia,tristate = <TEGRA_PIN_DISABLE>; 664 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 665 }; 666 pv3 { 667 nvidia,pins = "pv3"; 668 nvidia,function = "rsvd2"; 669 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 670 nvidia,tristate = <TEGRA_PIN_ENABLE>; 671 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 672 }; 673 674 vi-vsync-pd6 { 675 nvidia,pins = "vi_vsync_pd6", 676 "vi_hsync_pd7"; 677 nvidia,function = "rsvd2"; 678 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 679 nvidia,tristate = <TEGRA_PIN_DISABLE>; 680 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 681 nvidia,lock = <0>; 682 nvidia,io-reset = <0>; 683 }; 684 vi-d10-pt2 { 685 nvidia,pins = "vi_d10_pt2", 686 "vi_d0_pt4", 687 "pbb0"; 688 nvidia,function = "rsvd2"; 689 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 690 nvidia,tristate = <TEGRA_PIN_DISABLE>; 691 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 692 }; 693 kb-row0-pr0 { 694 nvidia,pins = "kb_row0_pr0"; 695 nvidia,function = "rsvd4"; 696 nvidia,pull = <TEGRA_PIN_PULL_UP>; 697 nvidia,tristate = <TEGRA_PIN_DISABLE>; 698 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 699 }; 700 gmi-ad0-pg0 { 701 nvidia,pins = "gmi_ad0_pg0", 702 "gmi_ad1_pg1", 703 "gmi_ad2_pg2", 704 "gmi_ad3_pg3", 705 "gmi_ad6_pg6", 706 "gmi_ad7_pg7", 707 "gmi_wr_n_pi0", 708 "gmi_oe_n_pi1", 709 "gmi_dqs_pi2", 710 "gmi_adv_n_pk0", 711 "gmi_clk_pk1"; 712 nvidia,function = "nand"; 713 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 714 nvidia,tristate = <TEGRA_PIN_ENABLE>; 715 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 716 }; 717 gmi-ad13-ph5 { 718 nvidia,pins = "gmi_ad13_ph5"; 719 nvidia,function = "nand"; 720 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 721 nvidia,tristate = <TEGRA_PIN_DISABLE>; 722 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 723 }; 724 gmi-ad10-ph2 { 725 nvidia,pins = "gmi_ad10_ph2", 726 "gmi_ad11_ph3", 727 "gmi_ad14_ph6"; 728 nvidia,function = "nand"; 729 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 730 nvidia,tristate = <TEGRA_PIN_DISABLE>; 731 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 732 }; 733 gmi-ad12-ph4 { 734 nvidia,pins = "gmi_ad12_ph4", 735 "gmi_rst_n_pi4", 736 "gmi_cs7_n_pi6"; 737 nvidia,function = "nand"; 738 nvidia,pull = <TEGRA_PIN_PULL_UP>; 739 nvidia,tristate = <TEGRA_PIN_DISABLE>; 740 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 741 }; 742 743 /* Vibrator control */ 744 vibrator { 745 nvidia,pins = "gmi_ad11_ph3"; 746 nvidia,function = "nand"; 747 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 748 nvidia,tristate = <TEGRA_PIN_DISABLE>; 749 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 750 }; 751 752 /* PWM pinmux */ 753 pwm-0 { 754 nvidia,pins = "gmi_ad8_ph0"; 755 nvidia,function = "pwm0"; 756 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 757 nvidia,tristate = <TEGRA_PIN_DISABLE>; 758 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 759 }; 760 pwm-2 { 761 nvidia,pins = "pu5"; 762 nvidia,function = "pwm2"; 763 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 764 nvidia,tristate = <TEGRA_PIN_DISABLE>; 765 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 766 }; 767 768 gmi-cs-n { 769 nvidia,pins = "gmi_cs4_n_pk2", 770 "gmi_cs6_n_pi3"; 771 nvidia,function = "gmi"; 772 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 773 nvidia,tristate = <TEGRA_PIN_ENABLE>; 774 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 775 }; 776 777 /* Spdif pinmux */ 778 spdif-out { 779 nvidia,pins = "spdif_out_pk5"; 780 nvidia,function = "spdif"; 781 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 782 nvidia,tristate = <TEGRA_PIN_ENABLE>; 783 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 784 }; 785 spdif-in { 786 nvidia,pins = "spdif_in_pk6"; 787 nvidia,function = "spdif"; 788 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 789 nvidia,tristate = <TEGRA_PIN_ENABLE>; 790 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 791 }; 792 793 vi-d4-pl2 { 794 nvidia,pins = "vi_d4_pl2"; 795 nvidia,function = "vi"; 796 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 797 nvidia,tristate = <TEGRA_PIN_DISABLE>; 798 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 799 }; 800 vi-d6-pl4 { 801 nvidia,pins = "vi_d6_pl4"; 802 nvidia,function = "vi"; 803 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 804 nvidia,tristate = <TEGRA_PIN_DISABLE>; 805 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 806 nvidia,lock = <0>; 807 nvidia,io-reset = <0>; 808 }; 809 vi-mclk-pt1 { 810 nvidia,pins = "vi_mclk_pt1"; 811 nvidia,function = "vi"; 812 nvidia,pull = <TEGRA_PIN_PULL_UP>; 813 nvidia,tristate = <TEGRA_PIN_DISABLE>; 814 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 815 }; 816 817 jtag { 818 nvidia,pins = "jtag_rtck_pu7"; 819 nvidia,function = "rtck"; 820 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 821 nvidia,tristate = <TEGRA_PIN_DISABLE>; 822 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 823 }; 824 825 crt-sync { 826 nvidia,pins = "crt_hsync_pv6", 827 "crt_vsync_pv7"; 828 nvidia,function = "crt"; 829 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 830 nvidia,tristate = <TEGRA_PIN_ENABLE>; 831 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 832 }; 833 834 clk1-out { 835 nvidia,pins = "clk1_out_pw4"; 836 nvidia,function = "extperiph1"; 837 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 838 nvidia,tristate = <TEGRA_PIN_DISABLE>; 839 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 840 }; 841 clk2-out { 842 nvidia,pins = "clk2_out_pw5"; 843 nvidia,function = "extperiph2"; 844 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 845 nvidia,tristate = <TEGRA_PIN_DISABLE>; 846 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 847 }; 848 clk3-out { 849 nvidia,pins = "clk3_out_pee0"; 850 nvidia,function = "extperiph3"; 851 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 852 nvidia,tristate = <TEGRA_PIN_ENABLE>; 853 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 854 }; 855 sys-clk-req { 856 nvidia,pins = "sys_clk_req_pz5"; 857 nvidia,function = "sysclk"; 858 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 859 nvidia,tristate = <TEGRA_PIN_DISABLE>; 860 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 861 }; 862 863 pbb3 { 864 nvidia,pins = "pbb3"; 865 nvidia,function = "vgp3"; 866 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 867 nvidia,tristate = <TEGRA_PIN_DISABLE>; 868 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 869 }; 870 pbb4 { 871 nvidia,pins = "pbb4"; 872 nvidia,function = "vgp4"; 873 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 874 nvidia,tristate = <TEGRA_PIN_DISABLE>; 875 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 876 }; 877 pbb5 { 878 nvidia,pins = "pbb5"; 879 nvidia,function = "vgp5"; 880 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 881 nvidia,tristate = <TEGRA_PIN_DISABLE>; 882 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 883 }; 884 885 clk2-req-pcc5 { 886 nvidia,pins = "clk2_req_pcc5", 887 "clk1_req_pee2"; 888 nvidia,function = "dap"; 889 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 890 nvidia,tristate = <TEGRA_PIN_DISABLE>; 891 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 892 }; 893 clk3-req-pee1 { 894 nvidia,pins = "clk3_req_pee1"; 895 nvidia,function = "dev3"; 896 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 897 nvidia,tristate = <TEGRA_PIN_ENABLE>; 898 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 899 }; 900 901 owr { 902 nvidia,pins = "owr"; 903 nvidia,function = "owr"; 904 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 905 nvidia,tristate = <TEGRA_PIN_DISABLE>; 906 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 907 }; 908 909 /* GPIO power/drive control */ 910 drive-dap1 { 911 nvidia,pins = "drive_dap1", 912 "drive_dap2", 913 "drive_dbg", 914 "drive_at5", 915 "drive_gme", 916 "drive_ddc", 917 "drive_ao1", 918 "drive_uart3"; 919 nvidia,high-speed-mode = <TEGRA_PIN_DISABLE>; 920 nvidia,schmitt = <TEGRA_PIN_ENABLE>; 921 nvidia,low-power-mode = <TEGRA_PIN_LP_DRIVE_DIV_1>; 922 nvidia,pull-down-strength = <31>; 923 nvidia,pull-up-strength = <31>; 924 nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>; 925 nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FASTEST>; 926 }; 927 drive-sdio1 { 928 nvidia,pins = "drive_sdio1", 929 "drive_sdio3"; 930 nvidia,high-speed-mode = <TEGRA_PIN_DISABLE>; 931 nvidia,schmitt = <TEGRA_PIN_DISABLE>; 932 nvidia,pull-down-strength = <46>; 933 nvidia,pull-up-strength = <42>; 934 nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FAST>; 935 nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FAST>; 936 }; 937 drive-sdmmc4 { 938 nvidia,pins = "drive_gma", 939 "drive_gmb", 940 "drive_gmc", 941 "drive_gmd"; 942 nvidia,pull-down-strength = <9>; 943 nvidia,pull-up-strength = <9>; 944 nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_SLOWEST>; 945 nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_SLOWEST>; 946 }; 947 }; 948 }; 949 950 uartb: serial@70006040 { 951 compatible = "nvidia,tegra30-hsuart"; 952 reset-names = "serial"; 953 /delete-property/ reg-shift; 954 status = "okay"; 955 956 /* Broadcom GPS BCM47511 */ 957 }; 958 959 uartc: serial@70006200 { 960 compatible = "nvidia,tegra30-hsuart"; 961 reset-names = "serial"; 962 /delete-property/ reg-shift; 963 status = "okay"; 964 965 nvidia,adjust-baud-rates = <0 9600 100>, 966 <9600 115200 200>, 967 <1000000 4000000 136>; 968 969 /* Azurewave AW-NH665 BCM4330B1 */ 970 bluetooth { 971 compatible = "brcm,bcm4330-bt"; 972 max-speed = <4000000>; 973 974 clocks = <&tegra_pmc TEGRA_PMC_CLK_BLINK>; 975 clock-names = "txco"; 976 977 interrupt-parent = <&gpio>; 978 interrupts = <TEGRA_GPIO(U, 6) IRQ_TYPE_EDGE_RISING>; 979 interrupt-names = "host-wakeup"; 980 981 device-wakeup-gpios = <&gpio TEGRA_GPIO(U, 1) GPIO_ACTIVE_HIGH>; 982 shutdown-gpios = <&gpio TEGRA_GPIO(U, 0) GPIO_ACTIVE_HIGH>; 983 984 vbat-supply = <&vdd_3v3_com>; 985 vddio-supply = <&vdd_1v8_vio>; 986 }; 987 }; 988 989 pwm@7000a000 { 990 status = "okay"; 991 }; 992 993 gen1_i2c: i2c@7000c000 { 994 status = "okay"; 995 clock-frequency = <100000>; 996 997 /* Nuvoton NPCE698LA0BX embedded controller */ 998 }; 999 1000 i2c@7000c400 { 1001 status = "okay"; 1002 clock-frequency = <400000>; 1003 1004 /* Atmel Maxtouch MXT1664 HID over I2C */ 1005 touchscreen@4b { 1006 compatible = "hid-over-i2c"; 1007 reg = <0x4b>; 1008 1009 hid-descr-addr = <0x0000>; 1010 1011 interrupt-parent = <&gpio>; 1012 interrupts = <TEGRA_GPIO(H, 4) IRQ_TYPE_LEVEL_LOW>; 1013 1014 vdd-supply = <&vdd_3v3_sys>; 1015 vddl-supply = <&vdd_1v8_vio>; 1016 }; 1017 }; 1018 1019 i2c@7000c500 { 1020 status = "okay"; 1021 clock-frequency = <100000>; 1022 1023 /* TI TPS61050/61052 Boost Converter */ 1024 flash-led@33 { 1025 compatible = "ti,tps61052"; 1026 reg = <0x33>; 1027 1028 led { 1029 color = <LED_COLOR_ID_WHITE>; 1030 }; 1031 }; 1032 1033 imu@69 { 1034 compatible = "invensense,mpu6050"; 1035 reg = <0x69>; 1036 1037 interrupt-parent = <&gpio>; 1038 interrupts = <TEGRA_GPIO(X, 1) IRQ_TYPE_EDGE_RISING>; 1039 1040 vdd-supply = <&vdd_3v3_sys>; 1041 vddio-supply = <&vdd_1v8_vio>; 1042 1043 mount-matrix = "0", "-1", "0", 1044 "-1", "0", "0", 1045 "0", "0", "-1"; 1046 1047 /* External I2C interface */ 1048 i2c-gate { 1049 #address-cells = <1>; 1050 #size-cells = <0>; 1051 1052 magnetometer@d { 1053 compatible = "asahi-kasei,ak8975"; 1054 reg = <0x0d>; 1055 1056 interrupt-parent = <&gpio>; 1057 interrupts = <TEGRA_GPIO(D, 5) IRQ_TYPE_EDGE_RISING>; 1058 1059 vdd-supply = <&vdd_3v3_sys>; 1060 vid-supply = <&vdd_1v8_vio>; 1061 1062 mount-matrix = "0", "-1", "0", 1063 "-1", "0", "0", 1064 "0", "0", "-1"; 1065 }; 1066 }; 1067 }; 1068 }; 1069 1070 hdmi_ddc: i2c@7000c700 { 1071 status = "okay"; 1072 clock-frequency = <93750>; 1073 }; 1074 1075 i2c@7000d000 { 1076 status = "okay"; 1077 clock-frequency = <400000>; 1078 1079 rt5640: audio-codec@1c { 1080 compatible = "realtek,rt5640"; 1081 reg = <0x1c>; 1082 1083 interrupt-parent = <&gpio>; 1084 interrupts = <TEGRA_GPIO(W, 3) IRQ_TYPE_LEVEL_HIGH>; 1085 1086 clocks = <&tegra_pmc TEGRA_PMC_CLK_OUT_1>; 1087 clock-names = "mclk"; 1088 }; 1089 1090 /* Texas Instruments TPS659110 PMIC */ 1091 pmic: pmic@2d { 1092 compatible = "ti,tps65911"; 1093 reg = <0x2d>; 1094 1095 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; 1096 #interrupt-cells = <2>; 1097 interrupt-controller; 1098 1099 ti,en-gpio-sleep = <0 0 1 0 0 0 0 0 0>; 1100 ti,system-power-controller; 1101 ti,sleep-keep-ck32k; 1102 ti,sleep-enable; 1103 1104 #gpio-cells = <2>; 1105 gpio-controller; 1106 1107 vcc1-supply = <&vdd_5v0_bat>; 1108 vcc2-supply = <&vdd_5v0_bat>; 1109 vcc3-supply = <&vdd_1v8_vio>; 1110 vcc4-supply = <&vdd_5v0_sys>; 1111 vcc5-supply = <&vdd_5v0_bat>; 1112 vcc6-supply = <&vdd_3v3_sys>; 1113 vcc7-supply = <&vdd_5v0_bat>; 1114 vccio-supply = <&vdd_5v0_bat>; 1115 1116 pmic-sleep-hog { 1117 gpio-hog; 1118 gpios = <2 GPIO_ACTIVE_HIGH>; 1119 output-high; 1120 }; 1121 1122 regulators { 1123 vdd_lcd: vdd1 { 1124 regulator-name = "vddio_ddr_1v2"; 1125 regulator-min-microvolt = <1200000>; 1126 regulator-max-microvolt = <1200000>; 1127 regulator-always-on; 1128 regulator-boot-on; 1129 ti,regulator-ext-sleep-control = <8>; 1130 }; 1131 1132 vddio_ddr: vdd2 { 1133 regulator-name = "vddio_ddr"; 1134 regulator-min-microvolt = <1200000>; 1135 regulator-max-microvolt = <1200000>; 1136 regulator-always-on; 1137 regulator-boot-on; 1138 }; 1139 1140 vdd_cpu: vddctrl { 1141 regulator-name = "vdd_cpu,vdd_sys"; 1142 regulator-min-microvolt = <600000>; 1143 regulator-max-microvolt = <1400000>; 1144 regulator-coupled-with = <&vdd_core>; 1145 regulator-coupled-max-spread = <300000>; 1146 regulator-max-step-microvolt = <100000>; 1147 regulator-always-on; 1148 regulator-boot-on; 1149 ti,regulator-ext-sleep-control = <1>; 1150 1151 nvidia,tegra-cpu-regulator; 1152 }; 1153 1154 vdd_1v8_vio: vio { 1155 regulator-name = "vdd_1v8_gen"; 1156 regulator-min-microvolt = <1800000>; 1157 regulator-max-microvolt = <1800000>; 1158 regulator-always-on; 1159 regulator-boot-on; 1160 }; 1161 1162 /* eMMC VDD */ 1163 vcore_emmc: ldo1 { 1164 regulator-name = "vdd_emmc_core"; 1165 regulator-min-microvolt = <1000000>; 1166 regulator-max-microvolt = <3300000>; 1167 regulator-always-on; 1168 }; 1169 1170 /* ldo2 and ldo3 are not used by TF600T */ 1171 1172 ldo4 { 1173 regulator-name = "vdd_rtc"; 1174 regulator-min-microvolt = <1200000>; 1175 regulator-max-microvolt = <1200000>; 1176 regulator-always-on; 1177 }; 1178 1179 /* uSD slot VDDIO */ 1180 vddio_usd: ldo5 { 1181 regulator-name = "vddio_sdmmc"; 1182 regulator-min-microvolt = <1800000>; 1183 regulator-max-microvolt = <3300000>; 1184 regulator-always-on; 1185 }; 1186 1187 avdd_dsi_csi: ldo6 { 1188 regulator-name = "avdd_dsi_csi"; 1189 regulator-min-microvolt = <1200000>; 1190 regulator-max-microvolt = <1200000>; 1191 }; 1192 1193 ldo7 { 1194 regulator-name = "vdd_pllm,x,u,a_p_c_s"; 1195 regulator-min-microvolt = <1200000>; 1196 regulator-max-microvolt = <1200000>; 1197 regulator-always-on; 1198 regulator-boot-on; 1199 ti,regulator-ext-sleep-control = <8>; 1200 }; 1201 1202 ldo8 { 1203 regulator-name = "vdd_ddr_hs"; 1204 regulator-min-microvolt = <1000000>; 1205 regulator-max-microvolt = <1000000>; 1206 regulator-always-on; 1207 ti,regulator-ext-sleep-control = <8>; 1208 }; 1209 }; 1210 }; 1211 1212 /* Capella CM3218 ambient light sensor */ 1213 light-sensor@48 { 1214 compatible = "capella,cm32181"; 1215 reg = <0x48>; 1216 1217 interrupt-parent = <&gpio>; 1218 interrupts = <TEGRA_GPIO(L, 0) IRQ_TYPE_EDGE_RISING>; 1219 1220 vdd-supply = <&vdd_3v3_als>; 1221 }; 1222 1223 nct72: temperature-sensor@4c { 1224 compatible = "onnn,nct1008"; 1225 reg = <0x4c>; 1226 1227 interrupt-parent = <&gpio>; 1228 interrupts = <TEGRA_GPIO(CC, 2) IRQ_TYPE_EDGE_FALLING>; 1229 1230 vcc-supply = <&vdd_3v3_sys>; 1231 #thermal-sensor-cells = <1>; 1232 }; 1233 1234 vdd_core: core-regulator@60 { 1235 compatible = "ti,tps62361"; 1236 reg = <0x60>; 1237 1238 regulator-name = "tps62361-vout"; 1239 regulator-min-microvolt = <500000>; 1240 regulator-max-microvolt = <1770000>; 1241 regulator-coupled-with = <&vdd_cpu>; 1242 regulator-coupled-max-spread = <300000>; 1243 regulator-max-step-microvolt = <100000>; 1244 regulator-boot-on; 1245 regulator-always-on; 1246 ti,enable-vout-discharge; 1247 ti,vsel0-state-high; 1248 ti,vsel1-state-high; 1249 1250 nvidia,tegra-core-regulator; 1251 }; 1252 }; 1253 1254 pmc@7000e400 { 1255 status = "okay"; 1256 nvidia,invert-interrupt; 1257 nvidia,suspend-mode = <2>; 1258 nvidia,cpu-pwr-good-time = <2000>; 1259 nvidia,cpu-pwr-off-time = <200>; 1260 nvidia,core-pwr-good-time = <3845 3845>; 1261 nvidia,core-pwr-off-time = <0>; 1262 nvidia,core-power-req-active-high; 1263 nvidia,sys-clock-req-active-high; 1264 core-supply = <&vdd_core>; 1265 1266 i2c-thermtrip { 1267 nvidia,i2c-controller-id = <4>; 1268 nvidia,bus-addr = <0x2d>; 1269 nvidia,reg-addr = <0x3f>; 1270 nvidia,reg-data = <0x81>; 1271 }; 1272 }; 1273 1274 spi@7000da00 { 1275 status = "okay"; 1276 spi-max-frequency = <25000000>; 1277 1278 flash@1 { 1279 compatible = "winbond,w25q32", "jedec,spi-nor"; 1280 reg = <1>; 1281 1282 spi-max-frequency = <20000000>; 1283 vcc-supply = <&vdd_3v3_sys>; 1284 }; 1285 }; 1286 1287 memory-controller@7000f000 { 1288 emc-timings-0 { 1289 /* Elpida 2GB 750 MHZ */ 1290 nvidia,ram-code = <0>; 1291 1292 timing-25500000 { 1293 clock-frequency = <25500000>; 1294 1295 nvidia,emem-configuration = < 0x00020001 0xc0000010 1296 0x00000001 0x00000001 0x00000002 0x00000000 1297 0x00000001 0x00000001 0x00000003 0x00000008 1298 0x00000002 0x00000001 0x00000002 0x00000006 1299 0x06020102 0x000a0502 0x75e30303 0x001f0000 >; 1300 }; 1301 1302 timing-51000000 { 1303 clock-frequency = <51000000>; 1304 1305 nvidia,emem-configuration = < 0x00010001 0xc0000010 1306 0x00000001 0x00000001 0x00000002 0x00000000 1307 0x00000001 0x00000001 0x00000003 0x00000008 1308 0x00000002 0x00000001 0x00000002 0x00000006 1309 0x06020102 0x000a0502 0x74e30303 0x001f0000 >; 1310 }; 1311 1312 timing-102000000 { 1313 clock-frequency = <102000000>; 1314 1315 nvidia,emem-configuration = < 0x00000001 0xc0000018 1316 0x00000001 0x00000001 0x00000003 0x00000000 1317 0x00000001 0x00000001 0x00000003 0x00000008 1318 0x00000002 0x00000001 0x00000002 0x00000006 1319 0x06020102 0x000a0503 0x74430504 0x001f0000 >; 1320 }; 1321 1322 timing-204000000 { 1323 clock-frequency = <204000000>; 1324 1325 nvidia,emem-configuration = < 0x00000003 0xc0000025 1326 0x00000001 0x00000001 0x00000005 0x00000002 1327 0x00000003 0x00000001 0x00000003 0x00000008 1328 0x00000002 0x00000001 0x00000002 0x00000006 1329 0x06020102 0x000a0505 0x74040a06 0x001f0000 >; 1330 }; 1331 1332 timing-375000000 { 1333 clock-frequency = <375000000>; 1334 1335 nvidia,emem-configuration = < 0x00000005 0xc0000044 1336 0x00000001 0x00000002 0x00000009 0x00000005 1337 0x00000005 0x00000001 0x00000002 0x00000008 1338 0x00000002 0x00000002 0x00000003 0x00000006 1339 0x06030202 0x000d0709 0x7086110a 0x001f0000 >; 1340 }; 1341 1342 timing-750000000 { 1343 clock-frequency = <750000000>; 1344 1345 nvidia,emem-configuration = < 0x0000000b 0xc0000087 1346 0x00000004 0x00000005 0x00000012 0x0000000c 1347 0x0000000b 0x00000002 0x00000003 0x0000000c 1348 0x00000002 0x00000002 0x00000004 0x00000008 1349 0x08040202 0x00160d12 0x710c2213 0x001f0000 >; 1350 }; 1351 }; 1352 1353 emc-timings-1 { 1354 /* Hynix 2GB 750 MHZ */ 1355 nvidia,ram-code = <1>; 1356 1357 timing-51000000 { 1358 clock-frequency = <51000000>; 1359 1360 nvidia,emem-configuration = < 0x00010003 0xc0000010 1361 0x00000001 0x00000001 0x00000002 0x00000000 1362 0x00000001 0x00000001 0x00000003 0x00000008 1363 0x00000002 0x00000001 0x00000002 0x00000006 1364 0x06020102 0x000a0502 0x74630303 0x001f0000 >; 1365 }; 1366 1367 timing-102000000 { 1368 clock-frequency = <102000000>; 1369 1370 nvidia,emem-configuration = < 0x00000003 0xc0000018 1371 0x00000001 0x00000001 0x00000003 0x00000000 1372 0x00000001 0x00000001 0x00000003 0x00000008 1373 0x00000002 0x00000001 0x00000002 0x00000006 1374 0x06020102 0x000a0503 0x73c30504 0x001f0000 >; 1375 }; 1376 1377 timing-204000000 { 1378 clock-frequency = <204000000>; 1379 1380 nvidia,emem-configuration = < 0x00000006 0xc0000025 1381 0x00000001 0x00000001 0x00000005 0x00000002 1382 0x00000003 0x00000001 0x00000003 0x00000008 1383 0x00000002 0x00000001 0x00000002 0x00000006 1384 0x06020102 0x000a0505 0x73840a06 0x001f0000 >; 1385 }; 1386 1387 timing-375000000 { 1388 clock-frequency = <375000000>; 1389 1390 nvidia,emem-configuration = < 0x0000000b 0xc0000044 1391 0x00000001 0x00000002 0x00000009 0x00000005 1392 0x00000005 0x00000001 0x00000002 0x00000008 1393 0x00000002 0x00000002 0x00000003 0x00000006 1394 0x06030202 0x000c0609 0x7086110a 0x001f0000 >; 1395 }; 1396 1397 timing-750000000 { 1398 clock-frequency = <750000000>; 1399 1400 nvidia,emem-configuration = < 0x00000016 0xc0000087 1401 0x00000003 0x00000004 0x00000012 0x0000000c 1402 0x0000000b 0x00000002 0x00000003 0x0000000c 1403 0x00000002 0x00000002 0x00000004 0x00000008 1404 0x08040202 0x00150c12 0x710c2213 0x001f0000 >; 1405 }; 1406 }; 1407 1408 emc-timings-2 { 1409 /* Micron 2GB 750 MHZ */ 1410 nvidia,ram-code = <2>; 1411 1412 timing-51000000 { 1413 clock-frequency = <51000000>; 1414 1415 nvidia,emem-configuration = < 0x00010003 0xc0000010 1416 0x00000001 0x00000001 0x00000002 0x00000000 1417 0x00000001 0x00000001 0x00000003 0x00000008 1418 0x00000002 0x00000001 0x00000002 0x00000006 1419 0x06020102 0x000a0502 0x73430303 0x001f0000 >; 1420 }; 1421 1422 timing-102000000 { 1423 clock-frequency = <102000000>; 1424 1425 nvidia,emem-configuration = < 0x00000003 0xc0000018 1426 0x00000001 0x00000001 0x00000003 0x00000000 1427 0x00000001 0x00000001 0x00000003 0x00000008 1428 0x00000002 0x00000001 0x00000002 0x00000006 1429 0x06020102 0x000a0503 0x74430504 0x001f0000 >; 1430 }; 1431 1432 timing-204000000 { 1433 clock-frequency = <204000000>; 1434 1435 nvidia,emem-configuration = < 0x00000006 0xc0000025 1436 0x00000001 0x00000001 0x00000005 0x00000002 1437 0x00000003 0x00000001 0x00000003 0x00000008 1438 0x00000002 0x00000001 0x00000002 0x00000006 1439 0x06020102 0x000a0505 0x74040a06 0x001f0000 >; 1440 }; 1441 1442 timing-375000000 { 1443 clock-frequency = <375000000>; 1444 1445 nvidia,emem-configuration = < 0x0000000b 0xc0000044 1446 0x00000001 0x00000002 0x00000009 0x00000005 1447 0x00000005 0x00000001 0x00000002 0x00000008 1448 0x00000002 0x00000002 0x00000003 0x00000006 1449 0x06030202 0x000d0709 0x7086110a 0x001f0000 >; 1450 }; 1451 1452 timing-750000000 { 1453 clock-frequency = <750000000>; 1454 1455 nvidia,emem-configuration = < 0x00000016 0xc0000087 1456 0x00000004 0x00000005 0x00000012 0x0000000c 1457 0x0000000b 0x00000003 0x00000003 0x0000000c 1458 0x00000002 0x00000002 0x00000004 0x00000008 1459 0x08040202 0x00160d12 0x710c2213 0x001f0000 >; 1460 }; 1461 }; 1462 }; 1463 1464 memory-controller@7000f400 { 1465 emc-timings-0 { 1466 /* Elpida 2GB 750 MHZ */ 1467 nvidia,ram-code = <0>; 1468 1469 timing-25500000 { 1470 clock-frequency = <25500000>; 1471 1472 nvidia,emc-auto-cal-interval = <0x001fffff>; 1473 nvidia,emc-mode-1 = <0x80100003>; 1474 nvidia,emc-mode-2 = <0x80200048>; 1475 nvidia,emc-mode-reset = <0x80001221>; 1476 nvidia,emc-zcal-cnt-long = <0x00000040>; 1477 nvidia,emc-cfg-periodic-qrst; 1478 nvidia,emc-cfg-dyn-self-ref; 1479 1480 nvidia,emc-configuration = < 0x00000001 1481 0x00000007 0x00000000 0x00000000 0x00000002 1482 0x0000000a 0x00000005 0x0000000b 0x00000000 1483 0x00000000 0x00000003 0x00000001 0x00000000 1484 0x00000005 0x00000005 0x00000004 0x0000000a 1485 0x0000000b 0x000000c0 0x00000000 0x00000030 1486 0x00000002 0x00000002 0x00000001 0x00000000 1487 0x00000007 0x0000000f 0x00000008 0x00000008 1488 0x00000004 0x00000001 0x00000000 0x00000004 1489 0x00000005 0x000000c7 0x00000006 0x00000004 1490 0x00000000 0x00000000 0x00004288 0x007800a4 1491 0x00008000 0x000fc000 0x000fc000 0x000fc000 1492 0x000fc000 0x000fc000 0x000fc000 0x000fc000 1493 0x000fc000 0x00000000 0x00000000 0x00000000 1494 0x00000000 0x00000000 0x00000000 0x00000000 1495 0x00000000 0x00000000 0x00000000 0x00000000 1496 0x00000000 0x00000000 0x00000000 0x00000000 1497 0x00000000 0x000fc000 0x000fc000 0x000fc000 1498 0x000fc000 0x000002a0 0x0800211c 0x00000000 1499 0x77fff884 0x01f1f108 0x05057404 0x54000007 1500 0x08000168 0x08000000 0x00000802 0x00000000 1501 0x00000040 0x000c000c 0xa0f10000 0x00000000 1502 0x00000000 0x80000287 0xe8000000 0xff00ff00 >; 1503 }; 1504 1505 timing-51000000 { 1506 clock-frequency = <51000000>; 1507 1508 nvidia,emc-auto-cal-interval = <0x001fffff>; 1509 nvidia,emc-mode-1 = <0x80100003>; 1510 nvidia,emc-mode-2 = <0x80200048>; 1511 nvidia,emc-mode-reset = <0x80001221>; 1512 nvidia,emc-zcal-cnt-long = <0x00000040>; 1513 nvidia,emc-cfg-periodic-qrst; 1514 nvidia,emc-cfg-dyn-self-ref; 1515 1516 nvidia,emc-configuration = < 0x00000002 1517 0x0000000f 0x00000001 0x00000000 0x00000002 1518 0x0000000a 0x00000005 0x0000000b 0x00000000 1519 0x00000000 0x00000003 0x00000001 0x00000000 1520 0x00000005 0x00000005 0x00000004 0x0000000a 1521 0x0000000b 0x00000181 0x00000000 0x00000060 1522 0x00000002 0x00000002 0x00000001 0x00000000 1523 0x00000007 0x0000000f 0x00000010 0x00000010 1524 0x00000004 0x00000002 0x00000000 0x00000004 1525 0x00000005 0x0000018e 0x00000006 0x00000004 1526 0x00000000 0x00000000 0x00004288 0x007800a4 1527 0x00008000 0x000fc000 0x000fc000 0x000fc000 1528 0x000fc000 0x000fc000 0x000fc000 0x000fc000 1529 0x000fc000 0x00000000 0x00000000 0x00000000 1530 0x00000000 0x00000000 0x00000000 0x00000000 1531 0x00000000 0x00000000 0x00000000 0x00000000 1532 0x00000000 0x00000000 0x00000000 0x00000000 1533 0x00000000 0x000fc000 0x000fc000 0x000fc000 1534 0x000fc000 0x000002a0 0x0800211c 0x00000000 1535 0x77fff884 0x01f1f108 0x05057404 0x54000007 1536 0x08000168 0x08000000 0x00000802 0x00000000 1537 0x00000040 0x000c000c 0xa0f10000 0x00000000 1538 0x00000000 0x8000040b 0xe8000000 0xff00ff00 >; 1539 }; 1540 1541 timing-102000000 { 1542 clock-frequency = <102000000>; 1543 1544 nvidia,emc-auto-cal-interval = <0x001fffff>; 1545 nvidia,emc-mode-1 = <0x80100003>; 1546 nvidia,emc-mode-2 = <0x80200048>; 1547 nvidia,emc-mode-reset = <0x80001221>; 1548 nvidia,emc-zcal-cnt-long = <0x00000040>; 1549 nvidia,emc-cfg-periodic-qrst; 1550 nvidia,emc-cfg-dyn-self-ref; 1551 1552 nvidia,emc-configuration = < 0x00000004 1553 0x0000001e 0x00000003 0x00000001 0x00000002 1554 0x0000000a 0x00000005 0x0000000b 0x00000001 1555 0x00000001 0x00000003 0x00000001 0x00000000 1556 0x00000005 0x00000005 0x00000004 0x0000000a 1557 0x0000000b 0x00000303 0x00000000 0x000000c0 1558 0x00000002 0x00000002 0x00000001 0x00000000 1559 0x00000007 0x0000000f 0x00000020 0x00000020 1560 0x00000004 0x00000004 0x00000000 0x00000004 1561 0x00000005 0x0000031c 0x00000006 0x00000004 1562 0x00000000 0x00000000 0x00004288 0x007800a4 1563 0x00008000 0x000fc000 0x000fc000 0x000fc000 1564 0x000fc000 0x000fc000 0x000fc000 0x000fc000 1565 0x000fc000 0x00000000 0x00000000 0x00000000 1566 0x00000000 0x00000000 0x00000000 0x00000000 1567 0x00000000 0x00000000 0x00000000 0x00000000 1568 0x00000000 0x00000000 0x00000000 0x00000000 1569 0x00000000 0x000fc000 0x000fc000 0x000fc000 1570 0x000fc000 0x000002a0 0x0800211c 0x00000000 1571 0x77fff884 0x01f1f108 0x05057404 0x54000007 1572 0x08000168 0x08000000 0x00000802 0x00000000 1573 0x00000040 0x000c000c 0xa0f10000 0x00000000 1574 0x00000000 0x80000713 0xe8000000 0xff00ff00 >; 1575 }; 1576 1577 timing-204000000 { 1578 clock-frequency = <204000000>; 1579 1580 nvidia,emc-auto-cal-interval = <0x001fffff>; 1581 nvidia,emc-mode-1 = <0x80100003>; 1582 nvidia,emc-mode-2 = <0x80200048>; 1583 nvidia,emc-mode-reset = <0x80001221>; 1584 nvidia,emc-zcal-cnt-long = <0x00000040>; 1585 nvidia,emc-cfg-periodic-qrst; 1586 nvidia,emc-cfg-dyn-self-ref; 1587 1588 nvidia,emc-configuration = < 0x00000009 1589 0x0000003d 0x00000007 0x00000002 0x00000002 1590 0x0000000a 0x00000005 0x0000000b 0x00000002 1591 0x00000002 0x00000003 0x00000001 0x00000000 1592 0x00000005 0x00000006 0x00000004 0x0000000a 1593 0x0000000b 0x00000607 0x00000000 0x00000181 1594 0x00000002 0x00000002 0x00000001 0x00000000 1595 0x00000007 0x0000000f 0x00000040 0x00000040 1596 0x00000004 0x00000007 0x00000000 0x00000004 1597 0x00000005 0x00000638 0x00000007 0x00000004 1598 0x00000000 0x00000000 0x00004288 0x004400a4 1599 0x00008000 0x00080000 0x00080000 0x00080000 1600 0x00080000 0x00080000 0x00080000 0x00080000 1601 0x00080000 0x00000000 0x00000000 0x00000000 1602 0x00000000 0x00000000 0x00000000 0x00000000 1603 0x00000000 0x00000000 0x00000000 0x00000000 1604 0x00000000 0x00000000 0x00000000 0x00000000 1605 0x00000000 0x00080000 0x00080000 0x00080000 1606 0x00080000 0x000002a0 0x0800211c 0x00000000 1607 0x77fff884 0x01f1f108 0x05057404 0x54000007 1608 0x08000168 0x08000000 0x00000802 0x00020000 1609 0x00000100 0x000c000c 0xa0f10000 0x00000000 1610 0x00000000 0x80000d22 0xe8000000 0xff00ff00 >; 1611 }; 1612 1613 timing-375000000 { 1614 clock-frequency = <375000000>; 1615 1616 nvidia,emc-auto-cal-interval = <0x001fffff>; 1617 nvidia,emc-mode-1 = <0x80100002>; 1618 nvidia,emc-mode-2 = <0x80200040>; 1619 nvidia,emc-mode-reset = <0x80000521>; 1620 nvidia,emc-zcal-cnt-long = <0x00000040>; 1621 1622 nvidia,emc-configuration = < 0x00000011 1623 0x0000006f 0x0000000c 0x00000004 0x00000003 1624 0x00000008 0x00000002 0x0000000a 0x00000004 1625 0x00000004 0x00000002 0x00000001 0x00000000 1626 0x00000004 0x00000006 0x00000004 0x0000000a 1627 0x0000000c 0x00000b2d 0x00000000 0x000002cb 1628 0x00000001 0x00000008 0x00000001 0x00000000 1629 0x00000007 0x0000000f 0x00000075 0x00000200 1630 0x00000004 0x0000000c 0x00000000 0x00000004 1631 0x00000005 0x00000b6d 0x00000000 0x00000004 1632 0x00000000 0x00000000 0x00007088 0x00200084 1633 0x00008000 0x00034000 0x00034000 0x00034000 1634 0x00034000 0x00014000 0x00014000 0x00014000 1635 0x00014000 0x00000000 0x00000000 0x00000000 1636 0x00000000 0x00000000 0x00000000 0x00000000 1637 0x00000000 0x00000000 0x00000000 0x00000000 1638 0x00000000 0x00000000 0x00000000 0x00000000 1639 0x00000000 0x00048000 0x00048000 0x00048000 1640 0x00048000 0x000002a0 0x0600013d 0x00000000 1641 0x77fff884 0x01f1f508 0x05057404 0x54000007 1642 0x080001e8 0x06000021 0x00000802 0x00020000 1643 0x00000100 0x0150000c 0xa0f10000 0x00000000 1644 0x00000000 0x8000174b 0xe8000000 0xff00ff89 >; 1645 }; 1646 1647 timing-750000000 { 1648 clock-frequency = <750000000>; 1649 1650 nvidia,emc-auto-cal-interval = <0x001fffff>; 1651 nvidia,emc-mode-1 = <0x80100002>; 1652 nvidia,emc-mode-2 = <0x80200058>; 1653 nvidia,emc-mode-reset = <0x80000d71>; 1654 nvidia,emc-zcal-cnt-long = <0x00000040>; 1655 nvidia,emc-cfg-periodic-qrst; 1656 1657 nvidia,emc-configuration = < 0x00000023 1658 0x000000df 0x00000019 0x00000009 0x00000005 1659 0x0000000d 0x00000004 0x00000013 0x00000009 1660 0x00000009 0x00000003 0x00000001 0x00000000 1661 0x00000007 0x0000000b 0x00000009 0x0000000b 1662 0x00000011 0x0000169a 0x00000000 0x000005a6 1663 0x00000003 0x00000010 0x00000001 0x00000000 1664 0x0000000e 0x00000018 0x000000e9 0x00000200 1665 0x00000005 0x00000017 0x00000000 0x00000007 1666 0x00000008 0x000016da 0x0000000c 0x00000004 1667 0x00000000 0x00000000 0x00005088 0xf0080191 1668 0x00008000 0x0000000a 0x0000000a 0x0000000a 1669 0x0000000a 0x00000008 0x00000008 0x00000008 1670 0x00000008 0x00000000 0x00000000 0x00000000 1671 0x00000000 0x00000000 0x00000000 0x00000000 1672 0x00000000 0x00000000 0x00000000 0x00000000 1673 0x00000000 0x00000000 0x00000000 0x00000000 1674 0x00000000 0x0000000a 0x0000000a 0x0000000a 1675 0x0000000a 0x000002a0 0x0600013d 0x22220000 1676 0x77fff884 0x01f1f501 0x07077404 0x54000000 1677 0x080001e8 0x06000021 0x00000802 0x00020000 1678 0x00000100 0x00df000c 0xa0f10000 0x00000000 1679 0x00000000 0x80002d93 0xf8000000 0xff00ff49 >; 1680 }; 1681 }; 1682 1683 emc-timings-1 { 1684 /* Hynix 2GB 750 MHZ */ 1685 nvidia,ram-code = <1>; 1686 1687 timing-51000000 { 1688 clock-frequency = <51000000>; 1689 1690 nvidia,emc-auto-cal-interval = <0x001fffff>; 1691 nvidia,emc-mode-1 = <0x80100003>; 1692 nvidia,emc-mode-2 = <0x80200048>; 1693 nvidia,emc-mode-reset = <0x80001221>; 1694 nvidia,emc-zcal-cnt-long = <0x00000040>; 1695 nvidia,emc-cfg-periodic-qrst; 1696 nvidia,emc-cfg-dyn-self-ref; 1697 1698 nvidia,emc-configuration = < 0x00000002 1699 0x0000000d 0x00000001 0x00000000 0x00000002 1700 0x0000000a 0x00000005 0x0000000b 0x00000000 1701 0x00000000 0x00000003 0x00000001 0x00000000 1702 0x00000005 0x00000005 0x00000004 0x0000000a 1703 0x0000000b 0x00000181 0x00000000 0x00000060 1704 0x00000002 0x00000002 0x00000001 0x00000000 1705 0x00000007 0x0000000f 0x0000000e 0x0000000e 1706 0x00000004 0x00000002 0x00000000 0x00000004 1707 0x00000005 0x0000018e 0x00000006 0x00000004 1708 0x00000000 0x00000000 0x00004288 0x007800a4 1709 0x00008000 0x000fc000 0x000fc000 0x000fc000 1710 0x000fc000 0x000fc000 0x000fc000 0x000fc000 1711 0x000fc000 0x00000000 0x00000000 0x00000000 1712 0x00000000 0x00000000 0x00000000 0x00000000 1713 0x00000000 0x00000000 0x00000000 0x00000000 1714 0x00000000 0x00000000 0x00000000 0x00000000 1715 0x00000000 0x000fc000 0x000fc000 0x000fc000 1716 0x000fc000 0x000002a0 0x0800211c 0x00000000 1717 0x77fff884 0x01f1f108 0x05057404 0x54000007 1718 0x08000168 0x08000000 0x00000802 0x00000000 1719 0x00000040 0x000c000c 0xa0f10000 0x00000000 1720 0x00000000 0x8000040b 0xe8000000 0xff00ff00 >; 1721 }; 1722 1723 timing-102000000 { 1724 clock-frequency = <102000000>; 1725 1726 nvidia,emc-auto-cal-interval = <0x001fffff>; 1727 nvidia,emc-mode-1 = <0x80100003>; 1728 nvidia,emc-mode-2 = <0x80200048>; 1729 nvidia,emc-mode-reset = <0x80001221>; 1730 nvidia,emc-zcal-cnt-long = <0x00000040>; 1731 nvidia,emc-cfg-periodic-qrst; 1732 nvidia,emc-cfg-dyn-self-ref; 1733 1734 nvidia,emc-configuration = < 0x00000004 1735 0x0000001a 0x00000003 0x00000001 0x00000002 1736 0x0000000a 0x00000005 0x0000000b 0x00000001 1737 0x00000001 0x00000003 0x00000001 0x00000000 1738 0x00000005 0x00000005 0x00000004 0x0000000a 1739 0x0000000b 0x00000303 0x00000000 0x000000c0 1740 0x00000002 0x00000002 0x00000001 0x00000000 1741 0x00000007 0x0000000f 0x0000001c 0x0000001c 1742 0x00000004 0x00000004 0x00000000 0x00000004 1743 0x00000005 0x0000031c 0x00000006 0x00000004 1744 0x00000000 0x00000000 0x00004288 0x007800a4 1745 0x00008000 0x000fc000 0x000fc000 0x000fc000 1746 0x000fc000 0x000fc000 0x000fc000 0x000fc000 1747 0x000fc000 0x00000000 0x00000000 0x00000000 1748 0x00000000 0x00000000 0x00000000 0x00000000 1749 0x00000000 0x00000000 0x00000000 0x00000000 1750 0x00000000 0x00000000 0x00000000 0x00000000 1751 0x00000000 0x000fc000 0x000fc000 0x000fc000 1752 0x000fc000 0x000002a0 0x0800211c 0x00000000 1753 0x77fff884 0x01f1f108 0x05057404 0x54000007 1754 0x08000168 0x08000000 0x00000802 0x00000000 1755 0x00000040 0x000c000c 0xa0f10000 0x00000000 1756 0x00000000 0x80000713 0xe8000000 0xff00ff00 >; 1757 }; 1758 1759 timing-204000000 { 1760 clock-frequency = <204000000>; 1761 1762 nvidia,emc-auto-cal-interval = <0x001fffff>; 1763 nvidia,emc-mode-1 = <0x80100003>; 1764 nvidia,emc-mode-2 = <0x80200048>; 1765 nvidia,emc-mode-reset = <0x80001221>; 1766 nvidia,emc-zcal-cnt-long = <0x00000040>; 1767 nvidia,emc-cfg-periodic-qrst; 1768 nvidia,emc-cfg-dyn-self-ref; 1769 1770 nvidia,emc-configuration = < 0x00000009 1771 0x00000035 0x00000007 0x00000002 0x00000002 1772 0x0000000a 0x00000005 0x0000000b 0x00000002 1773 0x00000002 0x00000003 0x00000001 0x00000000 1774 0x00000005 0x00000006 0x00000004 0x0000000a 1775 0x0000000b 0x00000607 0x00000000 0x00000181 1776 0x00000002 0x00000002 0x00000001 0x00000000 1777 0x00000007 0x0000000f 0x00000038 0x00000038 1778 0x00000004 0x00000007 0x00000000 0x00000004 1779 0x00000005 0x00000638 0x00000007 0x00000004 1780 0x00000000 0x00000000 0x00004288 0x004400a4 1781 0x00008000 0x00080000 0x00080000 0x00080000 1782 0x00080000 0x00080000 0x00080000 0x00080000 1783 0x00080000 0x00000000 0x00000000 0x00000000 1784 0x00000000 0x00000000 0x00000000 0x00000000 1785 0x00000000 0x00000000 0x00000000 0x00000000 1786 0x00000000 0x00000000 0x00000000 0x00000000 1787 0x00000000 0x00080000 0x00080000 0x00080000 1788 0x00080000 0x000002a0 0x0800211c 0x00000000 1789 0x77fff884 0x01f1f108 0x05057404 0x54000007 1790 0x08000168 0x08000000 0x00000802 0x00020000 1791 0x00000100 0x000c000c 0xa0f10000 0x00000000 1792 0x00000000 0x80000d22 0xe8000000 0xff00ff00 >; 1793 }; 1794 1795 timing-375000000 { 1796 clock-frequency = <375000000>; 1797 1798 nvidia,emc-auto-cal-interval = <0x001fffff>; 1799 nvidia,emc-mode-1 = <0x80100003>; 1800 nvidia,emc-mode-2 = <0x80200040>; 1801 nvidia,emc-mode-reset = <0x80000521>; 1802 nvidia,emc-zcal-cnt-long = <0x00000040>; 1803 1804 nvidia,emc-configuration = < 0x00000011 1805 0x00000060 0x0000000c 0x00000003 0x00000004 1806 0x00000008 0x00000002 0x0000000a 0x00000003 1807 0x00000003 0x00000002 0x00000001 0x00000000 1808 0x00000004 0x00000006 0x00000004 0x0000000a 1809 0x0000000c 0x00000b2d 0x00000000 0x000002cb 1810 0x00000001 0x00000008 0x00000001 0x00000000 1811 0x00000007 0x00000010 0x00000066 0x00000200 1812 0x00000004 0x0000000c 0x00000000 0x00000004 1813 0x00000005 0x00000b6d 0x00000000 0x00000004 1814 0x00000000 0x00000000 0x00007288 0x00200084 1815 0x00008000 0x00044000 0x00044000 0x00044000 1816 0x00044000 0x00014000 0x00014000 0x00014000 1817 0x00014000 0x00000000 0x00000000 0x00000000 1818 0x00000000 0x00000000 0x00000000 0x00000000 1819 0x00000000 0x00000000 0x00000000 0x00000000 1820 0x00000000 0x00000000 0x00000000 0x00000000 1821 0x00000000 0x00048000 0x00048000 0x00048000 1822 0x00048000 0x000002a0 0x0600013d 0x00000000 1823 0x77fff884 0x01f1f508 0x05057404 0x54000007 1824 0x08000168 0x06000021 0x00000802 0x00020000 1825 0x00000100 0x015f000c 0xa0f10000 0x00000000 1826 0x00000000 0x8000174b 0xe8000000 0xff00ff89 >; 1827 }; 1828 1829 timing-750000000 { 1830 clock-frequency = <750000000>; 1831 1832 nvidia,emc-auto-cal-interval = <0x001fffff>; 1833 nvidia,emc-mode-1 = <0x80100002>; 1834 nvidia,emc-mode-2 = <0x80200058>; 1835 nvidia,emc-mode-reset = <0x80000d71>; 1836 nvidia,emc-zcal-cnt-long = <0x00000040>; 1837 nvidia,emc-cfg-periodic-qrst; 1838 1839 nvidia,emc-configuration = < 0x00000023 1840 0x000000c1 0x00000019 0x00000008 0x00000005 1841 0x0000000d 0x00000004 0x00000013 0x00000008 1842 0x00000008 0x00000003 0x00000001 0x00000000 1843 0x00000007 0x0000000b 0x00000009 0x0000000b 1844 0x00000011 0x0000169a 0x00000000 0x000005a6 1845 0x00000003 0x00000010 0x00000001 0x00000000 1846 0x0000000e 0x00000018 0x000000cb 0x00000200 1847 0x00000005 0x00000017 0x00000000 0x00000007 1848 0x00000008 0x000016da 0x0000000c 0x00000004 1849 0x00000000 0x00000000 0x00005088 0xf0080191 1850 0x00008000 0x00008008 0x00000008 0x00000008 1851 0x00000008 0x00000008 0x00000008 0x00000008 1852 0x00000008 0x00000000 0x00000000 0x00000000 1853 0x00000000 0x00000000 0x00000000 0x00000000 1854 0x00000000 0x00000000 0x00000000 0x00000000 1855 0x00000000 0x00000000 0x00000000 0x00000000 1856 0x00000000 0x0000000a 0x0000000a 0x0000000a 1857 0x0000000a 0x000002a0 0x0800013d 0x22220000 1858 0x77fff884 0x01f1f501 0x07077404 0x54000000 1859 0x080001e8 0x08000021 0x00000802 0x00020000 1860 0x00000100 0x00fd000c 0xa0f10000 0x00000000 1861 0x00000000 0x80002d93 0xe8000000 0xff00ff49 >; 1862 }; 1863 }; 1864 1865 emc-timings-2 { 1866 /* Micron 2GB 750 MHZ */ 1867 nvidia,ram-code = <2>; 1868 1869 timing-51000000 { 1870 clock-frequency = <51000000>; 1871 1872 nvidia,emc-auto-cal-interval = <0x001fffff>; 1873 nvidia,emc-mode-1 = <0x80100003>; 1874 nvidia,emc-mode-2 = <0x80200008>; 1875 nvidia,emc-mode-reset = <0x80001221>; 1876 nvidia,emc-zcal-cnt-long = <0x00000040>; 1877 nvidia,emc-cfg-periodic-qrst; 1878 nvidia,emc-cfg-dyn-self-ref; 1879 1880 nvidia,emc-configuration = < 0x00000002 1881 0x00000008 0x00000001 0x00000000 0x00000002 1882 0x0000000a 0x00000005 0x0000000b 0x00000000 1883 0x00000000 0x00000003 0x00000001 0x00000000 1884 0x00000005 0x00000005 0x00000004 0x0000000a 1885 0x0000000b 0x00000181 0x00000000 0x00000060 1886 0x00000002 0x00000002 0x00000001 0x00000000 1887 0x00000007 0x0000000f 0x00000009 0x00000009 1888 0x00000004 0x00000002 0x00000000 0x00000004 1889 0x00000005 0x0000018e 0x00000006 0x00000004 1890 0x00000000 0x00000000 0x00004288 0x007800a4 1891 0x00008000 0x000fc000 0x000fc000 0x000fc000 1892 0x000fc000 0x000fc000 0x000fc000 0x000fc000 1893 0x000fc000 0x00000000 0x00000000 0x00000000 1894 0x00000000 0x00000000 0x00000000 0x00000000 1895 0x00000000 0x00000000 0x00000000 0x00000000 1896 0x00000000 0x00000000 0x00000000 0x00000000 1897 0x00000000 0x000fc000 0x000fc000 0x000fc000 1898 0x000fc000 0x000002a0 0x0800211c 0x00000000 1899 0x77fff884 0x01f1f108 0x05057404 0x54000007 1900 0x08000168 0x08000000 0x00000802 0x00000000 1901 0x00000040 0x000c000c 0xa0f10000 0x00000000 1902 0x00000000 0x8000040b 0xe8000000 0xff00ff00 >; 1903 }; 1904 1905 timing-102000000 { 1906 clock-frequency = <102000000>; 1907 1908 nvidia,emc-auto-cal-interval = <0x001fffff>; 1909 nvidia,emc-mode-1 = <0x80100003>; 1910 nvidia,emc-mode-2 = <0x80200048>; 1911 nvidia,emc-mode-reset = <0x80001221>; 1912 nvidia,emc-zcal-cnt-long = <0x00000040>; 1913 nvidia,emc-cfg-periodic-qrst; 1914 nvidia,emc-cfg-dyn-self-ref; 1915 1916 nvidia,emc-configuration = < 0x00000004 1917 0x0000001e 0x00000003 0x00000001 0x00000002 1918 0x0000000a 0x00000005 0x0000000b 0x00000001 1919 0x00000001 0x00000003 0x00000001 0x00000000 1920 0x00000005 0x00000005 0x00000004 0x0000000a 1921 0x0000000b 0x00000303 0x00000000 0x000000c0 1922 0x00000002 0x00000002 0x00000001 0x00000000 1923 0x00000007 0x0000000f 0x00000020 0x00000020 1924 0x00000004 0x00000004 0x00000000 0x00000004 1925 0x00000005 0x0000031c 0x00000006 0x00000004 1926 0x00000000 0x00000000 0x00004288 0x007800a4 1927 0x00008000 0x000fc000 0x000fc000 0x000fc000 1928 0x000fc000 0x000fc000 0x000fc000 0x000fc000 1929 0x000fc000 0x00000000 0x00000000 0x00000000 1930 0x00000000 0x00000000 0x00000000 0x00000000 1931 0x00000000 0x00000000 0x00000000 0x00000000 1932 0x00000000 0x00000000 0x00000000 0x00000000 1933 0x00000000 0x000fc000 0x000fc000 0x000fc000 1934 0x000fc000 0x000002a0 0x0800211c 0x00000000 1935 0x77fff884 0x01f1f108 0x05057404 0x54000007 1936 0x08000168 0x08000000 0x00000802 0x00000000 1937 0x00000040 0x000c000c 0xa0f10000 0x00000000 1938 0x00000000 0x80000713 0xe8000000 0xff00ff00 >; 1939 }; 1940 1941 timing-204000000 { 1942 clock-frequency = <204000000>; 1943 1944 nvidia,emc-auto-cal-interval = <0x001fffff>; 1945 nvidia,emc-mode-1 = <0x80100003>; 1946 nvidia,emc-mode-2 = <0x80200048>; 1947 nvidia,emc-mode-reset = <0x80001221>; 1948 nvidia,emc-zcal-cnt-long = <0x00000040>; 1949 nvidia,emc-cfg-periodic-qrst; 1950 nvidia,emc-cfg-dyn-self-ref; 1951 1952 nvidia,emc-configuration = < 0x00000009 1953 0x0000003d 0x00000007 0x00000002 0x00000002 1954 0x0000000a 0x00000005 0x0000000b 0x00000002 1955 0x00000002 0x00000003 0x00000001 0x00000000 1956 0x00000005 0x00000006 0x00000004 0x0000000a 1957 0x0000000b 0x00000607 0x00000000 0x00000181 1958 0x00000002 0x00000002 0x00000001 0x00000000 1959 0x00000007 0x0000000f 0x00000040 0x00000040 1960 0x00000004 0x00000007 0x00000000 0x00000004 1961 0x00000005 0x00000638 0x00000007 0x00000004 1962 0x00000000 0x00000000 0x00004288 0x004400a4 1963 0x00008000 0x00080000 0x00080000 0x00080000 1964 0x00080000 0x00080000 0x00080000 0x00080000 1965 0x00080000 0x00000000 0x00000000 0x00000000 1966 0x00000000 0x00000000 0x00000000 0x00000000 1967 0x00000000 0x00000000 0x00000000 0x00000000 1968 0x00000000 0x00000000 0x00000000 0x00000000 1969 0x00000000 0x00080000 0x00080000 0x00080000 1970 0x00080000 0x000002a0 0x0800211c 0x00000000 1971 0x77fff884 0x01f1f108 0x05057404 0x54000007 1972 0x08000168 0x08000000 0x00000802 0x00020000 1973 0x00000100 0x000c000c 0xa0f10000 0x00000000 1974 0x00000000 0x80000d22 0xe8000000 0xff00ff00 >; 1975 }; 1976 1977 timing-375000000 { 1978 clock-frequency = <375000000>; 1979 1980 nvidia,emc-auto-cal-interval = <0x001fffff>; 1981 nvidia,emc-mode-1 = <0x80100002>; 1982 nvidia,emc-mode-2 = <0x80200040>; 1983 nvidia,emc-mode-reset = <0x80000521>; 1984 nvidia,emc-zcal-cnt-long = <0x00000040>; 1985 1986 nvidia,emc-configuration = < 0x00000011 1987 0x0000006f 0x0000000c 0x00000004 0x00000003 1988 0x00000008 0x00000002 0x0000000a 0x00000004 1989 0x00000004 0x00000002 0x00000001 0x00000000 1990 0x00000004 0x00000006 0x00000004 0x0000000a 1991 0x0000000c 0x00000b2d 0x00000000 0x000002cb 1992 0x00000001 0x00000008 0x00000001 0x00000000 1993 0x00000007 0x0000000f 0x00000075 0x00000200 1994 0x00000004 0x0000000c 0x00000000 0x00000004 1995 0x00000005 0x00000b6d 0x00000000 0x00000004 1996 0x00000000 0x00000000 0x00007088 0x00200084 1997 0x00008000 0x00044000 0x00044000 0x00044000 1998 0x00044000 0x00014000 0x00014000 0x00014000 1999 0x00014000 0x00000000 0x00000000 0x00000000 2000 0x00000000 0x00000000 0x00000000 0x00000000 2001 0x00000000 0x00000000 0x00000000 0x00000000 2002 0x00000000 0x00000000 0x00000000 0x00000000 2003 0x00000000 0x00048000 0x00048000 0x00048000 2004 0x00048000 0x000002a0 0x0800013d 0x00000000 2005 0x77fff884 0x01f1f508 0x05057404 0x54000007 2006 0x080001e8 0x08000021 0x00000802 0x00020000 2007 0x00000100 0x0150000c 0xa0f10000 0x00000000 2008 0x00000000 0x8000174b 0xe8000000 0xff00ff89 >; 2009 }; 2010 2011 timing-750000000 { 2012 clock-frequency = <750000000>; 2013 2014 nvidia,emc-auto-cal-interval = <0x001fffff>; 2015 nvidia,emc-mode-1 = <0x80100002>; 2016 nvidia,emc-mode-2 = <0x80200058>; 2017 nvidia,emc-mode-reset = <0x80000d71>; 2018 nvidia,emc-zcal-cnt-long = <0x00000040>; 2019 nvidia,emc-cfg-periodic-qrst; 2020 2021 nvidia,emc-configuration = < 0x00000023 2022 0x000000df 0x00000019 0x00000009 0x00000005 2023 0x0000000d 0x00000004 0x00000013 0x00000009 2024 0x00000009 0x00000006 0x00000001 0x00000000 2025 0x00000007 0x0000000b 0x00000009 0x0000000b 2026 0x00000011 0x0000169a 0x00000000 0x000005a6 2027 0x00000003 0x00000010 0x00000001 0x00000000 2028 0x0000000e 0x00000018 0x000000e9 0x00000200 2029 0x00000005 0x00000017 0x00000000 0x00000007 2030 0x00000008 0x000016da 0x0000000c 0x00000004 2031 0x00000000 0x00000000 0x00005088 0xf0080191 2032 0x00008000 0x0000800a 0x0000000a 0x0000000a 2033 0x0000000a 0x00000008 0x00000008 0x00000008 2034 0x00000008 0x00000000 0x00000000 0x00000000 2035 0x00000000 0x00000000 0x00000000 0x00000000 2036 0x00000000 0x00000000 0x00000000 0x00000000 2037 0x00000000 0x00000000 0x00000000 0x00000000 2038 0x00000000 0x007fc00a 0x0000000a 0x0000000a 2039 0x0000000a 0x000002a0 0x0800013d 0x22220000 2040 0x77fff884 0x01f1f501 0x07077404 0x54000000 2041 0x080001e8 0x08000021 0x00000802 0x00020000 2042 0x00000100 0x00df000c 0xa0f10000 0x00000000 2043 0x00000000 0x80002d93 0xf8000000 0xff00ff49 >; 2044 }; 2045 }; 2046 }; 2047 2048 hda@70030000 { 2049 status = "okay"; 2050 }; 2051 2052 ahub@70080000 { 2053 i2s@70080400 { /* i2s1 */ 2054 status = "okay"; 2055 }; 2056 2057 /* BT SCO */ 2058 i2s@70080600 { /* i2s3 */ 2059 status = "okay"; 2060 }; 2061 }; 2062 2063 sdmmc1: mmc@78000000 { 2064 status = "okay"; 2065 bus-width = <4>; 2066 2067 cd-gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>; 2068 power-gpios = <&gpio TEGRA_GPIO(D, 7) GPIO_ACTIVE_HIGH>; 2069 2070 vmmc-supply = <&vdd_3v3_sys>; 2071 vqmmc-supply = <&vddio_usd>; 2072 }; 2073 2074 sdmmc3: mmc@78000400 { 2075 status = "okay"; 2076 2077 #address-cells = <1>; 2078 #size-cells = <0>; 2079 2080 assigned-clocks = <&tegra_car TEGRA30_CLK_SDMMC3>; 2081 assigned-clock-parents = <&tegra_car TEGRA30_CLK_PLL_C>; 2082 assigned-clock-rates = <50000000>; 2083 2084 max-frequency = <50000000>; 2085 keep-power-in-suspend; 2086 bus-width = <4>; 2087 non-removable; 2088 2089 mmc-pwrseq = <&brcm_wifi_pwrseq>; 2090 vmmc-supply = <&vdd_3v3_com>; 2091 vqmmc-supply = <&vdd_1v8_vio>; 2092 2093 /* Azurewave AW-NH665 BCM4330B1 */ 2094 wifi@1 { 2095 compatible = "brcm,bcm4329-fmac"; 2096 reg = <1>; 2097 2098 interrupt-parent = <&gpio>; 2099 interrupts = <TEGRA_GPIO(O, 4) IRQ_TYPE_LEVEL_HIGH>; 2100 interrupt-names = "host-wake"; 2101 }; 2102 }; 2103 2104 sdmmc4: mmc@78000600 { 2105 status = "okay"; 2106 bus-width = <8>; 2107 2108 non-removable; 2109 mmc-ddr-1_8v; 2110 2111 vmmc-supply = <&vcore_emmc>; 2112 vqmmc-supply = <&vdd_1v8_vio>; 2113 }; 2114 2115 /* USB via ASUS connector */ 2116 usb@7d000000 { 2117 compatible = "nvidia,tegra30-udc"; 2118 status = "okay"; 2119 dr_mode = "peripheral"; 2120 }; 2121 2122 usb-phy@7d000000 { 2123 status = "okay"; 2124 dr_mode = "peripheral"; 2125 nvidia,hssync-start-delay = <0>; 2126 nvidia,xcvr-lsfslew = <2>; 2127 nvidia,xcvr-lsrslew = <2>; 2128 vbus-supply = <&vdd_5v0_sys>; 2129 }; 2130 2131 /* Dock's USB port */ 2132 usb@7d008000 { 2133 status = "okay"; 2134 }; 2135 2136 usb-phy@7d008000 { 2137 status = "okay"; 2138 vbus-supply = <&vdd_5v0_bat>; 2139 }; 2140 2141 backlight: backlight { 2142 compatible = "pwm-backlight"; 2143 2144 enable-gpios = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>; 2145 power-supply = <&vdd_5v0_bl>; 2146 pwms = <&pwm 0 71428>; 2147 2148 brightness-levels = <1 255>; 2149 num-interpolated-steps = <254>; 2150 default-brightness-level = <15>; 2151 }; 2152 2153 pad_battery: battery-pad { 2154 compatible = "simple-battery"; 2155 device-chemistry = "lithium-ion-polymer"; 2156 charge-full-design-microamp-hours = <6760000>; 2157 energy-full-design-microwatt-hours = <25000000>; 2158 operating-range-celsius = <0 45>; 2159 }; 2160 2161 dock_battery: battery-dock { 2162 compatible = "simple-battery"; 2163 device-chemistry = "lithium-ion-polymer"; 2164 charge-full-design-microamp-hours = <2980000>; 2165 energy-full-design-microwatt-hours = <22000000>; 2166 operating-range-celsius = <0 45>; 2167 }; 2168 2169 /* PMIC has a built-in 32KHz oscillator which is used by PMC */ 2170 clk32k_in: clock-32k { 2171 compatible = "fixed-clock"; 2172 #clock-cells = <0>; 2173 clock-frequency = <32768>; 2174 clock-output-names = "pmic-oscillator"; 2175 }; 2176 2177 cpus { 2178 cpu0: cpu@0 { 2179 cpu-supply = <&vdd_cpu>; 2180 operating-points-v2 = <&cpu0_opp_table>; 2181 #cooling-cells = <2>; 2182 }; 2183 cpu1: cpu@1 { 2184 cpu-supply = <&vdd_cpu>; 2185 operating-points-v2 = <&cpu0_opp_table>; 2186 #cooling-cells = <2>; 2187 }; 2188 cpu2: cpu@2 { 2189 cpu-supply = <&vdd_cpu>; 2190 operating-points-v2 = <&cpu0_opp_table>; 2191 #cooling-cells = <2>; 2192 }; 2193 cpu3: cpu@3 { 2194 cpu-supply = <&vdd_cpu>; 2195 operating-points-v2 = <&cpu0_opp_table>; 2196 #cooling-cells = <2>; 2197 }; 2198 }; 2199 2200 extcon-keys { 2201 compatible = "gpio-keys"; 2202 2203 switch-dock-hall-sensor { 2204 label = "Lid sensor"; 2205 gpios = <&gpio TEGRA_GPIO(BB, 6) GPIO_ACTIVE_LOW>; 2206 linux,input-type = <EV_SW>; 2207 linux,code = <SW_LID>; 2208 debounce-interval = <500>; 2209 wakeup-event-action = <EV_ACT_ASSERTED>; 2210 wakeup-source; 2211 }; 2212 2213 switch-lineout-detect { 2214 label = "Audio dock line-out detect"; 2215 gpios = <&gpio TEGRA_GPIO(X, 3) GPIO_ACTIVE_LOW>; 2216 linux,input-type = <EV_SW>; 2217 linux,code = <SW_LINEOUT_INSERT>; 2218 debounce-interval = <10>; 2219 wakeup-event-action = <EV_ACT_ASSERTED>; 2220 wakeup-source; 2221 }; 2222 }; 2223 2224 gpio-keys { 2225 compatible = "gpio-keys"; 2226 2227 key-power { 2228 label = "Power"; 2229 gpios = <&gpio TEGRA_GPIO(V, 0) GPIO_ACTIVE_LOW>; 2230 linux,code = <KEY_POWER>; 2231 debounce-interval = <10>; 2232 wakeup-event-action = <EV_ACT_ASSERTED>; 2233 wakeup-source; 2234 }; 2235 2236 key-volume-down { 2237 label = "Volume Down"; 2238 gpios = <&gpio TEGRA_GPIO(Q, 4) GPIO_ACTIVE_LOW>; 2239 linux,code = <KEY_VOLUMEDOWN>; 2240 debounce-interval = <10>; 2241 wakeup-event-action = <EV_ACT_ASSERTED>; 2242 wakeup-source; 2243 }; 2244 2245 key-volume-up { 2246 label = "Volume Up"; 2247 gpios = <&gpio TEGRA_GPIO(Q, 3) GPIO_ACTIVE_LOW>; 2248 linux,code = <KEY_VOLUMEUP>; 2249 debounce-interval = <10>; 2250 wakeup-event-action = <EV_ACT_ASSERTED>; 2251 wakeup-source; 2252 }; 2253 }; 2254 2255 haptic-feedback { 2256 compatible = "gpio-vibrator"; 2257 enable-gpios = <&gpio TEGRA_GPIO(H, 3) GPIO_ACTIVE_HIGH>; 2258 vcc-supply = <&vdd_3v3_sys>; 2259 }; 2260 2261 opp-table-actmon { 2262 /delete-node/ opp-800000000; 2263 /delete-node/ opp-900000000; 2264 }; 2265 2266 opp-table-emc { 2267 /delete-node/ opp-800000000-1300; 2268 /delete-node/ opp-900000000-1350; 2269 }; 2270 2271 brcm_wifi_pwrseq: pwrseq-wifi { 2272 compatible = "mmc-pwrseq-simple"; 2273 2274 clocks = <&tegra_pmc TEGRA_PMC_CLK_BLINK>; 2275 clock-names = "ext_clock"; 2276 2277 reset-gpios = <&gpio TEGRA_GPIO(P, 1) GPIO_ACTIVE_LOW>; 2278 post-power-on-delay-ms = <300>; 2279 power-off-delay-us = <300>; 2280 }; 2281 2282 vdd_5v0_bat: regulator-bat { 2283 compatible = "regulator-fixed"; 2284 regulator-name = "vdd_ac_bat"; 2285 regulator-min-microvolt = <5000000>; 2286 regulator-max-microvolt = <5000000>; 2287 regulator-always-on; 2288 regulator-boot-on; 2289 }; 2290 2291 vdd_5v0_cp: regulator-sby { 2292 compatible = "regulator-fixed"; 2293 regulator-name = "vdd_5v0_sby"; 2294 regulator-min-microvolt = <5000000>; 2295 regulator-max-microvolt = <5000000>; 2296 regulator-always-on; 2297 regulator-boot-on; 2298 gpio = <&pmic 0 GPIO_ACTIVE_HIGH>; 2299 enable-active-high; 2300 vin-supply = <&vdd_5v0_bat>; 2301 }; 2302 2303 vdd_5v0_sys: regulator-5v { 2304 compatible = "regulator-fixed"; 2305 regulator-name = "vdd_5v0_sys"; 2306 regulator-min-microvolt = <5000000>; 2307 regulator-max-microvolt = <5000000>; 2308 regulator-always-on; 2309 regulator-boot-on; 2310 gpio = <&pmic 8 GPIO_ACTIVE_HIGH>; 2311 enable-active-high; 2312 vin-supply = <&vdd_5v0_bat>; 2313 }; 2314 2315 vdd_1v5_ddr: regulator-ddr { 2316 compatible = "regulator-fixed"; 2317 regulator-name = "vdd_ddr"; 2318 regulator-min-microvolt = <1500000>; 2319 regulator-max-microvolt = <1500000>; 2320 regulator-always-on; 2321 regulator-boot-on; 2322 gpio = <&pmic 7 GPIO_ACTIVE_HIGH>; 2323 enable-active-high; 2324 vin-supply = <&vdd_5v0_bat>; 2325 }; 2326 2327 vdd_3v3_sys: regulator-3v { 2328 compatible = "regulator-fixed"; 2329 regulator-name = "vdd_3v3_sys"; 2330 regulator-min-microvolt = <3300000>; 2331 regulator-max-microvolt = <3300000>; 2332 regulator-always-on; 2333 regulator-boot-on; 2334 gpio = <&pmic 6 GPIO_ACTIVE_HIGH>; 2335 enable-active-high; 2336 vin-supply = <&vdd_5v0_bat>; 2337 }; 2338 2339 vdd_3v3_com: regulator-com { 2340 compatible = "regulator-fixed"; 2341 regulator-name = "vdd_3v3_com"; 2342 regulator-min-microvolt = <3300000>; 2343 regulator-max-microvolt = <3300000>; 2344 regulator-always-on; 2345 gpio = <&gpio TEGRA_GPIO(D, 0) GPIO_ACTIVE_HIGH>; 2346 enable-active-high; 2347 vin-supply = <&vdd_3v3_sys>; 2348 }; 2349 2350 vdd_3v3_als: regulator-als { 2351 compatible = "regulator-fixed"; 2352 regulator-name = "vdd_3v3_als"; 2353 regulator-min-microvolt = <3300000>; 2354 regulator-max-microvolt = <3300000>; 2355 regulator-always-on; 2356 gpio = <&gpio TEGRA_GPIO(L, 5) GPIO_ACTIVE_HIGH>; 2357 enable-active-high; 2358 vin-supply = <&vdd_3v3_sys>; 2359 }; 2360 2361 vdd_5v0_bl: regulator-bl { 2362 compatible = "regulator-fixed"; 2363 regulator-name = "vdd_5v0_bl"; 2364 regulator-min-microvolt = <5000000>; 2365 regulator-max-microvolt = <5000000>; 2366 regulator-boot-on; 2367 gpio = <&gpio TEGRA_GPIO(H, 0) GPIO_ACTIVE_HIGH>; 2368 enable-active-high; 2369 vin-supply = <&vdd_5v0_bat>; 2370 }; 2371 2372 hdmi_5v0_sys: regulator-hdmi { 2373 compatible = "regulator-fixed"; 2374 regulator-name = "hdmi_5v0_sys"; 2375 regulator-min-microvolt = <5000000>; 2376 regulator-max-microvolt = <5000000>; 2377 gpio = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_HIGH>; 2378 enable-active-high; 2379 vin-supply = <&vdd_5v0_sys>; 2380 }; 2381 2382 sound { 2383 compatible = "asus,tegra-audio-rt5640-tf600t", 2384 "nvidia,tegra-audio-rt5640"; 2385 nvidia,model = "Asus VivoTab RT TF600T RT5640"; 2386 2387 nvidia,audio-routing = 2388 "Headphones", "HPOR", 2389 "Headphones", "HPOL", 2390 "Speakers", "SPORP", 2391 "Speakers", "SPORN", 2392 "Speakers", "SPOLP", 2393 "Speakers", "SPOLN", 2394 "DMIC1", "Mic Jack"; 2395 2396 nvidia,i2s-controller = <&tegra_i2s1>; 2397 nvidia,audio-codec = <&rt5640>; 2398 2399 nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_LOW>; 2400 nvidia,mic-det-gpios = <&gpio TEGRA_GPIO(X, 2) GPIO_ACTIVE_LOW>; 2401 nvidia,coupled-mic-hp-det; 2402 2403 clocks = <&tegra_car TEGRA30_CLK_PLL_A>, 2404 <&tegra_car TEGRA30_CLK_PLL_A_OUT0>, 2405 <&tegra_pmc TEGRA_PMC_CLK_OUT_1>; 2406 clock-names = "pll_a", "pll_a_out0", "mclk"; 2407 2408 assigned-clocks = <&tegra_car TEGRA30_CLK_EXTERN1>, 2409 <&tegra_pmc TEGRA_PMC_CLK_OUT_1>; 2410 2411 assigned-clock-parents = <&tegra_car TEGRA30_CLK_PLL_A_OUT0>, 2412 <&tegra_car TEGRA30_CLK_EXTERN1>; 2413 }; 2414 2415 thermal-zones { 2416 /* 2417 * NCT72 has two sensors: 2418 * 2419 * 0: internal that monitors ambient/skin temperature 2420 * 1: external that is connected to the CPU's diode 2421 * 2422 * Ideally we should use userspace thermal governor, 2423 * but it's a much more complex solution. The "skin" 2424 * zone exists as a simpler solution which prevents 2425 * Transformers from getting too hot from a user's 2426 * tactile perspective. The CPU zone is intended to 2427 * protect silicon from damage. 2428 */ 2429 2430 skin-thermal { 2431 polling-delay-passive = <1000>; /* milliseconds */ 2432 polling-delay = <5000>; /* milliseconds */ 2433 2434 thermal-sensors = <&nct72 0>; 2435 2436 trips { 2437 trip0: skin-alert { 2438 /* throttle at 57C until temperature drops to 56.8C */ 2439 temperature = <57000>; 2440 hysteresis = <200>; 2441 type = "passive"; 2442 }; 2443 2444 trip1: skin-crit { 2445 /* shut down at 65C */ 2446 temperature = <65000>; 2447 hysteresis = <2000>; 2448 type = "critical"; 2449 }; 2450 }; 2451 2452 cooling-maps { 2453 map0 { 2454 trip = <&trip0>; 2455 cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 2456 <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 2457 <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 2458 <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 2459 <&actmon THERMAL_NO_LIMIT 2460 THERMAL_NO_LIMIT>; 2461 }; 2462 }; 2463 }; 2464 2465 cpu-thermal { 2466 polling-delay-passive = <1000>; /* milliseconds */ 2467 polling-delay = <5000>; /* milliseconds */ 2468 2469 thermal-sensors = <&nct72 1>; 2470 2471 trips { 2472 trip2: cpu-alert { 2473 /* throttle at 75C until temperature drops to 74.8C */ 2474 temperature = <75000>; 2475 hysteresis = <200>; 2476 type = "passive"; 2477 }; 2478 2479 trip3: cpu-crit { 2480 /* shut down at 90C */ 2481 temperature = <90000>; 2482 hysteresis = <2000>; 2483 type = "critical"; 2484 }; 2485 }; 2486 2487 cooling-maps { 2488 map1 { 2489 trip = <&trip2>; 2490 cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 2491 <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 2492 <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 2493 <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 2494 <&actmon THERMAL_NO_LIMIT 2495 THERMAL_NO_LIMIT>; 2496 }; 2497 }; 2498 }; 2499 }; 2500}; 2501