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