Bryan Wu | d7df69f | 2013-01-02 15:53:51 -0800 | [diff] [blame] | 1 | /dts-v1/; |
| 2 | |
Stephen Warren | 1bd0bd4 | 2012-10-17 16:38:21 -0600 | [diff] [blame] | 3 | #include "tegra30.dtsi" |
Bryan Wu | d7df69f | 2013-01-02 15:53:51 -0800 | [diff] [blame] | 4 | |
| 5 | / { |
| 6 | model = "NVIDIA Tegra30 Beaver evaluation board"; |
| 7 | compatible = "nvidia,beaver", "nvidia,tegra30"; |
| 8 | |
| 9 | memory { |
Stephen Warren | 30022bb | 2013-05-13 09:47:31 +0000 | [diff] [blame] | 10 | reg = <0x80000000 0x7ff00000>; |
Bryan Wu | d7df69f | 2013-01-02 15:53:51 -0800 | [diff] [blame] | 11 | }; |
| 12 | |
| 13 | pinmux { |
| 14 | pinctrl-names = "default"; |
| 15 | pinctrl-0 = <&state_default>; |
| 16 | |
| 17 | state_default: pinmux { |
| 18 | sdmmc1_clk_pz0 { |
| 19 | nvidia,pins = "sdmmc1_clk_pz0"; |
| 20 | nvidia,function = "sdmmc1"; |
| 21 | nvidia,pull = <0>; |
| 22 | nvidia,tristate = <0>; |
| 23 | }; |
| 24 | sdmmc1_cmd_pz1 { |
| 25 | nvidia,pins = "sdmmc1_cmd_pz1", |
| 26 | "sdmmc1_dat0_py7", |
| 27 | "sdmmc1_dat1_py6", |
| 28 | "sdmmc1_dat2_py5", |
| 29 | "sdmmc1_dat3_py4"; |
| 30 | nvidia,function = "sdmmc1"; |
| 31 | nvidia,pull = <2>; |
| 32 | nvidia,tristate = <0>; |
| 33 | }; |
| 34 | sdmmc3_clk_pa6 { |
| 35 | nvidia,pins = "sdmmc3_clk_pa6"; |
| 36 | nvidia,function = "sdmmc3"; |
| 37 | nvidia,pull = <0>; |
| 38 | nvidia,tristate = <0>; |
| 39 | }; |
| 40 | sdmmc3_cmd_pa7 { |
| 41 | nvidia,pins = "sdmmc3_cmd_pa7", |
| 42 | "sdmmc3_dat0_pb7", |
| 43 | "sdmmc3_dat1_pb6", |
| 44 | "sdmmc3_dat2_pb5", |
| 45 | "sdmmc3_dat3_pb4"; |
| 46 | nvidia,function = "sdmmc3"; |
| 47 | nvidia,pull = <2>; |
| 48 | nvidia,tristate = <0>; |
| 49 | }; |
| 50 | sdmmc4_clk_pcc4 { |
| 51 | nvidia,pins = "sdmmc4_clk_pcc4", |
| 52 | "sdmmc4_rst_n_pcc3"; |
| 53 | nvidia,function = "sdmmc4"; |
| 54 | nvidia,pull = <0>; |
| 55 | nvidia,tristate = <0>; |
| 56 | }; |
| 57 | sdmmc4_dat0_paa0 { |
| 58 | nvidia,pins = "sdmmc4_dat0_paa0", |
| 59 | "sdmmc4_dat1_paa1", |
| 60 | "sdmmc4_dat2_paa2", |
| 61 | "sdmmc4_dat3_paa3", |
| 62 | "sdmmc4_dat4_paa4", |
| 63 | "sdmmc4_dat5_paa5", |
| 64 | "sdmmc4_dat6_paa6", |
| 65 | "sdmmc4_dat7_paa7"; |
| 66 | nvidia,function = "sdmmc4"; |
| 67 | nvidia,pull = <2>; |
| 68 | nvidia,tristate = <0>; |
| 69 | }; |
| 70 | dap2_fs_pa2 { |
| 71 | nvidia,pins = "dap2_fs_pa2", |
| 72 | "dap2_sclk_pa3", |
| 73 | "dap2_din_pa4", |
| 74 | "dap2_dout_pa5"; |
| 75 | nvidia,function = "i2s1"; |
| 76 | nvidia,pull = <0>; |
| 77 | nvidia,tristate = <0>; |
| 78 | }; |
| 79 | sdio3 { |
| 80 | nvidia,pins = "drive_sdio3"; |
| 81 | nvidia,high-speed-mode = <0>; |
| 82 | nvidia,schmitt = <0>; |
| 83 | nvidia,pull-down-strength = <46>; |
| 84 | nvidia,pull-up-strength = <42>; |
| 85 | nvidia,slew-rate-rising = <1>; |
| 86 | nvidia,slew-rate-falling = <1>; |
| 87 | }; |
| 88 | }; |
| 89 | }; |
| 90 | |
| 91 | serial@70006000 { |
| 92 | status = "okay"; |
Bryan Wu | d7df69f | 2013-01-02 15:53:51 -0800 | [diff] [blame] | 93 | }; |
| 94 | |
| 95 | i2c@7000c000 { |
| 96 | status = "okay"; |
| 97 | clock-frequency = <100000>; |
| 98 | }; |
| 99 | |
| 100 | i2c@7000c400 { |
| 101 | status = "okay"; |
| 102 | clock-frequency = <100000>; |
| 103 | }; |
| 104 | |
| 105 | i2c@7000c500 { |
| 106 | status = "okay"; |
| 107 | clock-frequency = <100000>; |
| 108 | }; |
| 109 | |
| 110 | i2c@7000c700 { |
| 111 | status = "okay"; |
| 112 | clock-frequency = <100000>; |
| 113 | }; |
| 114 | |
| 115 | i2c@7000d000 { |
| 116 | status = "okay"; |
| 117 | clock-frequency = <100000>; |
| 118 | |
| 119 | tps62361 { |
| 120 | compatible = "ti,tps62361"; |
| 121 | reg = <0x60>; |
| 122 | |
| 123 | regulator-name = "tps62361-vout"; |
| 124 | regulator-min-microvolt = <500000>; |
| 125 | regulator-max-microvolt = <1500000>; |
| 126 | regulator-boot-on; |
| 127 | regulator-always-on; |
| 128 | ti,vsel0-state-high; |
| 129 | ti,vsel1-state-high; |
| 130 | }; |
| 131 | |
| 132 | pmic: tps65911@2d { |
| 133 | compatible = "ti,tps65911"; |
| 134 | reg = <0x2d>; |
| 135 | |
| 136 | interrupts = <0 86 0x4>; |
| 137 | #interrupt-cells = <2>; |
| 138 | interrupt-controller; |
| 139 | |
| 140 | ti,system-power-controller; |
| 141 | |
| 142 | #gpio-cells = <2>; |
| 143 | gpio-controller; |
| 144 | |
| 145 | vcc1-supply = <&vdd_5v_in_reg>; |
| 146 | vcc2-supply = <&vdd_5v_in_reg>; |
| 147 | vcc3-supply = <&vio_reg>; |
| 148 | vcc4-supply = <&vdd_5v_in_reg>; |
| 149 | vcc5-supply = <&vdd_5v_in_reg>; |
| 150 | vcc6-supply = <&vdd2_reg>; |
| 151 | vcc7-supply = <&vdd_5v_in_reg>; |
| 152 | vccio-supply = <&vdd_5v_in_reg>; |
| 153 | |
| 154 | regulators { |
| 155 | #address-cells = <1>; |
| 156 | #size-cells = <0>; |
| 157 | |
| 158 | vdd1_reg: vdd1 { |
| 159 | regulator-name = "vddio_ddr_1v2"; |
| 160 | regulator-min-microvolt = <1200000>; |
| 161 | regulator-max-microvolt = <1200000>; |
| 162 | regulator-always-on; |
| 163 | }; |
| 164 | |
| 165 | vdd2_reg: vdd2 { |
| 166 | regulator-name = "vdd_1v5_gen"; |
| 167 | regulator-min-microvolt = <1500000>; |
| 168 | regulator-max-microvolt = <1500000>; |
| 169 | regulator-always-on; |
| 170 | }; |
| 171 | |
| 172 | vddctrl_reg: vddctrl { |
| 173 | regulator-name = "vdd_cpu,vdd_sys"; |
| 174 | regulator-min-microvolt = <1000000>; |
| 175 | regulator-max-microvolt = <1000000>; |
| 176 | regulator-always-on; |
| 177 | }; |
| 178 | |
| 179 | vio_reg: vio { |
| 180 | regulator-name = "vdd_1v8_gen"; |
| 181 | regulator-min-microvolt = <1800000>; |
| 182 | regulator-max-microvolt = <1800000>; |
| 183 | regulator-always-on; |
| 184 | }; |
| 185 | |
| 186 | ldo1_reg: ldo1 { |
| 187 | regulator-name = "vdd_pexa,vdd_pexb"; |
| 188 | regulator-min-microvolt = <1050000>; |
| 189 | regulator-max-microvolt = <1050000>; |
| 190 | }; |
| 191 | |
| 192 | ldo2_reg: ldo2 { |
| 193 | regulator-name = "vdd_sata,avdd_plle"; |
| 194 | regulator-min-microvolt = <1050000>; |
| 195 | regulator-max-microvolt = <1050000>; |
| 196 | }; |
| 197 | |
| 198 | /* LDO3 is not connected to anything */ |
| 199 | |
| 200 | ldo4_reg: ldo4 { |
| 201 | regulator-name = "vdd_rtc"; |
| 202 | regulator-min-microvolt = <1200000>; |
| 203 | regulator-max-microvolt = <1200000>; |
| 204 | regulator-always-on; |
| 205 | }; |
| 206 | |
| 207 | ldo5_reg: ldo5 { |
| 208 | regulator-name = "vddio_sdmmc,avdd_vdac"; |
| 209 | regulator-min-microvolt = <3300000>; |
| 210 | regulator-max-microvolt = <3300000>; |
| 211 | regulator-always-on; |
| 212 | }; |
| 213 | |
| 214 | ldo6_reg: ldo6 { |
| 215 | regulator-name = "avdd_dsi_csi,pwrdet_mipi"; |
| 216 | regulator-min-microvolt = <1200000>; |
| 217 | regulator-max-microvolt = <1200000>; |
| 218 | }; |
| 219 | |
| 220 | ldo7_reg: ldo7 { |
| 221 | regulator-name = "vdd_pllm,x,u,a_p_c_s"; |
| 222 | regulator-min-microvolt = <1200000>; |
| 223 | regulator-max-microvolt = <1200000>; |
| 224 | regulator-always-on; |
| 225 | }; |
| 226 | |
| 227 | ldo8_reg: ldo8 { |
| 228 | regulator-name = "vdd_ddr_hs"; |
| 229 | regulator-min-microvolt = <1000000>; |
| 230 | regulator-max-microvolt = <1000000>; |
| 231 | regulator-always-on; |
| 232 | }; |
| 233 | }; |
| 234 | }; |
| 235 | }; |
| 236 | |
| 237 | spi@7000da00 { |
| 238 | status = "okay"; |
| 239 | spi-max-frequency = <25000000>; |
| 240 | spi-flash@1 { |
| 241 | compatible = "winbond,w25q32"; |
| 242 | reg = <1>; |
| 243 | spi-max-frequency = <20000000>; |
| 244 | }; |
| 245 | }; |
| 246 | |
| 247 | ahub { |
| 248 | i2s@70080400 { |
| 249 | status = "okay"; |
| 250 | }; |
| 251 | }; |
| 252 | |
| 253 | pmc { |
| 254 | status = "okay"; |
| 255 | nvidia,invert-interrupt; |
Joseph Lo | a44a019 | 2013-04-03 19:31:52 +0800 | [diff] [blame] | 256 | nvidia,suspend-mode = <2>; |
| 257 | nvidia,cpu-pwr-good-time = <2000>; |
| 258 | nvidia,cpu-pwr-off-time = <200>; |
| 259 | nvidia,core-pwr-good-time = <3845 3845>; |
| 260 | nvidia,core-pwr-off-time = <0>; |
| 261 | nvidia,core-power-req-active-high; |
| 262 | nvidia,sys-clock-req-active-high; |
Bryan Wu | d7df69f | 2013-01-02 15:53:51 -0800 | [diff] [blame] | 263 | }; |
| 264 | |
| 265 | sdhci@78000000 { |
| 266 | status = "okay"; |
Stephen Warren | 3325f1b | 2013-02-12 17:25:15 -0700 | [diff] [blame^] | 267 | cd-gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>; |
| 268 | wp-gpios = <&gpio TEGRA_GPIO(T, 3) GPIO_ACTIVE_HIGH>; |
| 269 | power-gpios = <&gpio TEGRA_GPIO(D, 7) GPIO_ACTIVE_HIGH>; |
Bryan Wu | d7df69f | 2013-01-02 15:53:51 -0800 | [diff] [blame] | 270 | bus-width = <4>; |
| 271 | }; |
| 272 | |
| 273 | sdhci@78000600 { |
| 274 | status = "okay"; |
| 275 | bus-width = <8>; |
Joseph Lo | 7a2617a | 2013-04-03 14:34:39 -0600 | [diff] [blame] | 276 | non-removable; |
Bryan Wu | d7df69f | 2013-01-02 15:53:51 -0800 | [diff] [blame] | 277 | }; |
| 278 | |
Joseph Lo | 7021d12 | 2013-04-03 19:31:27 +0800 | [diff] [blame] | 279 | clocks { |
| 280 | compatible = "simple-bus"; |
| 281 | #address-cells = <1>; |
| 282 | #size-cells = <0>; |
| 283 | |
| 284 | clk32k_in: clock { |
| 285 | compatible = "fixed-clock"; |
| 286 | reg=<0>; |
| 287 | #clock-cells = <0>; |
| 288 | clock-frequency = <32768>; |
| 289 | }; |
| 290 | }; |
| 291 | |
Bryan Wu | d7df69f | 2013-01-02 15:53:51 -0800 | [diff] [blame] | 292 | regulators { |
| 293 | compatible = "simple-bus"; |
| 294 | #address-cells = <1>; |
| 295 | #size-cells = <0>; |
| 296 | |
| 297 | vdd_5v_in_reg: regulator@0 { |
| 298 | compatible = "regulator-fixed"; |
| 299 | reg = <0>; |
| 300 | regulator-name = "vdd_5v_in"; |
| 301 | regulator-min-microvolt = <5000000>; |
| 302 | regulator-max-microvolt = <5000000>; |
| 303 | regulator-always-on; |
| 304 | }; |
| 305 | |
| 306 | chargepump_5v_reg: regulator@1 { |
| 307 | compatible = "regulator-fixed"; |
| 308 | reg = <1>; |
| 309 | regulator-name = "chargepump_5v"; |
| 310 | regulator-min-microvolt = <5000000>; |
| 311 | regulator-max-microvolt = <5000000>; |
| 312 | regulator-boot-on; |
| 313 | regulator-always-on; |
| 314 | enable-active-high; |
Stephen Warren | 3325f1b | 2013-02-12 17:25:15 -0700 | [diff] [blame^] | 315 | gpio = <&pmic 0 GPIO_ACTIVE_HIGH>; |
Bryan Wu | d7df69f | 2013-01-02 15:53:51 -0800 | [diff] [blame] | 316 | }; |
| 317 | |
| 318 | ddr_reg: regulator@2 { |
| 319 | compatible = "regulator-fixed"; |
| 320 | reg = <2>; |
| 321 | regulator-name = "vdd_ddr"; |
| 322 | regulator-min-microvolt = <1500000>; |
| 323 | regulator-max-microvolt = <1500000>; |
| 324 | regulator-always-on; |
| 325 | regulator-boot-on; |
| 326 | enable-active-high; |
Stephen Warren | 3325f1b | 2013-02-12 17:25:15 -0700 | [diff] [blame^] | 327 | gpio = <&pmic 7 GPIO_ACTIVE_HIGH>; |
Bryan Wu | d7df69f | 2013-01-02 15:53:51 -0800 | [diff] [blame] | 328 | vin-supply = <&vdd_5v_in_reg>; |
| 329 | }; |
| 330 | |
| 331 | vdd_5v_sata_reg: regulator@3 { |
| 332 | compatible = "regulator-fixed"; |
| 333 | reg = <3>; |
| 334 | regulator-name = "vdd_5v_sata"; |
| 335 | regulator-min-microvolt = <5000000>; |
| 336 | regulator-max-microvolt = <5000000>; |
| 337 | regulator-always-on; |
| 338 | regulator-boot-on; |
| 339 | enable-active-high; |
Stephen Warren | 3325f1b | 2013-02-12 17:25:15 -0700 | [diff] [blame^] | 340 | gpio = <&gpio TEGRA_GPIO(D, 6) GPIO_ACTIVE_HIGH>; |
Bryan Wu | d7df69f | 2013-01-02 15:53:51 -0800 | [diff] [blame] | 341 | vin-supply = <&vdd_5v_in_reg>; |
| 342 | }; |
| 343 | |
| 344 | usb1_vbus_reg: regulator@4 { |
| 345 | compatible = "regulator-fixed"; |
| 346 | reg = <4>; |
| 347 | regulator-name = "usb1_vbus"; |
| 348 | regulator-min-microvolt = <5000000>; |
| 349 | regulator-max-microvolt = <5000000>; |
| 350 | enable-active-high; |
Stephen Warren | 3325f1b | 2013-02-12 17:25:15 -0700 | [diff] [blame^] | 351 | gpio = <&gpio TEGRA_GPIO(I, 4) GPIO_ACTIVE_HIGH>; |
Bryan Wu | d7df69f | 2013-01-02 15:53:51 -0800 | [diff] [blame] | 352 | gpio-open-drain; |
| 353 | vin-supply = <&vdd_5v_in_reg>; |
| 354 | }; |
| 355 | |
| 356 | usb3_vbus_reg: regulator@5 { |
| 357 | compatible = "regulator-fixed"; |
| 358 | reg = <5>; |
| 359 | regulator-name = "usb3_vbus"; |
| 360 | regulator-min-microvolt = <5000000>; |
| 361 | regulator-max-microvolt = <5000000>; |
| 362 | enable-active-high; |
Stephen Warren | 3325f1b | 2013-02-12 17:25:15 -0700 | [diff] [blame^] | 363 | gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_HIGH>; |
Bryan Wu | d7df69f | 2013-01-02 15:53:51 -0800 | [diff] [blame] | 364 | gpio-open-drain; |
| 365 | vin-supply = <&vdd_5v_in_reg>; |
| 366 | }; |
| 367 | |
| 368 | sys_3v3_reg: regulator@6 { |
| 369 | compatible = "regulator-fixed"; |
| 370 | reg = <6>; |
| 371 | regulator-name = "sys_3v3,vdd_3v3_alw"; |
| 372 | regulator-min-microvolt = <3300000>; |
| 373 | regulator-max-microvolt = <3300000>; |
| 374 | regulator-always-on; |
| 375 | regulator-boot-on; |
| 376 | enable-active-high; |
Stephen Warren | 3325f1b | 2013-02-12 17:25:15 -0700 | [diff] [blame^] | 377 | gpio = <&pmic 6 GPIO_ACTIVE_HIGH>; |
Bryan Wu | d7df69f | 2013-01-02 15:53:51 -0800 | [diff] [blame] | 378 | vin-supply = <&vdd_5v_in_reg>; |
| 379 | }; |
| 380 | |
| 381 | sys_3v3_pexs_reg: regulator@7 { |
| 382 | compatible = "regulator-fixed"; |
| 383 | reg = <7>; |
| 384 | regulator-name = "sys_3v3_pexs"; |
| 385 | regulator-min-microvolt = <3300000>; |
| 386 | regulator-max-microvolt = <3300000>; |
| 387 | regulator-always-on; |
| 388 | regulator-boot-on; |
| 389 | enable-active-high; |
Stephen Warren | 3325f1b | 2013-02-12 17:25:15 -0700 | [diff] [blame^] | 390 | gpio = <&gpio TEGRA_GPIO(L, 7) GPIO_ACTIVE_HIGH>; |
Bryan Wu | d7df69f | 2013-01-02 15:53:51 -0800 | [diff] [blame] | 391 | vin-supply = <&sys_3v3_reg>; |
| 392 | }; |
| 393 | }; |
Eric Brower | b4dd3e0 | 2013-05-10 14:40:29 +0000 | [diff] [blame] | 394 | |
| 395 | gpio-leds { |
| 396 | compatible = "gpio-leds"; |
| 397 | |
| 398 | gpled1 { |
| 399 | label = "LED1"; /* CR5A1 (blue) */ |
Stephen Warren | 3325f1b | 2013-02-12 17:25:15 -0700 | [diff] [blame^] | 400 | gpios = <&gpio TEGRA_GPIO(L, 1) GPIO_ACTIVE_HIGH>; |
Eric Brower | b4dd3e0 | 2013-05-10 14:40:29 +0000 | [diff] [blame] | 401 | }; |
| 402 | gpled2 { |
| 403 | label = "LED2"; /* CR4A2 (green) */ |
Stephen Warren | 3325f1b | 2013-02-12 17:25:15 -0700 | [diff] [blame^] | 404 | gpios = <&gpio TEGRA_GPIO(L, 0) GPIO_ACTIVE_HIGH>; |
Eric Brower | b4dd3e0 | 2013-05-10 14:40:29 +0000 | [diff] [blame] | 405 | }; |
| 406 | }; |
Bryan Wu | d7df69f | 2013-01-02 15:53:51 -0800 | [diff] [blame] | 407 | }; |