1// SPDX-License-Identifier: GPL-2.0 OR X11 2/* 3 * Copyright 2016-2019 Toradex AG 4 */ 5 6#include "tegra124.dtsi" 7#include "tegra124-apalis-emc.dtsi" 8 9/* 10 * Toradex Apalis TK1 Module Device Tree 11 * Compatible for Revisions 2GB: V1.0A, V1.0B, V1.1A 12 */ 13/ { 14 memory@80000000 { 15 reg = <0x0 0x80000000 0x0 0x80000000>; 16 }; 17 18 pcie@1003000 { 19 status = "okay"; 20 avddio-pex-supply = <®_1v05_vdd>; 21 avdd-pex-pll-supply = <®_1v05_vdd>; 22 avdd-pll-erefe-supply = <®_1v05_avdd>; 23 dvddio-pex-supply = <®_1v05_vdd>; 24 hvdd-pex-pll-e-supply = <®_module_3v3>; 25 hvdd-pex-supply = <®_module_3v3>; 26 vddio-pex-ctl-supply = <®_module_3v3>; 27 28 /* Apalis PCIe (additional lane Apalis type specific) */ 29 pci@1,0 { 30 /* PCIE1_RX/TX and TS_DIFF1/2 */ 31 phys = <&{/padctl@7009f000/pads/pcie/lanes/pcie-4}>, 32 <&{/padctl@7009f000/pads/pcie/lanes/pcie-3}>; 33 phy-names = "pcie-0", "pcie-1"; 34 }; 35 36 /* I210 Gigabit Ethernet Controller (On-module) */ 37 pci@2,0 { 38 phys = <&{/padctl@7009f000/pads/pcie/lanes/pcie-2}>; 39 phy-names = "pcie-0"; 40 status = "okay"; 41 42 ethernet@0,0 { 43 reg = <0 0 0 0 0>; 44 local-mac-address = [00 00 00 00 00 00]; 45 }; 46 }; 47 }; 48 49 host1x@50000000 { 50 hdmi@54280000 { 51 nvidia,ddc-i2c-bus = <&hdmi_ddc>; 52 nvidia,hpd-gpio = 53 <&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>; 54 pll-supply = <®_1v05_avdd_hdmi_pll>; 55 vdd-supply = <®_3v3_avdd_hdmi>; 56 }; 57 }; 58 59 gpu@0,57000000 { 60 /* 61 * Node left disabled on purpose - the bootloader will enable 62 * it after having set the VPR up 63 */ 64 vdd-supply = <®_vdd_gpu>; 65 }; 66 67 pinmux@70000868 { 68 pinctrl-names = "default"; 69 pinctrl-0 = <&state_default>; 70 71 state_default: pinmux { 72 /* Analogue Audio (On-module) */ 73 dap3-fs-pp0 { 74 nvidia,pins = "dap3_fs_pp0"; 75 nvidia,function = "i2s2"; 76 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 77 nvidia,tristate = <TEGRA_PIN_DISABLE>; 78 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 79 }; 80 dap3-din-pp1 { 81 nvidia,pins = "dap3_din_pp1"; 82 nvidia,function = "i2s2"; 83 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 84 nvidia,tristate = <TEGRA_PIN_ENABLE>; 85 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 86 }; 87 dap3-dout-pp2 { 88 nvidia,pins = "dap3_dout_pp2"; 89 nvidia,function = "i2s2"; 90 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 91 nvidia,tristate = <TEGRA_PIN_DISABLE>; 92 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 93 }; 94 dap3-sclk-pp3 { 95 nvidia,pins = "dap3_sclk_pp3"; 96 nvidia,function = "i2s2"; 97 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 98 nvidia,tristate = <TEGRA_PIN_DISABLE>; 99 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 100 }; 101 dap-mclk1-pw4 { 102 nvidia,pins = "dap_mclk1_pw4"; 103 nvidia,function = "extperiph1"; 104 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 105 nvidia,tristate = <TEGRA_PIN_DISABLE>; 106 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 107 }; 108 109 /* Apalis BKL1_ON */ 110 pbb5 { 111 nvidia,pins = "pbb5"; 112 nvidia,function = "vgp5"; 113 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 114 nvidia,tristate = <TEGRA_PIN_DISABLE>; 115 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 116 }; 117 118 /* Apalis BKL1_PWM */ 119 pu6 { 120 nvidia,pins = "pu6"; 121 nvidia,function = "pwm3"; 122 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 123 nvidia,tristate = <TEGRA_PIN_DISABLE>; 124 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 125 }; 126 127 /* Apalis CAM1_MCLK */ 128 cam-mclk-pcc0 { 129 nvidia,pins = "cam_mclk_pcc0"; 130 nvidia,function = "vi_alt3"; 131 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 132 nvidia,tristate = <TEGRA_PIN_DISABLE>; 133 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 134 }; 135 136 /* Apalis Digital Audio */ 137 dap2-fs-pa2 { 138 nvidia,pins = "dap2_fs_pa2"; 139 nvidia,function = "hda"; 140 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 141 nvidia,tristate = <TEGRA_PIN_DISABLE>; 142 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 143 }; 144 dap2-sclk-pa3 { 145 nvidia,pins = "dap2_sclk_pa3"; 146 nvidia,function = "hda"; 147 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 148 nvidia,tristate = <TEGRA_PIN_DISABLE>; 149 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 150 }; 151 dap2-din-pa4 { 152 nvidia,pins = "dap2_din_pa4"; 153 nvidia,function = "hda"; 154 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 155 nvidia,tristate = <TEGRA_PIN_ENABLE>; 156 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 157 }; 158 dap2-dout-pa5 { 159 nvidia,pins = "dap2_dout_pa5"; 160 nvidia,function = "hda"; 161 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 162 nvidia,tristate = <TEGRA_PIN_DISABLE>; 163 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 164 }; 165 pbb3 { /* DAP1_RESET */ 166 nvidia,pins = "pbb3"; 167 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 168 nvidia,tristate = <TEGRA_PIN_DISABLE>; 169 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 170 }; 171 clk3-out-pee0 { 172 nvidia,pins = "clk3_out_pee0"; 173 nvidia,function = "extperiph3"; 174 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 175 nvidia,tristate = <TEGRA_PIN_DISABLE>; 176 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 177 }; 178 179 /* Apalis GPIO */ 180 ddc-scl-pv4 { 181 nvidia,pins = "ddc_scl_pv4"; 182 nvidia,function = "rsvd2"; 183 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 184 nvidia,tristate = <TEGRA_PIN_DISABLE>; 185 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 186 }; 187 ddc-sda-pv5 { 188 nvidia,pins = "ddc_sda_pv5"; 189 nvidia,function = "rsvd2"; 190 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 191 nvidia,tristate = <TEGRA_PIN_DISABLE>; 192 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 193 }; 194 pex-l0-rst-n-pdd1 { 195 nvidia,pins = "pex_l0_rst_n_pdd1"; 196 nvidia,function = "rsvd2"; 197 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 198 nvidia,tristate = <TEGRA_PIN_DISABLE>; 199 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 200 }; 201 pex-l0-clkreq-n-pdd2 { 202 nvidia,pins = "pex_l0_clkreq_n_pdd2"; 203 nvidia,function = "rsvd2"; 204 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 205 nvidia,tristate = <TEGRA_PIN_DISABLE>; 206 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 207 }; 208 pex-l1-rst-n-pdd5 { 209 nvidia,pins = "pex_l1_rst_n_pdd5"; 210 nvidia,function = "rsvd2"; 211 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 212 nvidia,tristate = <TEGRA_PIN_DISABLE>; 213 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 214 }; 215 pex-l1-clkreq-n-pdd6 { 216 nvidia,pins = "pex_l1_clkreq_n_pdd6"; 217 nvidia,function = "rsvd2"; 218 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 219 nvidia,tristate = <TEGRA_PIN_DISABLE>; 220 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 221 }; 222 dp-hpd-pff0 { 223 nvidia,pins = "dp_hpd_pff0"; 224 nvidia,function = "dp"; 225 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 226 nvidia,tristate = <TEGRA_PIN_DISABLE>; 227 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 228 }; 229 pff2 { 230 nvidia,pins = "pff2"; 231 nvidia,function = "rsvd2"; 232 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 233 nvidia,tristate = <TEGRA_PIN_DISABLE>; 234 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 235 }; 236 owr { /* PEX_L1_CLKREQ_N multiplexed GPIO6 */ 237 nvidia,pins = "owr"; 238 nvidia,function = "rsvd2"; 239 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 240 nvidia,tristate = <TEGRA_PIN_ENABLE>; 241 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 242 nvidia,rcv-sel = <TEGRA_PIN_DISABLE>; 243 }; 244 245 /* Apalis HDMI1_CEC */ 246 hdmi-cec-pee3 { 247 nvidia,pins = "hdmi_cec_pee3"; 248 nvidia,function = "cec"; 249 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 250 nvidia,tristate = <TEGRA_PIN_DISABLE>; 251 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 252 nvidia,open-drain = <TEGRA_PIN_DISABLE>; 253 }; 254 255 /* Apalis HDMI1_HPD */ 256 hdmi-int-pn7 { 257 nvidia,pins = "hdmi_int_pn7"; 258 nvidia,function = "rsvd1"; 259 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 260 nvidia,tristate = <TEGRA_PIN_ENABLE>; 261 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 262 nvidia,rcv-sel = <TEGRA_PIN_DISABLE>; 263 }; 264 265 /* Apalis I2C1 */ 266 gen1-i2c-scl-pc4 { 267 nvidia,pins = "gen1_i2c_scl_pc4"; 268 nvidia,function = "i2c1"; 269 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 270 nvidia,tristate = <TEGRA_PIN_DISABLE>; 271 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 272 nvidia,open-drain = <TEGRA_PIN_ENABLE>; 273 }; 274 gen1-i2c-sda-pc5 { 275 nvidia,pins = "gen1_i2c_sda_pc5"; 276 nvidia,function = "i2c1"; 277 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 278 nvidia,tristate = <TEGRA_PIN_DISABLE>; 279 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 280 nvidia,open-drain = <TEGRA_PIN_ENABLE>; 281 }; 282 283 /* Apalis I2C2 (DDC) */ 284 gen2-i2c-scl-pt5 { 285 nvidia,pins = "gen2_i2c_scl_pt5"; 286 nvidia,function = "i2c2"; 287 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 288 nvidia,tristate = <TEGRA_PIN_DISABLE>; 289 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 290 nvidia,open-drain = <TEGRA_PIN_ENABLE>; 291 }; 292 gen2-i2c-sda-pt6 { 293 nvidia,pins = "gen2_i2c_sda_pt6"; 294 nvidia,function = "i2c2"; 295 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 296 nvidia,tristate = <TEGRA_PIN_DISABLE>; 297 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 298 nvidia,open-drain = <TEGRA_PIN_ENABLE>; 299 }; 300 301 /* Apalis I2C3 (CAM) */ 302 cam-i2c-scl-pbb1 { 303 nvidia,pins = "cam_i2c_scl_pbb1"; 304 nvidia,function = "i2c3"; 305 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 306 nvidia,tristate = <TEGRA_PIN_DISABLE>; 307 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 308 nvidia,open-drain = <TEGRA_PIN_ENABLE>; 309 }; 310 cam-i2c-sda-pbb2 { 311 nvidia,pins = "cam_i2c_sda_pbb2"; 312 nvidia,function = "i2c3"; 313 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 314 nvidia,tristate = <TEGRA_PIN_DISABLE>; 315 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 316 nvidia,open-drain = <TEGRA_PIN_ENABLE>; 317 }; 318 319 /* Apalis MMC1 */ 320 sdmmc1-cd-n-pv3 { /* CD# GPIO */ 321 nvidia,pins = "sdmmc1_wp_n_pv3"; 322 nvidia,function = "sdmmc1"; 323 nvidia,pull = <TEGRA_PIN_PULL_UP>; 324 nvidia,tristate = <TEGRA_PIN_ENABLE>; 325 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 326 }; 327 clk2-out-pw5 { /* D5 GPIO */ 328 nvidia,pins = "clk2_out_pw5"; 329 nvidia,function = "rsvd2"; 330 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 331 nvidia,tristate = <TEGRA_PIN_DISABLE>; 332 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 333 }; 334 sdmmc1-dat3-py4 { 335 nvidia,pins = "sdmmc1_dat3_py4"; 336 nvidia,function = "sdmmc1"; 337 nvidia,pull = <TEGRA_PIN_PULL_UP>; 338 nvidia,tristate = <TEGRA_PIN_DISABLE>; 339 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 340 }; 341 sdmmc1-dat2-py5 { 342 nvidia,pins = "sdmmc1_dat2_py5"; 343 nvidia,function = "sdmmc1"; 344 nvidia,pull = <TEGRA_PIN_PULL_UP>; 345 nvidia,tristate = <TEGRA_PIN_DISABLE>; 346 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 347 }; 348 sdmmc1-dat1-py6 { 349 nvidia,pins = "sdmmc1_dat1_py6"; 350 nvidia,function = "sdmmc1"; 351 nvidia,pull = <TEGRA_PIN_PULL_UP>; 352 nvidia,tristate = <TEGRA_PIN_DISABLE>; 353 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 354 }; 355 sdmmc1-dat0-py7 { 356 nvidia,pins = "sdmmc1_dat0_py7"; 357 nvidia,function = "sdmmc1"; 358 nvidia,pull = <TEGRA_PIN_PULL_UP>; 359 nvidia,tristate = <TEGRA_PIN_DISABLE>; 360 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 361 }; 362 sdmmc1-clk-pz0 { 363 nvidia,pins = "sdmmc1_clk_pz0"; 364 nvidia,function = "sdmmc1"; 365 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 366 nvidia,tristate = <TEGRA_PIN_DISABLE>; 367 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 368 }; 369 sdmmc1-cmd-pz1 { 370 nvidia,pins = "sdmmc1_cmd_pz1"; 371 nvidia,function = "sdmmc1"; 372 nvidia,pull = <TEGRA_PIN_PULL_UP>; 373 nvidia,tristate = <TEGRA_PIN_DISABLE>; 374 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 375 }; 376 clk2-req-pcc5 { /* D4 GPIO */ 377 nvidia,pins = "clk2_req_pcc5"; 378 nvidia,function = "rsvd2"; 379 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 380 nvidia,tristate = <TEGRA_PIN_DISABLE>; 381 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 382 }; 383 sdmmc3-clk-lb-in-pee5 { /* D6 GPIO */ 384 nvidia,pins = "sdmmc3_clk_lb_in_pee5"; 385 nvidia,function = "rsvd2"; 386 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 387 nvidia,tristate = <TEGRA_PIN_DISABLE>; 388 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 389 }; 390 usb-vbus-en2-pff1 { /* D7 GPIO */ 391 nvidia,pins = "usb_vbus_en2_pff1"; 392 nvidia,function = "rsvd2"; 393 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 394 nvidia,tristate = <TEGRA_PIN_DISABLE>; 395 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 396 }; 397 398 /* Apalis PWM */ 399 ph0 { 400 nvidia,pins = "ph0"; 401 nvidia,function = "pwm0"; 402 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 403 nvidia,tristate = <TEGRA_PIN_DISABLE>; 404 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 405 }; 406 ph1 { 407 nvidia,pins = "ph1"; 408 nvidia,function = "pwm1"; 409 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 410 nvidia,tristate = <TEGRA_PIN_DISABLE>; 411 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 412 }; 413 ph2 { 414 nvidia,pins = "ph2"; 415 nvidia,function = "pwm2"; 416 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 417 nvidia,tristate = <TEGRA_PIN_DISABLE>; 418 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 419 }; 420 /* PWM3 active on pu6 being Apalis BKL1_PWM as well */ 421 ph3 { 422 nvidia,pins = "ph3"; 423 nvidia,function = "pwm3"; 424 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 425 nvidia,tristate = <TEGRA_PIN_DISABLE>; 426 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 427 }; 428 429 /* Apalis SATA1_ACT# */ 430 dap1-dout-pn2 { 431 nvidia,pins = "dap1_dout_pn2"; 432 nvidia,function = "gmi"; 433 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 434 nvidia,tristate = <TEGRA_PIN_DISABLE>; 435 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 436 }; 437 438 /* Apalis SD1 */ 439 sdmmc3-clk-pa6 { 440 nvidia,pins = "sdmmc3_clk_pa6"; 441 nvidia,function = "sdmmc3"; 442 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 443 nvidia,tristate = <TEGRA_PIN_DISABLE>; 444 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 445 }; 446 sdmmc3-cmd-pa7 { 447 nvidia,pins = "sdmmc3_cmd_pa7"; 448 nvidia,function = "sdmmc3"; 449 nvidia,pull = <TEGRA_PIN_PULL_UP>; 450 nvidia,tristate = <TEGRA_PIN_DISABLE>; 451 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 452 }; 453 sdmmc3-dat3-pb4 { 454 nvidia,pins = "sdmmc3_dat3_pb4"; 455 nvidia,function = "sdmmc3"; 456 nvidia,pull = <TEGRA_PIN_PULL_UP>; 457 nvidia,tristate = <TEGRA_PIN_DISABLE>; 458 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 459 }; 460 sdmmc3-dat2-pb5 { 461 nvidia,pins = "sdmmc3_dat2_pb5"; 462 nvidia,function = "sdmmc3"; 463 nvidia,pull = <TEGRA_PIN_PULL_UP>; 464 nvidia,tristate = <TEGRA_PIN_DISABLE>; 465 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 466 }; 467 sdmmc3-dat1-pb6 { 468 nvidia,pins = "sdmmc3_dat1_pb6"; 469 nvidia,function = "sdmmc3"; 470 nvidia,pull = <TEGRA_PIN_PULL_UP>; 471 nvidia,tristate = <TEGRA_PIN_DISABLE>; 472 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 473 }; 474 sdmmc3-dat0-pb7 { 475 nvidia,pins = "sdmmc3_dat0_pb7"; 476 nvidia,function = "sdmmc3"; 477 nvidia,pull = <TEGRA_PIN_PULL_UP>; 478 nvidia,tristate = <TEGRA_PIN_DISABLE>; 479 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 480 }; 481 sdmmc3-cd-n-pv2 { /* CD# GPIO */ 482 nvidia,pins = "sdmmc3_cd_n_pv2"; 483 nvidia,function = "rsvd3"; 484 nvidia,pull = <TEGRA_PIN_PULL_UP>; 485 nvidia,tristate = <TEGRA_PIN_ENABLE>; 486 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 487 }; 488 489 /* Apalis SPDIF */ 490 spdif-out-pk5 { 491 nvidia,pins = "spdif_out_pk5"; 492 nvidia,function = "spdif"; 493 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 494 nvidia,tristate = <TEGRA_PIN_DISABLE>; 495 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 496 }; 497 spdif-in-pk6 { 498 nvidia,pins = "spdif_in_pk6"; 499 nvidia,function = "spdif"; 500 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 501 nvidia,tristate = <TEGRA_PIN_ENABLE>; 502 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 503 }; 504 505 /* Apalis SPI1 */ 506 ulpi-clk-py0 { 507 nvidia,pins = "ulpi_clk_py0"; 508 nvidia,function = "spi1"; 509 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 510 nvidia,tristate = <TEGRA_PIN_DISABLE>; 511 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 512 }; 513 ulpi-dir-py1 { 514 nvidia,pins = "ulpi_dir_py1"; 515 nvidia,function = "spi1"; 516 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 517 nvidia,tristate = <TEGRA_PIN_ENABLE>; 518 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 519 }; 520 ulpi-nxt-py2 { 521 nvidia,pins = "ulpi_nxt_py2"; 522 nvidia,function = "spi1"; 523 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 524 nvidia,tristate = <TEGRA_PIN_DISABLE>; 525 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 526 }; 527 ulpi-stp-py3 { 528 nvidia,pins = "ulpi_stp_py3"; 529 nvidia,function = "spi1"; 530 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 531 nvidia,tristate = <TEGRA_PIN_DISABLE>; 532 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 533 }; 534 535 /* Apalis SPI2 */ 536 pg5 { 537 nvidia,pins = "pg5"; 538 nvidia,function = "spi4"; 539 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 540 nvidia,tristate = <TEGRA_PIN_DISABLE>; 541 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 542 }; 543 pg6 { 544 nvidia,pins = "pg6"; 545 nvidia,function = "spi4"; 546 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 547 nvidia,tristate = <TEGRA_PIN_DISABLE>; 548 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 549 }; 550 pg7 { 551 nvidia,pins = "pg7"; 552 nvidia,function = "spi4"; 553 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 554 nvidia,tristate = <TEGRA_PIN_ENABLE>; 555 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 556 }; 557 pi3 { 558 nvidia,pins = "pi3"; 559 nvidia,function = "spi4"; 560 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 561 nvidia,tristate = <TEGRA_PIN_DISABLE>; 562 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 563 }; 564 565 /* Apalis UART1 */ 566 pb1 { /* DCD GPIO */ 567 nvidia,pins = "pb1"; 568 nvidia,function = "rsvd2"; 569 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 570 nvidia,tristate = <TEGRA_PIN_ENABLE>; 571 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 572 }; 573 pk7 { /* RI GPIO */ 574 nvidia,pins = "pk7"; 575 nvidia,function = "rsvd2"; 576 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 577 nvidia,tristate = <TEGRA_PIN_ENABLE>; 578 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 579 }; 580 uart1-txd-pu0 { 581 nvidia,pins = "pu0"; 582 nvidia,function = "uarta"; 583 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 584 nvidia,tristate = <TEGRA_PIN_DISABLE>; 585 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 586 }; 587 uart1-rxd-pu1 { 588 nvidia,pins = "pu1"; 589 nvidia,function = "uarta"; 590 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 591 nvidia,tristate = <TEGRA_PIN_ENABLE>; 592 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 593 }; 594 uart1-cts-n-pu2 { 595 nvidia,pins = "pu2"; 596 nvidia,function = "uarta"; 597 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 598 nvidia,tristate = <TEGRA_PIN_ENABLE>; 599 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 600 }; 601 uart1-rts-n-pu3 { 602 nvidia,pins = "pu3"; 603 nvidia,function = "uarta"; 604 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 605 nvidia,tristate = <TEGRA_PIN_DISABLE>; 606 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 607 }; 608 uart3-cts-n-pa1 { /* DSR GPIO */ 609 nvidia,pins = "uart3_cts_n_pa1"; 610 nvidia,function = "gmi"; 611 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 612 nvidia,tristate = <TEGRA_PIN_ENABLE>; 613 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 614 }; 615 uart3-rts-n-pc0 { /* DTR GPIO */ 616 nvidia,pins = "uart3_rts_n_pc0"; 617 nvidia,function = "gmi"; 618 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 619 nvidia,tristate = <TEGRA_PIN_DISABLE>; 620 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 621 }; 622 623 /* Apalis UART2 */ 624 uart2-txd-pc2 { 625 nvidia,pins = "uart2_txd_pc2"; 626 nvidia,function = "irda"; 627 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 628 nvidia,tristate = <TEGRA_PIN_DISABLE>; 629 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 630 }; 631 uart2-rxd-pc3 { 632 nvidia,pins = "uart2_rxd_pc3"; 633 nvidia,function = "irda"; 634 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 635 nvidia,tristate = <TEGRA_PIN_ENABLE>; 636 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 637 }; 638 uart2-cts-n-pj5 { 639 nvidia,pins = "uart2_cts_n_pj5"; 640 nvidia,function = "uartb"; 641 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 642 nvidia,tristate = <TEGRA_PIN_ENABLE>; 643 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 644 }; 645 uart2-rts-n-pj6 { 646 nvidia,pins = "uart2_rts_n_pj6"; 647 nvidia,function = "uartb"; 648 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 649 nvidia,tristate = <TEGRA_PIN_DISABLE>; 650 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 651 }; 652 653 /* Apalis UART3 */ 654 uart3-txd-pw6 { 655 nvidia,pins = "uart3_txd_pw6"; 656 nvidia,function = "uartc"; 657 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 658 nvidia,tristate = <TEGRA_PIN_DISABLE>; 659 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 660 }; 661 uart3-rxd-pw7 { 662 nvidia,pins = "uart3_rxd_pw7"; 663 nvidia,function = "uartc"; 664 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 665 nvidia,tristate = <TEGRA_PIN_ENABLE>; 666 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 667 }; 668 669 /* Apalis UART4 */ 670 uart4-rxd-pb0 { 671 nvidia,pins = "pb0"; 672 nvidia,function = "uartd"; 673 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 674 nvidia,tristate = <TEGRA_PIN_ENABLE>; 675 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 676 }; 677 uart4-txd-pj7 { 678 nvidia,pins = "pj7"; 679 nvidia,function = "uartd"; 680 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 681 nvidia,tristate = <TEGRA_PIN_DISABLE>; 682 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 683 }; 684 685 /* Apalis USBH_EN */ 686 usb-vbus-en1-pn5 { 687 nvidia,pins = "usb_vbus_en1_pn5"; 688 nvidia,function = "rsvd2"; 689 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 690 nvidia,tristate = <TEGRA_PIN_DISABLE>; 691 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 692 nvidia,open-drain = <TEGRA_PIN_DISABLE>; 693 }; 694 695 /* Apalis USBH_OC# */ 696 pbb0 { 697 nvidia,pins = "pbb0"; 698 nvidia,function = "vgp6"; 699 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 700 nvidia,tristate = <TEGRA_PIN_ENABLE>; 701 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 702 }; 703 704 /* Apalis USBO1_EN */ 705 usb-vbus-en0-pn4 { 706 nvidia,pins = "usb_vbus_en0_pn4"; 707 nvidia,function = "rsvd2"; 708 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 709 nvidia,tristate = <TEGRA_PIN_DISABLE>; 710 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 711 nvidia,open-drain = <TEGRA_PIN_DISABLE>; 712 }; 713 714 /* Apalis USBO1_OC# */ 715 pbb4 { 716 nvidia,pins = "pbb4"; 717 nvidia,function = "vgp4"; 718 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 719 nvidia,tristate = <TEGRA_PIN_ENABLE>; 720 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 721 }; 722 723 /* Apalis WAKE1_MICO */ 724 pex-wake-n-pdd3 { 725 nvidia,pins = "pex_wake_n_pdd3"; 726 nvidia,function = "rsvd2"; 727 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 728 nvidia,tristate = <TEGRA_PIN_ENABLE>; 729 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 730 }; 731 732 /* CORE_PWR_REQ */ 733 core-pwr-req { 734 nvidia,pins = "core_pwr_req"; 735 nvidia,function = "pwron"; 736 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 737 nvidia,tristate = <TEGRA_PIN_DISABLE>; 738 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 739 }; 740 741 /* CPU_PWR_REQ */ 742 cpu-pwr-req { 743 nvidia,pins = "cpu_pwr_req"; 744 nvidia,function = "cpu"; 745 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 746 nvidia,tristate = <TEGRA_PIN_DISABLE>; 747 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 748 }; 749 750 /* DVFS */ 751 dvfs-pwm-px0 { 752 nvidia,pins = "dvfs_pwm_px0"; 753 nvidia,function = "cldvfs"; 754 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 755 nvidia,tristate = <TEGRA_PIN_DISABLE>; 756 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 757 }; 758 dvfs-clk-px2 { 759 nvidia,pins = "dvfs_clk_px2"; 760 nvidia,function = "cldvfs"; 761 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 762 nvidia,tristate = <TEGRA_PIN_DISABLE>; 763 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 764 }; 765 766 /* eMMC */ 767 sdmmc4-dat0-paa0 { 768 nvidia,pins = "sdmmc4_dat0_paa0"; 769 nvidia,function = "sdmmc4"; 770 nvidia,pull = <TEGRA_PIN_PULL_UP>; 771 nvidia,tristate = <TEGRA_PIN_DISABLE>; 772 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 773 }; 774 sdmmc4-dat1-paa1 { 775 nvidia,pins = "sdmmc4_dat1_paa1"; 776 nvidia,function = "sdmmc4"; 777 nvidia,pull = <TEGRA_PIN_PULL_UP>; 778 nvidia,tristate = <TEGRA_PIN_DISABLE>; 779 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 780 }; 781 sdmmc4-dat2-paa2 { 782 nvidia,pins = "sdmmc4_dat2_paa2"; 783 nvidia,function = "sdmmc4"; 784 nvidia,pull = <TEGRA_PIN_PULL_UP>; 785 nvidia,tristate = <TEGRA_PIN_DISABLE>; 786 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 787 }; 788 sdmmc4-dat3-paa3 { 789 nvidia,pins = "sdmmc4_dat3_paa3"; 790 nvidia,function = "sdmmc4"; 791 nvidia,pull = <TEGRA_PIN_PULL_UP>; 792 nvidia,tristate = <TEGRA_PIN_DISABLE>; 793 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 794 }; 795 sdmmc4-dat4-paa4 { 796 nvidia,pins = "sdmmc4_dat4_paa4"; 797 nvidia,function = "sdmmc4"; 798 nvidia,pull = <TEGRA_PIN_PULL_UP>; 799 nvidia,tristate = <TEGRA_PIN_DISABLE>; 800 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 801 }; 802 sdmmc4-dat5-paa5 { 803 nvidia,pins = "sdmmc4_dat5_paa5"; 804 nvidia,function = "sdmmc4"; 805 nvidia,pull = <TEGRA_PIN_PULL_UP>; 806 nvidia,tristate = <TEGRA_PIN_DISABLE>; 807 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 808 }; 809 sdmmc4-dat6-paa6 { 810 nvidia,pins = "sdmmc4_dat6_paa6"; 811 nvidia,function = "sdmmc4"; 812 nvidia,pull = <TEGRA_PIN_PULL_UP>; 813 nvidia,tristate = <TEGRA_PIN_DISABLE>; 814 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 815 }; 816 sdmmc4-dat7-paa7 { 817 nvidia,pins = "sdmmc4_dat7_paa7"; 818 nvidia,function = "sdmmc4"; 819 nvidia,pull = <TEGRA_PIN_PULL_UP>; 820 nvidia,tristate = <TEGRA_PIN_DISABLE>; 821 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 822 }; 823 sdmmc4-clk-pcc4 { 824 nvidia,pins = "sdmmc4_clk_pcc4"; 825 nvidia,function = "sdmmc4"; 826 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 827 nvidia,tristate = <TEGRA_PIN_DISABLE>; 828 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 829 }; 830 sdmmc4-cmd-pt7 { 831 nvidia,pins = "sdmmc4_cmd_pt7"; 832 nvidia,function = "sdmmc4"; 833 nvidia,pull = <TEGRA_PIN_PULL_UP>; 834 nvidia,tristate = <TEGRA_PIN_DISABLE>; 835 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 836 }; 837 838 /* JTAG_RTCK */ 839 jtag-rtck { 840 nvidia,pins = "jtag_rtck"; 841 nvidia,function = "rtck"; 842 nvidia,pull = <TEGRA_PIN_PULL_UP>; 843 nvidia,tristate = <TEGRA_PIN_DISABLE>; 844 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 845 }; 846 847 /* LAN_DEV_OFF# */ 848 ulpi-data5-po6 { 849 nvidia,pins = "ulpi_data5_po6"; 850 nvidia,function = "ulpi"; 851 nvidia,pull = <TEGRA_PIN_PULL_UP>; 852 nvidia,tristate = <TEGRA_PIN_DISABLE>; 853 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 854 }; 855 856 /* LAN_RESET# */ 857 kb-row10-ps2 { 858 nvidia,pins = "kb_row10_ps2"; 859 nvidia,function = "rsvd2"; 860 nvidia,pull = <TEGRA_PIN_PULL_UP>; 861 nvidia,tristate = <TEGRA_PIN_DISABLE>; 862 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 863 }; 864 865 /* LAN_WAKE# */ 866 ulpi-data4-po5 { 867 nvidia,pins = "ulpi_data4_po5"; 868 nvidia,function = "ulpi"; 869 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 870 nvidia,tristate = <TEGRA_PIN_ENABLE>; 871 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 872 }; 873 874 /* MCU_INT1# */ 875 pk2 { 876 nvidia,pins = "pk2"; 877 nvidia,function = "rsvd1"; 878 nvidia,pull = <TEGRA_PIN_PULL_UP>; 879 nvidia,tristate = <TEGRA_PIN_ENABLE>; 880 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 881 }; 882 883 /* MCU_INT2# */ 884 pj2 { 885 nvidia,pins = "pj2"; 886 nvidia,function = "rsvd1"; 887 nvidia,pull = <TEGRA_PIN_PULL_UP>; 888 nvidia,tristate = <TEGRA_PIN_ENABLE>; 889 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 890 }; 891 892 /* MCU_INT3# */ 893 pi5 { 894 nvidia,pins = "pi5"; 895 nvidia,function = "rsvd2"; 896 nvidia,pull = <TEGRA_PIN_PULL_UP>; 897 nvidia,tristate = <TEGRA_PIN_ENABLE>; 898 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 899 }; 900 901 /* MCU_INT4# */ 902 pj0 { 903 nvidia,pins = "pj0"; 904 nvidia,function = "rsvd1"; 905 nvidia,pull = <TEGRA_PIN_PULL_UP>; 906 nvidia,tristate = <TEGRA_PIN_ENABLE>; 907 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 908 }; 909 910 /* MCU_RESET */ 911 pbb6 { 912 nvidia,pins = "pbb6"; 913 nvidia,function = "rsvd2"; 914 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 915 nvidia,tristate = <TEGRA_PIN_DISABLE>; 916 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 917 }; 918 919 /* MCU SPI */ 920 gpio-x4-aud-px4 { 921 nvidia,pins = "gpio_x4_aud_px4"; 922 nvidia,function = "spi2"; 923 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 924 nvidia,tristate = <TEGRA_PIN_DISABLE>; 925 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 926 }; 927 gpio-x5-aud-px5 { 928 nvidia,pins = "gpio_x5_aud_px5"; 929 nvidia,function = "spi2"; 930 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 931 nvidia,tristate = <TEGRA_PIN_DISABLE>; 932 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 933 }; 934 gpio-x6-aud-px6 { /* MCU_CS */ 935 nvidia,pins = "gpio_x6_aud_px6"; 936 nvidia,function = "spi2"; 937 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 938 nvidia,tristate = <TEGRA_PIN_DISABLE>; 939 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 940 }; 941 gpio-x7-aud-px7 { 942 nvidia,pins = "gpio_x7_aud_px7"; 943 nvidia,function = "spi2"; 944 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 945 nvidia,tristate = <TEGRA_PIN_ENABLE>; 946 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 947 }; 948 gpio-w2-aud-pw2 { /* MCU_CSEZP */ 949 nvidia,pins = "gpio_w2_aud_pw2"; 950 nvidia,function = "spi2"; 951 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 952 nvidia,tristate = <TEGRA_PIN_DISABLE>; 953 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 954 }; 955 956 /* PMIC_CLK_32K */ 957 clk-32k-in { 958 nvidia,pins = "clk_32k_in"; 959 nvidia,function = "clk"; 960 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 961 nvidia,tristate = <TEGRA_PIN_ENABLE>; 962 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 963 }; 964 965 /* PMIC_CPU_OC_INT */ 966 clk-32k-out-pa0 { 967 nvidia,pins = "clk_32k_out_pa0"; 968 nvidia,function = "soc"; 969 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 970 nvidia,tristate = <TEGRA_PIN_ENABLE>; 971 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 972 }; 973 974 /* PWR_I2C */ 975 pwr-i2c-scl-pz6 { 976 nvidia,pins = "pwr_i2c_scl_pz6"; 977 nvidia,function = "i2cpwr"; 978 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 979 nvidia,tristate = <TEGRA_PIN_DISABLE>; 980 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 981 nvidia,open-drain = <TEGRA_PIN_ENABLE>; 982 }; 983 pwr-i2c-sda-pz7 { 984 nvidia,pins = "pwr_i2c_sda_pz7"; 985 nvidia,function = "i2cpwr"; 986 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 987 nvidia,tristate = <TEGRA_PIN_DISABLE>; 988 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 989 nvidia,open-drain = <TEGRA_PIN_ENABLE>; 990 }; 991 992 /* PWR_INT_N */ 993 pwr-int-n { 994 nvidia,pins = "pwr_int_n"; 995 nvidia,function = "pmi"; 996 nvidia,pull = <TEGRA_PIN_PULL_UP>; 997 nvidia,tristate = <TEGRA_PIN_ENABLE>; 998 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 999 }; 1000 1001 /* RESET_MOCI_CTRL */ 1002 pu4 { 1003 nvidia,pins = "pu4"; 1004 nvidia,function = "gmi"; 1005 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 1006 nvidia,tristate = <TEGRA_PIN_DISABLE>; 1007 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1008 }; 1009 1010 /* RESET_OUT_N */ 1011 reset-out-n { 1012 nvidia,pins = "reset_out_n"; 1013 nvidia,function = "reset_out_n"; 1014 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 1015 nvidia,tristate = <TEGRA_PIN_DISABLE>; 1016 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 1017 }; 1018 1019 /* SHIFT_CTRL_DIR_IN */ 1020 kb-row0-pr0 { 1021 nvidia,pins = "kb_row0_pr0"; 1022 nvidia,function = "rsvd2"; 1023 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1024 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1025 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1026 }; 1027 kb-row1-pr1 { 1028 nvidia,pins = "kb_row1_pr1"; 1029 nvidia,function = "rsvd2"; 1030 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1031 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1032 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1033 }; 1034 1035 /* Configure level-shifter as output for HDA */ 1036 kb-row11-ps3 { 1037 nvidia,pins = "kb_row11_ps3"; 1038 nvidia,function = "rsvd2"; 1039 nvidia,pull = <TEGRA_PIN_PULL_UP>; 1040 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1041 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1042 }; 1043 1044 /* SHIFT_CTRL_DIR_OUT */ 1045 kb-col5-pq5 { 1046 nvidia,pins = "kb_col5_pq5"; 1047 nvidia,function = "rsvd2"; 1048 nvidia,pull = <TEGRA_PIN_PULL_UP>; 1049 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1050 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1051 }; 1052 kb-col6-pq6 { 1053 nvidia,pins = "kb_col6_pq6"; 1054 nvidia,function = "rsvd2"; 1055 nvidia,pull = <TEGRA_PIN_PULL_UP>; 1056 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1057 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1058 }; 1059 kb-col7-pq7 { 1060 nvidia,pins = "kb_col7_pq7"; 1061 nvidia,function = "rsvd2"; 1062 nvidia,pull = <TEGRA_PIN_PULL_UP>; 1063 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1064 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1065 }; 1066 1067 /* SHIFT_CTRL_OE */ 1068 kb-col0-pq0 { 1069 nvidia,pins = "kb_col0_pq0"; 1070 nvidia,function = "rsvd2"; 1071 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1072 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1073 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1074 }; 1075 kb-col1-pq1 { 1076 nvidia,pins = "kb_col1_pq1"; 1077 nvidia,function = "rsvd2"; 1078 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1079 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1080 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1081 }; 1082 kb-col2-pq2 { 1083 nvidia,pins = "kb_col2_pq2"; 1084 nvidia,function = "rsvd2"; 1085 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1086 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1087 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1088 }; 1089 kb-col4-pq4 { 1090 nvidia,pins = "kb_col4_pq4"; 1091 nvidia,function = "kbc"; 1092 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1093 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1094 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1095 }; 1096 kb-row2-pr2 { 1097 nvidia,pins = "kb_row2_pr2"; 1098 nvidia,function = "rsvd2"; 1099 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1100 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1101 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1102 }; 1103 1104 /* GPIO_PI6 aka TMP451 ALERT#/THERM2# */ 1105 pi6 { 1106 nvidia,pins = "pi6"; 1107 nvidia,function = "rsvd1"; 1108 nvidia,pull = <TEGRA_PIN_PULL_UP>; 1109 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1110 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 1111 }; 1112 1113 /* TOUCH_INT */ 1114 gpio-w3-aud-pw3 { 1115 nvidia,pins = "gpio_w3_aud_pw3"; 1116 nvidia,function = "spi6"; 1117 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 1118 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1119 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 1120 }; 1121 1122 pc7 { /* NC */ 1123 nvidia,pins = "pc7"; 1124 nvidia,function = "rsvd1"; 1125 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1126 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1127 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1128 }; 1129 pg0 { /* NC */ 1130 nvidia,pins = "pg0"; 1131 nvidia,function = "rsvd1"; 1132 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1133 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1134 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1135 }; 1136 pg1 { /* NC */ 1137 nvidia,pins = "pg1"; 1138 nvidia,function = "rsvd1"; 1139 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1140 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1141 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1142 }; 1143 pg2 { /* NC */ 1144 nvidia,pins = "pg2"; 1145 nvidia,function = "rsvd1"; 1146 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1147 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1148 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1149 }; 1150 pg3 { /* NC */ 1151 nvidia,pins = "pg3"; 1152 nvidia,function = "rsvd1"; 1153 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1154 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1155 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1156 }; 1157 pg4 { /* NC */ 1158 nvidia,pins = "pg4"; 1159 nvidia,function = "rsvd1"; 1160 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1161 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1162 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1163 }; 1164 ph4 { /* NC */ 1165 nvidia,pins = "ph4"; 1166 nvidia,function = "rsvd2"; 1167 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1168 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1169 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1170 }; 1171 ph5 { /* NC */ 1172 nvidia,pins = "ph5"; 1173 nvidia,function = "rsvd2"; 1174 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1175 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1176 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1177 }; 1178 ph6 { /* NC */ 1179 nvidia,pins = "ph6"; 1180 nvidia,function = "gmi"; 1181 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1182 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1183 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1184 }; 1185 ph7 { /* NC */ 1186 nvidia,pins = "ph7"; 1187 nvidia,function = "gmi"; 1188 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1189 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1190 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1191 }; 1192 pi0 { /* NC */ 1193 nvidia,pins = "pi0"; 1194 nvidia,function = "rsvd1"; 1195 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1196 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1197 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1198 }; 1199 pi1 { /* NC */ 1200 nvidia,pins = "pi1"; 1201 nvidia,function = "rsvd1"; 1202 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1203 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1204 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1205 }; 1206 pi2 { /* NC */ 1207 nvidia,pins = "pi2"; 1208 nvidia,function = "rsvd4"; 1209 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1210 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1211 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1212 }; 1213 pi4 { /* NC */ 1214 nvidia,pins = "pi4"; 1215 nvidia,function = "gmi"; 1216 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1217 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1218 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1219 }; 1220 pi7 { /* NC */ 1221 nvidia,pins = "pi7"; 1222 nvidia,function = "rsvd1"; 1223 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1224 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1225 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1226 }; 1227 pk0 { /* NC */ 1228 nvidia,pins = "pk0"; 1229 nvidia,function = "rsvd1"; 1230 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1231 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1232 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1233 }; 1234 pk1 { /* NC */ 1235 nvidia,pins = "pk1"; 1236 nvidia,function = "rsvd4"; 1237 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1238 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1239 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1240 }; 1241 pk3 { /* NC */ 1242 nvidia,pins = "pk3"; 1243 nvidia,function = "gmi"; 1244 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1245 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1246 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1247 }; 1248 pk4 { /* NC */ 1249 nvidia,pins = "pk4"; 1250 nvidia,function = "rsvd2"; 1251 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1252 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1253 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1254 }; 1255 dap1-fs-pn0 { /* NC */ 1256 nvidia,pins = "dap1_fs_pn0"; 1257 nvidia,function = "rsvd4"; 1258 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1259 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1260 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1261 }; 1262 dap1-din-pn1 { /* NC */ 1263 nvidia,pins = "dap1_din_pn1"; 1264 nvidia,function = "rsvd4"; 1265 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1266 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1267 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1268 }; 1269 dap1-sclk-pn3 { /* NC */ 1270 nvidia,pins = "dap1_sclk_pn3"; 1271 nvidia,function = "rsvd4"; 1272 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1273 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1274 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1275 }; 1276 ulpi-data7-po0 { /* NC */ 1277 nvidia,pins = "ulpi_data7_po0"; 1278 nvidia,function = "ulpi"; 1279 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1280 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1281 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1282 }; 1283 ulpi-data0-po1 { /* NC */ 1284 nvidia,pins = "ulpi_data0_po1"; 1285 nvidia,function = "ulpi"; 1286 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1287 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1288 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1289 }; 1290 ulpi-data1-po2 { /* NC */ 1291 nvidia,pins = "ulpi_data1_po2"; 1292 nvidia,function = "ulpi"; 1293 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1294 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1295 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1296 }; 1297 ulpi-data2-po3 { /* NC */ 1298 nvidia,pins = "ulpi_data2_po3"; 1299 nvidia,function = "ulpi"; 1300 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1301 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1302 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1303 }; 1304 ulpi-data3-po4 { /* NC */ 1305 nvidia,pins = "ulpi_data3_po4"; 1306 nvidia,function = "ulpi"; 1307 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1308 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1309 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1310 }; 1311 ulpi-data6-po7 { /* NC */ 1312 nvidia,pins = "ulpi_data6_po7"; 1313 nvidia,function = "ulpi"; 1314 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1315 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1316 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1317 }; 1318 dap4-fs-pp4 { /* NC */ 1319 nvidia,pins = "dap4_fs_pp4"; 1320 nvidia,function = "rsvd4"; 1321 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1322 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1323 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1324 }; 1325 dap4-din-pp5 { /* NC */ 1326 nvidia,pins = "dap4_din_pp5"; 1327 nvidia,function = "rsvd3"; 1328 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1329 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1330 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1331 }; 1332 dap4-dout-pp6 { /* NC */ 1333 nvidia,pins = "dap4_dout_pp6"; 1334 nvidia,function = "rsvd4"; 1335 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1336 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1337 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1338 }; 1339 dap4-sclk-pp7 { /* NC */ 1340 nvidia,pins = "dap4_sclk_pp7"; 1341 nvidia,function = "rsvd3"; 1342 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1343 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1344 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1345 }; 1346 kb-col3-pq3 { /* NC */ 1347 nvidia,pins = "kb_col3_pq3"; 1348 nvidia,function = "kbc"; 1349 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1350 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1351 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1352 }; 1353 kb-row3-pr3 { /* NC */ 1354 nvidia,pins = "kb_row3_pr3"; 1355 nvidia,function = "kbc"; 1356 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1357 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1358 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1359 }; 1360 kb-row4-pr4 { /* NC */ 1361 nvidia,pins = "kb_row4_pr4"; 1362 nvidia,function = "rsvd3"; 1363 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1364 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1365 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1366 }; 1367 kb-row5-pr5 { /* NC */ 1368 nvidia,pins = "kb_row5_pr5"; 1369 nvidia,function = "rsvd3"; 1370 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1371 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1372 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1373 }; 1374 kb-row6-pr6 { /* NC */ 1375 nvidia,pins = "kb_row6_pr6"; 1376 nvidia,function = "kbc"; 1377 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1378 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1379 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1380 }; 1381 kb-row7-pr7 { /* NC */ 1382 nvidia,pins = "kb_row7_pr7"; 1383 nvidia,function = "rsvd2"; 1384 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1385 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1386 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1387 }; 1388 kb-row8-ps0 { /* NC */ 1389 nvidia,pins = "kb_row8_ps0"; 1390 nvidia,function = "rsvd2"; 1391 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1392 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1393 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1394 }; 1395 kb-row9-ps1 { /* NC */ 1396 nvidia,pins = "kb_row9_ps1"; 1397 nvidia,function = "rsvd2"; 1398 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1399 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1400 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1401 }; 1402 kb-row12-ps4 { /* NC */ 1403 nvidia,pins = "kb_row12_ps4"; 1404 nvidia,function = "rsvd2"; 1405 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1406 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1407 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1408 }; 1409 kb-row13-ps5 { /* NC */ 1410 nvidia,pins = "kb_row13_ps5"; 1411 nvidia,function = "rsvd2"; 1412 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1413 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1414 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1415 }; 1416 kb-row14-ps6 { /* NC */ 1417 nvidia,pins = "kb_row14_ps6"; 1418 nvidia,function = "rsvd2"; 1419 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1420 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1421 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1422 }; 1423 kb-row15-ps7 { /* NC */ 1424 nvidia,pins = "kb_row15_ps7"; 1425 nvidia,function = "rsvd3"; 1426 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1427 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1428 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1429 }; 1430 kb-row16-pt0 { /* NC */ 1431 nvidia,pins = "kb_row16_pt0"; 1432 nvidia,function = "rsvd2"; 1433 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1434 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1435 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1436 }; 1437 kb-row17-pt1 { /* NC */ 1438 nvidia,pins = "kb_row17_pt1"; 1439 nvidia,function = "rsvd2"; 1440 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1441 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1442 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1443 }; 1444 pu5 { /* NC */ 1445 nvidia,pins = "pu5"; 1446 nvidia,function = "gmi"; 1447 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1448 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1449 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1450 }; 1451 pv0 { /* NC */ 1452 nvidia,pins = "pv0"; 1453 nvidia,function = "rsvd1"; 1454 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1455 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1456 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1457 }; 1458 pv1 { /* NC */ 1459 nvidia,pins = "pv1"; 1460 nvidia,function = "rsvd1"; 1461 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1462 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1463 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1464 }; 1465 gpio-x1-aud-px1 { /* NC */ 1466 nvidia,pins = "gpio_x1_aud_px1"; 1467 nvidia,function = "rsvd2"; 1468 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1469 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1470 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1471 }; 1472 gpio-x3-aud-px3 { /* NC */ 1473 nvidia,pins = "gpio_x3_aud_px3"; 1474 nvidia,function = "rsvd4"; 1475 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1476 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1477 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1478 }; 1479 pbb7 { /* NC */ 1480 nvidia,pins = "pbb7"; 1481 nvidia,function = "rsvd2"; 1482 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1483 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1484 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1485 }; 1486 pcc1 { /* NC */ 1487 nvidia,pins = "pcc1"; 1488 nvidia,function = "rsvd2"; 1489 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1490 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1491 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1492 }; 1493 pcc2 { /* NC */ 1494 nvidia,pins = "pcc2"; 1495 nvidia,function = "rsvd2"; 1496 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1497 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1498 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1499 }; 1500 clk3-req-pee1 { /* NC */ 1501 nvidia,pins = "clk3_req_pee1"; 1502 nvidia,function = "rsvd2"; 1503 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1504 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1505 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1506 }; 1507 dap-mclk1-req-pee2 { /* NC */ 1508 nvidia,pins = "dap_mclk1_req_pee2"; 1509 nvidia,function = "rsvd4"; 1510 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1511 nvidia,tristate = <TEGRA_PIN_ENABLE>; 1512 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1513 }; 1514 /* 1515 * Leave SDMMC3_CLK_LB_OUT muxed as SDMMC3 with output 1516 * driver enabled aka not tristated and input driver 1517 * enabled as well as it features some magic properties 1518 * even though the external loopback is disabled and the 1519 * internal loopback used as per 1520 * SDMMC_VENDOR_MISC_CNTRL_0 register's SDMMC_SPARE1 1521 * bits being set to 0xfffd according to the TRM! 1522 */ 1523 sdmmc3-clk-lb-out-pee4 { /* NC */ 1524 nvidia,pins = "sdmmc3_clk_lb_out_pee4"; 1525 nvidia,function = "sdmmc3"; 1526 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 1527 nvidia,tristate = <TEGRA_PIN_DISABLE>; 1528 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 1529 }; 1530 }; 1531 }; 1532 1533 serial@70006040 { 1534 compatible = "nvidia,tegra124-hsuart", "nvidia,tegra30-hsuart"; 1535 }; 1536 1537 serial@70006200 { 1538 compatible = "nvidia,tegra124-hsuart", "nvidia,tegra30-hsuart"; 1539 }; 1540 1541 serial@70006300 { 1542 compatible = "nvidia,tegra124-hsuart", "nvidia,tegra30-hsuart"; 1543 }; 1544 1545 hdmi_ddc: i2c@7000c400 { 1546 clock-frequency = <10000>; 1547 }; 1548 1549 /* PWR_I2C: power I2C to audio codec, PMIC and temperature sensor */ 1550 i2c@7000d000 { 1551 status = "okay"; 1552 clock-frequency = <400000>; 1553 1554 /* SGTL5000 audio codec */ 1555 sgtl5000: codec@a { 1556 compatible = "fsl,sgtl5000"; 1557 reg = <0x0a>; 1558 #sound-dai-cells = <0>; 1559 VDDA-supply = <®_module_3v3_audio>; 1560 VDDD-supply = <®_1v8_vddio>; 1561 VDDIO-supply = <®_1v8_vddio>; 1562 clocks = <&tegra_car TEGRA124_CLK_EXTERN1>; 1563 }; 1564 1565 pmic: pmic@40 { 1566 compatible = "ams,as3722"; 1567 reg = <0x40>; 1568 interrupts = <0 86 IRQ_TYPE_LEVEL_HIGH>; 1569 ams,system-power-controller; 1570 #interrupt-cells = <2>; 1571 interrupt-controller; 1572 gpio-controller; 1573 #gpio-cells = <2>; 1574 pinctrl-names = "default"; 1575 pinctrl-0 = <&as3722_default>; 1576 1577 as3722_default: pinmux { 1578 gpio2-7 { 1579 pins = "gpio2", /* PWR_EN_+V3.3 */ 1580 "gpio7"; /* +V1.6_LPO */ 1581 function = "gpio"; 1582 bias-pull-up; 1583 }; 1584 1585 gpio0-1-3-4-5-6 { 1586 pins = "gpio0", "gpio1", "gpio3", 1587 "gpio4", "gpio5", "gpio6"; 1588 bias-high-impedance; 1589 }; 1590 }; 1591 1592 regulators { 1593 vsup-sd2-supply = <®_module_3v3>; 1594 vsup-sd3-supply = <®_module_3v3>; 1595 vsup-sd4-supply = <®_module_3v3>; 1596 vsup-sd5-supply = <®_module_3v3>; 1597 vin-ldo0-supply = <®_1v35_vddio_ddr>; 1598 vin-ldo1-6-supply = <®_module_3v3>; 1599 vin-ldo2-5-7-supply = <®_1v8_vddio>; 1600 vin-ldo3-4-supply = <®_module_3v3>; 1601 vin-ldo9-10-supply = <®_module_3v3>; 1602 vin-ldo11-supply = <®_module_3v3>; 1603 1604 reg_vdd_cpu: sd0 { 1605 regulator-name = "+VDD_CPU_AP"; 1606 regulator-min-microvolt = <700000>; 1607 regulator-max-microvolt = <1400000>; 1608 regulator-min-microamp = <3500000>; 1609 regulator-max-microamp = <3500000>; 1610 regulator-always-on; 1611 regulator-boot-on; 1612 ams,ext-control = <2>; 1613 }; 1614 1615 sd1 { 1616 regulator-name = "+VDD_CORE"; 1617 regulator-min-microvolt = <700000>; 1618 regulator-max-microvolt = <1350000>; 1619 regulator-min-microamp = <2500000>; 1620 regulator-max-microamp = <4000000>; 1621 regulator-always-on; 1622 regulator-boot-on; 1623 ams,ext-control = <1>; 1624 }; 1625 1626 reg_1v35_vddio_ddr: sd2 { 1627 regulator-name = 1628 "+V1.35_VDDIO_DDR(sd2)"; 1629 regulator-min-microvolt = <1350000>; 1630 regulator-max-microvolt = <1350000>; 1631 regulator-always-on; 1632 regulator-boot-on; 1633 }; 1634 1635 sd3 { 1636 regulator-name = 1637 "+V1.35_VDDIO_DDR(sd3)"; 1638 regulator-min-microvolt = <1350000>; 1639 regulator-max-microvolt = <1350000>; 1640 regulator-always-on; 1641 regulator-boot-on; 1642 }; 1643 1644 reg_1v05_vdd: sd4 { 1645 regulator-name = "+V1.05"; 1646 regulator-min-microvolt = <1050000>; 1647 regulator-max-microvolt = <1050000>; 1648 }; 1649 1650 reg_1v8_vddio: sd5 { 1651 regulator-name = "+V1.8"; 1652 regulator-min-microvolt = <1800000>; 1653 regulator-max-microvolt = <1800000>; 1654 regulator-boot-on; 1655 regulator-always-on; 1656 }; 1657 1658 reg_vdd_gpu: sd6 { 1659 regulator-name = "+VDD_GPU_AP"; 1660 regulator-min-microvolt = <650000>; 1661 regulator-max-microvolt = <1200000>; 1662 regulator-min-microamp = <3500000>; 1663 regulator-max-microamp = <3500000>; 1664 regulator-boot-on; 1665 regulator-always-on; 1666 }; 1667 1668 reg_1v05_avdd: ldo0 { 1669 regulator-name = "+V1.05_AVDD"; 1670 regulator-min-microvolt = <1050000>; 1671 regulator-max-microvolt = <1050000>; 1672 regulator-boot-on; 1673 regulator-always-on; 1674 ams,ext-control = <1>; 1675 }; 1676 1677 vddio_sdmmc1: ldo1 { 1678 regulator-name = "VDDIO_SDMMC1"; 1679 regulator-min-microvolt = <1800000>; 1680 regulator-max-microvolt = <3300000>; 1681 }; 1682 1683 ldo2 { 1684 regulator-name = "+V1.2"; 1685 regulator-min-microvolt = <1200000>; 1686 regulator-max-microvolt = <1200000>; 1687 regulator-boot-on; 1688 regulator-always-on; 1689 }; 1690 1691 ldo3 { 1692 regulator-name = "+V1.05_RTC"; 1693 regulator-min-microvolt = <1000000>; 1694 regulator-max-microvolt = <1000000>; 1695 regulator-boot-on; 1696 regulator-always-on; 1697 ams,enable-tracking; 1698 }; 1699 1700 /* 1.8V for LVDS, 3.3V for eDP */ 1701 ldo4 { 1702 regulator-name = "AVDD_LVDS0_PLL"; 1703 regulator-min-microvolt = <1800000>; 1704 regulator-max-microvolt = <1800000>; 1705 }; 1706 1707 /* LDO5 not used */ 1708 1709 vddio_sdmmc3: ldo6 { 1710 regulator-name = "VDDIO_SDMMC3"; 1711 regulator-min-microvolt = <1800000>; 1712 regulator-max-microvolt = <3300000>; 1713 }; 1714 1715 /* LDO7 not used */ 1716 1717 ldo9 { 1718 regulator-name = "+V3.3_ETH(ldo9)"; 1719 regulator-min-microvolt = <3300000>; 1720 regulator-max-microvolt = <3300000>; 1721 regulator-always-on; 1722 }; 1723 1724 ldo10 { 1725 regulator-name = "+V3.3_ETH(ldo10)"; 1726 regulator-min-microvolt = <3300000>; 1727 regulator-max-microvolt = <3300000>; 1728 regulator-always-on; 1729 }; 1730 1731 ldo11 { 1732 regulator-name = "+V1.8_VPP_FUSE"; 1733 regulator-min-microvolt = <1800000>; 1734 regulator-max-microvolt = <1800000>; 1735 }; 1736 }; 1737 }; 1738 1739 /* 1740 * TMP451 temperature sensor 1741 * Note: THERM_N directly connected to AS3722 PMIC THERM 1742 */ 1743 temp-sensor@4c { 1744 compatible = "ti,tmp451"; 1745 reg = <0x4c>; 1746 interrupt-parent = <&gpio>; 1747 interrupts = <TEGRA_GPIO(I, 6) IRQ_TYPE_EDGE_FALLING>; 1748 #thermal-sensor-cells = <1>; 1749 vcc-supply = <®_module_3v3>; 1750 }; 1751 }; 1752 1753 /* SPI2: MCU SPI */ 1754 spi@7000d600 { 1755 status = "okay"; 1756 spi-max-frequency = <25000000>; 1757 }; 1758 1759 pmc@7000e400 { 1760 nvidia,invert-interrupt; 1761 nvidia,suspend-mode = <1>; 1762 nvidia,cpu-pwr-good-time = <500>; 1763 nvidia,cpu-pwr-off-time = <300>; 1764 nvidia,core-pwr-good-time = <641 3845>; 1765 nvidia,core-pwr-off-time = <61036>; 1766 nvidia,core-power-req-active-high; 1767 nvidia,sys-clock-req-active-high; 1768 1769 /* Set power_off bit in ResetControl register of AS3722 PMIC */ 1770 i2c-thermtrip { 1771 nvidia,i2c-controller-id = <4>; 1772 nvidia,bus-addr = <0x40>; 1773 nvidia,reg-addr = <0x36>; 1774 nvidia,reg-data = <0x2>; 1775 }; 1776 }; 1777 1778 sata@70020000 { 1779 phys = <&{/padctl@7009f000/pads/sata/lanes/sata-0}>; 1780 phy-names = "sata-0"; 1781 avdd-supply = <®_1v05_vdd>; 1782 hvdd-supply = <®_module_3v3>; 1783 vddio-supply = <®_1v05_vdd>; 1784 }; 1785 1786 usb@70090000 { 1787 /* USBO1, USBO1 (SS), USBH2, USBH4 and USBH4 (SS) */ 1788 phys = <&{/padctl@7009f000/pads/usb2/lanes/usb2-0}>, 1789 <&{/padctl@7009f000/pads/pcie/lanes/pcie-1}>, 1790 <&{/padctl@7009f000/pads/usb2/lanes/usb2-1}>, 1791 <&{/padctl@7009f000/pads/usb2/lanes/usb2-2}>, 1792 <&{/padctl@7009f000/pads/pcie/lanes/pcie-0}>; 1793 phy-names = "usb2-0", "usb3-1", "usb2-1", "usb2-2", "usb3-0"; 1794 avddio-pex-supply = <®_1v05_vdd>; 1795 avdd-pll-erefe-supply = <®_1v05_avdd>; 1796 avdd-pll-utmip-supply = <®_1v8_vddio>; 1797 avdd-usb-ss-pll-supply = <®_1v05_vdd>; 1798 avdd-usb-supply = <®_module_3v3>; 1799 dvddio-pex-supply = <®_1v05_vdd>; 1800 hvdd-usb-ss-pll-e-supply = <®_module_3v3>; 1801 hvdd-usb-ss-supply = <®_module_3v3>; 1802 }; 1803 1804 padctl@7009f000 { 1805 avdd-pll-utmip-supply = <®_1v8_vddio>; 1806 avdd-pll-erefe-supply = <®_1v05_avdd>; 1807 avdd-pex-pll-supply = <®_1v05_vdd>; 1808 hvdd-pex-pll-e-supply = <®_module_3v3>; 1809 1810 pads { 1811 usb2 { 1812 status = "okay"; 1813 1814 lanes { 1815 usb2-0 { 1816 status = "okay"; 1817 nvidia,function = "xusb"; 1818 }; 1819 1820 usb2-1 { 1821 status = "okay"; 1822 nvidia,function = "xusb"; 1823 }; 1824 1825 usb2-2 { 1826 status = "okay"; 1827 nvidia,function = "xusb"; 1828 }; 1829 }; 1830 }; 1831 1832 pcie { 1833 status = "okay"; 1834 1835 lanes { 1836 pcie-0 { 1837 status = "okay"; 1838 nvidia,function = "usb3-ss"; 1839 }; 1840 1841 pcie-1 { 1842 status = "okay"; 1843 nvidia,function = "usb3-ss"; 1844 }; 1845 1846 pcie-2 { 1847 status = "okay"; 1848 nvidia,function = "pcie"; 1849 }; 1850 1851 pcie-3 { 1852 status = "okay"; 1853 nvidia,function = "pcie"; 1854 }; 1855 1856 pcie-4 { 1857 status = "okay"; 1858 nvidia,function = "pcie"; 1859 }; 1860 }; 1861 }; 1862 1863 sata { 1864 status = "okay"; 1865 1866 lanes { 1867 sata-0 { 1868 status = "okay"; 1869 nvidia,function = "sata"; 1870 }; 1871 }; 1872 }; 1873 }; 1874 1875 ports { 1876 /* USBO1 */ 1877 usb2-0 { 1878 status = "okay"; 1879 mode = "otg"; 1880 vbus-supply = <®_usbo1_vbus>; 1881 }; 1882 1883 /* USBH2 */ 1884 usb2-1 { 1885 status = "okay"; 1886 mode = "host"; 1887 vbus-supply = <®_usbh_vbus>; 1888 }; 1889 1890 /* USBH4 */ 1891 usb2-2 { 1892 status = "okay"; 1893 mode = "host"; 1894 vbus-supply = <®_usbh_vbus>; 1895 }; 1896 1897 usb3-0 { 1898 status = "okay"; 1899 nvidia,usb2-companion = <2>; 1900 vbus-supply = <®_usbh_vbus>; 1901 }; 1902 1903 usb3-1 { 1904 status = "okay"; 1905 nvidia,usb2-companion = <0>; 1906 vbus-supply = <®_usbo1_vbus>; 1907 }; 1908 }; 1909 }; 1910 1911 /* eMMC */ 1912 mmc@700b0600 { 1913 status = "okay"; 1914 bus-width = <8>; 1915 non-removable; 1916 vmmc-supply = <®_module_3v3>; /* VCC */ 1917 vqmmc-supply = <®_1v8_vddio>; /* VCCQ */ 1918 mmc-ddr-1_8v; 1919 }; 1920 1921 /* CPU DFLL clock */ 1922 clock@70110000 { 1923 status = "okay"; 1924 nvidia,i2c-fs-rate = <400000>; 1925 vdd-cpu-supply = <®_vdd_cpu>; 1926 }; 1927 1928 ahub@70300000 { 1929 i2s@70301200 { 1930 status = "okay"; 1931 }; 1932 }; 1933 1934 clk32k_in: osc3 { 1935 compatible = "fixed-clock"; 1936 #clock-cells = <0>; 1937 clock-frequency = <32768>; 1938 }; 1939 1940 cpus { 1941 cpu@0 { 1942 vdd-cpu-supply = <®_vdd_cpu>; 1943 }; 1944 }; 1945 1946 reg_1v05_avdd_hdmi_pll: regulator-1v05-avdd-hdmi-pll { 1947 compatible = "regulator-fixed"; 1948 regulator-name = "+V1.05_AVDD_HDMI_PLL"; 1949 regulator-min-microvolt = <1050000>; 1950 regulator-max-microvolt = <1050000>; 1951 gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_LOW>; 1952 vin-supply = <®_1v05_vdd>; 1953 }; 1954 1955 reg_3v3_mxm: regulator-3v3-mxm { 1956 compatible = "regulator-fixed"; 1957 regulator-name = "+V3.3_MXM"; 1958 regulator-min-microvolt = <3300000>; 1959 regulator-max-microvolt = <3300000>; 1960 regulator-always-on; 1961 regulator-boot-on; 1962 }; 1963 1964 reg_3v3_avdd_hdmi: regulator-3v3-avdd-hdmi { 1965 compatible = "regulator-fixed"; 1966 regulator-name = "+V3.3_AVDD_HDMI"; 1967 regulator-min-microvolt = <3300000>; 1968 regulator-max-microvolt = <3300000>; 1969 vin-supply = <®_1v05_vdd>; 1970 }; 1971 1972 reg_module_3v3: regulator-module-3v3 { 1973 compatible = "regulator-fixed"; 1974 regulator-name = "+V3.3"; 1975 regulator-min-microvolt = <3300000>; 1976 regulator-max-microvolt = <3300000>; 1977 regulator-always-on; 1978 regulator-boot-on; 1979 /* PWR_EN_+V3.3 */ 1980 gpio = <&pmic 2 GPIO_ACTIVE_HIGH>; 1981 enable-active-high; 1982 vin-supply = <®_3v3_mxm>; 1983 }; 1984 1985 reg_module_3v3_audio: regulator-module-3v3-audio { 1986 compatible = "regulator-fixed"; 1987 regulator-name = "+V3.3_AUDIO_AVDD_S"; 1988 regulator-min-microvolt = <3300000>; 1989 regulator-max-microvolt = <3300000>; 1990 regulator-always-on; 1991 }; 1992 1993 sound { 1994 compatible = "toradex,tegra-audio-sgtl5000-apalis_tk1", 1995 "nvidia,tegra-audio-sgtl5000"; 1996 nvidia,model = "Toradex Apalis TK1"; 1997 nvidia,audio-routing = 1998 "Headphone Jack", "HP_OUT", 1999 "LINE_IN", "Line In Jack", 2000 "MIC_IN", "Mic Jack"; 2001 nvidia,i2s-controller = <&tegra_i2s2>; 2002 nvidia,audio-codec = <&sgtl5000>; 2003 clocks = <&tegra_car TEGRA124_CLK_PLL_A>, 2004 <&tegra_car TEGRA124_CLK_PLL_A_OUT0>, 2005 <&tegra_pmc TEGRA_PMC_CLK_OUT_1>; 2006 clock-names = "pll_a", "pll_a_out0", "mclk"; 2007 2008 assigned-clocks = <&tegra_car TEGRA124_CLK_EXTERN1>, 2009 <&tegra_pmc TEGRA_PMC_CLK_OUT_1>; 2010 2011 assigned-clock-parents = <&tegra_car TEGRA124_CLK_PLL_A_OUT0>, 2012 <&tegra_car TEGRA124_CLK_EXTERN1>; 2013 }; 2014 2015 thermal-zones { 2016 cpu { 2017 trips { 2018 cpu-shutdown-trip { 2019 temperature = <101000>; 2020 hysteresis = <0>; 2021 type = "critical"; 2022 }; 2023 }; 2024 }; 2025 2026 mem { 2027 trips { 2028 mem-shutdown-trip { 2029 temperature = <101000>; 2030 hysteresis = <0>; 2031 type = "critical"; 2032 }; 2033 }; 2034 }; 2035 2036 gpu { 2037 trips { 2038 gpu-shutdown-trip { 2039 temperature = <101000>; 2040 hysteresis = <0>; 2041 type = "critical"; 2042 }; 2043 }; 2044 }; 2045 }; 2046}; 2047 2048&gpio { 2049 /* I210 Gigabit Ethernet Controller Reset */ 2050 lan-reset-n { 2051 gpio-hog; 2052 gpios = <TEGRA_GPIO(S, 2) GPIO_ACTIVE_HIGH>; 2053 output-high; 2054 line-name = "LAN_RESET_N"; 2055 }; 2056 2057 /* Control MXM3 pin 26 Reset Module Output Carrier Input */ 2058 reset-moci-ctrl { 2059 gpio-hog; 2060 gpios = <TEGRA_GPIO(U, 4) GPIO_ACTIVE_HIGH>; 2061 output-high; 2062 line-name = "RESET_MOCI_CTRL"; 2063 }; 2064}; 2065