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