Peter De Schrijver | add29e6 | 2011-10-12 14:53:05 +0300 | [diff] [blame] | 1 | /dts-v1/; |
| 2 | |
Peter De Schrijver | add29e6 | 2011-10-12 14:53:05 +0300 | [diff] [blame] | 3 | /include/ "tegra20.dtsi" |
| 4 | |
| 5 | / { |
Bryan Wu | 8fef5df | 2012-12-20 09:41:29 +0000 | [diff] [blame] | 6 | model = "NVIDIA Tegra20 Ventana evaluation board"; |
Peter De Schrijver | add29e6 | 2011-10-12 14:53:05 +0300 | [diff] [blame] | 7 | compatible = "nvidia,ventana", "nvidia,tegra20"; |
| 8 | |
Peter De Schrijver | add29e6 | 2011-10-12 14:53:05 +0300 | [diff] [blame] | 9 | memory { |
Stephen Warren | 95decf8 | 2012-05-11 16:11:38 -0600 | [diff] [blame] | 10 | reg = <0x00000000 0x40000000>; |
Peter De Schrijver | add29e6 | 2011-10-12 14:53:05 +0300 | [diff] [blame] | 11 | }; |
| 12 | |
Stephen Warren | 97d5520 | 2013-01-02 14:53:21 -0700 | [diff] [blame] | 13 | host1x { |
| 14 | hdmi { |
| 15 | status = "okay"; |
| 16 | |
| 17 | vdd-supply = <&hdmi_vdd_reg>; |
| 18 | pll-supply = <&hdmi_pll_reg>; |
| 19 | |
| 20 | nvidia,ddc-i2c-bus = <&hdmi_ddc>; |
| 21 | nvidia,hpd-gpio = <&gpio 111 0>; /* PN7 */ |
| 22 | }; |
| 23 | }; |
| 24 | |
Stephen Warren | f9eb26a | 2012-05-11 16:17:47 -0600 | [diff] [blame] | 25 | pinmux { |
Stephen Warren | ecc295b | 2012-03-15 16:27:36 -0600 | [diff] [blame] | 26 | pinctrl-names = "default"; |
| 27 | pinctrl-0 = <&state_default>; |
| 28 | |
| 29 | state_default: pinmux { |
| 30 | ata { |
| 31 | nvidia,pins = "ata"; |
| 32 | nvidia,function = "ide"; |
| 33 | }; |
| 34 | atb { |
| 35 | nvidia,pins = "atb", "gma", "gme"; |
| 36 | nvidia,function = "sdio4"; |
| 37 | }; |
| 38 | atc { |
| 39 | nvidia,pins = "atc"; |
| 40 | nvidia,function = "nand"; |
| 41 | }; |
| 42 | atd { |
| 43 | nvidia,pins = "atd", "ate", "gmb", "spia", |
| 44 | "spib", "spic"; |
| 45 | nvidia,function = "gmi"; |
| 46 | }; |
| 47 | cdev1 { |
| 48 | nvidia,pins = "cdev1"; |
| 49 | nvidia,function = "plla_out"; |
| 50 | }; |
| 51 | cdev2 { |
| 52 | nvidia,pins = "cdev2"; |
| 53 | nvidia,function = "pllp_out4"; |
| 54 | }; |
| 55 | crtp { |
| 56 | nvidia,pins = "crtp", "lm1"; |
| 57 | nvidia,function = "crt"; |
| 58 | }; |
| 59 | csus { |
| 60 | nvidia,pins = "csus"; |
| 61 | nvidia,function = "vi_sensor_clk"; |
| 62 | }; |
| 63 | dap1 { |
| 64 | nvidia,pins = "dap1"; |
| 65 | nvidia,function = "dap1"; |
| 66 | }; |
| 67 | dap2 { |
| 68 | nvidia,pins = "dap2"; |
| 69 | nvidia,function = "dap2"; |
| 70 | }; |
| 71 | dap3 { |
| 72 | nvidia,pins = "dap3"; |
| 73 | nvidia,function = "dap3"; |
| 74 | }; |
| 75 | dap4 { |
| 76 | nvidia,pins = "dap4"; |
| 77 | nvidia,function = "dap4"; |
| 78 | }; |
Stephen Warren | ecc295b | 2012-03-15 16:27:36 -0600 | [diff] [blame] | 79 | dta { |
| 80 | nvidia,pins = "dta", "dtb", "dtc", "dtd", "dte"; |
| 81 | nvidia,function = "vi"; |
| 82 | }; |
| 83 | dtf { |
| 84 | nvidia,pins = "dtf"; |
| 85 | nvidia,function = "i2c3"; |
| 86 | }; |
| 87 | gmc { |
| 88 | nvidia,pins = "gmc"; |
| 89 | nvidia,function = "uartd"; |
| 90 | }; |
| 91 | gmd { |
| 92 | nvidia,pins = "gmd"; |
| 93 | nvidia,function = "sflash"; |
| 94 | }; |
| 95 | gpu { |
| 96 | nvidia,pins = "gpu"; |
| 97 | nvidia,function = "pwm"; |
| 98 | }; |
| 99 | gpu7 { |
| 100 | nvidia,pins = "gpu7"; |
| 101 | nvidia,function = "rtck"; |
| 102 | }; |
| 103 | gpv { |
| 104 | nvidia,pins = "gpv", "slxa", "slxk"; |
| 105 | nvidia,function = "pcie"; |
| 106 | }; |
| 107 | hdint { |
Mark Zhang | cf63346 | 2012-10-25 14:52:30 +0800 | [diff] [blame] | 108 | nvidia,pins = "hdint"; |
Stephen Warren | ecc295b | 2012-03-15 16:27:36 -0600 | [diff] [blame] | 109 | nvidia,function = "hdmi"; |
| 110 | }; |
| 111 | i2cp { |
| 112 | nvidia,pins = "i2cp"; |
| 113 | nvidia,function = "i2cp"; |
| 114 | }; |
| 115 | irrx { |
| 116 | nvidia,pins = "irrx", "irtx"; |
| 117 | nvidia,function = "uartb"; |
| 118 | }; |
| 119 | kbca { |
| 120 | nvidia,pins = "kbca", "kbcb", "kbcc", "kbcd", |
| 121 | "kbce", "kbcf"; |
| 122 | nvidia,function = "kbc"; |
| 123 | }; |
| 124 | lcsn { |
| 125 | nvidia,pins = "lcsn", "ldc", "lm0", "lpw1", |
| 126 | "lsdi", "lvp0"; |
| 127 | nvidia,function = "rsvd4"; |
| 128 | }; |
| 129 | ld0 { |
| 130 | nvidia,pins = "ld0", "ld1", "ld2", "ld3", "ld4", |
| 131 | "ld5", "ld6", "ld7", "ld8", "ld9", |
| 132 | "ld10", "ld11", "ld12", "ld13", "ld14", |
| 133 | "ld15", "ld16", "ld17", "ldi", "lhp0", |
| 134 | "lhp1", "lhp2", "lhs", "lpp", "lpw0", |
| 135 | "lpw2", "lsc0", "lsc1", "lsck", "lsda", |
| 136 | "lspi", "lvp1", "lvs"; |
| 137 | nvidia,function = "displaya"; |
| 138 | }; |
Mark Zhang | cf63346 | 2012-10-25 14:52:30 +0800 | [diff] [blame] | 139 | owc { |
| 140 | nvidia,pins = "owc", "spdi", "spdo", "uac"; |
| 141 | nvidia,function = "rsvd2"; |
| 142 | }; |
Stephen Warren | ecc295b | 2012-03-15 16:27:36 -0600 | [diff] [blame] | 143 | pmc { |
| 144 | nvidia,pins = "pmc"; |
| 145 | nvidia,function = "pwr_on"; |
| 146 | }; |
| 147 | rm { |
| 148 | nvidia,pins = "rm"; |
| 149 | nvidia,function = "i2c1"; |
| 150 | }; |
| 151 | sdb { |
| 152 | nvidia,pins = "sdb", "sdc", "sdd", "slxc"; |
| 153 | nvidia,function = "sdio3"; |
| 154 | }; |
| 155 | sdio1 { |
| 156 | nvidia,pins = "sdio1"; |
| 157 | nvidia,function = "sdio1"; |
| 158 | }; |
| 159 | slxd { |
| 160 | nvidia,pins = "slxd"; |
| 161 | nvidia,function = "spdif"; |
| 162 | }; |
| 163 | spid { |
| 164 | nvidia,pins = "spid", "spie", "spif"; |
| 165 | nvidia,function = "spi1"; |
| 166 | }; |
| 167 | spig { |
| 168 | nvidia,pins = "spig", "spih"; |
| 169 | nvidia,function = "spi2_alt"; |
| 170 | }; |
| 171 | uaa { |
| 172 | nvidia,pins = "uaa", "uab", "uda"; |
| 173 | nvidia,function = "ulpi"; |
| 174 | }; |
| 175 | uad { |
| 176 | nvidia,pins = "uad"; |
| 177 | nvidia,function = "irda"; |
| 178 | }; |
| 179 | uca { |
| 180 | nvidia,pins = "uca", "ucb"; |
| 181 | nvidia,function = "uartc"; |
| 182 | }; |
| 183 | conf_ata { |
| 184 | nvidia,pins = "ata", "atb", "atc", "atd", |
| 185 | "cdev1", "cdev2", "dap1", "dap2", |
| 186 | "dap4", "ddc", "dtf", "gma", "gmc", |
| 187 | "gme", "gpu", "gpu7", "i2cp", "irrx", |
| 188 | "irtx", "pta", "rm", "sdc", "sdd", |
| 189 | "slxc", "slxd", "slxk", "spdi", "spdo", |
| 190 | "uac", "uad", "uca", "ucb", "uda"; |
| 191 | nvidia,pull = <0>; |
| 192 | nvidia,tristate = <0>; |
| 193 | }; |
| 194 | conf_ate { |
| 195 | nvidia,pins = "ate", "csus", "dap3", "gmd", |
| 196 | "gpv", "owc", "spia", "spib", "spic", |
| 197 | "spid", "spie", "spig"; |
| 198 | nvidia,pull = <0>; |
| 199 | nvidia,tristate = <1>; |
| 200 | }; |
| 201 | conf_ck32 { |
| 202 | nvidia,pins = "ck32", "ddrc", "pmca", "pmcb", |
| 203 | "pmcc", "pmcd", "pmce", "xm2c", "xm2d"; |
| 204 | nvidia,pull = <0>; |
| 205 | }; |
| 206 | conf_crtp { |
| 207 | nvidia,pins = "crtp", "gmb", "slxa", "spih"; |
| 208 | nvidia,pull = <2>; |
| 209 | nvidia,tristate = <1>; |
| 210 | }; |
| 211 | conf_dta { |
| 212 | nvidia,pins = "dta", "dtb", "dtc", "dtd"; |
| 213 | nvidia,pull = <1>; |
| 214 | nvidia,tristate = <0>; |
| 215 | }; |
| 216 | conf_dte { |
| 217 | nvidia,pins = "dte", "spif"; |
| 218 | nvidia,pull = <1>; |
| 219 | nvidia,tristate = <1>; |
| 220 | }; |
| 221 | conf_hdint { |
| 222 | nvidia,pins = "hdint", "lcsn", "ldc", "lm1", |
| 223 | "lpw1", "lsck", "lsda", "lsdi", "lvp0"; |
| 224 | nvidia,tristate = <1>; |
| 225 | }; |
| 226 | conf_kbca { |
| 227 | nvidia,pins = "kbca", "kbcb", "kbcc", "kbcd", |
| 228 | "kbce", "kbcf", "sdio1", "uaa", "uab"; |
| 229 | nvidia,pull = <2>; |
| 230 | nvidia,tristate = <0>; |
| 231 | }; |
| 232 | conf_lc { |
| 233 | nvidia,pins = "lc", "ls"; |
| 234 | nvidia,pull = <2>; |
| 235 | }; |
| 236 | conf_ld0 { |
| 237 | nvidia,pins = "ld0", "ld1", "ld2", "ld3", "ld4", |
| 238 | "ld5", "ld6", "ld7", "ld8", "ld9", |
| 239 | "ld10", "ld11", "ld12", "ld13", "ld14", |
| 240 | "ld15", "ld16", "ld17", "ldi", "lhp0", |
| 241 | "lhp1", "lhp2", "lhs", "lm0", "lpp", |
| 242 | "lpw0", "lpw2", "lsc0", "lsc1", "lspi", |
| 243 | "lvp1", "lvs", "pmc", "sdb"; |
| 244 | nvidia,tristate = <0>; |
| 245 | }; |
| 246 | conf_ld17_0 { |
| 247 | nvidia,pins = "ld17_0", "ld19_18", "ld21_20", |
| 248 | "ld23_22"; |
| 249 | nvidia,pull = <1>; |
| 250 | }; |
Wei Ni | c729429 | 2012-09-21 16:54:58 +0800 | [diff] [blame] | 251 | drive_sdio1 { |
| 252 | nvidia,pins = "drive_sdio1"; |
| 253 | nvidia,high-speed-mode = <0>; |
| 254 | nvidia,schmitt = <1>; |
| 255 | nvidia,low-power-mode = <3>; |
| 256 | nvidia,pull-down-strength = <31>; |
| 257 | nvidia,pull-up-strength = <31>; |
| 258 | nvidia,slew-rate-rising = <3>; |
| 259 | nvidia,slew-rate-falling = <3>; |
| 260 | }; |
Stephen Warren | ecc295b | 2012-03-15 16:27:36 -0600 | [diff] [blame] | 261 | }; |
Mark Zhang | cf63346 | 2012-10-25 14:52:30 +0800 | [diff] [blame] | 262 | |
| 263 | state_i2cmux_ddc: pinmux_i2cmux_ddc { |
| 264 | ddc { |
| 265 | nvidia,pins = "ddc"; |
| 266 | nvidia,function = "i2c2"; |
| 267 | }; |
| 268 | pta { |
| 269 | nvidia,pins = "pta"; |
| 270 | nvidia,function = "rsvd4"; |
| 271 | }; |
| 272 | }; |
| 273 | |
| 274 | state_i2cmux_pta: pinmux_i2cmux_pta { |
| 275 | ddc { |
| 276 | nvidia,pins = "ddc"; |
| 277 | nvidia,function = "rsvd4"; |
| 278 | }; |
| 279 | pta { |
| 280 | nvidia,pins = "pta"; |
| 281 | nvidia,function = "i2c2"; |
| 282 | }; |
| 283 | }; |
| 284 | |
| 285 | state_i2cmux_idle: pinmux_i2cmux_idle { |
| 286 | ddc { |
| 287 | nvidia,pins = "ddc"; |
| 288 | nvidia,function = "rsvd4"; |
| 289 | }; |
| 290 | pta { |
| 291 | nvidia,pins = "pta"; |
| 292 | nvidia,function = "rsvd4"; |
| 293 | }; |
| 294 | }; |
Stephen Warren | ecc295b | 2012-03-15 16:27:36 -0600 | [diff] [blame] | 295 | }; |
| 296 | |
Stephen Warren | 2a5fdc9 | 2012-05-11 17:32:56 -0600 | [diff] [blame] | 297 | i2s@70002800 { |
| 298 | status = "okay"; |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 299 | }; |
| 300 | |
| 301 | serial@70006300 { |
Stephen Warren | 2a5fdc9 | 2012-05-11 17:32:56 -0600 | [diff] [blame] | 302 | status = "okay"; |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 303 | }; |
| 304 | |
Stephen Warren | 88950f3b | 2011-11-21 14:44:09 -0700 | [diff] [blame] | 305 | i2c@7000c000 { |
Stephen Warren | 2a5fdc9 | 2012-05-11 17:32:56 -0600 | [diff] [blame] | 306 | status = "okay"; |
Stephen Warren | 88950f3b | 2011-11-21 14:44:09 -0700 | [diff] [blame] | 307 | clock-frequency = <400000>; |
Stephen Warren | 797acf7 | 2012-01-11 16:09:57 -0700 | [diff] [blame] | 308 | |
| 309 | wm8903: wm8903@1a { |
| 310 | compatible = "wlf,wm8903"; |
| 311 | reg = <0x1a>; |
| 312 | interrupt-parent = <&gpio>; |
Stephen Warren | 95decf8 | 2012-05-11 16:11:38 -0600 | [diff] [blame] | 313 | interrupts = <187 0x04>; |
Stephen Warren | 797acf7 | 2012-01-11 16:09:57 -0700 | [diff] [blame] | 314 | |
| 315 | gpio-controller; |
| 316 | #gpio-cells = <2>; |
| 317 | |
| 318 | micdet-cfg = <0>; |
| 319 | micdet-delay = <100>; |
Stephen Warren | 95decf8 | 2012-05-11 16:11:38 -0600 | [diff] [blame] | 320 | gpio-cfg = <0xffffffff 0xffffffff 0 0xffffffff 0xffffffff>; |
Stephen Warren | 797acf7 | 2012-01-11 16:09:57 -0700 | [diff] [blame] | 321 | }; |
Laxman Dewangan | b46b0b5 | 2012-04-23 17:41:36 +0530 | [diff] [blame] | 322 | |
| 323 | /* ALS and proximity sensor */ |
| 324 | isl29018@44 { |
| 325 | compatible = "isil,isl29018"; |
| 326 | reg = <0x44>; |
| 327 | interrupt-parent = <&gpio>; |
| 328 | interrupts = <202 0x04>; /*gpio PZ2 */ |
| 329 | }; |
Stephen Warren | 88950f3b | 2011-11-21 14:44:09 -0700 | [diff] [blame] | 330 | }; |
| 331 | |
| 332 | i2c@7000c400 { |
Stephen Warren | 2a5fdc9 | 2012-05-11 17:32:56 -0600 | [diff] [blame] | 333 | status = "okay"; |
Stephen Warren | 97d5520 | 2013-01-02 14:53:21 -0700 | [diff] [blame] | 334 | clock-frequency = <100000>; |
Stephen Warren | 88950f3b | 2011-11-21 14:44:09 -0700 | [diff] [blame] | 335 | }; |
| 336 | |
Mark Zhang | cf63346 | 2012-10-25 14:52:30 +0800 | [diff] [blame] | 337 | i2cmux { |
| 338 | compatible = "i2c-mux-pinctrl"; |
| 339 | #address-cells = <1>; |
| 340 | #size-cells = <0>; |
| 341 | |
| 342 | i2c-parent = <&{/i2c@7000c400}>; |
| 343 | |
| 344 | pinctrl-names = "ddc", "pta", "idle"; |
| 345 | pinctrl-0 = <&state_i2cmux_ddc>; |
| 346 | pinctrl-1 = <&state_i2cmux_pta>; |
| 347 | pinctrl-2 = <&state_i2cmux_idle>; |
| 348 | |
Stephen Warren | 97d5520 | 2013-01-02 14:53:21 -0700 | [diff] [blame] | 349 | hdmi_ddc: i2c@0 { |
Mark Zhang | cf63346 | 2012-10-25 14:52:30 +0800 | [diff] [blame] | 350 | reg = <0>; |
| 351 | #address-cells = <1>; |
| 352 | #size-cells = <0>; |
| 353 | }; |
| 354 | |
| 355 | i2c@1 { |
| 356 | reg = <1>; |
| 357 | #address-cells = <1>; |
| 358 | #size-cells = <0>; |
| 359 | }; |
| 360 | }; |
| 361 | |
Stephen Warren | 88950f3b | 2011-11-21 14:44:09 -0700 | [diff] [blame] | 362 | i2c@7000c500 { |
Stephen Warren | 2a5fdc9 | 2012-05-11 17:32:56 -0600 | [diff] [blame] | 363 | status = "okay"; |
Stephen Warren | 88950f3b | 2011-11-21 14:44:09 -0700 | [diff] [blame] | 364 | clock-frequency = <400000>; |
| 365 | }; |
| 366 | |
| 367 | i2c@7000d000 { |
Stephen Warren | 2a5fdc9 | 2012-05-11 17:32:56 -0600 | [diff] [blame] | 368 | status = "okay"; |
Stephen Warren | 88950f3b | 2011-11-21 14:44:09 -0700 | [diff] [blame] | 369 | clock-frequency = <400000>; |
Stephen Warren | 017a010 | 2012-06-20 16:53:41 -0600 | [diff] [blame] | 370 | |
| 371 | pmic: tps6586x@34 { |
| 372 | compatible = "ti,tps6586x"; |
| 373 | reg = <0x34>; |
| 374 | interrupts = <0 86 0x4>; |
| 375 | |
Stephen Warren | 44b12ef | 2012-09-11 11:42:26 -0600 | [diff] [blame] | 376 | ti,system-power-controller; |
| 377 | |
Stephen Warren | 017a010 | 2012-06-20 16:53:41 -0600 | [diff] [blame] | 378 | #gpio-cells = <2>; |
| 379 | gpio-controller; |
| 380 | |
| 381 | sys-supply = <&vdd_5v0_reg>; |
| 382 | vin-sm0-supply = <&sys_reg>; |
| 383 | vin-sm1-supply = <&sys_reg>; |
| 384 | vin-sm2-supply = <&sys_reg>; |
| 385 | vinldo01-supply = <&sm2_reg>; |
| 386 | vinldo23-supply = <&sm2_reg>; |
| 387 | vinldo4-supply = <&sm2_reg>; |
| 388 | vinldo678-supply = <&sm2_reg>; |
| 389 | vinldo9-supply = <&sm2_reg>; |
| 390 | |
| 391 | regulators { |
Stephen Warren | b9c665d | 2012-09-20 17:04:06 -0600 | [diff] [blame] | 392 | sys_reg: sys { |
Stephen Warren | 017a010 | 2012-06-20 16:53:41 -0600 | [diff] [blame] | 393 | regulator-name = "vdd_sys"; |
| 394 | regulator-always-on; |
| 395 | }; |
| 396 | |
Stephen Warren | b9c665d | 2012-09-20 17:04:06 -0600 | [diff] [blame] | 397 | sm0 { |
Stephen Warren | 017a010 | 2012-06-20 16:53:41 -0600 | [diff] [blame] | 398 | regulator-name = "vdd_sm0,vdd_core"; |
| 399 | regulator-min-microvolt = <1200000>; |
| 400 | regulator-max-microvolt = <1200000>; |
| 401 | regulator-always-on; |
| 402 | }; |
| 403 | |
Stephen Warren | b9c665d | 2012-09-20 17:04:06 -0600 | [diff] [blame] | 404 | sm1 { |
Stephen Warren | 017a010 | 2012-06-20 16:53:41 -0600 | [diff] [blame] | 405 | regulator-name = "vdd_sm1,vdd_cpu"; |
| 406 | regulator-min-microvolt = <1000000>; |
| 407 | regulator-max-microvolt = <1000000>; |
| 408 | regulator-always-on; |
| 409 | }; |
| 410 | |
Stephen Warren | b9c665d | 2012-09-20 17:04:06 -0600 | [diff] [blame] | 411 | sm2_reg: sm2 { |
Stephen Warren | 017a010 | 2012-06-20 16:53:41 -0600 | [diff] [blame] | 412 | regulator-name = "vdd_sm2,vin_ldo*"; |
| 413 | regulator-min-microvolt = <3700000>; |
| 414 | regulator-max-microvolt = <3700000>; |
| 415 | regulator-always-on; |
| 416 | }; |
| 417 | |
| 418 | /* LDO0 is not connected to anything */ |
| 419 | |
Stephen Warren | b9c665d | 2012-09-20 17:04:06 -0600 | [diff] [blame] | 420 | ldo1 { |
Stephen Warren | 017a010 | 2012-06-20 16:53:41 -0600 | [diff] [blame] | 421 | regulator-name = "vdd_ldo1,avdd_pll*"; |
| 422 | regulator-min-microvolt = <1100000>; |
| 423 | regulator-max-microvolt = <1100000>; |
| 424 | regulator-always-on; |
| 425 | }; |
| 426 | |
Stephen Warren | b9c665d | 2012-09-20 17:04:06 -0600 | [diff] [blame] | 427 | ldo2 { |
Stephen Warren | 017a010 | 2012-06-20 16:53:41 -0600 | [diff] [blame] | 428 | regulator-name = "vdd_ldo2,vdd_rtc"; |
| 429 | regulator-min-microvolt = <1200000>; |
| 430 | regulator-max-microvolt = <1200000>; |
| 431 | }; |
| 432 | |
Stephen Warren | b9c665d | 2012-09-20 17:04:06 -0600 | [diff] [blame] | 433 | ldo3 { |
Stephen Warren | 017a010 | 2012-06-20 16:53:41 -0600 | [diff] [blame] | 434 | regulator-name = "vdd_ldo3,avdd_usb*"; |
| 435 | regulator-min-microvolt = <3300000>; |
| 436 | regulator-max-microvolt = <3300000>; |
| 437 | regulator-always-on; |
| 438 | }; |
| 439 | |
Stephen Warren | b9c665d | 2012-09-20 17:04:06 -0600 | [diff] [blame] | 440 | ldo4 { |
Stephen Warren | 017a010 | 2012-06-20 16:53:41 -0600 | [diff] [blame] | 441 | regulator-name = "vdd_ldo4,avdd_osc,vddio_sys"; |
| 442 | regulator-min-microvolt = <1800000>; |
| 443 | regulator-max-microvolt = <1800000>; |
| 444 | regulator-always-on; |
| 445 | }; |
| 446 | |
Stephen Warren | b9c665d | 2012-09-20 17:04:06 -0600 | [diff] [blame] | 447 | ldo5 { |
Stephen Warren | 017a010 | 2012-06-20 16:53:41 -0600 | [diff] [blame] | 448 | regulator-name = "vdd_ldo5,vcore_mmc"; |
| 449 | regulator-min-microvolt = <2850000>; |
| 450 | regulator-max-microvolt = <2850000>; |
| 451 | regulator-always-on; |
| 452 | }; |
| 453 | |
Stephen Warren | b9c665d | 2012-09-20 17:04:06 -0600 | [diff] [blame] | 454 | ldo6 { |
Stephen Warren | 017a010 | 2012-06-20 16:53:41 -0600 | [diff] [blame] | 455 | regulator-name = "vdd_ldo6,avdd_vdac"; |
| 456 | regulator-min-microvolt = <1800000>; |
| 457 | regulator-max-microvolt = <1800000>; |
| 458 | }; |
| 459 | |
Stephen Warren | 97d5520 | 2013-01-02 14:53:21 -0700 | [diff] [blame] | 460 | hdmi_vdd_reg: ldo7 { |
Stephen Warren | 017a010 | 2012-06-20 16:53:41 -0600 | [diff] [blame] | 461 | regulator-name = "vdd_ldo7,avdd_hdmi,vdd_fuse"; |
| 462 | regulator-min-microvolt = <3300000>; |
| 463 | regulator-max-microvolt = <3300000>; |
| 464 | }; |
| 465 | |
Stephen Warren | 97d5520 | 2013-01-02 14:53:21 -0700 | [diff] [blame] | 466 | hdmi_pll_reg: ldo8 { |
Stephen Warren | 017a010 | 2012-06-20 16:53:41 -0600 | [diff] [blame] | 467 | regulator-name = "vdd_ldo8,avdd_hdmi_pll"; |
| 468 | regulator-min-microvolt = <1800000>; |
| 469 | regulator-max-microvolt = <1800000>; |
| 470 | }; |
| 471 | |
Stephen Warren | b9c665d | 2012-09-20 17:04:06 -0600 | [diff] [blame] | 472 | ldo9 { |
Stephen Warren | 017a010 | 2012-06-20 16:53:41 -0600 | [diff] [blame] | 473 | regulator-name = "vdd_ldo9,avdd_2v85,vdd_ddr_rx"; |
| 474 | regulator-min-microvolt = <2850000>; |
| 475 | regulator-max-microvolt = <2850000>; |
| 476 | regulator-always-on; |
| 477 | }; |
| 478 | |
Stephen Warren | b9c665d | 2012-09-20 17:04:06 -0600 | [diff] [blame] | 479 | ldo_rtc { |
Stephen Warren | 017a010 | 2012-06-20 16:53:41 -0600 | [diff] [blame] | 480 | regulator-name = "vdd_rtc_out,vdd_cell"; |
| 481 | regulator-min-microvolt = <3300000>; |
| 482 | regulator-max-microvolt = <3300000>; |
| 483 | regulator-always-on; |
| 484 | }; |
| 485 | }; |
| 486 | }; |
Thierry Reding | ee9f726 | 2012-11-09 23:01:21 +0100 | [diff] [blame] | 487 | |
| 488 | temperature-sensor@4c { |
| 489 | compatible = "onnn,nct1008"; |
| 490 | reg = <0x4c>; |
| 491 | }; |
Stephen Warren | 017a010 | 2012-06-20 16:53:41 -0600 | [diff] [blame] | 492 | }; |
| 493 | |
| 494 | pmc { |
| 495 | nvidia,invert-interrupt; |
Joseph Lo | a44a019 | 2013-04-03 19:31:52 +0800 | [diff] [blame^] | 496 | nvidia,suspend-mode = <2>; |
| 497 | nvidia,cpu-pwr-good-time = <2000>; |
| 498 | nvidia,cpu-pwr-off-time = <100>; |
| 499 | nvidia,core-pwr-good-time = <3845 3845>; |
| 500 | nvidia,core-pwr-off-time = <458>; |
| 501 | nvidia,sys-clock-req-active-high; |
Stephen Warren | 88950f3b | 2011-11-21 14:44:09 -0700 | [diff] [blame] | 502 | }; |
| 503 | |
Stephen Warren | 2a5fdc9 | 2012-05-11 17:32:56 -0600 | [diff] [blame] | 504 | usb@c5000000 { |
| 505 | status = "okay"; |
| 506 | }; |
| 507 | |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 508 | usb@c5004000 { |
Stephen Warren | 2a5fdc9 | 2012-05-11 17:32:56 -0600 | [diff] [blame] | 509 | status = "okay"; |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 510 | nvidia,phy-reset-gpio = <&gpio 169 0>; /* gpio PV1 */ |
| 511 | }; |
| 512 | |
Stephen Warren | 2a5fdc9 | 2012-05-11 17:32:56 -0600 | [diff] [blame] | 513 | usb@c5008000 { |
| 514 | status = "okay"; |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 515 | }; |
| 516 | |
Venu Byravarasu | 40e8b3a | 2013-01-24 15:46:46 +0530 | [diff] [blame] | 517 | usb-phy@c5004400 { |
| 518 | nvidia,phy-reset-gpio = <&gpio 169 0>; /* gpio PV1 */ |
| 519 | }; |
| 520 | |
Wei Ni | c729429 | 2012-09-21 16:54:58 +0800 | [diff] [blame] | 521 | sdhci@c8000000 { |
| 522 | status = "okay"; |
| 523 | power-gpios = <&gpio 86 0>; /* gpio PK6 */ |
| 524 | bus-width = <4>; |
Joseph Lo | 7a2617a | 2013-04-03 14:34:39 -0600 | [diff] [blame] | 525 | keep-power-in-suspend; |
Wei Ni | c729429 | 2012-09-21 16:54:58 +0800 | [diff] [blame] | 526 | }; |
| 527 | |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 528 | sdhci@c8000400 { |
Stephen Warren | 2a5fdc9 | 2012-05-11 17:32:56 -0600 | [diff] [blame] | 529 | status = "okay"; |
Joseph Lo | 908ab93 | 2013-02-22 11:23:39 +0800 | [diff] [blame] | 530 | cd-gpios = <&gpio 69 1>; /* gpio PI5 */ |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 531 | wp-gpios = <&gpio 57 0>; /* gpio PH1 */ |
| 532 | power-gpios = <&gpio 70 0>; /* gpio PI6 */ |
Arnd Bergmann | deb88cc | 2012-05-14 22:35:04 +0200 | [diff] [blame] | 533 | bus-width = <4>; |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 534 | }; |
| 535 | |
| 536 | sdhci@c8000600 { |
Stephen Warren | 2a5fdc9 | 2012-05-11 17:32:56 -0600 | [diff] [blame] | 537 | status = "okay"; |
Arnd Bergmann | deb88cc | 2012-05-14 22:35:04 +0200 | [diff] [blame] | 538 | bus-width = <8>; |
Joseph Lo | 7a2617a | 2013-04-03 14:34:39 -0600 | [diff] [blame] | 539 | non-removable; |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 540 | }; |
| 541 | |
Joseph Lo | 7021d12 | 2013-04-03 19:31:27 +0800 | [diff] [blame] | 542 | clocks { |
| 543 | compatible = "simple-bus"; |
| 544 | #address-cells = <1>; |
| 545 | #size-cells = <0>; |
| 546 | |
| 547 | clk32k_in: clock { |
| 548 | compatible = "fixed-clock"; |
| 549 | reg=<0>; |
| 550 | #clock-cells = <0>; |
| 551 | clock-frequency = <32768>; |
| 552 | }; |
| 553 | }; |
| 554 | |
Joseph Lo | 5741a25 | 2013-04-03 19:31:48 +0800 | [diff] [blame] | 555 | gpio-keys { |
| 556 | compatible = "gpio-keys"; |
| 557 | |
| 558 | power { |
| 559 | label = "Power"; |
| 560 | gpios = <&gpio 170 1>; /* gpio PV2, active low */ |
| 561 | linux,code = <116>; /* KEY_POWER */ |
| 562 | gpio-key,wakeup; |
| 563 | }; |
| 564 | }; |
| 565 | |
Stephen Warren | 017a010 | 2012-06-20 16:53:41 -0600 | [diff] [blame] | 566 | regulators { |
| 567 | compatible = "simple-bus"; |
| 568 | #address-cells = <1>; |
| 569 | #size-cells = <0>; |
| 570 | |
| 571 | vdd_5v0_reg: regulator@0 { |
| 572 | compatible = "regulator-fixed"; |
| 573 | reg = <0>; |
| 574 | regulator-name = "vdd_5v0"; |
| 575 | regulator-min-microvolt = <5000000>; |
| 576 | regulator-max-microvolt = <5000000>; |
| 577 | regulator-always-on; |
| 578 | }; |
| 579 | |
| 580 | regulator@1 { |
| 581 | compatible = "regulator-fixed"; |
| 582 | reg = <1>; |
| 583 | regulator-name = "vdd_1v5"; |
| 584 | regulator-min-microvolt = <1500000>; |
| 585 | regulator-max-microvolt = <1500000>; |
| 586 | gpio = <&pmic 0 0>; |
| 587 | }; |
| 588 | |
| 589 | regulator@2 { |
| 590 | compatible = "regulator-fixed"; |
| 591 | reg = <2>; |
| 592 | regulator-name = "vdd_1v2"; |
| 593 | regulator-min-microvolt = <1200000>; |
| 594 | regulator-max-microvolt = <1200000>; |
| 595 | gpio = <&pmic 1 0>; |
| 596 | enable-active-high; |
| 597 | }; |
| 598 | |
| 599 | regulator@3 { |
| 600 | compatible = "regulator-fixed"; |
| 601 | reg = <3>; |
| 602 | regulator-name = "vdd_pnl"; |
| 603 | regulator-min-microvolt = <2800000>; |
| 604 | regulator-max-microvolt = <2800000>; |
| 605 | gpio = <&gpio 22 0>; /* gpio PC6 */ |
| 606 | enable-active-high; |
| 607 | }; |
| 608 | |
| 609 | regulator@4 { |
| 610 | compatible = "regulator-fixed"; |
| 611 | reg = <4>; |
| 612 | regulator-name = "vdd_bl"; |
| 613 | regulator-min-microvolt = <2800000>; |
| 614 | regulator-max-microvolt = <2800000>; |
| 615 | gpio = <&gpio 176 0>; /* gpio PW0 */ |
| 616 | enable-active-high; |
| 617 | }; |
| 618 | }; |
| 619 | |
Stephen Warren | 797acf7 | 2012-01-11 16:09:57 -0700 | [diff] [blame] | 620 | sound { |
| 621 | compatible = "nvidia,tegra-audio-wm8903-ventana", |
| 622 | "nvidia,tegra-audio-wm8903"; |
| 623 | nvidia,model = "NVIDIA Tegra Ventana"; |
| 624 | |
| 625 | nvidia,audio-routing = |
| 626 | "Headphone Jack", "HPOUTR", |
| 627 | "Headphone Jack", "HPOUTL", |
| 628 | "Int Spk", "ROP", |
| 629 | "Int Spk", "RON", |
| 630 | "Int Spk", "LOP", |
| 631 | "Int Spk", "LON", |
| 632 | "Mic Jack", "MICBIAS", |
| 633 | "IN1L", "Mic Jack"; |
| 634 | |
| 635 | nvidia,i2s-controller = <&tegra_i2s1>; |
| 636 | nvidia,audio-codec = <&wm8903>; |
| 637 | |
| 638 | nvidia,spkr-en-gpios = <&wm8903 2 0>; |
| 639 | nvidia,hp-det-gpios = <&gpio 178 0>; /* gpio PW2 */ |
Stephen Warren | c44e438 | 2012-05-11 16:21:10 -0600 | [diff] [blame] | 640 | nvidia,int-mic-en-gpios = <&gpio 184 0>; /* gpio PX0 */ |
Stephen Warren | 797acf7 | 2012-01-11 16:09:57 -0700 | [diff] [blame] | 641 | nvidia,ext-mic-en-gpios = <&gpio 185 0>; /* gpio PX1 */ |
Stephen Warren | f9cd2b3 | 2013-03-26 16:45:52 -0600 | [diff] [blame] | 642 | |
| 643 | clocks = <&tegra_car 112>, <&tegra_car 113>, <&tegra_car 93>; |
| 644 | clock-names = "pll_a", "pll_a_out0", "mclk"; |
Stephen Warren | 797acf7 | 2012-01-11 16:09:57 -0700 | [diff] [blame] | 645 | }; |
Peter De Schrijver | add29e6 | 2011-10-12 14:53:05 +0300 | [diff] [blame] | 646 | }; |