1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 3 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/leds/common.h> 6 #include "tegra20.dtsi" 7 #include "tegra20-cpu-opp.dtsi" 8 9 / { 10 model = "Compulab TrimSlice board"; 11 compatible = "compulab,trimslice", "nv 12 13 aliases { 14 rtc0 = "/i2c@7000c500/rtc@56"; 15 rtc1 = "/rtc@7000e000"; 16 serial0 = &uarta; 17 }; 18 19 chosen { 20 stdout-path = "serial0:115200n 21 }; 22 23 memory@0 { 24 reg = <0x00000000 0x40000000>; 25 }; 26 27 host1x@50000000 { 28 hdmi@54280000 { 29 status = "okay"; 30 31 vdd-supply = <&hdmi_vd 32 pll-supply = <&hdmi_pl 33 34 nvidia,ddc-i2c-bus = < 35 nvidia,hpd-gpio = <&gp 36 GPIO_ACTIVE_HI 37 }; 38 }; 39 40 pinmux@70000014 { 41 pinctrl-names = "default"; 42 pinctrl-0 = <&state_default>; 43 44 state_default: pinmux { 45 ata { 46 nvidia,pins = 47 nvidia,functio 48 }; 49 atb { 50 nvidia,pins = 51 nvidia,functio 52 }; 53 atc { 54 nvidia,pins = 55 nvidia,functio 56 }; 57 atd { 58 nvidia,pins = 59 nvidia,functio 60 }; 61 cdev1 { 62 nvidia,pins = 63 nvidia,functio 64 }; 65 cdev2 { 66 nvidia,pins = 67 nvidia,functio 68 }; 69 crtp { 70 nvidia,pins = 71 nvidia,functio 72 }; 73 csus { 74 nvidia,pins = 75 nvidia,functio 76 }; 77 dap1 { 78 nvidia,pins = 79 nvidia,functio 80 }; 81 dap2 { 82 nvidia,pins = 83 nvidia,functio 84 }; 85 dap3 { 86 nvidia,pins = 87 nvidia,functio 88 }; 89 dap4 { 90 nvidia,pins = 91 nvidia,functio 92 }; 93 ddc { 94 nvidia,pins = 95 nvidia,functio 96 }; 97 dta { 98 nvidia,pins = 99 nvidia,functio 100 }; 101 dtf { 102 nvidia,pins = 103 nvidia,functio 104 }; 105 gmc { 106 nvidia,pins = 107 nvidia,functio 108 }; 109 gpu { 110 nvidia,pins = 111 nvidia,functio 112 }; 113 gpu7 { 114 nvidia,pins = 115 nvidia,functio 116 }; 117 gpv { 118 nvidia,pins = 119 nvidia,functio 120 }; 121 hdint { 122 nvidia,pins = 123 nvidia,functio 124 }; 125 i2cp { 126 nvidia,pins = 127 nvidia,functio 128 }; 129 irrx { 130 nvidia,pins = 131 nvidia,functio 132 }; 133 kbca { 134 nvidia,pins = 135 "kbce" 136 nvidia,functio 137 }; 138 lcsn { 139 nvidia,pins = 140 "ld3", 141 "ld8", 142 "ld13" 143 "ldc", 144 "lhs", 145 "lpw1" 146 "lsda" 147 "lvs"; 148 nvidia,functio 149 }; 150 owc { 151 nvidia,pins = 152 nvidia,functio 153 }; 154 pmc { 155 nvidia,pins = 156 nvidia,functio 157 }; 158 rm { 159 nvidia,pins = 160 nvidia,functio 161 }; 162 sdb { 163 nvidia,pins = 164 nvidia,functio 165 }; 166 sdio1 { 167 nvidia,pins = 168 nvidia,functio 169 }; 170 slxc { 171 nvidia,pins = 172 nvidia,functio 173 }; 174 spdi { 175 nvidia,pins = 176 nvidia,functio 177 }; 178 spia { 179 nvidia,pins = 180 nvidia,functio 181 }; 182 spid { 183 nvidia,pins = 184 nvidia,functio 185 }; 186 spig { 187 nvidia,pins = 188 nvidia,functio 189 }; 190 uaa { 191 nvidia,pins = 192 nvidia,functio 193 }; 194 uad { 195 nvidia,pins = 196 nvidia,functio 197 }; 198 uca { 199 nvidia,pins = 200 nvidia,functio 201 }; 202 conf_ata { 203 nvidia,pins = 204 "crtp" 205 "dtb", 206 "i2cp" 207 "spdo" 208 nvidia,pull = 209 nvidia,tristat 210 }; 211 conf_atb { 212 nvidia,pins = 213 "dte", 214 "gpu7" 215 "uac"; 216 nvidia,pull = 217 nvidia,tristat 218 }; 219 conf_ck32 { 220 nvidia,pins = 221 "pmcc" 222 nvidia,pull = 223 }; 224 conf_csus { 225 nvidia,pins = 226 "spid" 227 nvidia,pull = 228 nvidia,tristat 229 }; 230 conf_ddc { 231 nvidia,pins = 232 nvidia,pull = 233 nvidia,tristat 234 }; 235 conf_hdint { 236 nvidia,pins = 237 "lpw1" 238 "lvp0" 239 nvidia,tristat 240 }; 241 conf_irrx { 242 nvidia,pins = 243 "kbcc" 244 "spic" 245 "uab", 246 nvidia,pull = 247 nvidia,tristat 248 }; 249 conf_lc { 250 nvidia,pins = 251 nvidia,pull = 252 }; 253 conf_ld0 { 254 nvidia,pins = 255 "ld5", 256 "ld10" 257 "ld15" 258 "lhp1" 259 "lpw0" 260 "lvs", 261 nvidia,tristat 262 }; 263 conf_ld17_0 { 264 nvidia,pins = 265 "ld23_ 266 nvidia,pull = 267 }; 268 conf_spif { 269 nvidia,pins = 270 nvidia,pull = 271 nvidia,tristat 272 }; 273 }; 274 }; 275 276 i2s@70002800 { 277 status = "okay"; 278 }; 279 280 serial@70006000 { 281 /delete-property/ dmas; 282 /delete-property/ dma-names; 283 status = "okay"; 284 }; 285 286 dvi_ddc: i2c@7000c000 { 287 status = "okay"; 288 clock-frequency = <100000>; 289 }; 290 291 spi@7000c380 { 292 status = "okay"; 293 spi-max-frequency = <48000000> 294 295 flash@0 { 296 compatible = "winbond, 297 reg = <0>; 298 spi-max-frequency = <4 299 }; 300 }; 301 302 hdmi_ddc: i2c@7000c400 { 303 status = "okay"; 304 clock-frequency = <100000>; 305 }; 306 307 i2c@7000c500 { 308 status = "okay"; 309 clock-frequency = <400000>; 310 311 codec: codec@1a { 312 compatible = "ti,tlv32 313 reg = <0x1a>; 314 }; 315 316 rtc@56 { 317 compatible = "emmicro, 318 reg = <0x56>; 319 }; 320 }; 321 322 pmc@7000e400 { 323 nvidia,suspend-mode = <1>; 324 nvidia,cpu-pwr-good-time = <50 325 nvidia,cpu-pwr-off-time = <500 326 nvidia,core-pwr-good-time = <3 327 nvidia,core-pwr-off-time = <38 328 nvidia,sys-clock-req-active-hi 329 core-supply = <&vdd_core>; 330 }; 331 332 pcie@80003000 { 333 status = "okay"; 334 335 avdd-pex-supply = <&pci_vdd_re 336 vdd-pex-supply = <&pci_vdd_reg 337 avdd-pex-pll-supply = <&pci_vd 338 avdd-plle-supply = <&pci_vdd_r 339 vddio-pex-clk-supply = <&pci_c 340 341 pci@1,0 { 342 status = "okay"; 343 }; 344 }; 345 346 usb@c5000000 { 347 status = "okay"; 348 }; 349 350 usb-phy@c5000000 { 351 status = "okay"; 352 vbus-supply = <&vbus_reg>; 353 }; 354 355 usb@c5004000 { 356 status = "okay"; 357 }; 358 359 usb-phy@c5004000 { 360 status = "okay"; 361 nvidia,phy-reset-gpio = <&gpio 362 GPIO_ACTIVE_LOW>; 363 }; 364 365 usb@c5008000 { 366 status = "okay"; 367 }; 368 369 usb-phy@c5008000 { 370 status = "okay"; 371 }; 372 373 mmc@c8000000 { 374 status = "okay"; 375 broken-cd; 376 bus-width = <4>; 377 }; 378 379 mmc@c8000600 { 380 status = "okay"; 381 cd-gpios = <&gpio TEGRA_GPIO(P 382 wp-gpios = <&gpio TEGRA_GPIO(P 383 bus-width = <4>; 384 }; 385 386 clk32k_in: clock-32k { 387 compatible = "fixed-clock"; 388 clock-frequency = <32768>; 389 #clock-cells = <0>; 390 }; 391 392 cpus { 393 cpu0: cpu@0 { 394 operating-points-v2 = 395 }; 396 397 cpu@1 { 398 operating-points-v2 = 399 }; 400 }; 401 402 gpio-keys { 403 compatible = "gpio-keys"; 404 405 key-power { 406 label = "Power"; 407 gpios = <&gpio TEGRA_G 408 linux,code = <KEY_POWE 409 wakeup-source; 410 }; 411 }; 412 413 leds { 414 compatible = "gpio-leds"; 415 416 led-ds2 { 417 color = <LED_COLOR_ID_ 418 function = LED_FUNCTIO 419 function-enumerator = 420 gpios = <&gpio TEGRA_G 421 }; 422 423 led-ds3 { 424 color = <LED_COLOR_ID_ 425 function = LED_FUNCTIO 426 function-enumerator = 427 gpios = <&gpio TEGRA_G 428 }; 429 }; 430 431 poweroff { 432 compatible = "gpio-poweroff"; 433 gpios = <&gpio TEGRA_GPIO(X, 7 434 }; 435 436 hdmi_vdd_reg: regulator-hdmi { 437 compatible = "regulator-fixed" 438 regulator-name = "avdd_hdmi"; 439 regulator-min-microvolt = <330 440 regulator-max-microvolt = <330 441 regulator-always-on; 442 }; 443 444 hdmi_pll_reg: regulator-hdmipll { 445 compatible = "regulator-fixed" 446 regulator-name = "avdd_hdmi_pl 447 regulator-min-microvolt = <180 448 regulator-max-microvolt = <180 449 regulator-always-on; 450 }; 451 452 vbus_reg: regulator-vbus { 453 compatible = "regulator-fixed" 454 regulator-name = "usb1_vbus"; 455 regulator-min-microvolt = <500 456 regulator-max-microvolt = <500 457 enable-active-high; 458 gpio = <&gpio TEGRA_GPIO(V, 2) 459 regulator-always-on; 460 regulator-boot-on; 461 }; 462 463 pci_clk_reg: regulator-pciclk { 464 compatible = "regulator-fixed" 465 regulator-name = "pci_clk"; 466 regulator-min-microvolt = <330 467 regulator-max-microvolt = <330 468 regulator-always-on; 469 }; 470 471 pci_vdd_reg: regulator-pcivdd { 472 compatible = "regulator-fixed" 473 regulator-name = "pci_vdd"; 474 regulator-min-microvolt = <105 475 regulator-max-microvolt = <105 476 regulator-always-on; 477 }; 478 479 vdd_core: regulator-core { 480 compatible = "regulator-fixed" 481 regulator-name = "vdd_core"; 482 regulator-min-microvolt = <130 483 regulator-max-microvolt = <130 484 regulator-always-on; 485 }; 486 487 sound { 488 compatible = "nvidia,tegra-aud 489 nvidia,i2s-controller = <&tegr 490 nvidia,audio-codec = <&codec>; 491 492 clocks = <&tegra_car TEGRA20_C 493 <&tegra_car TEGRA20_C 494 <&tegra_car TEGRA20_C 495 clock-names = "pll_a", "pll_a_ 496 }; 497 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.