1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2724ba675SRob Herring/dts-v1/; 3724ba675SRob Herring 4724ba675SRob Herring#include <dt-bindings/input/input.h> 5724ba675SRob Herring#include <dt-bindings/thermal/thermal.h> 6724ba675SRob Herring#include "tegra20.dtsi" 7724ba675SRob Herring#include "tegra20-cpu-opp.dtsi" 8724ba675SRob Herring#include "tegra20-cpu-opp-microvolt.dtsi" 9724ba675SRob Herring 10724ba675SRob Herring/ { 11724ba675SRob Herring model = "NVIDIA Tegra20 Ventana evaluation board"; 12724ba675SRob Herring compatible = "nvidia,ventana", "nvidia,tegra20"; 13724ba675SRob Herring 14724ba675SRob Herring aliases { 15724ba675SRob Herring rtc0 = "/i2c@7000d000/tps6586x@34"; 16724ba675SRob Herring rtc1 = "/rtc@7000e000"; 17724ba675SRob Herring serial0 = &uartd; 18724ba675SRob Herring }; 19724ba675SRob Herring 20724ba675SRob Herring chosen { 21724ba675SRob Herring stdout-path = "serial0:115200n8"; 22724ba675SRob Herring }; 23724ba675SRob Herring 24724ba675SRob Herring memory@0 { 25724ba675SRob Herring reg = <0x00000000 0x40000000>; 26724ba675SRob Herring }; 27724ba675SRob Herring 28724ba675SRob Herring host1x@50000000 { 29724ba675SRob Herring dc@54200000 { 30724ba675SRob Herring rgb { 31724ba675SRob Herring status = "okay"; 32724ba675SRob Herring 33724ba675SRob Herring nvidia,panel = <&panel>; 34724ba675SRob Herring }; 35724ba675SRob Herring }; 36724ba675SRob Herring 37724ba675SRob Herring hdmi@54280000 { 38724ba675SRob Herring status = "okay"; 39724ba675SRob Herring 40724ba675SRob Herring vdd-supply = <&hdmi_vdd_reg>; 41724ba675SRob Herring pll-supply = <&hdmi_pll_reg>; 42724ba675SRob Herring 43724ba675SRob Herring nvidia,ddc-i2c-bus = <&hdmi_ddc>; 44724ba675SRob Herring nvidia,hpd-gpio = <&gpio TEGRA_GPIO(N, 7) 45724ba675SRob Herring GPIO_ACTIVE_HIGH>; 46724ba675SRob Herring }; 47724ba675SRob Herring }; 48724ba675SRob Herring 49724ba675SRob Herring pinmux@70000014 { 50724ba675SRob Herring pinctrl-names = "default"; 51724ba675SRob Herring pinctrl-0 = <&state_default>; 52724ba675SRob Herring 53724ba675SRob Herring state_default: pinmux { 54724ba675SRob Herring ata { 55724ba675SRob Herring nvidia,pins = "ata"; 56724ba675SRob Herring nvidia,function = "ide"; 57724ba675SRob Herring }; 58724ba675SRob Herring atb { 59724ba675SRob Herring nvidia,pins = "atb", "gma", "gme"; 60724ba675SRob Herring nvidia,function = "sdio4"; 61724ba675SRob Herring }; 62724ba675SRob Herring atc { 63724ba675SRob Herring nvidia,pins = "atc"; 64724ba675SRob Herring nvidia,function = "nand"; 65724ba675SRob Herring }; 66724ba675SRob Herring atd { 67724ba675SRob Herring nvidia,pins = "atd", "ate", "gmb", "spia", 68724ba675SRob Herring "spib", "spic"; 69724ba675SRob Herring nvidia,function = "gmi"; 70724ba675SRob Herring }; 71724ba675SRob Herring cdev1 { 72724ba675SRob Herring nvidia,pins = "cdev1"; 73724ba675SRob Herring nvidia,function = "plla_out"; 74724ba675SRob Herring }; 75724ba675SRob Herring cdev2 { 76724ba675SRob Herring nvidia,pins = "cdev2"; 77724ba675SRob Herring nvidia,function = "pllp_out4"; 78724ba675SRob Herring }; 79724ba675SRob Herring crtp { 80724ba675SRob Herring nvidia,pins = "crtp", "lm1"; 81724ba675SRob Herring nvidia,function = "crt"; 82724ba675SRob Herring }; 83724ba675SRob Herring csus { 84724ba675SRob Herring nvidia,pins = "csus"; 85724ba675SRob Herring nvidia,function = "vi_sensor_clk"; 86724ba675SRob Herring }; 87724ba675SRob Herring dap1 { 88724ba675SRob Herring nvidia,pins = "dap1"; 89724ba675SRob Herring nvidia,function = "dap1"; 90724ba675SRob Herring }; 91724ba675SRob Herring dap2 { 92724ba675SRob Herring nvidia,pins = "dap2"; 93724ba675SRob Herring nvidia,function = "dap2"; 94724ba675SRob Herring }; 95724ba675SRob Herring dap3 { 96724ba675SRob Herring nvidia,pins = "dap3"; 97724ba675SRob Herring nvidia,function = "dap3"; 98724ba675SRob Herring }; 99724ba675SRob Herring dap4 { 100724ba675SRob Herring nvidia,pins = "dap4"; 101724ba675SRob Herring nvidia,function = "dap4"; 102724ba675SRob Herring }; 103724ba675SRob Herring dta { 104724ba675SRob Herring nvidia,pins = "dta", "dtb", "dtc", "dtd", "dte"; 105724ba675SRob Herring nvidia,function = "vi"; 106724ba675SRob Herring }; 107724ba675SRob Herring dtf { 108724ba675SRob Herring nvidia,pins = "dtf"; 109724ba675SRob Herring nvidia,function = "i2c3"; 110724ba675SRob Herring }; 111724ba675SRob Herring gmc { 112724ba675SRob Herring nvidia,pins = "gmc"; 113724ba675SRob Herring nvidia,function = "uartd"; 114724ba675SRob Herring }; 115724ba675SRob Herring gmd { 116724ba675SRob Herring nvidia,pins = "gmd"; 117724ba675SRob Herring nvidia,function = "sflash"; 118724ba675SRob Herring }; 119724ba675SRob Herring gpu { 120724ba675SRob Herring nvidia,pins = "gpu"; 121724ba675SRob Herring nvidia,function = "pwm"; 122724ba675SRob Herring }; 123724ba675SRob Herring gpu7 { 124724ba675SRob Herring nvidia,pins = "gpu7"; 125724ba675SRob Herring nvidia,function = "rtck"; 126724ba675SRob Herring }; 127724ba675SRob Herring gpv { 128724ba675SRob Herring nvidia,pins = "gpv", "slxa", "slxk"; 129724ba675SRob Herring nvidia,function = "pcie"; 130724ba675SRob Herring }; 131724ba675SRob Herring hdint { 132724ba675SRob Herring nvidia,pins = "hdint"; 133724ba675SRob Herring nvidia,function = "hdmi"; 134724ba675SRob Herring }; 135724ba675SRob Herring i2cp { 136724ba675SRob Herring nvidia,pins = "i2cp"; 137724ba675SRob Herring nvidia,function = "i2cp"; 138724ba675SRob Herring }; 139724ba675SRob Herring irrx { 140724ba675SRob Herring nvidia,pins = "irrx", "irtx"; 141724ba675SRob Herring nvidia,function = "uartb"; 142724ba675SRob Herring }; 143724ba675SRob Herring kbca { 144724ba675SRob Herring nvidia,pins = "kbca", "kbcb", "kbcc", "kbcd", 145724ba675SRob Herring "kbce", "kbcf"; 146724ba675SRob Herring nvidia,function = "kbc"; 147724ba675SRob Herring }; 148724ba675SRob Herring lcsn { 149724ba675SRob Herring nvidia,pins = "lcsn", "ldc", "lm0", "lpw1", 150724ba675SRob Herring "lsdi", "lvp0"; 151724ba675SRob Herring nvidia,function = "rsvd4"; 152724ba675SRob Herring }; 153724ba675SRob Herring ld0 { 154724ba675SRob Herring nvidia,pins = "ld0", "ld1", "ld2", "ld3", "ld4", 155724ba675SRob Herring "ld5", "ld6", "ld7", "ld8", "ld9", 156724ba675SRob Herring "ld10", "ld11", "ld12", "ld13", "ld14", 157724ba675SRob Herring "ld15", "ld16", "ld17", "ldi", "lhp0", 158724ba675SRob Herring "lhp1", "lhp2", "lhs", "lpp", "lpw0", 159724ba675SRob Herring "lpw2", "lsc0", "lsc1", "lsck", "lsda", 160724ba675SRob Herring "lspi", "lvp1", "lvs"; 161724ba675SRob Herring nvidia,function = "displaya"; 162724ba675SRob Herring }; 163724ba675SRob Herring owc { 164724ba675SRob Herring nvidia,pins = "owc", "spdi", "spdo", "uac"; 165724ba675SRob Herring nvidia,function = "rsvd2"; 166724ba675SRob Herring }; 167724ba675SRob Herring pmc { 168724ba675SRob Herring nvidia,pins = "pmc"; 169724ba675SRob Herring nvidia,function = "pwr_on"; 170724ba675SRob Herring }; 171724ba675SRob Herring rm { 172724ba675SRob Herring nvidia,pins = "rm"; 173724ba675SRob Herring nvidia,function = "i2c1"; 174724ba675SRob Herring }; 175724ba675SRob Herring sdb { 176724ba675SRob Herring nvidia,pins = "sdb", "sdc", "sdd", "slxc"; 177724ba675SRob Herring nvidia,function = "sdio3"; 178724ba675SRob Herring }; 179724ba675SRob Herring sdio1 { 180724ba675SRob Herring nvidia,pins = "sdio1"; 181724ba675SRob Herring nvidia,function = "sdio1"; 182724ba675SRob Herring }; 183724ba675SRob Herring slxd { 184724ba675SRob Herring nvidia,pins = "slxd"; 185724ba675SRob Herring nvidia,function = "spdif"; 186724ba675SRob Herring }; 187724ba675SRob Herring spid { 188724ba675SRob Herring nvidia,pins = "spid", "spie", "spif"; 189724ba675SRob Herring nvidia,function = "spi1"; 190724ba675SRob Herring }; 191724ba675SRob Herring spig { 192724ba675SRob Herring nvidia,pins = "spig", "spih"; 193724ba675SRob Herring nvidia,function = "spi2_alt"; 194724ba675SRob Herring }; 195724ba675SRob Herring uaa { 196724ba675SRob Herring nvidia,pins = "uaa", "uab", "uda"; 197724ba675SRob Herring nvidia,function = "ulpi"; 198724ba675SRob Herring }; 199724ba675SRob Herring uad { 200724ba675SRob Herring nvidia,pins = "uad"; 201724ba675SRob Herring nvidia,function = "irda"; 202724ba675SRob Herring }; 203724ba675SRob Herring uca { 204724ba675SRob Herring nvidia,pins = "uca", "ucb"; 205724ba675SRob Herring nvidia,function = "uartc"; 206724ba675SRob Herring }; 207724ba675SRob Herring conf_ata { 208724ba675SRob Herring nvidia,pins = "ata", "atb", "atc", "atd", 209724ba675SRob Herring "cdev1", "cdev2", "dap1", "dap2", 210724ba675SRob Herring "dap4", "ddc", "dtf", "gma", "gmc", 211724ba675SRob Herring "gme", "gpu", "gpu7", "i2cp", "irrx", 212724ba675SRob Herring "irtx", "pta", "rm", "sdc", "sdd", 213724ba675SRob Herring "slxc", "slxd", "slxk", "spdi", "spdo", 214724ba675SRob Herring "uac", "uad", "uca", "ucb", "uda"; 215724ba675SRob Herring nvidia,pull = <TEGRA_PIN_PULL_NONE>; 216724ba675SRob Herring nvidia,tristate = <TEGRA_PIN_DISABLE>; 217724ba675SRob Herring }; 218724ba675SRob Herring conf_ate { 219724ba675SRob Herring nvidia,pins = "ate", "csus", "dap3", "gmd", 220724ba675SRob Herring "gpv", "owc", "spia", "spib", "spic", 221724ba675SRob Herring "spid", "spie", "spig"; 222724ba675SRob Herring nvidia,pull = <TEGRA_PIN_PULL_NONE>; 223724ba675SRob Herring nvidia,tristate = <TEGRA_PIN_ENABLE>; 224724ba675SRob Herring }; 225724ba675SRob Herring conf_ck32 { 226724ba675SRob Herring nvidia,pins = "ck32", "ddrc", "pmca", "pmcb", 227724ba675SRob Herring "pmcc", "pmcd", "pmce", "xm2c", "xm2d"; 228724ba675SRob Herring nvidia,pull = <TEGRA_PIN_PULL_NONE>; 229724ba675SRob Herring }; 230724ba675SRob Herring conf_crtp { 231724ba675SRob Herring nvidia,pins = "crtp", "gmb", "slxa", "spih"; 232724ba675SRob Herring nvidia,pull = <TEGRA_PIN_PULL_UP>; 233724ba675SRob Herring nvidia,tristate = <TEGRA_PIN_ENABLE>; 234724ba675SRob Herring }; 235724ba675SRob Herring conf_dta { 236724ba675SRob Herring nvidia,pins = "dta", "dtb", "dtc", "dtd"; 237724ba675SRob Herring nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 238724ba675SRob Herring nvidia,tristate = <TEGRA_PIN_DISABLE>; 239724ba675SRob Herring }; 240724ba675SRob Herring conf_dte { 241724ba675SRob Herring nvidia,pins = "dte", "spif"; 242724ba675SRob Herring nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 243724ba675SRob Herring nvidia,tristate = <TEGRA_PIN_ENABLE>; 244724ba675SRob Herring }; 245724ba675SRob Herring conf_hdint { 246724ba675SRob Herring nvidia,pins = "hdint", "lcsn", "ldc", "lm1", 247724ba675SRob Herring "lpw1", "lsck", "lsda", "lsdi", "lvp0"; 248724ba675SRob Herring nvidia,tristate = <TEGRA_PIN_ENABLE>; 249724ba675SRob Herring }; 250724ba675SRob Herring conf_kbca { 251724ba675SRob Herring nvidia,pins = "kbca", "kbcb", "kbcc", "kbcd", 252724ba675SRob Herring "kbce", "kbcf", "sdio1", "uaa", "uab"; 253724ba675SRob Herring nvidia,pull = <TEGRA_PIN_PULL_UP>; 254724ba675SRob Herring nvidia,tristate = <TEGRA_PIN_DISABLE>; 255724ba675SRob Herring }; 256724ba675SRob Herring conf_lc { 257724ba675SRob Herring nvidia,pins = "lc", "ls"; 258724ba675SRob Herring nvidia,pull = <TEGRA_PIN_PULL_UP>; 259724ba675SRob Herring }; 260724ba675SRob Herring conf_ld0 { 261724ba675SRob Herring nvidia,pins = "ld0", "ld1", "ld2", "ld3", "ld4", 262724ba675SRob Herring "ld5", "ld6", "ld7", "ld8", "ld9", 263724ba675SRob Herring "ld10", "ld11", "ld12", "ld13", "ld14", 264724ba675SRob Herring "ld15", "ld16", "ld17", "ldi", "lhp0", 265724ba675SRob Herring "lhp1", "lhp2", "lhs", "lm0", "lpp", 266724ba675SRob Herring "lpw0", "lpw2", "lsc0", "lsc1", "lspi", 267724ba675SRob Herring "lvp1", "lvs", "pmc", "sdb"; 268724ba675SRob Herring nvidia,tristate = <TEGRA_PIN_DISABLE>; 269724ba675SRob Herring }; 270724ba675SRob Herring conf_ld17_0 { 271724ba675SRob Herring nvidia,pins = "ld17_0", "ld19_18", "ld21_20", 272724ba675SRob Herring "ld23_22"; 273724ba675SRob Herring nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 274724ba675SRob Herring }; 275724ba675SRob Herring drive_sdio1 { 276724ba675SRob Herring nvidia,pins = "drive_sdio1"; 277724ba675SRob Herring nvidia,high-speed-mode = <TEGRA_PIN_DISABLE>; 278724ba675SRob Herring nvidia,schmitt = <TEGRA_PIN_ENABLE>; 279724ba675SRob Herring nvidia,low-power-mode = <TEGRA_PIN_LP_DRIVE_DIV_1>; 280724ba675SRob Herring nvidia,pull-down-strength = <31>; 281724ba675SRob Herring nvidia,pull-up-strength = <31>; 282724ba675SRob Herring nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_SLOWEST>; 283724ba675SRob Herring nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_SLOWEST>; 284724ba675SRob Herring }; 285724ba675SRob Herring }; 286724ba675SRob Herring 287724ba675SRob Herring state_i2cmux_ddc: pinmux-i2cmux-ddc { 288724ba675SRob Herring ddc { 289724ba675SRob Herring nvidia,pins = "ddc"; 290724ba675SRob Herring nvidia,function = "i2c2"; 291724ba675SRob Herring }; 292724ba675SRob Herring pta { 293724ba675SRob Herring nvidia,pins = "pta"; 294724ba675SRob Herring nvidia,function = "rsvd4"; 295724ba675SRob Herring }; 296724ba675SRob Herring }; 297724ba675SRob Herring 298724ba675SRob Herring state_i2cmux_idle: pinmux-i2cmux-idle { 299724ba675SRob Herring ddc { 300724ba675SRob Herring nvidia,pins = "ddc"; 301724ba675SRob Herring nvidia,function = "rsvd4"; 302724ba675SRob Herring }; 303724ba675SRob Herring pta { 304724ba675SRob Herring nvidia,pins = "pta"; 305724ba675SRob Herring nvidia,function = "rsvd4"; 306724ba675SRob Herring }; 307724ba675SRob Herring }; 308724ba675SRob Herring 309724ba675SRob Herring state_i2cmux_pta: pinmux-i2cmux-pta { 310724ba675SRob Herring ddc { 311724ba675SRob Herring nvidia,pins = "ddc"; 312724ba675SRob Herring nvidia,function = "rsvd4"; 313724ba675SRob Herring }; 314724ba675SRob Herring pta { 315724ba675SRob Herring nvidia,pins = "pta"; 316724ba675SRob Herring nvidia,function = "i2c2"; 317724ba675SRob Herring }; 318724ba675SRob Herring }; 319724ba675SRob Herring }; 320724ba675SRob Herring 321724ba675SRob Herring i2s@70002800 { 322724ba675SRob Herring status = "okay"; 323724ba675SRob Herring }; 324724ba675SRob Herring 325724ba675SRob Herring serial@70006300 { 326*9766116aSThierry Reding /delete-property/ dmas; 327*9766116aSThierry Reding /delete-property/ dma-names; 328724ba675SRob Herring status = "okay"; 329724ba675SRob Herring }; 330724ba675SRob Herring 331724ba675SRob Herring pwm: pwm@7000a000 { 332724ba675SRob Herring status = "okay"; 333724ba675SRob Herring }; 334724ba675SRob Herring 335724ba675SRob Herring i2c@7000c000 { 336724ba675SRob Herring status = "okay"; 337724ba675SRob Herring clock-frequency = <400000>; 338724ba675SRob Herring 339724ba675SRob Herring wm8903: wm8903@1a { 340724ba675SRob Herring compatible = "wlf,wm8903"; 341724ba675SRob Herring reg = <0x1a>; 342724ba675SRob Herring interrupt-parent = <&gpio>; 343724ba675SRob Herring interrupts = <TEGRA_GPIO(X, 3) IRQ_TYPE_LEVEL_HIGH>; 344724ba675SRob Herring 345724ba675SRob Herring gpio-controller; 346724ba675SRob Herring #gpio-cells = <2>; 347724ba675SRob Herring 348724ba675SRob Herring micdet-cfg = <0>; 349724ba675SRob Herring micdet-delay = <100>; 350724ba675SRob Herring gpio-cfg = <0xffffffff 0xffffffff 0 0xffffffff 0xffffffff>; 351724ba675SRob Herring }; 352724ba675SRob Herring 353724ba675SRob Herring /* ALS and proximity sensor */ 354724ba675SRob Herring isl29018@44 { 355724ba675SRob Herring compatible = "isil,isl29018"; 356724ba675SRob Herring reg = <0x44>; 357724ba675SRob Herring interrupt-parent = <&gpio>; 358724ba675SRob Herring interrupts = <TEGRA_GPIO(Z, 2) IRQ_TYPE_LEVEL_HIGH>; 359724ba675SRob Herring }; 360724ba675SRob Herring }; 361724ba675SRob Herring 362724ba675SRob Herring i2c@7000c400 { 363724ba675SRob Herring status = "okay"; 364724ba675SRob Herring clock-frequency = <100000>; 365724ba675SRob Herring }; 366724ba675SRob Herring 367724ba675SRob Herring i2c@7000c500 { 368724ba675SRob Herring status = "okay"; 369724ba675SRob Herring clock-frequency = <400000>; 370724ba675SRob Herring }; 371724ba675SRob Herring 372724ba675SRob Herring i2c@7000d000 { 373724ba675SRob Herring status = "okay"; 374724ba675SRob Herring clock-frequency = <400000>; 375724ba675SRob Herring 376724ba675SRob Herring pmic: tps6586x@34 { 377724ba675SRob Herring compatible = "ti,tps6586x"; 378724ba675SRob Herring reg = <0x34>; 379724ba675SRob Herring interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; 380724ba675SRob Herring 381724ba675SRob Herring ti,system-power-controller; 382724ba675SRob Herring 383724ba675SRob Herring #gpio-cells = <2>; 384724ba675SRob Herring gpio-controller; 385724ba675SRob Herring 386724ba675SRob Herring sys-supply = <&vdd_5v0_reg>; 387724ba675SRob Herring vin-sm0-supply = <&sys_reg>; 388724ba675SRob Herring vin-sm1-supply = <&sys_reg>; 389724ba675SRob Herring vin-sm2-supply = <&sys_reg>; 390724ba675SRob Herring vinldo01-supply = <&sm2_reg>; 391724ba675SRob Herring vinldo23-supply = <&sm2_reg>; 392724ba675SRob Herring vinldo4-supply = <&sm2_reg>; 393724ba675SRob Herring vinldo678-supply = <&sm2_reg>; 394724ba675SRob Herring vinldo9-supply = <&sm2_reg>; 395724ba675SRob Herring 396724ba675SRob Herring regulators { 397724ba675SRob Herring sys_reg: sys { 398724ba675SRob Herring regulator-name = "vdd_sys"; 399724ba675SRob Herring regulator-always-on; 400724ba675SRob Herring }; 401724ba675SRob Herring 402724ba675SRob Herring vdd_core: sm0 { 403724ba675SRob Herring regulator-name = "vdd_sm0,vdd_core"; 404724ba675SRob Herring regulator-min-microvolt = <950000>; 405724ba675SRob Herring regulator-max-microvolt = <1300000>; 406724ba675SRob Herring regulator-coupled-with = <&rtc_vdd &vdd_cpu>; 407724ba675SRob Herring regulator-coupled-max-spread = <170000 550000>; 408724ba675SRob Herring regulator-always-on; 409724ba675SRob Herring regulator-boot-on; 410724ba675SRob Herring 411724ba675SRob Herring nvidia,tegra-core-regulator; 412724ba675SRob Herring }; 413724ba675SRob Herring 414724ba675SRob Herring vdd_cpu: sm1 { 415724ba675SRob Herring regulator-name = "vdd_sm1,vdd_cpu"; 416724ba675SRob Herring regulator-min-microvolt = <750000>; 417724ba675SRob Herring regulator-max-microvolt = <1125000>; 418724ba675SRob Herring regulator-coupled-with = <&vdd_core &rtc_vdd>; 419724ba675SRob Herring regulator-coupled-max-spread = <550000 550000>; 420724ba675SRob Herring regulator-always-on; 421724ba675SRob Herring regulator-boot-on; 422724ba675SRob Herring 423724ba675SRob Herring nvidia,tegra-cpu-regulator; 424724ba675SRob Herring }; 425724ba675SRob Herring 426724ba675SRob Herring sm2_reg: sm2 { 427724ba675SRob Herring regulator-name = "vdd_sm2,vin_ldo*"; 428724ba675SRob Herring regulator-min-microvolt = <3700000>; 429724ba675SRob Herring regulator-max-microvolt = <3700000>; 430724ba675SRob Herring regulator-always-on; 431724ba675SRob Herring }; 432724ba675SRob Herring 433724ba675SRob Herring /* LDO0 is not connected to anything */ 434724ba675SRob Herring 435724ba675SRob Herring ldo1 { 436724ba675SRob Herring regulator-name = "vdd_ldo1,avdd_pll*"; 437724ba675SRob Herring regulator-min-microvolt = <1100000>; 438724ba675SRob Herring regulator-max-microvolt = <1100000>; 439724ba675SRob Herring regulator-always-on; 440724ba675SRob Herring }; 441724ba675SRob Herring 442724ba675SRob Herring rtc_vdd: ldo2 { 443724ba675SRob Herring regulator-name = "vdd_ldo2,vdd_rtc"; 444724ba675SRob Herring regulator-min-microvolt = <950000>; 445724ba675SRob Herring regulator-max-microvolt = <1300000>; 446724ba675SRob Herring regulator-coupled-with = <&vdd_core &vdd_cpu>; 447724ba675SRob Herring regulator-coupled-max-spread = <170000 550000>; 448724ba675SRob Herring regulator-always-on; 449724ba675SRob Herring regulator-boot-on; 450724ba675SRob Herring 451724ba675SRob Herring nvidia,tegra-rtc-regulator; 452724ba675SRob Herring }; 453724ba675SRob Herring 454724ba675SRob Herring ldo3 { 455724ba675SRob Herring regulator-name = "vdd_ldo3,avdd_usb*"; 456724ba675SRob Herring regulator-min-microvolt = <3300000>; 457724ba675SRob Herring regulator-max-microvolt = <3300000>; 458724ba675SRob Herring regulator-always-on; 459724ba675SRob Herring }; 460724ba675SRob Herring 461724ba675SRob Herring ldo4 { 462724ba675SRob Herring regulator-name = "vdd_ldo4,avdd_osc,vddio_sys"; 463724ba675SRob Herring regulator-min-microvolt = <1800000>; 464724ba675SRob Herring regulator-max-microvolt = <1800000>; 465724ba675SRob Herring regulator-always-on; 466724ba675SRob Herring }; 467724ba675SRob Herring 468724ba675SRob Herring ldo5 { 469724ba675SRob Herring regulator-name = "vdd_ldo5,vcore_mmc"; 470724ba675SRob Herring regulator-min-microvolt = <2850000>; 471724ba675SRob Herring regulator-max-microvolt = <2850000>; 472724ba675SRob Herring regulator-always-on; 473724ba675SRob Herring }; 474724ba675SRob Herring 475724ba675SRob Herring ldo6 { 476724ba675SRob Herring regulator-name = "vdd_ldo6,avdd_vdac"; 477724ba675SRob Herring regulator-min-microvolt = <1800000>; 478724ba675SRob Herring regulator-max-microvolt = <1800000>; 479724ba675SRob Herring }; 480724ba675SRob Herring 481724ba675SRob Herring hdmi_vdd_reg: ldo7 { 482724ba675SRob Herring regulator-name = "vdd_ldo7,avdd_hdmi,vdd_fuse"; 483724ba675SRob Herring regulator-min-microvolt = <3300000>; 484724ba675SRob Herring regulator-max-microvolt = <3300000>; 485724ba675SRob Herring }; 486724ba675SRob Herring 487724ba675SRob Herring hdmi_pll_reg: ldo8 { 488724ba675SRob Herring regulator-name = "vdd_ldo8,avdd_hdmi_pll"; 489724ba675SRob Herring regulator-min-microvolt = <1800000>; 490724ba675SRob Herring regulator-max-microvolt = <1800000>; 491724ba675SRob Herring }; 492724ba675SRob Herring 493724ba675SRob Herring ldo9 { 494724ba675SRob Herring regulator-name = "vdd_ldo9,avdd_2v85,vdd_ddr_rx"; 495724ba675SRob Herring regulator-min-microvolt = <2850000>; 496724ba675SRob Herring regulator-max-microvolt = <2850000>; 497724ba675SRob Herring regulator-always-on; 498724ba675SRob Herring }; 499724ba675SRob Herring 500724ba675SRob Herring ldo_rtc { 501724ba675SRob Herring regulator-name = "vdd_rtc_out,vdd_cell"; 502724ba675SRob Herring regulator-min-microvolt = <3300000>; 503724ba675SRob Herring regulator-max-microvolt = <3300000>; 504724ba675SRob Herring regulator-always-on; 505724ba675SRob Herring }; 506724ba675SRob Herring }; 507724ba675SRob Herring }; 508724ba675SRob Herring 509724ba675SRob Herring nct1008: temperature-sensor@4c { 510724ba675SRob Herring compatible = "onnn,nct1008"; 511724ba675SRob Herring reg = <0x4c>; 512724ba675SRob Herring #thermal-sensor-cells = <1>; 513724ba675SRob Herring }; 514724ba675SRob Herring }; 515724ba675SRob Herring 516724ba675SRob Herring pmc@7000e400 { 517724ba675SRob Herring nvidia,invert-interrupt; 518724ba675SRob Herring nvidia,suspend-mode = <1>; 519724ba675SRob Herring nvidia,cpu-pwr-good-time = <2000>; 520724ba675SRob Herring nvidia,cpu-pwr-off-time = <100>; 521724ba675SRob Herring nvidia,core-pwr-good-time = <3845 3845>; 522724ba675SRob Herring nvidia,core-pwr-off-time = <458>; 523724ba675SRob Herring nvidia,sys-clock-req-active-high; 524724ba675SRob Herring core-supply = <&vdd_core>; 525724ba675SRob Herring }; 526724ba675SRob Herring 527724ba675SRob Herring usb@c5000000 { 528724ba675SRob Herring status = "okay"; 529724ba675SRob Herring }; 530724ba675SRob Herring 531724ba675SRob Herring usb-phy@c5000000 { 532724ba675SRob Herring status = "okay"; 533724ba675SRob Herring }; 534724ba675SRob Herring 535724ba675SRob Herring usb@c5004000 { 536724ba675SRob Herring status = "okay"; 537724ba675SRob Herring }; 538724ba675SRob Herring 539724ba675SRob Herring usb-phy@c5004000 { 540724ba675SRob Herring status = "okay"; 541724ba675SRob Herring nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 1) 542724ba675SRob Herring GPIO_ACTIVE_LOW>; 543724ba675SRob Herring }; 544724ba675SRob Herring 545724ba675SRob Herring usb@c5008000 { 546724ba675SRob Herring status = "okay"; 547724ba675SRob Herring }; 548724ba675SRob Herring 549724ba675SRob Herring usb-phy@c5008000 { 550724ba675SRob Herring status = "okay"; 551724ba675SRob Herring }; 552724ba675SRob Herring 553724ba675SRob Herring mmc@c8000000 { 554724ba675SRob Herring status = "okay"; 555724ba675SRob Herring power-gpios = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>; 556724ba675SRob Herring bus-width = <4>; 557724ba675SRob Herring keep-power-in-suspend; 558724ba675SRob Herring }; 559724ba675SRob Herring 560724ba675SRob Herring mmc@c8000400 { 561724ba675SRob Herring status = "okay"; 562724ba675SRob Herring cd-gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>; 563724ba675SRob Herring wp-gpios = <&gpio TEGRA_GPIO(H, 1) GPIO_ACTIVE_HIGH>; 564724ba675SRob Herring power-gpios = <&gpio TEGRA_GPIO(I, 6) GPIO_ACTIVE_HIGH>; 565724ba675SRob Herring bus-width = <4>; 566724ba675SRob Herring }; 567724ba675SRob Herring 568724ba675SRob Herring mmc@c8000600 { 569724ba675SRob Herring status = "okay"; 570724ba675SRob Herring bus-width = <8>; 571724ba675SRob Herring non-removable; 572724ba675SRob Herring }; 573724ba675SRob Herring 574724ba675SRob Herring backlight: backlight { 575724ba675SRob Herring compatible = "pwm-backlight"; 576724ba675SRob Herring 577724ba675SRob Herring enable-gpios = <&gpio TEGRA_GPIO(D, 4) GPIO_ACTIVE_HIGH>; 578724ba675SRob Herring power-supply = <&vdd_bl_reg>; 579724ba675SRob Herring pwms = <&pwm 2 5000000>; 580724ba675SRob Herring 581724ba675SRob Herring brightness-levels = <0 4 8 16 32 64 128 255>; 582724ba675SRob Herring default-brightness-level = <6>; 583724ba675SRob Herring }; 584724ba675SRob Herring 585724ba675SRob Herring clk32k_in: clock-32k { 586724ba675SRob Herring compatible = "fixed-clock"; 587724ba675SRob Herring clock-frequency = <32768>; 588724ba675SRob Herring #clock-cells = <0>; 589724ba675SRob Herring }; 590724ba675SRob Herring 591724ba675SRob Herring cpus { 592724ba675SRob Herring cpu0: cpu@0 { 593724ba675SRob Herring cpu-supply = <&vdd_cpu>; 594724ba675SRob Herring operating-points-v2 = <&cpu0_opp_table>; 595724ba675SRob Herring #cooling-cells = <2>; 596724ba675SRob Herring }; 597724ba675SRob Herring 598724ba675SRob Herring cpu1: cpu@1 { 599724ba675SRob Herring cpu-supply = <&vdd_cpu>; 600724ba675SRob Herring operating-points-v2 = <&cpu0_opp_table>; 601724ba675SRob Herring #cooling-cells = <2>; 602724ba675SRob Herring }; 603724ba675SRob Herring }; 604724ba675SRob Herring 605724ba675SRob Herring gpio-keys { 606724ba675SRob Herring compatible = "gpio-keys"; 607724ba675SRob Herring 608724ba675SRob Herring key-power { 609724ba675SRob Herring label = "Power"; 610724ba675SRob Herring gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>; 611724ba675SRob Herring linux,code = <KEY_POWER>; 612724ba675SRob Herring wakeup-source; 613724ba675SRob Herring }; 614724ba675SRob Herring }; 615724ba675SRob Herring 616724ba675SRob Herring i2cmux { 617724ba675SRob Herring compatible = "i2c-mux-pinctrl"; 618724ba675SRob Herring #address-cells = <1>; 619724ba675SRob Herring #size-cells = <0>; 620724ba675SRob Herring 621724ba675SRob Herring i2c-parent = <&{/i2c@7000c400}>; 622724ba675SRob Herring 623724ba675SRob Herring pinctrl-names = "ddc", "pta", "idle"; 624724ba675SRob Herring pinctrl-0 = <&state_i2cmux_ddc>; 625724ba675SRob Herring pinctrl-1 = <&state_i2cmux_pta>; 626724ba675SRob Herring pinctrl-2 = <&state_i2cmux_idle>; 627724ba675SRob Herring 628724ba675SRob Herring hdmi_ddc: i2c@0 { 629724ba675SRob Herring reg = <0>; 630724ba675SRob Herring #address-cells = <1>; 631724ba675SRob Herring #size-cells = <0>; 632724ba675SRob Herring }; 633724ba675SRob Herring 634724ba675SRob Herring lvds_ddc: i2c@1 { 635724ba675SRob Herring reg = <1>; 636724ba675SRob Herring #address-cells = <1>; 637724ba675SRob Herring #size-cells = <0>; 638724ba675SRob Herring }; 639724ba675SRob Herring }; 640724ba675SRob Herring 641724ba675SRob Herring panel: panel { 642724ba675SRob Herring compatible = "chunghwa,claa101wa01a"; 643724ba675SRob Herring 644724ba675SRob Herring power-supply = <&vdd_pnl_reg>; 645724ba675SRob Herring enable-gpios = <&gpio TEGRA_GPIO(B, 2) GPIO_ACTIVE_HIGH>; 646724ba675SRob Herring 647724ba675SRob Herring backlight = <&backlight>; 648724ba675SRob Herring ddc-i2c-bus = <&lvds_ddc>; 649724ba675SRob Herring }; 650724ba675SRob Herring 651724ba675SRob Herring vdd_5v0_reg: regulator-5v0 { 652724ba675SRob Herring compatible = "regulator-fixed"; 653724ba675SRob Herring regulator-name = "vdd_5v0"; 654724ba675SRob Herring regulator-min-microvolt = <5000000>; 655724ba675SRob Herring regulator-max-microvolt = <5000000>; 656724ba675SRob Herring regulator-always-on; 657724ba675SRob Herring }; 658724ba675SRob Herring 659724ba675SRob Herring regulator-1v5 { 660724ba675SRob Herring compatible = "regulator-fixed"; 661724ba675SRob Herring regulator-name = "vdd_1v5"; 662724ba675SRob Herring regulator-min-microvolt = <1500000>; 663724ba675SRob Herring regulator-max-microvolt = <1500000>; 664724ba675SRob Herring gpio = <&pmic 0 GPIO_ACTIVE_HIGH>; 665724ba675SRob Herring }; 666724ba675SRob Herring 667724ba675SRob Herring regulator-1v2 { 668724ba675SRob Herring compatible = "regulator-fixed"; 669724ba675SRob Herring regulator-name = "vdd_1v2"; 670724ba675SRob Herring regulator-min-microvolt = <1200000>; 671724ba675SRob Herring regulator-max-microvolt = <1200000>; 672724ba675SRob Herring gpio = <&pmic 1 GPIO_ACTIVE_HIGH>; 673724ba675SRob Herring enable-active-high; 674724ba675SRob Herring }; 675724ba675SRob Herring 676724ba675SRob Herring vdd_pnl_reg: regulator-pnl { 677724ba675SRob Herring compatible = "regulator-fixed"; 678724ba675SRob Herring regulator-name = "vdd_pnl"; 679724ba675SRob Herring regulator-min-microvolt = <2800000>; 680724ba675SRob Herring regulator-max-microvolt = <2800000>; 681724ba675SRob Herring gpio = <&gpio TEGRA_GPIO(C, 6) GPIO_ACTIVE_HIGH>; 682724ba675SRob Herring enable-active-high; 683724ba675SRob Herring }; 684724ba675SRob Herring 685724ba675SRob Herring vdd_bl_reg: regulator-bl { 686724ba675SRob Herring compatible = "regulator-fixed"; 687724ba675SRob Herring regulator-name = "vdd_bl"; 688724ba675SRob Herring regulator-min-microvolt = <2800000>; 689724ba675SRob Herring regulator-max-microvolt = <2800000>; 690724ba675SRob Herring gpio = <&gpio TEGRA_GPIO(W, 0) GPIO_ACTIVE_HIGH>; 691724ba675SRob Herring enable-active-high; 692724ba675SRob Herring }; 693724ba675SRob Herring 694724ba675SRob Herring sound { 695724ba675SRob Herring compatible = "nvidia,tegra-audio-wm8903-ventana", 696724ba675SRob Herring "nvidia,tegra-audio-wm8903"; 697724ba675SRob Herring nvidia,model = "NVIDIA Tegra Ventana"; 698724ba675SRob Herring 699724ba675SRob Herring nvidia,audio-routing = 700724ba675SRob Herring "Headphone Jack", "HPOUTR", 701724ba675SRob Herring "Headphone Jack", "HPOUTL", 702724ba675SRob Herring "Int Spk", "ROP", 703724ba675SRob Herring "Int Spk", "RON", 704724ba675SRob Herring "Int Spk", "LOP", 705724ba675SRob Herring "Int Spk", "LON", 706724ba675SRob Herring "Mic Jack", "MICBIAS", 707724ba675SRob Herring "IN1L", "Mic Jack"; 708724ba675SRob Herring 709724ba675SRob Herring nvidia,i2s-controller = <&tegra_i2s1>; 710724ba675SRob Herring nvidia,audio-codec = <&wm8903>; 711724ba675SRob Herring 712724ba675SRob Herring nvidia,spkr-en-gpios = <&wm8903 2 GPIO_ACTIVE_HIGH>; 713724ba675SRob Herring nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_LOW>; 714724ba675SRob Herring nvidia,int-mic-en-gpios = <&gpio TEGRA_GPIO(X, 0) 715724ba675SRob Herring GPIO_ACTIVE_HIGH>; 716724ba675SRob Herring nvidia,ext-mic-en-gpios = <&gpio TEGRA_GPIO(X, 1) 717724ba675SRob Herring GPIO_ACTIVE_HIGH>; 718724ba675SRob Herring 719724ba675SRob Herring clocks = <&tegra_car TEGRA20_CLK_PLL_A>, 720724ba675SRob Herring <&tegra_car TEGRA20_CLK_PLL_A_OUT0>, 721724ba675SRob Herring <&tegra_car TEGRA20_CLK_CDEV1>; 722724ba675SRob Herring clock-names = "pll_a", "pll_a_out0", "mclk"; 723724ba675SRob Herring }; 724724ba675SRob Herring 725724ba675SRob Herring thermal-zones { 726724ba675SRob Herring cpu-thermal { 727724ba675SRob Herring polling-delay-passive = <1000>; /* milliseconds */ 728724ba675SRob Herring polling-delay = <5000>; /* milliseconds */ 729724ba675SRob Herring 730724ba675SRob Herring thermal-sensors = <&nct1008 1>; 731724ba675SRob Herring 732724ba675SRob Herring trips { 733724ba675SRob Herring trip0: cpu-alert0 { 734724ba675SRob Herring /* start throttling at 50C */ 735724ba675SRob Herring temperature = <50000>; 736724ba675SRob Herring hysteresis = <200>; 737724ba675SRob Herring type = "passive"; 738724ba675SRob Herring }; 739724ba675SRob Herring 740724ba675SRob Herring trip1: cpu-crit { 741724ba675SRob Herring /* shut down at 60C */ 742724ba675SRob Herring temperature = <60000>; 743724ba675SRob Herring hysteresis = <2000>; 744724ba675SRob Herring type = "critical"; 745724ba675SRob Herring }; 746724ba675SRob Herring }; 747724ba675SRob Herring 748724ba675SRob Herring cooling-maps { 749724ba675SRob Herring map0 { 750724ba675SRob Herring trip = <&trip0>; 751724ba675SRob Herring cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 752724ba675SRob Herring <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 753724ba675SRob Herring }; 754724ba675SRob Herring }; 755724ba675SRob Herring }; 756724ba675SRob Herring }; 757724ba675SRob Herring}; 758