Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /dts-v1/; |
| 3 | |
| 4 | #include <dt-bindings/input/input.h> |
| 5 | #include <dt-bindings/thermal/thermal.h> |
| 6 | |
| 7 | #include "tegra20.dtsi" |
| 8 | #include "tegra20-cpu-opp.dtsi" |
| 9 | #include "tegra20-cpu-opp-microvolt.dtsi" |
| 10 | |
| 11 | / { |
| 12 | model = "Toshiba AC100 / Dynabook AZ"; |
| 13 | compatible = "compal,paz00", "nvidia,tegra20"; |
| 14 | |
| 15 | aliases { |
| 16 | mmc0 = &sdmmc4; /* eMMC */ |
| 17 | mmc1 = &sdmmc1; /* MicroSD */ |
| 18 | rtc0 = "/i2c@7000d000/tps6586x@34"; |
| 19 | rtc1 = "/rtc@7000e000"; |
| 20 | serial0 = &uarta; |
| 21 | serial1 = &uartc; |
| 22 | }; |
| 23 | |
| 24 | chosen { |
| 25 | stdout-path = "serial0:115200n8"; |
| 26 | }; |
| 27 | |
| 28 | memory@0 { |
| 29 | reg = <0x00000000 0x20000000>; |
| 30 | }; |
| 31 | |
| 32 | host1x@50000000 { |
| 33 | dc@54200000 { |
| 34 | rgb { |
| 35 | status = "okay"; |
| 36 | |
| 37 | nvidia,panel = <&panel>; |
| 38 | }; |
| 39 | }; |
| 40 | |
| 41 | hdmi@54280000 { |
| 42 | status = "okay"; |
| 43 | |
| 44 | vdd-supply = <&hdmi_vdd_reg>; |
| 45 | pll-supply = <&hdmi_pll_reg>; |
| 46 | |
| 47 | nvidia,ddc-i2c-bus = <&hdmi_ddc>; |
| 48 | nvidia,hpd-gpio = <&gpio TEGRA_GPIO(N, 7) |
| 49 | GPIO_ACTIVE_HIGH>; |
| 50 | }; |
| 51 | }; |
| 52 | |
| 53 | pinmux@70000014 { |
| 54 | pinctrl-names = "default"; |
| 55 | pinctrl-0 = <&state_default>; |
| 56 | |
| 57 | state_default: pinmux { |
| 58 | ata { |
| 59 | nvidia,pins = "ata", "atc", "atd", "ate", |
| 60 | "dap2", "gmb", "gmc", "gmd", "spia", |
| 61 | "spib", "spic", "spid", "spie"; |
| 62 | nvidia,function = "gmi"; |
| 63 | }; |
| 64 | atb { |
| 65 | nvidia,pins = "atb", "gma", "gme"; |
| 66 | nvidia,function = "sdio4"; |
| 67 | }; |
| 68 | cdev1 { |
| 69 | nvidia,pins = "cdev1"; |
| 70 | nvidia,function = "plla_out"; |
| 71 | }; |
| 72 | cdev2 { |
| 73 | nvidia,pins = "cdev2"; |
| 74 | nvidia,function = "pllp_out4"; |
| 75 | }; |
| 76 | crtp { |
| 77 | nvidia,pins = "crtp"; |
| 78 | nvidia,function = "crt"; |
| 79 | }; |
| 80 | csus { |
| 81 | nvidia,pins = "csus"; |
| 82 | nvidia,function = "pllc_out1"; |
| 83 | }; |
| 84 | dap1 { |
| 85 | nvidia,pins = "dap1"; |
| 86 | nvidia,function = "dap1"; |
| 87 | }; |
| 88 | dap3 { |
| 89 | nvidia,pins = "dap3"; |
| 90 | nvidia,function = "dap3"; |
| 91 | }; |
| 92 | dap4 { |
| 93 | nvidia,pins = "dap4"; |
| 94 | nvidia,function = "dap4"; |
| 95 | }; |
| 96 | ddc { |
| 97 | nvidia,pins = "ddc"; |
| 98 | nvidia,function = "i2c2"; |
| 99 | }; |
| 100 | dta { |
| 101 | nvidia,pins = "dta", "dtb", "dtc", "dtd", "dte"; |
| 102 | nvidia,function = "rsvd1"; |
| 103 | }; |
| 104 | dtf { |
| 105 | nvidia,pins = "dtf"; |
| 106 | nvidia,function = "i2c3"; |
| 107 | }; |
| 108 | gpu { |
| 109 | nvidia,pins = "gpu", "sdb", "sdd"; |
| 110 | nvidia,function = "pwm"; |
| 111 | }; |
| 112 | gpu7 { |
| 113 | nvidia,pins = "gpu7"; |
| 114 | nvidia,function = "rtck"; |
| 115 | }; |
| 116 | gpv { |
| 117 | nvidia,pins = "gpv", "slxa", "slxk"; |
| 118 | nvidia,function = "pcie"; |
| 119 | }; |
| 120 | hdint { |
| 121 | nvidia,pins = "hdint", "pta"; |
| 122 | nvidia,function = "hdmi"; |
| 123 | }; |
| 124 | i2cp { |
| 125 | nvidia,pins = "i2cp"; |
| 126 | nvidia,function = "i2cp"; |
| 127 | }; |
| 128 | irrx { |
| 129 | nvidia,pins = "irrx", "irtx"; |
| 130 | nvidia,function = "uarta"; |
| 131 | }; |
| 132 | kbca { |
| 133 | nvidia,pins = "kbca", "kbcc", "kbce", "kbcf"; |
| 134 | nvidia,function = "kbc"; |
| 135 | }; |
| 136 | kbcb { |
| 137 | nvidia,pins = "kbcb", "kbcd"; |
| 138 | nvidia,function = "sdio2"; |
| 139 | }; |
| 140 | lcsn { |
| 141 | nvidia,pins = "lcsn", "ld0", "ld1", "ld2", |
| 142 | "ld3", "ld4", "ld5", "ld6", "ld7", |
| 143 | "ld8", "ld9", "ld10", "ld11", "ld12", |
| 144 | "ld13", "ld14", "ld15", "ld16", "ld17", |
| 145 | "ldc", "ldi", "lhp0", "lhp1", "lhp2", |
| 146 | "lhs", "lm0", "lm1", "lpp", "lpw0", |
| 147 | "lpw1", "lpw2", "lsc0", "lsc1", "lsck", |
| 148 | "lsda", "lsdi", "lspi", "lvp0", "lvp1", |
| 149 | "lvs"; |
| 150 | nvidia,function = "displaya"; |
| 151 | }; |
| 152 | owc { |
| 153 | nvidia,pins = "owc"; |
| 154 | nvidia,function = "owr"; |
| 155 | }; |
| 156 | pmc { |
| 157 | nvidia,pins = "pmc"; |
| 158 | nvidia,function = "pwr_on"; |
| 159 | }; |
| 160 | rm { |
| 161 | nvidia,pins = "rm"; |
| 162 | nvidia,function = "i2c1"; |
| 163 | }; |
| 164 | sdc { |
| 165 | nvidia,pins = "sdc"; |
| 166 | nvidia,function = "twc"; |
| 167 | }; |
| 168 | sdio1 { |
| 169 | nvidia,pins = "sdio1"; |
| 170 | nvidia,function = "sdio1"; |
| 171 | }; |
| 172 | slxc { |
| 173 | nvidia,pins = "slxc", "slxd"; |
| 174 | nvidia,function = "spi4"; |
| 175 | }; |
| 176 | spdi { |
| 177 | nvidia,pins = "spdi", "spdo"; |
| 178 | nvidia,function = "rsvd2"; |
| 179 | }; |
| 180 | spif { |
| 181 | nvidia,pins = "spif", "uac"; |
| 182 | nvidia,function = "rsvd4"; |
| 183 | }; |
| 184 | spig { |
| 185 | nvidia,pins = "spig", "spih"; |
| 186 | nvidia,function = "spi2_alt"; |
| 187 | }; |
| 188 | uaa { |
| 189 | nvidia,pins = "uaa", "uab", "uda"; |
| 190 | nvidia,function = "ulpi"; |
| 191 | }; |
| 192 | uad { |
| 193 | nvidia,pins = "uad"; |
| 194 | nvidia,function = "spdif"; |
| 195 | }; |
| 196 | uca { |
| 197 | nvidia,pins = "uca", "ucb"; |
| 198 | nvidia,function = "uartc"; |
| 199 | }; |
| 200 | conf_ata { |
| 201 | nvidia,pins = "ata", "atb", "atc", "atd", "ate", |
| 202 | "cdev1", "cdev2", "dap1", "dap2", "dtf", |
| 203 | "gma", "gmb", "gmc", "gmd", "gme", |
| 204 | "gpu", "gpu7", "gpv", "i2cp", "pta", |
| 205 | "rm", "sdio1", "slxk", "spdo", "uac", |
| 206 | "uda"; |
| 207 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 208 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 209 | }; |
| 210 | conf_ck32 { |
| 211 | nvidia,pins = "ck32", "ddrc", "pmca", "pmcb", |
| 212 | "pmcc", "pmcd", "pmce", "xm2c", "xm2d"; |
| 213 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 214 | }; |
| 215 | conf_crtp { |
| 216 | nvidia,pins = "crtp", "dap3", "dap4", "dtb", |
| 217 | "dtc", "dte", "slxa", "slxc", "slxd", |
| 218 | "spdi"; |
| 219 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 220 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 221 | }; |
| 222 | conf_csus { |
| 223 | nvidia,pins = "csus", "spia", "spib", "spid", |
| 224 | "spif"; |
| 225 | nvidia,pull = <TEGRA_PIN_PULL_DOWN>; |
| 226 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 227 | }; |
| 228 | conf_ddc { |
| 229 | nvidia,pins = "ddc", "irrx", "irtx", "kbca", |
| 230 | "kbcb", "kbcc", "kbcd", "kbce", "kbcf", |
| 231 | "spic", "spig", "uaa", "uab"; |
| 232 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
| 233 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 234 | }; |
| 235 | conf_dta { |
| 236 | nvidia,pins = "dta", "dtd", "owc", "sdc", "sdd", |
| 237 | "spie", "spih", "uad", "uca", "ucb"; |
| 238 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
| 239 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 240 | }; |
| 241 | conf_hdint { |
| 242 | nvidia,pins = "hdint", "ld0", "ld1", "ld2", |
| 243 | "ld3", "ld4", "ld5", "ld6", "ld7", |
| 244 | "ld8", "ld9", "ld10", "ld11", "ld12", |
| 245 | "ld13", "ld14", "ld15", "ld16", "ld17", |
| 246 | "ldc", "ldi", "lhs", "lsc0", "lspi", |
| 247 | "lvs", "pmc"; |
| 248 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 249 | }; |
| 250 | conf_lc { |
| 251 | nvidia,pins = "lc", "ls"; |
| 252 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
| 253 | }; |
| 254 | conf_lcsn { |
| 255 | nvidia,pins = "lcsn", "lhp0", "lhp1", "lhp2", |
| 256 | "lm0", "lm1", "lpp", "lpw0", "lpw1", |
| 257 | "lpw2", "lsc1", "lsck", "lsda", "lsdi", |
| 258 | "lvp0", "lvp1", "sdb"; |
| 259 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 260 | }; |
| 261 | conf_ld17_0 { |
| 262 | nvidia,pins = "ld17_0", "ld19_18", "ld21_20", |
| 263 | "ld23_22"; |
| 264 | nvidia,pull = <TEGRA_PIN_PULL_DOWN>; |
| 265 | }; |
| 266 | }; |
| 267 | }; |
| 268 | |
| 269 | spdif@70002400 { |
| 270 | status = "okay"; |
| 271 | |
| 272 | nvidia,fixed-parent-rate; |
| 273 | }; |
| 274 | |
| 275 | i2s@70002800 { |
| 276 | status = "okay"; |
| 277 | |
| 278 | nvidia,fixed-parent-rate; |
| 279 | }; |
| 280 | |
| 281 | serial@70006000 { |
| 282 | /delete-property/ dmas; |
| 283 | /delete-property/ dma-names; |
| 284 | status = "okay"; |
| 285 | }; |
| 286 | |
| 287 | serial@70006200 { |
| 288 | /delete-property/ dmas; |
| 289 | /delete-property/ dma-names; |
| 290 | status = "okay"; |
| 291 | }; |
| 292 | |
| 293 | pwm: pwm@7000a000 { |
| 294 | status = "okay"; |
| 295 | }; |
| 296 | |
| 297 | lvds_ddc: i2c@7000c000 { |
| 298 | status = "okay"; |
| 299 | clock-frequency = <400000>; |
| 300 | |
| 301 | alc5632: alc5632@1e { |
| 302 | compatible = "realtek,alc5632"; |
| 303 | reg = <0x1e>; |
| 304 | gpio-controller; |
| 305 | #gpio-cells = <2>; |
| 306 | }; |
| 307 | }; |
| 308 | |
| 309 | hdmi_ddc: i2c@7000c400 { |
| 310 | status = "okay"; |
| 311 | clock-frequency = <100000>; |
| 312 | }; |
| 313 | |
| 314 | i2c@7000c500 { |
| 315 | compatible = "nvidia,nvec"; |
| 316 | |
| 317 | /delete-property/ #address-cells; |
| 318 | /delete-property/ #size-cells; |
| 319 | /delete-property/ dmas; |
| 320 | /delete-property/ dma-names; |
| 321 | |
| 322 | clock-frequency = <80000>; |
| 323 | request-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>; |
| 324 | slave-addr = <138>; |
| 325 | |
| 326 | status = "okay"; |
| 327 | }; |
| 328 | |
| 329 | i2c@7000d000 { |
| 330 | status = "okay"; |
| 331 | clock-frequency = <400000>; |
| 332 | |
| 333 | pmic: tps6586x@34 { |
| 334 | compatible = "ti,tps6586x"; |
| 335 | reg = <0x34>; |
| 336 | interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; |
| 337 | |
| 338 | #gpio-cells = <2>; |
| 339 | gpio-controller; |
| 340 | |
| 341 | sys-supply = <&p5valw_reg>; |
| 342 | vin-sm0-supply = <&sys_reg>; |
| 343 | vin-sm1-supply = <&sys_reg>; |
| 344 | vin-sm2-supply = <&sys_reg>; |
| 345 | vinldo01-supply = <&sm2_reg>; |
| 346 | vinldo23-supply = <&sm2_reg>; |
| 347 | vinldo4-supply = <&sm2_reg>; |
| 348 | vinldo678-supply = <&sm2_reg>; |
| 349 | vinldo9-supply = <&sm2_reg>; |
| 350 | |
| 351 | regulators { |
| 352 | sys_reg: sys { |
| 353 | regulator-name = "vdd_sys"; |
| 354 | regulator-always-on; |
| 355 | }; |
| 356 | |
| 357 | core_vdd_reg: sm0 { |
| 358 | regulator-name = "+1.2vs_sm0,vdd_core"; |
| 359 | regulator-min-microvolt = <950000>; |
| 360 | regulator-max-microvolt = <1300000>; |
| 361 | regulator-coupled-with = <&rtc_vdd_reg &cpu_vdd_reg>; |
| 362 | regulator-coupled-max-spread = <170000 550000>; |
| 363 | regulator-always-on; |
| 364 | |
| 365 | nvidia,tegra-core-regulator; |
| 366 | }; |
| 367 | |
| 368 | cpu_vdd_reg: sm1 { |
| 369 | regulator-name = "+1.0vs_sm1,vdd_cpu"; |
| 370 | regulator-min-microvolt = <750000>; |
| 371 | regulator-max-microvolt = <1100000>; |
| 372 | regulator-coupled-with = <&core_vdd_reg &rtc_vdd_reg>; |
| 373 | regulator-coupled-max-spread = <550000 550000>; |
| 374 | regulator-always-on; |
| 375 | |
| 376 | nvidia,tegra-cpu-regulator; |
| 377 | }; |
| 378 | |
| 379 | sm2_reg: sm2 { |
| 380 | regulator-name = "+3.7vs_sm2,vin_ldo*"; |
| 381 | regulator-min-microvolt = <3700000>; |
| 382 | regulator-max-microvolt = <3700000>; |
| 383 | regulator-always-on; |
| 384 | }; |
| 385 | |
| 386 | /* LDO0 is not connected to anything */ |
| 387 | |
| 388 | ldo1 { |
| 389 | regulator-name = "+1.1vs_ldo1,avdd_pll*"; |
| 390 | regulator-min-microvolt = <1100000>; |
| 391 | regulator-max-microvolt = <1100000>; |
| 392 | regulator-always-on; |
| 393 | }; |
| 394 | |
| 395 | rtc_vdd_reg: ldo2 { |
| 396 | regulator-name = "+1.2vs_ldo2,vdd_rtc"; |
| 397 | regulator-min-microvolt = <950000>; |
| 398 | regulator-max-microvolt = <1300000>; |
| 399 | regulator-coupled-with = <&core_vdd_reg &cpu_vdd_reg>; |
| 400 | regulator-coupled-max-spread = <170000 550000>; |
| 401 | regulator-always-on; |
| 402 | |
| 403 | nvidia,tegra-rtc-regulator; |
| 404 | }; |
| 405 | |
| 406 | ldo3 { |
| 407 | regulator-name = "+3.3vs_ldo3,avdd_usb*"; |
| 408 | regulator-min-microvolt = <3300000>; |
| 409 | regulator-max-microvolt = <3300000>; |
| 410 | regulator-always-on; |
| 411 | }; |
| 412 | |
| 413 | ldo4 { |
| 414 | regulator-name = "+1.8vs_ldo4,avdd_osc,vddio_sys"; |
| 415 | regulator-min-microvolt = <1800000>; |
| 416 | regulator-max-microvolt = <1800000>; |
| 417 | regulator-always-on; |
| 418 | }; |
| 419 | |
| 420 | ldo5 { |
| 421 | regulator-name = "+2.85vs_ldo5,vcore_mmc"; |
| 422 | regulator-min-microvolt = <2850000>; |
| 423 | regulator-max-microvolt = <2850000>; |
| 424 | regulator-always-on; |
| 425 | }; |
| 426 | |
| 427 | ldo6 { |
| 428 | /* |
| 429 | * Research indicates this should be |
| 430 | * 1.8v; other boards that use this |
| 431 | * rail for the same purpose need it |
| 432 | * set to 1.8v. The schematic signal |
| 433 | * name is incorrect; perhaps copied |
| 434 | * from an incorrect NVIDIA reference. |
| 435 | */ |
| 436 | regulator-name = "+2.85vs_ldo6,avdd_vdac"; |
| 437 | regulator-min-microvolt = <1800000>; |
| 438 | regulator-max-microvolt = <1800000>; |
| 439 | }; |
| 440 | |
| 441 | hdmi_vdd_reg: ldo7 { |
| 442 | regulator-name = "+3.3vs_ldo7,avdd_hdmi"; |
| 443 | regulator-min-microvolt = <3300000>; |
| 444 | regulator-max-microvolt = <3300000>; |
| 445 | }; |
| 446 | |
| 447 | hdmi_pll_reg: ldo8 { |
| 448 | regulator-name = "+1.8vs_ldo8,avdd_hdmi_pll"; |
| 449 | regulator-min-microvolt = <1800000>; |
| 450 | regulator-max-microvolt = <1800000>; |
| 451 | }; |
| 452 | |
| 453 | ldo9 { |
| 454 | regulator-name = "+2.85vs_ldo9,vdd_ddr_rx"; |
| 455 | regulator-min-microvolt = <2850000>; |
| 456 | regulator-max-microvolt = <2850000>; |
| 457 | regulator-always-on; |
| 458 | }; |
| 459 | |
| 460 | ldo_rtc { |
| 461 | regulator-name = "+3.3vs_rtc"; |
| 462 | regulator-min-microvolt = <3300000>; |
| 463 | regulator-max-microvolt = <3300000>; |
| 464 | regulator-always-on; |
| 465 | }; |
| 466 | }; |
| 467 | }; |
| 468 | |
| 469 | adt7461: temperature-sensor@4c { |
| 470 | compatible = "adi,adt7461"; |
| 471 | reg = <0x4c>; |
| 472 | |
| 473 | interrupt-parent = <&gpio>; |
| 474 | interrupts = <TEGRA_GPIO(N, 6) IRQ_TYPE_EDGE_FALLING>; |
| 475 | |
| 476 | #thermal-sensor-cells = <1>; |
| 477 | }; |
| 478 | }; |
| 479 | |
| 480 | pmc@7000e400 { |
| 481 | nvidia,invert-interrupt; |
| 482 | nvidia,suspend-mode = <1>; |
| 483 | nvidia,cpu-pwr-good-time = <2000>; |
| 484 | nvidia,cpu-pwr-off-time = <0>; |
| 485 | nvidia,core-pwr-good-time = <3845 3845>; |
| 486 | nvidia,core-pwr-off-time = <0>; |
| 487 | nvidia,sys-clock-req-active-high; |
| 488 | core-supply = <&core_vdd_reg>; |
| 489 | }; |
| 490 | |
| 491 | memory-controller@7000f400 { |
| 492 | nvidia,use-ram-code; |
| 493 | |
| 494 | emc-tables@0 { |
| 495 | nvidia,ram-code = <0x0>; |
| 496 | #address-cells = <1>; |
| 497 | #size-cells = <0>; |
| 498 | reg = <0>; |
| 499 | |
| 500 | emc-table@166500 { |
| 501 | reg = <166500>; |
| 502 | compatible = "nvidia,tegra20-emc-table"; |
| 503 | clock-frequency = <166500>; |
| 504 | nvidia,emc-registers = <0x0000000a 0x00000016 |
| 505 | 0x00000008 0x00000003 0x00000004 0x00000004 |
| 506 | 0x00000002 0x0000000c 0x00000003 0x00000003 |
| 507 | 0x00000002 0x00000001 0x00000004 0x00000005 |
| 508 | 0x00000004 0x00000009 0x0000000d 0x000004df |
| 509 | 0x00000000 0x00000003 0x00000003 0x00000003 |
| 510 | 0x00000003 0x00000001 0x0000000a 0x000000c8 |
| 511 | 0x00000003 0x00000006 0x00000004 0x00000008 |
| 512 | 0x00000002 0x00000000 0x00000000 0x00000002 |
| 513 | 0x00000000 0x00000000 0x00000083 0xe03b0323 |
| 514 | 0x007fe010 0x00001414 0x00000000 0x00000000 |
| 515 | 0x00000000 0x00000000 0x00000000 0x00000000>; |
| 516 | }; |
| 517 | |
| 518 | emc-table@333000 { |
| 519 | reg = <333000>; |
| 520 | compatible = "nvidia,tegra20-emc-table"; |
| 521 | clock-frequency = <333000>; |
| 522 | nvidia,emc-registers = <0x00000018 0x00000033 |
| 523 | 0x00000012 0x00000004 0x00000004 0x00000005 |
| 524 | 0x00000003 0x0000000c 0x00000006 0x00000006 |
| 525 | 0x00000003 0x00000001 0x00000004 0x00000005 |
| 526 | 0x00000004 0x00000009 0x0000000d 0x00000bff |
| 527 | 0x00000000 0x00000003 0x00000003 0x00000006 |
| 528 | 0x00000006 0x00000001 0x00000011 0x000000c8 |
| 529 | 0x00000003 0x0000000e 0x00000007 0x00000008 |
| 530 | 0x00000002 0x00000000 0x00000000 0x00000002 |
| 531 | 0x00000000 0x00000000 0x00000083 0xf0440303 |
| 532 | 0x007fe010 0x00001414 0x00000000 0x00000000 |
| 533 | 0x00000000 0x00000000 0x00000000 0x00000000>; |
| 534 | }; |
| 535 | }; |
| 536 | }; |
| 537 | |
| 538 | usb@c5000000 { |
| 539 | compatible = "nvidia,tegra20-udc"; |
| 540 | status = "okay"; |
| 541 | dr_mode = "peripheral"; |
| 542 | }; |
| 543 | |
| 544 | usb-phy@c5000000 { |
| 545 | status = "okay"; |
| 546 | }; |
| 547 | |
| 548 | usb@c5004000 { |
| 549 | status = "okay"; |
| 550 | }; |
| 551 | |
| 552 | usb-phy@c5004000 { |
| 553 | status = "okay"; |
| 554 | nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 0) |
| 555 | GPIO_ACTIVE_LOW>; |
| 556 | }; |
| 557 | |
| 558 | usb@c5008000 { |
| 559 | status = "okay"; |
| 560 | }; |
| 561 | |
| 562 | usb-phy@c5008000 { |
| 563 | status = "okay"; |
| 564 | }; |
| 565 | |
| 566 | sdmmc1: mmc@c8000000 { |
| 567 | status = "okay"; |
| 568 | cd-gpios = <&gpio TEGRA_GPIO(V, 5) GPIO_ACTIVE_LOW>; |
| 569 | wp-gpios = <&gpio TEGRA_GPIO(H, 1) GPIO_ACTIVE_HIGH>; |
| 570 | power-gpios = <&gpio TEGRA_GPIO(V, 1) GPIO_ACTIVE_HIGH>; |
| 571 | bus-width = <4>; |
| 572 | }; |
| 573 | |
| 574 | sdmmc4: mmc@c8000600 { |
| 575 | status = "okay"; |
| 576 | bus-width = <8>; |
| 577 | non-removable; |
| 578 | }; |
| 579 | |
| 580 | backlight: backlight { |
| 581 | compatible = "pwm-backlight"; |
| 582 | |
| 583 | enable-gpios = <&gpio TEGRA_GPIO(U, 4) GPIO_ACTIVE_HIGH>; |
| 584 | pwms = <&pwm 0 5000000>; |
| 585 | |
| 586 | brightness-levels = <0 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 255>; |
| 587 | default-brightness-level = <10>; |
| 588 | |
| 589 | /* close enough */ |
| 590 | power-supply = <&vdd_pnl_reg>; |
| 591 | }; |
| 592 | |
| 593 | clk32k_in: clock-32k { |
| 594 | compatible = "fixed-clock"; |
| 595 | clock-frequency = <32768>; |
| 596 | #clock-cells = <0>; |
| 597 | }; |
| 598 | |
| 599 | cpus { |
| 600 | cpu0: cpu@0 { |
| 601 | cpu-supply = <&cpu_vdd_reg>; |
| 602 | operating-points-v2 = <&cpu0_opp_table>; |
| 603 | #cooling-cells = <2>; |
| 604 | }; |
| 605 | |
| 606 | cpu1: cpu@1 { |
| 607 | cpu-supply = <&cpu_vdd_reg>; |
| 608 | operating-points-v2 = <&cpu0_opp_table>; |
| 609 | #cooling-cells = <2>; |
| 610 | }; |
| 611 | }; |
| 612 | |
| 613 | gpio-keys { |
| 614 | compatible = "gpio-keys"; |
| 615 | |
| 616 | key-wakeup { |
| 617 | label = "Wakeup"; |
| 618 | gpios = <&gpio TEGRA_GPIO(J, 7) GPIO_ACTIVE_LOW>; |
| 619 | linux,code = <KEY_WAKEUP>; |
| 620 | wakeup-source; |
| 621 | }; |
| 622 | }; |
| 623 | |
| 624 | gpio-leds { |
| 625 | compatible = "gpio-leds"; |
| 626 | |
| 627 | led-0 { |
| 628 | label = "wifi-led"; |
| 629 | gpios = <&gpio TEGRA_GPIO(D, 0) GPIO_ACTIVE_HIGH>; |
| 630 | linux,default-trigger = "rfkill0"; |
| 631 | }; |
| 632 | }; |
| 633 | |
| 634 | opp-table-emc { |
| 635 | /delete-node/ opp-760000000; |
| 636 | }; |
| 637 | |
| 638 | panel: panel { |
| 639 | compatible = "samsung,ltn101nt05"; |
| 640 | |
| 641 | ddc-i2c-bus = <&lvds_ddc>; |
| 642 | power-supply = <&vdd_pnl_reg>; |
| 643 | enable-gpios = <&gpio TEGRA_GPIO(M, 6) GPIO_ACTIVE_HIGH>; |
| 644 | |
| 645 | backlight = <&backlight>; |
| 646 | }; |
| 647 | |
| 648 | p5valw_reg: regulator-5v0alw { |
| 649 | compatible = "regulator-fixed"; |
| 650 | regulator-name = "+5valw"; |
| 651 | regulator-min-microvolt = <5000000>; |
| 652 | regulator-max-microvolt = <5000000>; |
| 653 | regulator-always-on; |
| 654 | }; |
| 655 | |
| 656 | vdd_pnl_reg: regulator-3v0 { |
| 657 | compatible = "regulator-fixed"; |
| 658 | regulator-name = "+3VS,vdd_pnl"; |
| 659 | regulator-min-microvolt = <3300000>; |
| 660 | regulator-max-microvolt = <3300000>; |
| 661 | regulator-boot-on; |
| 662 | gpio = <&gpio TEGRA_GPIO(A, 4) GPIO_ACTIVE_HIGH>; |
| 663 | enable-active-high; |
| 664 | }; |
| 665 | |
| 666 | sound { |
| 667 | compatible = "nvidia,tegra-audio-alc5632-paz00", |
| 668 | "nvidia,tegra-audio-alc5632"; |
| 669 | |
| 670 | nvidia,model = "Compal PAZ00"; |
| 671 | |
| 672 | nvidia,audio-routing = |
| 673 | "Int Spk", "SPKOUT", |
| 674 | "Int Spk", "SPKOUTN", |
| 675 | "Headset Mic", "MICBIAS1", |
| 676 | "MIC1", "Headset Mic", |
| 677 | "Headset Stereophone", "HPR", |
| 678 | "Headset Stereophone", "HPL", |
| 679 | "DMICDAT", "Digital Mic"; |
| 680 | |
| 681 | nvidia,audio-codec = <&alc5632>; |
| 682 | nvidia,i2s-controller = <&tegra_i2s1>; |
| 683 | nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2) |
| 684 | GPIO_ACTIVE_HIGH>; |
| 685 | |
| 686 | clocks = <&tegra_car TEGRA20_CLK_PLL_A>, |
| 687 | <&tegra_car TEGRA20_CLK_PLL_A_OUT0>, |
| 688 | <&tegra_car TEGRA20_CLK_CDEV1>; |
| 689 | clock-names = "pll_a", "pll_a_out0", "mclk"; |
| 690 | }; |
| 691 | |
| 692 | thermal-zones { |
| 693 | cpu-thermal { |
| 694 | polling-delay-passive = <500>; /* milliseconds */ |
| 695 | polling-delay = <1500>; /* milliseconds */ |
| 696 | |
| 697 | thermal-sensors = <&adt7461 1>; |
| 698 | |
| 699 | trips { |
| 700 | trip0: cpu-alert0 { |
| 701 | /* start throttling at 80C */ |
| 702 | temperature = <80000>; |
| 703 | hysteresis = <200>; |
| 704 | type = "passive"; |
| 705 | }; |
| 706 | |
| 707 | trip1: cpu-crit { |
| 708 | /* shut down at 85C */ |
| 709 | temperature = <85000>; |
| 710 | hysteresis = <2000>; |
| 711 | type = "critical"; |
| 712 | }; |
| 713 | }; |
| 714 | |
| 715 | cooling-maps { |
| 716 | map0 { |
| 717 | trip = <&trip0>; |
| 718 | cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 719 | <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
| 720 | }; |
| 721 | }; |
| 722 | }; |
| 723 | }; |
| 724 | }; |