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