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 "tegra20.dtsi" 6724ba675SRob Herring 7724ba675SRob Herring/ { 8724ba675SRob Herring model = "NVIDIA Tegra20 Harmony evaluation board"; 9724ba675SRob Herring compatible = "nvidia,harmony", "nvidia,tegra20"; 10724ba675SRob Herring 11724ba675SRob Herring aliases { 12724ba675SRob Herring rtc0 = "/i2c@7000d000/tps6586x@34"; 13724ba675SRob Herring rtc1 = "/rtc@7000e000"; 14724ba675SRob Herring serial0 = &uartd; 15724ba675SRob Herring }; 16724ba675SRob Herring 17724ba675SRob Herring chosen { 18724ba675SRob Herring stdout-path = "serial0:115200n8"; 19724ba675SRob Herring }; 20724ba675SRob Herring 21724ba675SRob Herring memory@0 { 22724ba675SRob Herring reg = <0x00000000 0x40000000>; 23724ba675SRob Herring }; 24724ba675SRob Herring 25724ba675SRob Herring host1x@50000000 { 26724ba675SRob Herring dc@54200000 { 27724ba675SRob Herring rgb { 28724ba675SRob Herring status = "okay"; 29724ba675SRob Herring 30724ba675SRob Herring nvidia,panel = <&panel>; 31724ba675SRob Herring }; 32724ba675SRob Herring }; 33724ba675SRob Herring 34724ba675SRob Herring hdmi@54280000 { 35724ba675SRob Herring status = "okay"; 36724ba675SRob Herring 37724ba675SRob Herring hdmi-supply = <&vdd_5v0_hdmi>; 38724ba675SRob Herring vdd-supply = <&hdmi_vdd_reg>; 39724ba675SRob Herring pll-supply = <&hdmi_pll_reg>; 40724ba675SRob Herring 41724ba675SRob Herring nvidia,ddc-i2c-bus = <&hdmi_ddc>; 42724ba675SRob Herring nvidia,hpd-gpio = <&gpio TEGRA_GPIO(N, 7) 43724ba675SRob Herring GPIO_ACTIVE_HIGH>; 44724ba675SRob Herring }; 45724ba675SRob Herring }; 46724ba675SRob Herring 47724ba675SRob Herring pinmux@70000014 { 48724ba675SRob Herring pinctrl-names = "default"; 49724ba675SRob Herring pinctrl-0 = <&state_default>; 50724ba675SRob Herring 51724ba675SRob Herring state_default: pinmux { 52724ba675SRob Herring ata { 53724ba675SRob Herring nvidia,pins = "ata"; 54724ba675SRob Herring nvidia,function = "ide"; 55724ba675SRob Herring }; 56724ba675SRob Herring atb { 57724ba675SRob Herring nvidia,pins = "atb", "gma", "gme"; 58724ba675SRob Herring nvidia,function = "sdio4"; 59724ba675SRob Herring }; 60724ba675SRob Herring atc { 61724ba675SRob Herring nvidia,pins = "atc"; 62724ba675SRob Herring nvidia,function = "nand"; 63724ba675SRob Herring }; 64724ba675SRob Herring atd { 65724ba675SRob Herring nvidia,pins = "atd", "ate", "gmb", "gmd", "gpu", 66724ba675SRob Herring "spia", "spib", "spic"; 67724ba675SRob Herring nvidia,function = "gmi"; 68724ba675SRob Herring }; 69724ba675SRob Herring cdev1 { 70724ba675SRob Herring nvidia,pins = "cdev1"; 71724ba675SRob Herring nvidia,function = "plla_out"; 72724ba675SRob Herring }; 73724ba675SRob Herring cdev2 { 74724ba675SRob Herring nvidia,pins = "cdev2"; 75724ba675SRob Herring nvidia,function = "pllp_out4"; 76724ba675SRob Herring }; 77724ba675SRob Herring crtp { 78724ba675SRob Herring nvidia,pins = "crtp"; 79724ba675SRob Herring nvidia,function = "crt"; 80724ba675SRob Herring }; 81724ba675SRob Herring csus { 82724ba675SRob Herring nvidia,pins = "csus"; 83724ba675SRob Herring nvidia,function = "vi_sensor_clk"; 84724ba675SRob Herring }; 85724ba675SRob Herring dap1 { 86724ba675SRob Herring nvidia,pins = "dap1"; 87724ba675SRob Herring nvidia,function = "dap1"; 88724ba675SRob Herring }; 89724ba675SRob Herring dap2 { 90724ba675SRob Herring nvidia,pins = "dap2"; 91724ba675SRob Herring nvidia,function = "dap2"; 92724ba675SRob Herring }; 93724ba675SRob Herring dap3 { 94724ba675SRob Herring nvidia,pins = "dap3"; 95724ba675SRob Herring nvidia,function = "dap3"; 96724ba675SRob Herring }; 97724ba675SRob Herring dap4 { 98724ba675SRob Herring nvidia,pins = "dap4"; 99724ba675SRob Herring nvidia,function = "dap4"; 100724ba675SRob Herring }; 101724ba675SRob Herring ddc { 102724ba675SRob Herring nvidia,pins = "ddc"; 103724ba675SRob Herring nvidia,function = "i2c2"; 104724ba675SRob Herring }; 105724ba675SRob Herring dta { 106724ba675SRob Herring nvidia,pins = "dta", "dtd"; 107724ba675SRob Herring nvidia,function = "sdio2"; 108724ba675SRob Herring }; 109724ba675SRob Herring dtb { 110724ba675SRob Herring nvidia,pins = "dtb", "dtc", "dte"; 111724ba675SRob Herring nvidia,function = "rsvd1"; 112724ba675SRob Herring }; 113724ba675SRob Herring dtf { 114724ba675SRob Herring nvidia,pins = "dtf"; 115724ba675SRob Herring nvidia,function = "i2c3"; 116724ba675SRob Herring }; 117724ba675SRob Herring gmc { 118724ba675SRob Herring nvidia,pins = "gmc"; 119724ba675SRob Herring nvidia,function = "uartd"; 120724ba675SRob Herring }; 121724ba675SRob Herring gpu7 { 122724ba675SRob Herring nvidia,pins = "gpu7"; 123724ba675SRob Herring nvidia,function = "rtck"; 124724ba675SRob Herring }; 125724ba675SRob Herring gpv { 126724ba675SRob Herring nvidia,pins = "gpv", "slxa", "slxk"; 127724ba675SRob Herring nvidia,function = "pcie"; 128724ba675SRob Herring }; 129724ba675SRob Herring hdint { 130724ba675SRob Herring nvidia,pins = "hdint", "pta"; 131724ba675SRob Herring nvidia,function = "hdmi"; 132724ba675SRob Herring }; 133724ba675SRob Herring i2cp { 134724ba675SRob Herring nvidia,pins = "i2cp"; 135724ba675SRob Herring nvidia,function = "i2cp"; 136724ba675SRob Herring }; 137724ba675SRob Herring irrx { 138724ba675SRob Herring nvidia,pins = "irrx", "irtx"; 139724ba675SRob Herring nvidia,function = "uarta"; 140724ba675SRob Herring }; 141724ba675SRob Herring kbca { 142724ba675SRob Herring nvidia,pins = "kbca", "kbcb", "kbcc", "kbcd", 143724ba675SRob Herring "kbce", "kbcf"; 144724ba675SRob Herring nvidia,function = "kbc"; 145724ba675SRob Herring }; 146724ba675SRob Herring lcsn { 147724ba675SRob Herring nvidia,pins = "lcsn", "ld0", "ld1", "ld2", 148724ba675SRob Herring "ld3", "ld4", "ld5", "ld6", "ld7", 149724ba675SRob Herring "ld8", "ld9", "ld10", "ld11", "ld12", 150724ba675SRob Herring "ld13", "ld14", "ld15", "ld16", "ld17", 151724ba675SRob Herring "ldc", "ldi", "lhp0", "lhp1", "lhp2", 152724ba675SRob Herring "lhs", "lm0", "lm1", "lpp", "lpw0", 153724ba675SRob Herring "lpw1", "lpw2", "lsc0", "lsc1", "lsck", 154724ba675SRob Herring "lsda", "lsdi", "lspi", "lvp0", "lvp1", 155724ba675SRob Herring "lvs"; 156724ba675SRob Herring nvidia,function = "displaya"; 157724ba675SRob Herring }; 158724ba675SRob Herring owc { 159724ba675SRob Herring nvidia,pins = "owc", "spdi", "spdo", "uac"; 160724ba675SRob Herring nvidia,function = "rsvd2"; 161724ba675SRob Herring }; 162724ba675SRob Herring pmc { 163724ba675SRob Herring nvidia,pins = "pmc"; 164724ba675SRob Herring nvidia,function = "pwr_on"; 165724ba675SRob Herring }; 166724ba675SRob Herring rm { 167724ba675SRob Herring nvidia,pins = "rm"; 168724ba675SRob Herring nvidia,function = "i2c1"; 169724ba675SRob Herring }; 170724ba675SRob Herring sdb { 171724ba675SRob Herring nvidia,pins = "sdb", "sdc", "sdd"; 172724ba675SRob Herring nvidia,function = "pwm"; 173724ba675SRob Herring }; 174724ba675SRob Herring sdio1 { 175724ba675SRob Herring nvidia,pins = "sdio1"; 176724ba675SRob Herring nvidia,function = "sdio1"; 177724ba675SRob Herring }; 178724ba675SRob Herring slxc { 179724ba675SRob Herring nvidia,pins = "slxc", "slxd"; 180724ba675SRob Herring nvidia,function = "spdif"; 181724ba675SRob Herring }; 182724ba675SRob Herring spid { 183724ba675SRob Herring nvidia,pins = "spid", "spie", "spif"; 184724ba675SRob Herring nvidia,function = "spi1"; 185724ba675SRob Herring }; 186724ba675SRob Herring spig { 187724ba675SRob Herring nvidia,pins = "spig", "spih"; 188724ba675SRob Herring nvidia,function = "spi2_alt"; 189724ba675SRob Herring }; 190724ba675SRob Herring uaa { 191724ba675SRob Herring nvidia,pins = "uaa", "uab", "uda"; 192724ba675SRob Herring nvidia,function = "ulpi"; 193724ba675SRob Herring }; 194724ba675SRob Herring uad { 195724ba675SRob Herring nvidia,pins = "uad"; 196724ba675SRob Herring nvidia,function = "irda"; 197724ba675SRob Herring }; 198724ba675SRob Herring uca { 199724ba675SRob Herring nvidia,pins = "uca", "ucb"; 200724ba675SRob Herring nvidia,function = "uartc"; 201724ba675SRob Herring }; 202724ba675SRob Herring conf_ata { 203724ba675SRob Herring nvidia,pins = "ata", "atb", "atc", "atd", "ate", 204724ba675SRob Herring "cdev1", "cdev2", "dap1", "dtb", "gma", 205724ba675SRob Herring "gmb", "gmc", "gmd", "gme", "gpu7", 206724ba675SRob Herring "gpv", "i2cp", "pta", "rm", "slxa", 207724ba675SRob Herring "slxk", "spia", "spib", "uac"; 208724ba675SRob Herring nvidia,pull = <TEGRA_PIN_PULL_NONE>; 209724ba675SRob Herring nvidia,tristate = <TEGRA_PIN_DISABLE>; 210724ba675SRob Herring }; 211724ba675SRob Herring conf_ck32 { 212724ba675SRob Herring nvidia,pins = "ck32", "ddrc", "pmca", "pmcb", 213724ba675SRob Herring "pmcc", "pmcd", "pmce", "xm2c", "xm2d"; 214724ba675SRob Herring nvidia,pull = <TEGRA_PIN_PULL_NONE>; 215724ba675SRob Herring }; 216724ba675SRob Herring conf_csus { 217724ba675SRob Herring nvidia,pins = "csus", "spid", "spif"; 218724ba675SRob Herring nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 219724ba675SRob Herring nvidia,tristate = <TEGRA_PIN_ENABLE>; 220724ba675SRob Herring }; 221724ba675SRob Herring conf_crtp { 222724ba675SRob Herring nvidia,pins = "crtp", "dap2", "dap3", "dap4", 223724ba675SRob Herring "dtc", "dte", "dtf", "gpu", "sdio1", 224724ba675SRob Herring "slxc", "slxd", "spdi", "spdo", "spig", 225724ba675SRob Herring "uda"; 226724ba675SRob Herring nvidia,pull = <TEGRA_PIN_PULL_NONE>; 227724ba675SRob Herring nvidia,tristate = <TEGRA_PIN_ENABLE>; 228724ba675SRob Herring }; 229724ba675SRob Herring conf_ddc { 230724ba675SRob Herring nvidia,pins = "ddc", "dta", "dtd", "kbca", 231724ba675SRob Herring "kbcb", "kbcc", "kbcd", "kbce", "kbcf", 232724ba675SRob Herring "sdc"; 233724ba675SRob Herring nvidia,pull = <TEGRA_PIN_PULL_UP>; 234724ba675SRob Herring nvidia,tristate = <TEGRA_PIN_DISABLE>; 235724ba675SRob Herring }; 236724ba675SRob Herring conf_hdint { 237724ba675SRob Herring nvidia,pins = "hdint", "lcsn", "ldc", "lm1", 238724ba675SRob Herring "lpw1", "lsc1", "lsck", "lsda", "lsdi", 239724ba675SRob Herring "lvp0", "owc", "sdb"; 240724ba675SRob Herring nvidia,tristate = <TEGRA_PIN_ENABLE>; 241724ba675SRob Herring }; 242724ba675SRob Herring conf_irrx { 243724ba675SRob Herring nvidia,pins = "irrx", "irtx", "sdd", "spic", 244724ba675SRob Herring "spie", "spih", "uaa", "uab", "uad", 245724ba675SRob Herring "uca", "ucb"; 246724ba675SRob Herring nvidia,pull = <TEGRA_PIN_PULL_UP>; 247724ba675SRob Herring nvidia,tristate = <TEGRA_PIN_ENABLE>; 248724ba675SRob Herring }; 249724ba675SRob Herring conf_lc { 250724ba675SRob Herring nvidia,pins = "lc", "ls"; 251724ba675SRob Herring nvidia,pull = <TEGRA_PIN_PULL_UP>; 252724ba675SRob Herring }; 253724ba675SRob Herring conf_ld0 { 254724ba675SRob Herring nvidia,pins = "ld0", "ld1", "ld2", "ld3", "ld4", 255724ba675SRob Herring "ld5", "ld6", "ld7", "ld8", "ld9", 256724ba675SRob Herring "ld10", "ld11", "ld12", "ld13", "ld14", 257724ba675SRob Herring "ld15", "ld16", "ld17", "ldi", "lhp0", 258724ba675SRob Herring "lhp1", "lhp2", "lhs", "lm0", "lpp", 259724ba675SRob Herring "lpw0", "lpw2", "lsc0", "lspi", "lvp1", 260724ba675SRob Herring "lvs", "pmc"; 261724ba675SRob Herring nvidia,tristate = <TEGRA_PIN_DISABLE>; 262724ba675SRob Herring }; 263724ba675SRob Herring conf_ld17_0 { 264724ba675SRob Herring nvidia,pins = "ld17_0", "ld19_18", "ld21_20", 265724ba675SRob Herring "ld23_22"; 266724ba675SRob Herring nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 267724ba675SRob Herring }; 268724ba675SRob Herring }; 269724ba675SRob Herring }; 270724ba675SRob Herring 271724ba675SRob Herring i2s@70002800 { 272724ba675SRob Herring status = "okay"; 273724ba675SRob Herring }; 274724ba675SRob Herring 275724ba675SRob Herring serial@70006300 { 276*9766116aSThierry Reding /delete-property/ dmas; 277*9766116aSThierry Reding /delete-property/ dma-names; 278724ba675SRob Herring status = "okay"; 279724ba675SRob Herring }; 280724ba675SRob Herring 281724ba675SRob Herring pwm: pwm@7000a000 { 282724ba675SRob Herring status = "okay"; 283724ba675SRob Herring }; 284724ba675SRob Herring 285724ba675SRob Herring i2c@7000c000 { 286724ba675SRob Herring status = "okay"; 287724ba675SRob Herring clock-frequency = <400000>; 288724ba675SRob Herring 289724ba675SRob Herring wm8903: wm8903@1a { 290724ba675SRob Herring compatible = "wlf,wm8903"; 291724ba675SRob Herring reg = <0x1a>; 292724ba675SRob Herring interrupt-parent = <&gpio>; 293724ba675SRob Herring interrupts = <TEGRA_GPIO(X, 3) IRQ_TYPE_LEVEL_HIGH>; 294724ba675SRob Herring 295724ba675SRob Herring gpio-controller; 296724ba675SRob Herring #gpio-cells = <2>; 297724ba675SRob Herring 298724ba675SRob Herring micdet-cfg = <0>; 299724ba675SRob Herring micdet-delay = <100>; 300724ba675SRob Herring gpio-cfg = <0xffffffff 0xffffffff 0 0xffffffff 0xffffffff>; 301724ba675SRob Herring }; 302724ba675SRob Herring }; 303724ba675SRob Herring 304724ba675SRob Herring hdmi_ddc: i2c@7000c400 { 305724ba675SRob Herring status = "okay"; 306724ba675SRob Herring clock-frequency = <100000>; 307724ba675SRob Herring }; 308724ba675SRob Herring 309724ba675SRob Herring i2c@7000c500 { 310724ba675SRob Herring status = "okay"; 311724ba675SRob Herring clock-frequency = <400000>; 312724ba675SRob Herring }; 313724ba675SRob Herring 314724ba675SRob Herring i2c@7000d000 { 315724ba675SRob Herring status = "okay"; 316724ba675SRob Herring clock-frequency = <400000>; 317724ba675SRob Herring 318724ba675SRob Herring pmic: tps6586x@34 { 319724ba675SRob Herring compatible = "ti,tps6586x"; 320724ba675SRob Herring reg = <0x34>; 321724ba675SRob Herring interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; 322724ba675SRob Herring 323724ba675SRob Herring ti,system-power-controller; 324724ba675SRob Herring 325724ba675SRob Herring #gpio-cells = <2>; 326724ba675SRob Herring gpio-controller; 327724ba675SRob Herring 328724ba675SRob Herring sys-supply = <&vdd_5v0_reg>; 329724ba675SRob Herring vin-sm0-supply = <&sys_reg>; 330724ba675SRob Herring vin-sm1-supply = <&sys_reg>; 331724ba675SRob Herring vin-sm2-supply = <&sys_reg>; 332724ba675SRob Herring vinldo01-supply = <&sm2_reg>; 333724ba675SRob Herring vinldo23-supply = <&sm2_reg>; 334724ba675SRob Herring vinldo4-supply = <&sm2_reg>; 335724ba675SRob Herring vinldo678-supply = <&sm2_reg>; 336724ba675SRob Herring vinldo9-supply = <&sm2_reg>; 337724ba675SRob Herring 338724ba675SRob Herring regulators { 339724ba675SRob Herring sys_reg: sys { 340724ba675SRob Herring regulator-name = "vdd_sys"; 341724ba675SRob Herring regulator-always-on; 342724ba675SRob Herring }; 343724ba675SRob Herring 344724ba675SRob Herring vdd_core: sm0 { 345724ba675SRob Herring regulator-name = "vdd_sm0,vdd_core"; 346724ba675SRob Herring regulator-min-microvolt = <1200000>; 347724ba675SRob Herring regulator-max-microvolt = <1200000>; 348724ba675SRob Herring regulator-always-on; 349724ba675SRob Herring }; 350724ba675SRob Herring 351724ba675SRob Herring sm1 { 352724ba675SRob Herring regulator-name = "vdd_sm1,vdd_cpu"; 353724ba675SRob Herring regulator-min-microvolt = <1000000>; 354724ba675SRob Herring regulator-max-microvolt = <1000000>; 355724ba675SRob Herring regulator-always-on; 356724ba675SRob Herring }; 357724ba675SRob Herring 358724ba675SRob Herring sm2_reg: sm2 { 359724ba675SRob Herring regulator-name = "vdd_sm2,vin_ldo*"; 360724ba675SRob Herring regulator-min-microvolt = <3700000>; 361724ba675SRob Herring regulator-max-microvolt = <3700000>; 362724ba675SRob Herring regulator-always-on; 363724ba675SRob Herring }; 364724ba675SRob Herring 365724ba675SRob Herring pci_clk_reg: ldo0 { 366724ba675SRob Herring regulator-name = "vdd_ldo0,vddio_pex_clk"; 367724ba675SRob Herring regulator-min-microvolt = <3300000>; 368724ba675SRob Herring regulator-max-microvolt = <3300000>; 369724ba675SRob Herring }; 370724ba675SRob Herring 371724ba675SRob Herring ldo1 { 372724ba675SRob Herring regulator-name = "vdd_ldo1,avdd_pll*"; 373724ba675SRob Herring regulator-min-microvolt = <1100000>; 374724ba675SRob Herring regulator-max-microvolt = <1100000>; 375724ba675SRob Herring regulator-always-on; 376724ba675SRob Herring }; 377724ba675SRob Herring 378724ba675SRob Herring ldo2 { 379724ba675SRob Herring regulator-name = "vdd_ldo2,vdd_rtc"; 380724ba675SRob Herring regulator-min-microvolt = <1200000>; 381724ba675SRob Herring regulator-max-microvolt = <1200000>; 382724ba675SRob Herring }; 383724ba675SRob Herring 384724ba675SRob Herring ldo3 { 385724ba675SRob Herring regulator-name = "vdd_ldo3,avdd_usb*"; 386724ba675SRob Herring regulator-min-microvolt = <3300000>; 387724ba675SRob Herring regulator-max-microvolt = <3300000>; 388724ba675SRob Herring regulator-always-on; 389724ba675SRob Herring }; 390724ba675SRob Herring 391724ba675SRob Herring ldo4 { 392724ba675SRob Herring regulator-name = "vdd_ldo4,avdd_osc,vddio_sys"; 393724ba675SRob Herring regulator-min-microvolt = <1800000>; 394724ba675SRob Herring regulator-max-microvolt = <1800000>; 395724ba675SRob Herring regulator-always-on; 396724ba675SRob Herring }; 397724ba675SRob Herring 398724ba675SRob Herring ldo5 { 399724ba675SRob Herring regulator-name = "vdd_ldo5,vcore_mmc"; 400724ba675SRob Herring regulator-min-microvolt = <2850000>; 401724ba675SRob Herring regulator-max-microvolt = <2850000>; 402724ba675SRob Herring regulator-always-on; 403724ba675SRob Herring }; 404724ba675SRob Herring 405724ba675SRob Herring ldo6 { 406724ba675SRob Herring regulator-name = "vdd_ldo6,avdd_vdac"; 407724ba675SRob Herring regulator-min-microvolt = <1800000>; 408724ba675SRob Herring regulator-max-microvolt = <1800000>; 409724ba675SRob Herring }; 410724ba675SRob Herring 411724ba675SRob Herring hdmi_vdd_reg: ldo7 { 412724ba675SRob Herring regulator-name = "vdd_ldo7,avdd_hdmi"; 413724ba675SRob Herring regulator-min-microvolt = <3300000>; 414724ba675SRob Herring regulator-max-microvolt = <3300000>; 415724ba675SRob Herring }; 416724ba675SRob Herring 417724ba675SRob Herring hdmi_pll_reg: ldo8 { 418724ba675SRob Herring regulator-name = "vdd_ldo8,avdd_hdmi_pll"; 419724ba675SRob Herring regulator-min-microvolt = <1800000>; 420724ba675SRob Herring regulator-max-microvolt = <1800000>; 421724ba675SRob Herring }; 422724ba675SRob Herring 423724ba675SRob Herring ldo9 { 424724ba675SRob Herring regulator-name = "vdd_ldo9,avdd_2v85,vdd_ddr_rx"; 425724ba675SRob Herring regulator-min-microvolt = <2850000>; 426724ba675SRob Herring regulator-max-microvolt = <2850000>; 427724ba675SRob Herring regulator-always-on; 428724ba675SRob Herring }; 429724ba675SRob Herring 430724ba675SRob Herring ldo_rtc { 431724ba675SRob Herring regulator-name = "vdd_rtc_out,vdd_cell"; 432724ba675SRob Herring regulator-min-microvolt = <3300000>; 433724ba675SRob Herring regulator-max-microvolt = <3300000>; 434724ba675SRob Herring regulator-always-on; 435724ba675SRob Herring }; 436724ba675SRob Herring }; 437724ba675SRob Herring }; 438724ba675SRob Herring 439724ba675SRob Herring temperature-sensor@4c { 440724ba675SRob Herring compatible = "adi,adt7461"; 441724ba675SRob Herring reg = <0x4c>; 442724ba675SRob Herring }; 443724ba675SRob Herring }; 444724ba675SRob Herring 445724ba675SRob Herring kbc@7000e200 { 446724ba675SRob Herring status = "okay"; 447724ba675SRob Herring nvidia,debounce-delay-ms = <2>; 448724ba675SRob Herring nvidia,repeat-delay-ms = <160>; 449724ba675SRob Herring nvidia,kbc-row-pins = <0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15>; 450724ba675SRob Herring nvidia,kbc-col-pins = <16 17 18 19 20 21 22 23>; 451724ba675SRob Herring linux,keymap = <MATRIX_KEY(0x00, 0x02, KEY_W) 452724ba675SRob Herring MATRIX_KEY(0x00, 0x03, KEY_S) 453724ba675SRob Herring MATRIX_KEY(0x00, 0x04, KEY_A) 454724ba675SRob Herring MATRIX_KEY(0x00, 0x05, KEY_Z) 455724ba675SRob Herring MATRIX_KEY(0x00, 0x07, KEY_FN) 456724ba675SRob Herring MATRIX_KEY(0x01, 0x07, KEY_MENU) 457724ba675SRob Herring MATRIX_KEY(0x02, 0x06, KEY_LEFTALT) 458724ba675SRob Herring MATRIX_KEY(0x02, 0x07, KEY_RIGHTALT) 459724ba675SRob Herring MATRIX_KEY(0x03, 0x00, KEY_5) 460724ba675SRob Herring MATRIX_KEY(0x03, 0x01, KEY_4) 461724ba675SRob Herring MATRIX_KEY(0x03, 0x02, KEY_R) 462724ba675SRob Herring MATRIX_KEY(0x03, 0x03, KEY_E) 463724ba675SRob Herring MATRIX_KEY(0x03, 0x04, KEY_F) 464724ba675SRob Herring MATRIX_KEY(0x03, 0x05, KEY_D) 465724ba675SRob Herring MATRIX_KEY(0x03, 0x06, KEY_X) 466724ba675SRob Herring MATRIX_KEY(0x04, 0x00, KEY_7) 467724ba675SRob Herring MATRIX_KEY(0x04, 0x01, KEY_6) 468724ba675SRob Herring MATRIX_KEY(0x04, 0x02, KEY_T) 469724ba675SRob Herring MATRIX_KEY(0x04, 0x03, KEY_H) 470724ba675SRob Herring MATRIX_KEY(0x04, 0x04, KEY_G) 471724ba675SRob Herring MATRIX_KEY(0x04, 0x05, KEY_V) 472724ba675SRob Herring MATRIX_KEY(0x04, 0x06, KEY_C) 473724ba675SRob Herring MATRIX_KEY(0x04, 0x07, KEY_SPACE) 474724ba675SRob Herring MATRIX_KEY(0x05, 0x00, KEY_9) 475724ba675SRob Herring MATRIX_KEY(0x05, 0x01, KEY_8) 476724ba675SRob Herring MATRIX_KEY(0x05, 0x02, KEY_U) 477724ba675SRob Herring MATRIX_KEY(0x05, 0x03, KEY_Y) 478724ba675SRob Herring MATRIX_KEY(0x05, 0x04, KEY_J) 479724ba675SRob Herring MATRIX_KEY(0x05, 0x05, KEY_N) 480724ba675SRob Herring MATRIX_KEY(0x05, 0x06, KEY_B) 481724ba675SRob Herring MATRIX_KEY(0x05, 0x07, KEY_BACKSLASH) 482724ba675SRob Herring MATRIX_KEY(0x06, 0x00, KEY_MINUS) 483724ba675SRob Herring MATRIX_KEY(0x06, 0x01, KEY_0) 484724ba675SRob Herring MATRIX_KEY(0x06, 0x02, KEY_O) 485724ba675SRob Herring MATRIX_KEY(0x06, 0x03, KEY_I) 486724ba675SRob Herring MATRIX_KEY(0x06, 0x04, KEY_L) 487724ba675SRob Herring MATRIX_KEY(0x06, 0x05, KEY_K) 488724ba675SRob Herring MATRIX_KEY(0x06, 0x06, KEY_COMMA) 489724ba675SRob Herring MATRIX_KEY(0x06, 0x07, KEY_M) 490724ba675SRob Herring MATRIX_KEY(0x07, 0x01, KEY_EQUAL) 491724ba675SRob Herring MATRIX_KEY(0x07, 0x02, KEY_RIGHTBRACE) 492724ba675SRob Herring MATRIX_KEY(0x07, 0x03, KEY_ENTER) 493724ba675SRob Herring MATRIX_KEY(0x07, 0x07, KEY_MENU) 494724ba675SRob Herring MATRIX_KEY(0x08, 0x04, KEY_LEFTSHIFT) 495724ba675SRob Herring MATRIX_KEY(0x08, 0x05, KEY_RIGHTSHIFT) 496724ba675SRob Herring MATRIX_KEY(0x09, 0x05, KEY_LEFTCTRL) 497724ba675SRob Herring MATRIX_KEY(0x09, 0x07, KEY_RIGHTCTRL) 498724ba675SRob Herring MATRIX_KEY(0x0B, 0x00, KEY_LEFTBRACE) 499724ba675SRob Herring MATRIX_KEY(0x0B, 0x01, KEY_P) 500724ba675SRob Herring MATRIX_KEY(0x0B, 0x02, KEY_APOSTROPHE) 501724ba675SRob Herring MATRIX_KEY(0x0B, 0x03, KEY_SEMICOLON) 502724ba675SRob Herring MATRIX_KEY(0x0B, 0x04, KEY_SLASH) 503724ba675SRob Herring MATRIX_KEY(0x0B, 0x05, KEY_DOT) 504724ba675SRob Herring MATRIX_KEY(0x0C, 0x00, KEY_F10) 505724ba675SRob Herring MATRIX_KEY(0x0C, 0x01, KEY_F9) 506724ba675SRob Herring MATRIX_KEY(0x0C, 0x02, KEY_BACKSPACE) 507724ba675SRob Herring MATRIX_KEY(0x0C, 0x03, KEY_3) 508724ba675SRob Herring MATRIX_KEY(0x0C, 0x04, KEY_2) 509724ba675SRob Herring MATRIX_KEY(0x0C, 0x05, KEY_UP) 510724ba675SRob Herring MATRIX_KEY(0x0C, 0x06, KEY_PRINT) 511724ba675SRob Herring MATRIX_KEY(0x0C, 0x07, KEY_PAUSE) 512724ba675SRob Herring MATRIX_KEY(0x0D, 0x00, KEY_INSERT) 513724ba675SRob Herring MATRIX_KEY(0x0D, 0x01, KEY_DELETE) 514724ba675SRob Herring MATRIX_KEY(0x0D, 0x03, KEY_PAGEUP ) 515724ba675SRob Herring MATRIX_KEY(0x0D, 0x04, KEY_PAGEDOWN) 516724ba675SRob Herring MATRIX_KEY(0x0D, 0x05, KEY_RIGHT) 517724ba675SRob Herring MATRIX_KEY(0x0D, 0x06, KEY_DOWN) 518724ba675SRob Herring MATRIX_KEY(0x0D, 0x07, KEY_LEFT) 519724ba675SRob Herring MATRIX_KEY(0x0E, 0x00, KEY_F11) 520724ba675SRob Herring MATRIX_KEY(0x0E, 0x01, KEY_F12) 521724ba675SRob Herring MATRIX_KEY(0x0E, 0x02, KEY_F8) 522724ba675SRob Herring MATRIX_KEY(0x0E, 0x03, KEY_Q) 523724ba675SRob Herring MATRIX_KEY(0x0E, 0x04, KEY_F4) 524724ba675SRob Herring MATRIX_KEY(0x0E, 0x05, KEY_F3) 525724ba675SRob Herring MATRIX_KEY(0x0E, 0x06, KEY_1) 526724ba675SRob Herring MATRIX_KEY(0x0E, 0x07, KEY_F7) 527724ba675SRob Herring MATRIX_KEY(0x0F, 0x00, KEY_ESC) 528724ba675SRob Herring MATRIX_KEY(0x0F, 0x01, KEY_GRAVE) 529724ba675SRob Herring MATRIX_KEY(0x0F, 0x02, KEY_F5) 530724ba675SRob Herring MATRIX_KEY(0x0F, 0x03, KEY_TAB) 531724ba675SRob Herring MATRIX_KEY(0x0F, 0x04, KEY_F1) 532724ba675SRob Herring MATRIX_KEY(0x0F, 0x05, KEY_F2) 533724ba675SRob Herring MATRIX_KEY(0x0F, 0x06, KEY_CAPSLOCK) 534724ba675SRob Herring MATRIX_KEY(0x0F, 0x07, KEY_F6) 535724ba675SRob Herring MATRIX_KEY(0x14, 0x00, KEY_KP7) 536724ba675SRob Herring MATRIX_KEY(0x15, 0x00, KEY_KP9) 537724ba675SRob Herring MATRIX_KEY(0x15, 0x01, KEY_KP8) 538724ba675SRob Herring MATRIX_KEY(0x15, 0x02, KEY_KP4) 539724ba675SRob Herring MATRIX_KEY(0x15, 0x04, KEY_KP1) 540724ba675SRob Herring MATRIX_KEY(0x16, 0x01, KEY_KPSLASH) 541724ba675SRob Herring MATRIX_KEY(0x16, 0x02, KEY_KP6) 542724ba675SRob Herring MATRIX_KEY(0x16, 0x03, KEY_KP5) 543724ba675SRob Herring MATRIX_KEY(0x16, 0x04, KEY_KP3) 544724ba675SRob Herring MATRIX_KEY(0x16, 0x05, KEY_KP2) 545724ba675SRob Herring MATRIX_KEY(0x16, 0x07, KEY_KP0) 546724ba675SRob Herring MATRIX_KEY(0x1B, 0x01, KEY_KPASTERISK) 547724ba675SRob Herring MATRIX_KEY(0x1B, 0x03, KEY_KPMINUS) 548724ba675SRob Herring MATRIX_KEY(0x1B, 0x04, KEY_KPPLUS) 549724ba675SRob Herring MATRIX_KEY(0x1B, 0x05, KEY_KPDOT) 550724ba675SRob Herring MATRIX_KEY(0x1C, 0x05, KEY_VOLUMEUP) 551724ba675SRob Herring MATRIX_KEY(0x1D, 0x03, KEY_HOME) 552724ba675SRob Herring MATRIX_KEY(0x1D, 0x04, KEY_END) 553724ba675SRob Herring MATRIX_KEY(0x1D, 0x05, KEY_BRIGHTNESSUP) 554724ba675SRob Herring MATRIX_KEY(0x1D, 0x06, KEY_VOLUMEDOWN) 555724ba675SRob Herring MATRIX_KEY(0x1D, 0x07, KEY_BRIGHTNESSDOWN) 556724ba675SRob Herring MATRIX_KEY(0x1E, 0x00, KEY_NUMLOCK) 557724ba675SRob Herring MATRIX_KEY(0x1E, 0x01, KEY_SCROLLLOCK) 558724ba675SRob Herring MATRIX_KEY(0x1E, 0x02, KEY_MUTE) 559724ba675SRob Herring MATRIX_KEY(0x1F, 0x04, KEY_QUESTION)>; 560724ba675SRob Herring }; 561724ba675SRob Herring 562724ba675SRob Herring pmc@7000e400 { 563724ba675SRob Herring nvidia,invert-interrupt; 564724ba675SRob Herring nvidia,suspend-mode = <1>; 565724ba675SRob Herring nvidia,cpu-pwr-good-time = <5000>; 566724ba675SRob Herring nvidia,cpu-pwr-off-time = <5000>; 567724ba675SRob Herring nvidia,core-pwr-good-time = <3845 3845>; 568724ba675SRob Herring nvidia,core-pwr-off-time = <3875>; 569724ba675SRob Herring nvidia,sys-clock-req-active-high; 570724ba675SRob Herring core-supply = <&vdd_core>; 571724ba675SRob Herring }; 572724ba675SRob Herring 573724ba675SRob Herring pcie@80003000 { 574724ba675SRob Herring status = "okay"; 575724ba675SRob Herring 576724ba675SRob Herring avdd-pex-supply = <&pci_vdd_reg>; 577724ba675SRob Herring vdd-pex-supply = <&pci_vdd_reg>; 578724ba675SRob Herring avdd-pex-pll-supply = <&pci_vdd_reg>; 579724ba675SRob Herring avdd-plle-supply = <&pci_vdd_reg>; 580724ba675SRob Herring vddio-pex-clk-supply = <&pci_clk_reg>; 581724ba675SRob Herring 582724ba675SRob Herring pci@1,0 { 583724ba675SRob Herring status = "okay"; 584724ba675SRob Herring }; 585724ba675SRob Herring 586724ba675SRob Herring pci@2,0 { 587724ba675SRob Herring status = "okay"; 588724ba675SRob Herring }; 589724ba675SRob Herring }; 590724ba675SRob Herring 591724ba675SRob Herring usb@c5000000 { 592724ba675SRob Herring status = "okay"; 593724ba675SRob Herring }; 594724ba675SRob Herring 595724ba675SRob Herring usb-phy@c5000000 { 596724ba675SRob Herring status = "okay"; 597724ba675SRob Herring }; 598724ba675SRob Herring 599724ba675SRob Herring usb@c5004000 { 600724ba675SRob Herring status = "okay"; 601724ba675SRob Herring }; 602724ba675SRob Herring 603724ba675SRob Herring usb-phy@c5004000 { 604724ba675SRob Herring status = "okay"; 605724ba675SRob Herring nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 1) 606724ba675SRob Herring GPIO_ACTIVE_LOW>; 607724ba675SRob Herring }; 608724ba675SRob Herring 609724ba675SRob Herring usb@c5008000 { 610724ba675SRob Herring status = "okay"; 611724ba675SRob Herring }; 612724ba675SRob Herring 613724ba675SRob Herring usb-phy@c5008000 { 614724ba675SRob Herring status = "okay"; 615724ba675SRob Herring }; 616724ba675SRob Herring 617724ba675SRob Herring mmc@c8000200 { 618724ba675SRob Herring status = "okay"; 619724ba675SRob Herring cd-gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>; 620724ba675SRob Herring wp-gpios = <&gpio TEGRA_GPIO(H, 1) GPIO_ACTIVE_HIGH>; 621724ba675SRob Herring power-gpios = <&gpio TEGRA_GPIO(T, 3) GPIO_ACTIVE_HIGH>; 622724ba675SRob Herring bus-width = <4>; 623724ba675SRob Herring }; 624724ba675SRob Herring 625724ba675SRob Herring mmc@c8000600 { 626724ba675SRob Herring status = "okay"; 627724ba675SRob Herring cd-gpios = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_LOW>; 628724ba675SRob Herring wp-gpios = <&gpio TEGRA_GPIO(H, 3) GPIO_ACTIVE_HIGH>; 629724ba675SRob Herring power-gpios = <&gpio TEGRA_GPIO(I, 6) GPIO_ACTIVE_HIGH>; 630724ba675SRob Herring bus-width = <8>; 631724ba675SRob Herring }; 632724ba675SRob Herring 633724ba675SRob Herring backlight: backlight { 634724ba675SRob Herring compatible = "pwm-backlight"; 635724ba675SRob Herring 636724ba675SRob Herring enable-gpios = <&gpio TEGRA_GPIO(B, 5) GPIO_ACTIVE_HIGH>; 637724ba675SRob Herring power-supply = <&vdd_bl_reg>; 638724ba675SRob Herring pwms = <&pwm 0 5000000>; 639724ba675SRob Herring 640724ba675SRob Herring brightness-levels = <0 4 8 16 32 64 128 255>; 641724ba675SRob Herring default-brightness-level = <6>; 642724ba675SRob Herring }; 643724ba675SRob Herring 644724ba675SRob Herring clk32k_in: clock-32k { 645724ba675SRob Herring compatible = "fixed-clock"; 646724ba675SRob Herring clock-frequency = <32768>; 647724ba675SRob Herring #clock-cells = <0>; 648724ba675SRob Herring }; 649724ba675SRob Herring 650724ba675SRob Herring gpio-keys { 651724ba675SRob Herring compatible = "gpio-keys"; 652724ba675SRob Herring 653724ba675SRob Herring key-power { 654724ba675SRob Herring label = "Power"; 655724ba675SRob Herring gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>; 656724ba675SRob Herring linux,code = <KEY_POWER>; 657724ba675SRob Herring wakeup-source; 658724ba675SRob Herring }; 659724ba675SRob Herring }; 660724ba675SRob Herring 661724ba675SRob Herring panel: panel { 662724ba675SRob Herring compatible = "auo,b101aw03"; 663724ba675SRob Herring 664724ba675SRob Herring power-supply = <&vdd_pnl_reg>; 665724ba675SRob Herring enable-gpios = <&gpio TEGRA_GPIO(B, 2) GPIO_ACTIVE_HIGH>; 666724ba675SRob Herring 667724ba675SRob Herring backlight = <&backlight>; 668724ba675SRob Herring }; 669724ba675SRob Herring 670724ba675SRob Herring vdd_5v0_reg: regulator-5v0 { 671724ba675SRob Herring compatible = "regulator-fixed"; 672724ba675SRob Herring regulator-name = "vdd_5v0"; 673724ba675SRob Herring regulator-min-microvolt = <5000000>; 674724ba675SRob Herring regulator-max-microvolt = <5000000>; 675724ba675SRob Herring regulator-always-on; 676724ba675SRob Herring }; 677724ba675SRob Herring 678724ba675SRob Herring regulator-1v5 { 679724ba675SRob Herring compatible = "regulator-fixed"; 680724ba675SRob Herring regulator-name = "vdd_1v5"; 681724ba675SRob Herring regulator-min-microvolt = <1500000>; 682724ba675SRob Herring regulator-max-microvolt = <1500000>; 683724ba675SRob Herring gpio = <&pmic 0 GPIO_ACTIVE_HIGH>; 684724ba675SRob Herring }; 685724ba675SRob Herring 686724ba675SRob Herring regulator-1v2 { 687724ba675SRob Herring compatible = "regulator-fixed"; 688724ba675SRob Herring regulator-name = "vdd_1v2"; 689724ba675SRob Herring regulator-min-microvolt = <1200000>; 690724ba675SRob Herring regulator-max-microvolt = <1200000>; 691724ba675SRob Herring gpio = <&pmic 1 GPIO_ACTIVE_HIGH>; 692724ba675SRob Herring enable-active-high; 693724ba675SRob Herring }; 694724ba675SRob Herring 695724ba675SRob Herring pci_vdd_reg: regulator-1v05 { 696724ba675SRob Herring compatible = "regulator-fixed"; 697724ba675SRob Herring regulator-name = "vdd_1v05"; 698724ba675SRob Herring regulator-min-microvolt = <1050000>; 699724ba675SRob Herring regulator-max-microvolt = <1050000>; 700724ba675SRob Herring gpio = <&pmic 2 GPIO_ACTIVE_HIGH>; 701724ba675SRob Herring enable-active-high; 702724ba675SRob Herring }; 703724ba675SRob Herring 704724ba675SRob Herring vdd_pnl_reg: regulator-pn1 { 705724ba675SRob Herring compatible = "regulator-fixed"; 706724ba675SRob Herring regulator-name = "vdd_pnl"; 707724ba675SRob Herring regulator-min-microvolt = <2800000>; 708724ba675SRob Herring regulator-max-microvolt = <2800000>; 709724ba675SRob Herring gpio = <&gpio TEGRA_GPIO(C, 6) GPIO_ACTIVE_HIGH>; 710724ba675SRob Herring enable-active-high; 711724ba675SRob Herring }; 712724ba675SRob Herring 713724ba675SRob Herring vdd_bl_reg: regulator-bl { 714724ba675SRob Herring compatible = "regulator-fixed"; 715724ba675SRob Herring regulator-name = "vdd_bl"; 716724ba675SRob Herring regulator-min-microvolt = <2800000>; 717724ba675SRob Herring regulator-max-microvolt = <2800000>; 718724ba675SRob Herring gpio = <&gpio TEGRA_GPIO(W, 0) GPIO_ACTIVE_HIGH>; 719724ba675SRob Herring enable-active-high; 720724ba675SRob Herring }; 721724ba675SRob Herring 722724ba675SRob Herring vdd_5v0_hdmi: regulator-hdmi { 723724ba675SRob Herring compatible = "regulator-fixed"; 724724ba675SRob Herring regulator-name = "VDDIO_HDMI"; 725724ba675SRob Herring regulator-min-microvolt = <5000000>; 726724ba675SRob Herring regulator-max-microvolt = <5000000>; 727724ba675SRob Herring gpio = <&gpio TEGRA_GPIO(T, 2) GPIO_ACTIVE_HIGH>; 728724ba675SRob Herring enable-active-high; 729724ba675SRob Herring vin-supply = <&vdd_5v0_reg>; 730724ba675SRob Herring }; 731724ba675SRob Herring 732724ba675SRob Herring sound { 733724ba675SRob Herring compatible = "nvidia,tegra-audio-wm8903-harmony", 734724ba675SRob Herring "nvidia,tegra-audio-wm8903"; 735724ba675SRob Herring nvidia,model = "NVIDIA Tegra Harmony"; 736724ba675SRob Herring 737724ba675SRob Herring nvidia,audio-routing = 738724ba675SRob Herring "Headphone Jack", "HPOUTR", 739724ba675SRob Herring "Headphone Jack", "HPOUTL", 740724ba675SRob Herring "Int Spk", "ROP", 741724ba675SRob Herring "Int Spk", "RON", 742724ba675SRob Herring "Int Spk", "LOP", 743724ba675SRob Herring "Int Spk", "LON", 744724ba675SRob Herring "Mic Jack", "MICBIAS", 745724ba675SRob Herring "IN1L", "Mic Jack"; 746724ba675SRob Herring 747724ba675SRob Herring nvidia,i2s-controller = <&tegra_i2s1>; 748724ba675SRob Herring nvidia,audio-codec = <&wm8903>; 749724ba675SRob Herring 750724ba675SRob Herring nvidia,spkr-en-gpios = <&wm8903 2 GPIO_ACTIVE_HIGH>; 751724ba675SRob Herring nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2) 752724ba675SRob Herring GPIO_ACTIVE_LOW>; 753724ba675SRob Herring nvidia,int-mic-en-gpios = <&gpio TEGRA_GPIO(X, 0) 754724ba675SRob Herring GPIO_ACTIVE_HIGH>; 755724ba675SRob Herring nvidia,ext-mic-en-gpios = <&gpio TEGRA_GPIO(X, 1) 756724ba675SRob Herring GPIO_ACTIVE_HIGH>; 757724ba675SRob Herring 758724ba675SRob Herring clocks = <&tegra_car TEGRA20_CLK_PLL_A>, 759724ba675SRob Herring <&tegra_car TEGRA20_CLK_PLL_A_OUT0>, 760724ba675SRob Herring <&tegra_car TEGRA20_CLK_CDEV1>; 761724ba675SRob Herring clock-names = "pll_a", "pll_a_out0", "mclk"; 762724ba675SRob Herring }; 763724ba675SRob Herring}; 764