Nishanth Menon | 0af28cc | 2016-09-02 12:14:45 -0500 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2014-2016 Texas Instruments Incorporated - http://www.ti.com/ |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License version 2 as |
| 6 | * published by the Free Software Foundation. |
| 7 | */ |
| 8 | /dts-v1/; |
| 9 | |
| 10 | #include "dra74x.dtsi" |
| 11 | #include "am57xx-commercial-grade.dtsi" |
| 12 | #include <dt-bindings/gpio/gpio.h> |
| 13 | #include <dt-bindings/interrupt-controller/irq.h> |
| 14 | |
| 15 | / { |
| 16 | compatible = "ti,am572x-beagle-x15", "ti,am5728", "ti,dra742", "ti,dra74", "ti,dra7"; |
| 17 | |
| 18 | aliases { |
| 19 | rtc0 = &mcp_rtc; |
| 20 | rtc1 = &tps659038_rtc; |
| 21 | rtc2 = &rtc; |
| 22 | display0 = &hdmi0; |
| 23 | }; |
| 24 | |
| 25 | memory@0 { |
| 26 | device_type = "memory"; |
| 27 | reg = <0x0 0x80000000 0x0 0x80000000>; |
| 28 | }; |
| 29 | |
| 30 | vdd_3v3: fixedregulator-vdd_3v3 { |
| 31 | compatible = "regulator-fixed"; |
| 32 | regulator-name = "vdd_3v3"; |
| 33 | vin-supply = <®en1>; |
| 34 | regulator-min-microvolt = <3300000>; |
| 35 | regulator-max-microvolt = <3300000>; |
| 36 | }; |
| 37 | |
| 38 | aic_dvdd: fixedregulator-aic_dvdd { |
| 39 | compatible = "regulator-fixed"; |
| 40 | regulator-name = "aic_dvdd_fixed"; |
| 41 | vin-supply = <&vdd_3v3>; |
| 42 | regulator-min-microvolt = <1800000>; |
| 43 | regulator-max-microvolt = <1800000>; |
| 44 | }; |
| 45 | |
| 46 | vtt_fixed: fixedregulator-vtt { |
| 47 | /* TPS51200 */ |
| 48 | compatible = "regulator-fixed"; |
| 49 | regulator-name = "vtt_fixed"; |
| 50 | vin-supply = <&smps3_reg>; |
| 51 | regulator-min-microvolt = <3300000>; |
| 52 | regulator-max-microvolt = <3300000>; |
| 53 | regulator-always-on; |
| 54 | regulator-boot-on; |
| 55 | enable-active-high; |
| 56 | gpio = <&gpio7 11 GPIO_ACTIVE_HIGH>; |
| 57 | }; |
| 58 | |
| 59 | leds { |
| 60 | compatible = "gpio-leds"; |
| 61 | |
| 62 | led0 { |
| 63 | label = "beagle-x15:usr0"; |
| 64 | gpios = <&gpio7 9 GPIO_ACTIVE_HIGH>; |
| 65 | linux,default-trigger = "heartbeat"; |
| 66 | default-state = "off"; |
| 67 | }; |
| 68 | |
| 69 | led1 { |
| 70 | label = "beagle-x15:usr1"; |
| 71 | gpios = <&gpio7 8 GPIO_ACTIVE_HIGH>; |
| 72 | linux,default-trigger = "cpu0"; |
| 73 | default-state = "off"; |
| 74 | }; |
| 75 | |
| 76 | led2 { |
| 77 | label = "beagle-x15:usr2"; |
| 78 | gpios = <&gpio7 14 GPIO_ACTIVE_HIGH>; |
| 79 | linux,default-trigger = "mmc0"; |
| 80 | default-state = "off"; |
| 81 | }; |
| 82 | |
| 83 | led3 { |
| 84 | label = "beagle-x15:usr3"; |
| 85 | gpios = <&gpio7 15 GPIO_ACTIVE_HIGH>; |
| 86 | linux,default-trigger = "disk-activity"; |
| 87 | default-state = "off"; |
| 88 | }; |
| 89 | }; |
| 90 | |
| 91 | gpio_fan: gpio_fan { |
| 92 | /* Based on 5v 500mA AFB02505HHB */ |
| 93 | compatible = "gpio-fan"; |
| 94 | gpios = <&tps659038_gpio 2 GPIO_ACTIVE_HIGH>; |
| 95 | gpio-fan,speed-map = <0 0>, |
| 96 | <13000 1>; |
| 97 | #cooling-cells = <2>; |
| 98 | }; |
| 99 | |
| 100 | hdmi0: connector { |
| 101 | compatible = "hdmi-connector"; |
| 102 | label = "hdmi"; |
| 103 | |
| 104 | type = "a"; |
| 105 | |
| 106 | port { |
| 107 | hdmi_connector_in: endpoint { |
| 108 | remote-endpoint = <&tpd12s015_out>; |
| 109 | }; |
| 110 | }; |
| 111 | }; |
| 112 | |
| 113 | tpd12s015: encoder { |
| 114 | compatible = "ti,tpd12s015"; |
| 115 | |
| 116 | ports { |
| 117 | #address-cells = <1>; |
| 118 | #size-cells = <0>; |
| 119 | |
| 120 | port@0 { |
| 121 | reg = <0>; |
| 122 | |
| 123 | tpd12s015_in: endpoint { |
| 124 | remote-endpoint = <&hdmi_out>; |
| 125 | }; |
| 126 | }; |
| 127 | |
| 128 | port@1 { |
| 129 | reg = <1>; |
| 130 | |
| 131 | tpd12s015_out: endpoint { |
| 132 | remote-endpoint = <&hdmi_connector_in>; |
| 133 | }; |
| 134 | }; |
| 135 | }; |
| 136 | }; |
| 137 | |
| 138 | sound0: sound0 { |
| 139 | compatible = "simple-audio-card"; |
| 140 | simple-audio-card,name = "BeagleBoard-X15"; |
| 141 | simple-audio-card,widgets = |
| 142 | "Line", "Line Out", |
| 143 | "Line", "Line In"; |
| 144 | simple-audio-card,routing = |
| 145 | "Line Out", "LLOUT", |
| 146 | "Line Out", "RLOUT", |
| 147 | "MIC2L", "Line In", |
| 148 | "MIC2R", "Line In"; |
| 149 | simple-audio-card,format = "dsp_b"; |
| 150 | simple-audio-card,bitclock-master = <&sound0_master>; |
| 151 | simple-audio-card,frame-master = <&sound0_master>; |
| 152 | simple-audio-card,bitclock-inversion; |
| 153 | |
| 154 | simple-audio-card,cpu { |
| 155 | sound-dai = <&mcasp3>; |
| 156 | }; |
| 157 | |
| 158 | sound0_master: simple-audio-card,codec { |
| 159 | sound-dai = <&tlv320aic3104>; |
| 160 | clocks = <&clkout2_clk>; |
| 161 | }; |
| 162 | }; |
| 163 | }; |
| 164 | |
| 165 | &dra7_pmx_core { |
| 166 | mmc1_pins_default: mmc1_pins_default { |
| 167 | pinctrl-single,pins = < |
| 168 | DRA7XX_CORE_IOPAD(0x376c, PIN_INPUT | MUX_MODE14) /* mmc1sdcd.gpio219 */ |
| 169 | DRA7XX_CORE_IOPAD(0x3754, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_clk.clk */ |
| 170 | DRA7XX_CORE_IOPAD(0x3758, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_cmd.cmd */ |
| 171 | DRA7XX_CORE_IOPAD(0x375c, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat0.dat0 */ |
| 172 | DRA7XX_CORE_IOPAD(0x3760, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat1.dat1 */ |
| 173 | DRA7XX_CORE_IOPAD(0x3764, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat2.dat2 */ |
| 174 | DRA7XX_CORE_IOPAD(0x3768, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat3.dat3 */ |
| 175 | >; |
| 176 | }; |
| 177 | |
| 178 | mmc2_pins_default: mmc2_pins_default { |
| 179 | pinctrl-single,pins = < |
| 180 | DRA7XX_CORE_IOPAD(0x349c, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a23.mmc2_clk */ |
| 181 | DRA7XX_CORE_IOPAD(0x34b0, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_cs1.mmc2_cmd */ |
| 182 | DRA7XX_CORE_IOPAD(0x34a0, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a24.mmc2_dat0 */ |
| 183 | DRA7XX_CORE_IOPAD(0x34a4, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a25.mmc2_dat1 */ |
| 184 | DRA7XX_CORE_IOPAD(0x34a8, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a26.mmc2_dat2 */ |
| 185 | DRA7XX_CORE_IOPAD(0x34ac, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a27.mmc2_dat3 */ |
| 186 | DRA7XX_CORE_IOPAD(0x348c, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a19.mmc2_dat4 */ |
| 187 | DRA7XX_CORE_IOPAD(0x3490, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a20.mmc2_dat5 */ |
| 188 | DRA7XX_CORE_IOPAD(0x3494, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a21.mmc2_dat6 */ |
| 189 | DRA7XX_CORE_IOPAD(0x3498, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a22.mmc2_dat7 */ |
| 190 | >; |
| 191 | }; |
| 192 | }; |
| 193 | &i2c1 { |
| 194 | status = "okay"; |
| 195 | clock-frequency = <400000>; |
| 196 | |
| 197 | tps659038: tps659038@58 { |
| 198 | compatible = "ti,tps659038"; |
| 199 | reg = <0x58>; |
| 200 | interrupt-parent = <&gpio1>; |
| 201 | interrupts = <0 IRQ_TYPE_LEVEL_LOW>; |
| 202 | |
| 203 | #interrupt-cells = <2>; |
| 204 | interrupt-controller; |
| 205 | |
| 206 | ti,system-power-controller; |
Keerthy | 1f16649 | 2016-11-10 10:39:19 +0530 | [diff] [blame] | 207 | ti,palmas-override-powerhold; |
Nishanth Menon | 0af28cc | 2016-09-02 12:14:45 -0500 | [diff] [blame] | 208 | |
| 209 | tps659038_pmic { |
| 210 | compatible = "ti,tps659038-pmic"; |
| 211 | |
| 212 | regulators { |
| 213 | smps12_reg: smps12 { |
| 214 | /* VDD_MPU */ |
| 215 | regulator-name = "smps12"; |
| 216 | regulator-min-microvolt = < 850000>; |
| 217 | regulator-max-microvolt = <1250000>; |
| 218 | regulator-always-on; |
| 219 | regulator-boot-on; |
| 220 | }; |
| 221 | |
| 222 | smps3_reg: smps3 { |
| 223 | /* VDD_DDR */ |
| 224 | regulator-name = "smps3"; |
| 225 | regulator-min-microvolt = <1350000>; |
| 226 | regulator-max-microvolt = <1350000>; |
| 227 | regulator-always-on; |
| 228 | regulator-boot-on; |
| 229 | }; |
| 230 | |
| 231 | smps45_reg: smps45 { |
| 232 | /* VDD_DSPEVE, VDD_IVA, VDD_GPU */ |
| 233 | regulator-name = "smps45"; |
| 234 | regulator-min-microvolt = < 850000>; |
| 235 | regulator-max-microvolt = <1250000>; |
| 236 | regulator-always-on; |
| 237 | regulator-boot-on; |
| 238 | }; |
| 239 | |
| 240 | smps6_reg: smps6 { |
| 241 | /* VDD_CORE */ |
| 242 | regulator-name = "smps6"; |
| 243 | regulator-min-microvolt = <850000>; |
| 244 | regulator-max-microvolt = <1150000>; |
| 245 | regulator-always-on; |
| 246 | regulator-boot-on; |
| 247 | }; |
| 248 | |
| 249 | /* SMPS7 unused */ |
| 250 | |
| 251 | smps8_reg: smps8 { |
| 252 | /* VDD_1V8 */ |
| 253 | regulator-name = "smps8"; |
| 254 | regulator-min-microvolt = <1800000>; |
| 255 | regulator-max-microvolt = <1800000>; |
| 256 | regulator-always-on; |
| 257 | regulator-boot-on; |
| 258 | }; |
| 259 | |
| 260 | /* SMPS9 unused */ |
| 261 | |
| 262 | ldo1_reg: ldo1 { |
| 263 | /* VDD_SD / VDDSHV8 */ |
| 264 | regulator-name = "ldo1"; |
| 265 | regulator-min-microvolt = <1800000>; |
| 266 | regulator-max-microvolt = <3300000>; |
| 267 | regulator-boot-on; |
| 268 | regulator-always-on; |
| 269 | }; |
| 270 | |
| 271 | ldo2_reg: ldo2 { |
| 272 | /* VDD_SHV5 */ |
| 273 | regulator-name = "ldo2"; |
| 274 | regulator-min-microvolt = <3300000>; |
| 275 | regulator-max-microvolt = <3300000>; |
| 276 | regulator-always-on; |
| 277 | regulator-boot-on; |
| 278 | }; |
| 279 | |
| 280 | ldo3_reg: ldo3 { |
| 281 | /* VDDA_1V8_PHYA */ |
| 282 | regulator-name = "ldo3"; |
| 283 | regulator-min-microvolt = <1800000>; |
| 284 | regulator-max-microvolt = <1800000>; |
| 285 | regulator-always-on; |
| 286 | regulator-boot-on; |
| 287 | }; |
| 288 | |
| 289 | ldo4_reg: ldo4 { |
| 290 | /* VDDA_1V8_PHYB */ |
| 291 | regulator-name = "ldo4"; |
| 292 | regulator-min-microvolt = <1800000>; |
| 293 | regulator-max-microvolt = <1800000>; |
| 294 | regulator-always-on; |
| 295 | regulator-boot-on; |
| 296 | }; |
| 297 | |
| 298 | ldo9_reg: ldo9 { |
| 299 | /* VDD_RTC */ |
| 300 | regulator-name = "ldo9"; |
| 301 | regulator-min-microvolt = <1050000>; |
| 302 | regulator-max-microvolt = <1050000>; |
| 303 | regulator-always-on; |
| 304 | regulator-boot-on; |
| 305 | }; |
| 306 | |
| 307 | ldoln_reg: ldoln { |
| 308 | /* VDDA_1V8_PLL */ |
| 309 | regulator-name = "ldoln"; |
| 310 | regulator-min-microvolt = <1800000>; |
| 311 | regulator-max-microvolt = <1800000>; |
| 312 | regulator-always-on; |
| 313 | regulator-boot-on; |
| 314 | }; |
| 315 | |
| 316 | ldousb_reg: ldousb { |
| 317 | /* VDDA_3V_USB: VDDA_USBHS33 */ |
| 318 | regulator-name = "ldousb"; |
| 319 | regulator-min-microvolt = <3300000>; |
| 320 | regulator-max-microvolt = <3300000>; |
| 321 | regulator-boot-on; |
| 322 | }; |
| 323 | |
| 324 | regen1: regen1 { |
| 325 | /* VDD_3V3_ON */ |
| 326 | regulator-name = "regen1"; |
| 327 | regulator-boot-on; |
| 328 | regulator-always-on; |
| 329 | }; |
| 330 | }; |
| 331 | }; |
| 332 | |
| 333 | tps659038_rtc: tps659038_rtc { |
| 334 | compatible = "ti,palmas-rtc"; |
| 335 | interrupt-parent = <&tps659038>; |
| 336 | interrupts = <8 IRQ_TYPE_EDGE_FALLING>; |
| 337 | wakeup-source; |
| 338 | }; |
| 339 | |
| 340 | tps659038_pwr_button: tps659038_pwr_button { |
| 341 | compatible = "ti,palmas-pwrbutton"; |
| 342 | interrupt-parent = <&tps659038>; |
| 343 | interrupts = <1 IRQ_TYPE_EDGE_FALLING>; |
| 344 | wakeup-source; |
| 345 | ti,palmas-long-press-seconds = <12>; |
| 346 | }; |
| 347 | |
| 348 | tps659038_gpio: tps659038_gpio { |
| 349 | compatible = "ti,palmas-gpio"; |
| 350 | gpio-controller; |
| 351 | #gpio-cells = <2>; |
| 352 | }; |
| 353 | |
| 354 | extcon_usb2: tps659038_usb { |
| 355 | compatible = "ti,palmas-usb-vid"; |
| 356 | ti,enable-vbus-detection; |
| 357 | vbus-gpio = <&gpio4 21 GPIO_ACTIVE_HIGH>; |
| 358 | }; |
| 359 | |
| 360 | }; |
| 361 | |
| 362 | tmp102: tmp102@48 { |
| 363 | compatible = "ti,tmp102"; |
| 364 | reg = <0x48>; |
| 365 | interrupt-parent = <&gpio7>; |
| 366 | interrupts = <16 IRQ_TYPE_LEVEL_LOW>; |
| 367 | #thermal-sensor-cells = <1>; |
| 368 | }; |
| 369 | |
| 370 | tlv320aic3104: tlv320aic3104@18 { |
| 371 | #sound-dai-cells = <0>; |
| 372 | compatible = "ti,tlv320aic3104"; |
| 373 | reg = <0x18>; |
| 374 | assigned-clocks = <&clkoutmux2_clk_mux>; |
| 375 | assigned-clock-parents = <&sys_clk2_dclk_div>; |
| 376 | |
| 377 | status = "okay"; |
| 378 | adc-settle-ms = <40>; |
| 379 | |
| 380 | AVDD-supply = <&vdd_3v3>; |
| 381 | IOVDD-supply = <&vdd_3v3>; |
| 382 | DRVDD-supply = <&vdd_3v3>; |
| 383 | DVDD-supply = <&aic_dvdd>; |
| 384 | }; |
| 385 | |
| 386 | eeprom: eeprom@50 { |
| 387 | compatible = "at,24c32"; |
| 388 | reg = <0x50>; |
| 389 | }; |
| 390 | }; |
| 391 | |
| 392 | &i2c3 { |
| 393 | status = "okay"; |
| 394 | clock-frequency = <400000>; |
| 395 | |
| 396 | mcp_rtc: rtc@6f { |
| 397 | compatible = "microchip,mcp7941x"; |
| 398 | reg = <0x6f>; |
| 399 | interrupts-extended = <&crossbar_mpu GIC_SPI 2 IRQ_TYPE_EDGE_RISING>, |
| 400 | <&dra7_pmx_core 0x424>; |
| 401 | interrupt-names = "irq", "wakeup"; |
| 402 | |
| 403 | vcc-supply = <&vdd_3v3>; |
| 404 | wakeup-source; |
| 405 | }; |
| 406 | }; |
| 407 | |
| 408 | &gpio7 { |
| 409 | ti,no-reset-on-init; |
| 410 | ti,no-idle-on-init; |
| 411 | }; |
| 412 | |
| 413 | &cpu0 { |
| 414 | cpu0-supply = <&smps12_reg>; |
| 415 | voltage-tolerance = <1>; |
| 416 | }; |
| 417 | |
| 418 | &uart3 { |
| 419 | status = "okay"; |
| 420 | interrupts-extended = <&crossbar_mpu GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>, |
| 421 | <&dra7_pmx_core 0x3f8>; |
| 422 | }; |
| 423 | |
Grygorii Strashko | 52349a2 | 2017-01-12 11:14:29 -0600 | [diff] [blame] | 424 | &davinci_mdio { |
| 425 | phy0: ethernet-phy@1 { |
| 426 | reg = <1>; |
| 427 | }; |
| 428 | |
| 429 | phy1: ethernet-phy@2 { |
| 430 | reg = <2>; |
| 431 | }; |
| 432 | }; |
| 433 | |
Nishanth Menon | 0af28cc | 2016-09-02 12:14:45 -0500 | [diff] [blame] | 434 | &mac { |
| 435 | status = "okay"; |
| 436 | dual_emac; |
| 437 | }; |
| 438 | |
| 439 | &cpsw_emac0 { |
Grygorii Strashko | 52349a2 | 2017-01-12 11:14:29 -0600 | [diff] [blame] | 440 | phy-handle = <&phy0>; |
Nishanth Menon | 0af28cc | 2016-09-02 12:14:45 -0500 | [diff] [blame] | 441 | phy-mode = "rgmii"; |
| 442 | dual_emac_res_vlan = <1>; |
| 443 | }; |
| 444 | |
| 445 | &cpsw_emac1 { |
Grygorii Strashko | 52349a2 | 2017-01-12 11:14:29 -0600 | [diff] [blame] | 446 | phy-handle = <&phy1>; |
Nishanth Menon | 0af28cc | 2016-09-02 12:14:45 -0500 | [diff] [blame] | 447 | phy-mode = "rgmii"; |
| 448 | dual_emac_res_vlan = <2>; |
| 449 | }; |
| 450 | |
| 451 | &mmc1 { |
| 452 | status = "okay"; |
| 453 | |
| 454 | pinctrl-names = "default"; |
| 455 | pinctrl-0 = <&mmc1_pins_default>; |
| 456 | |
| 457 | bus-width = <4>; |
| 458 | cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; /* gpio 219 */ |
| 459 | }; |
| 460 | |
| 461 | &mmc2 { |
| 462 | status = "okay"; |
| 463 | |
| 464 | pinctrl-names = "default"; |
Nishanth Menon | 0574cb1 | 2016-09-15 14:10:59 -0500 | [diff] [blame] | 465 | pinctrl-0 = <&mmc2_pins_default>; |
Nishanth Menon | 0af28cc | 2016-09-02 12:14:45 -0500 | [diff] [blame] | 466 | |
| 467 | vmmc-supply = <&vdd_3v3>; |
| 468 | bus-width = <8>; |
| 469 | ti,non-removable; |
| 470 | cap-mmc-dual-data-rate; |
| 471 | }; |
| 472 | |
| 473 | &sata { |
| 474 | status = "okay"; |
| 475 | }; |
| 476 | |
| 477 | &usb2_phy1 { |
| 478 | phy-supply = <&ldousb_reg>; |
| 479 | }; |
| 480 | |
| 481 | &usb2_phy2 { |
| 482 | phy-supply = <&ldousb_reg>; |
| 483 | }; |
| 484 | |
| 485 | &usb1 { |
| 486 | dr_mode = "host"; |
| 487 | }; |
| 488 | |
| 489 | &omap_dwc3_2 { |
| 490 | extcon = <&extcon_usb2>; |
| 491 | }; |
| 492 | |
| 493 | &usb2 { |
| 494 | /* |
| 495 | * Stand alone usage is peripheral only. |
| 496 | * However, with some resistor modifications |
| 497 | * this port can be used via expansion connectors |
| 498 | * as "host" or "dual-role". If so, provide |
| 499 | * the necessary dr_mode override in the expansion |
| 500 | * board's DT. |
| 501 | */ |
| 502 | dr_mode = "peripheral"; |
| 503 | }; |
| 504 | |
| 505 | &cpu_trips { |
| 506 | cpu_alert1: cpu_alert1 { |
| 507 | temperature = <50000>; /* millicelsius */ |
| 508 | hysteresis = <2000>; /* millicelsius */ |
| 509 | type = "active"; |
| 510 | }; |
| 511 | }; |
| 512 | |
| 513 | &cpu_cooling_maps { |
| 514 | map1 { |
| 515 | trip = <&cpu_alert1>; |
| 516 | cooling-device = <&gpio_fan THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
| 517 | }; |
| 518 | }; |
| 519 | |
| 520 | &thermal_zones { |
| 521 | board_thermal: board_thermal { |
| 522 | polling-delay-passive = <1250>; /* milliseconds */ |
| 523 | polling-delay = <1500>; /* milliseconds */ |
| 524 | |
| 525 | /* sensor ID */ |
| 526 | thermal-sensors = <&tmp102 0>; |
| 527 | |
| 528 | board_trips: trips { |
| 529 | board_alert0: board_alert { |
| 530 | temperature = <40000>; /* millicelsius */ |
| 531 | hysteresis = <2000>; /* millicelsius */ |
| 532 | type = "active"; |
| 533 | }; |
| 534 | |
| 535 | board_crit: board_crit { |
| 536 | temperature = <105000>; /* millicelsius */ |
| 537 | hysteresis = <0>; /* millicelsius */ |
| 538 | type = "critical"; |
| 539 | }; |
| 540 | }; |
| 541 | |
| 542 | board_cooling_maps: cooling-maps { |
| 543 | map0 { |
| 544 | trip = <&board_alert0>; |
| 545 | cooling-device = |
| 546 | <&gpio_fan THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
| 547 | }; |
| 548 | }; |
| 549 | }; |
| 550 | }; |
| 551 | |
| 552 | &dss { |
| 553 | status = "ok"; |
| 554 | |
| 555 | vdda_video-supply = <&ldoln_reg>; |
| 556 | }; |
| 557 | |
| 558 | &hdmi { |
| 559 | status = "ok"; |
| 560 | vdda-supply = <&ldo4_reg>; |
| 561 | |
| 562 | port { |
| 563 | hdmi_out: endpoint { |
| 564 | remote-endpoint = <&tpd12s015_in>; |
| 565 | }; |
| 566 | }; |
| 567 | }; |
| 568 | |
| 569 | &pcie1 { |
| 570 | gpios = <&gpio2 8 GPIO_ACTIVE_LOW>; |
| 571 | }; |
| 572 | |
| 573 | &mcasp3 { |
| 574 | #sound-dai-cells = <0>; |
| 575 | assigned-clocks = <&mcasp3_ahclkx_mux>; |
| 576 | assigned-clock-parents = <&sys_clkin2>; |
| 577 | status = "okay"; |
| 578 | |
| 579 | op-mode = <0>; /* MCASP_IIS_MODE */ |
| 580 | tdm-slots = <2>; |
| 581 | /* 4 serializers */ |
| 582 | serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */ |
| 583 | 1 2 0 0 |
| 584 | >; |
| 585 | tx-num-evt = <32>; |
| 586 | rx-num-evt = <32>; |
| 587 | }; |
| 588 | |
| 589 | &mailbox5 { |
| 590 | status = "okay"; |
| 591 | mbox_ipu1_ipc3x: mbox_ipu1_ipc3x { |
| 592 | status = "okay"; |
| 593 | }; |
| 594 | mbox_dsp1_ipc3x: mbox_dsp1_ipc3x { |
| 595 | status = "okay"; |
| 596 | }; |
| 597 | }; |
| 598 | |
| 599 | &mailbox6 { |
| 600 | status = "okay"; |
| 601 | mbox_ipu2_ipc3x: mbox_ipu2_ipc3x { |
| 602 | status = "okay"; |
| 603 | }; |
| 604 | mbox_dsp2_ipc3x: mbox_dsp2_ipc3x { |
| 605 | status = "okay"; |
| 606 | }; |
| 607 | }; |