Merge remote-tracking branches 'asoc/fix/tlv320aic3x' and 'asoc/fix/wm8962' into...
[linux-drm-fsl-dcu.git] / arch / arm / boot / dts / am57xx-beagle-x15.dts
1 /*
2  * Copyright (C) 2014 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 <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/interrupt-controller/irq.h>
13
14 / {
15         model = "TI AM5728 BeagleBoard-X15";
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 {
26                 device_type = "memory";
27                 reg = <0x80000000 0x80000000>;
28         };
29
30         vdd_3v3: fixedregulator-vdd_3v3 {
31                 compatible = "regulator-fixed";
32                 regulator-name = "vdd_3v3";
33                 vin-supply = <&regen1>;
34                 regulator-min-microvolt = <3300000>;
35                 regulator-max-microvolt = <3300000>;
36         };
37
38         vtt_fixed: fixedregulator-vtt {
39                 /* TPS51200 */
40                 compatible = "regulator-fixed";
41                 regulator-name = "vtt_fixed";
42                 vin-supply = <&smps3_reg>;
43                 regulator-min-microvolt = <3300000>;
44                 regulator-max-microvolt = <3300000>;
45                 regulator-always-on;
46                 regulator-boot-on;
47                 enable-active-high;
48                 gpio = <&gpio7 11 GPIO_ACTIVE_HIGH>;
49         };
50
51         leds {
52                 compatible = "gpio-leds";
53                 pinctrl-names = "default";
54                 pinctrl-0 = <&leds_pins_default>;
55
56                 led@0 {
57                         label = "beagle-x15:usr0";
58                         gpios = <&gpio7 9 GPIO_ACTIVE_HIGH>;
59                         linux,default-trigger = "heartbeat";
60                         default-state = "off";
61                 };
62
63                 led@1 {
64                         label = "beagle-x15:usr1";
65                         gpios = <&gpio7 8 GPIO_ACTIVE_HIGH>;
66                         linux,default-trigger = "cpu0";
67                         default-state = "off";
68                 };
69
70                 led@2 {
71                         label = "beagle-x15:usr2";
72                         gpios = <&gpio7 14 GPIO_ACTIVE_HIGH>;
73                         linux,default-trigger = "mmc0";
74                         default-state = "off";
75                 };
76
77                 led@3 {
78                         label = "beagle-x15:usr3";
79                         gpios = <&gpio7 15 GPIO_ACTIVE_HIGH>;
80                         linux,default-trigger = "ide-disk";
81                         default-state = "off";
82                 };
83         };
84
85         gpio_fan: gpio_fan {
86                 /* Based on 5v 500mA AFB02505HHB */
87                 compatible = "gpio-fan";
88                 gpios =  <&tps659038_gpio 2 GPIO_ACTIVE_HIGH>;
89                 gpio-fan,speed-map = <0     0>,
90                                      <13000 1>;
91                 #cooling-cells = <2>;
92         };
93
94         extcon_usb1: extcon_usb1 {
95                 compatible = "linux,extcon-usb-gpio";
96                 id-gpio = <&gpio7 25 GPIO_ACTIVE_HIGH>;
97                 pinctrl-names = "default";
98                 pinctrl-0 = <&extcon_usb1_pins>;
99         };
100
101         hdmi0: connector {
102                 compatible = "hdmi-connector";
103                 label = "hdmi";
104
105                 type = "a";
106
107                 port {
108                         hdmi_connector_in: endpoint {
109                                 remote-endpoint = <&tpd12s015_out>;
110                         };
111                 };
112         };
113
114         tpd12s015: encoder {
115                 compatible = "ti,tpd12s015";
116
117                 pinctrl-names = "default";
118                 pinctrl-0 = <&tpd12s015_pins>;
119
120                 gpios = <&gpio7 10 GPIO_ACTIVE_HIGH>,   /* gpio7_10, CT CP HPD */
121                         <&gpio6 28 GPIO_ACTIVE_HIGH>,   /* gpio6_28, LS OE */
122                         <&gpio7 12 GPIO_ACTIVE_HIGH>;   /* gpio7_12/sp1_cs2, HPD */
123
124                 ports {
125                         #address-cells = <1>;
126                         #size-cells = <0>;
127
128                         port@0 {
129                                 reg = <0>;
130
131                                 tpd12s015_in: endpoint {
132                                         remote-endpoint = <&hdmi_out>;
133                                 };
134                         };
135
136                         port@1 {
137                                 reg = <1>;
138
139                                 tpd12s015_out: endpoint {
140                                         remote-endpoint = <&hdmi_connector_in>;
141                                 };
142                         };
143                 };
144         };
145 };
146
147 &dra7_pmx_core {
148         leds_pins_default: leds_pins_default {
149                 pinctrl-single,pins = <
150                         0x3a8 (PIN_OUTPUT | MUX_MODE14) /* spi1_d1.gpio7_8 */
151                         0x3ac (PIN_OUTPUT | MUX_MODE14) /* spi1_d0.gpio7_9 */
152                         0x3c0 (PIN_OUTPUT | MUX_MODE14) /* spi2_sclk.gpio7_14 */
153                         0x3c4 (PIN_OUTPUT | MUX_MODE14) /* spi2_d1.gpio7_15 */
154                 >;
155         };
156
157         i2c1_pins_default: i2c1_pins_default {
158                 pinctrl-single,pins = <
159                         0x400 (PIN_INPUT_PULLUP | MUX_MODE0)    /* i2c1_sda.sda */
160                         0x404 (PIN_INPUT_PULLUP | MUX_MODE0)    /* i2c1_scl.scl */
161                 >;
162         };
163
164         hdmi_pins: pinmux_hdmi_pins {
165                 pinctrl-single,pins = <
166                         0x408 (PIN_INPUT | MUX_MODE1)   /* i2c2_sda.hdmi1_ddc_scl */
167                         0x40c (PIN_INPUT | MUX_MODE1)   /* i2c2_scl.hdmi1_ddc_sda */
168                 >;
169         };
170
171         i2c3_pins_default: i2c3_pins_default {
172                 pinctrl-single,pins = <
173                         0x2a4 (PIN_INPUT| MUX_MODE10)   /* mcasp1_aclkx.i2c3_sda */
174                         0x2a8 (PIN_INPUT| MUX_MODE10)   /* mcasp1_fsx.i2c3_scl */
175                 >;
176         };
177
178         uart3_pins_default: uart3_pins_default {
179                 pinctrl-single,pins = <
180                         0x3f8 (PIN_INPUT_SLEW | MUX_MODE2) /* uart2_ctsn.uart3_rxd */
181                         0x3fc (PIN_INPUT_SLEW | MUX_MODE1) /* uart2_rtsn.uart3_txd */
182                 >;
183         };
184
185         mmc1_pins_default: mmc1_pins_default {
186                 pinctrl-single,pins = <
187                         0x36c (PIN_INPUT | MUX_MODE14)  /* mmc1sdcd.gpio219 */
188                         0x354 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_clk.clk */
189                         0x358 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_cmd.cmd */
190                         0x35c (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat0.dat0 */
191                         0x360 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat1.dat1 */
192                         0x364 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat2.dat2 */
193                         0x368 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat3.dat3 */
194                 >;
195         };
196
197         mmc2_pins_default: mmc2_pins_default {
198                 pinctrl-single,pins = <
199                         0x9c (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a23.mmc2_clk */
200                         0xb0 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_cs1.mmc2_cmd */
201                         0xa0 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a24.mmc2_dat0 */
202                         0xa4 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a25.mmc2_dat1 */
203                         0xa8 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a26.mmc2_dat2 */
204                         0xac (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a27.mmc2_dat3 */
205                         0x8c (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a19.mmc2_dat4 */
206                         0x90 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a20.mmc2_dat5 */
207                         0x94 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a21.mmc2_dat6 */
208                         0x98 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a22.mmc2_dat7 */
209                 >;
210         };
211
212         cpsw_pins_default: cpsw_pins_default {
213                 pinctrl-single,pins = <
214                         /* Slave 1 */
215                         0x250 (PIN_OUTPUT | MUX_MODE0)  /* rgmii1_tclk */
216                         0x254 (PIN_OUTPUT | MUX_MODE0)  /* rgmii1_tctl */
217                         0x258 (PIN_OUTPUT | MUX_MODE0)  /* rgmii1_td3 */
218                         0x25c (PIN_OUTPUT | MUX_MODE0)  /* rgmii1_td2 */
219                         0x260 (PIN_OUTPUT | MUX_MODE0)  /* rgmii1_td1 */
220                         0x264 (PIN_OUTPUT | MUX_MODE0)  /* rgmii1_td0 */
221                         0x268 (PIN_INPUT | MUX_MODE0)   /* rgmii1_rclk */
222                         0x26c (PIN_INPUT | MUX_MODE0)   /* rgmii1_rctl */
223                         0x270 (PIN_INPUT | MUX_MODE0)   /* rgmii1_rd3 */
224                         0x274 (PIN_INPUT | MUX_MODE0)   /* rgmii1_rd2 */
225                         0x278 (PIN_INPUT | MUX_MODE0)   /* rgmii1_rd1 */
226                         0x27c (PIN_INPUT | MUX_MODE0)   /* rgmii1_rd0 */
227
228                         /* Slave 2 */
229                         0x198 (PIN_OUTPUT | MUX_MODE3)  /* rgmii2_tclk */
230                         0x19c (PIN_OUTPUT | MUX_MODE3)  /* rgmii2_tctl */
231                         0x1a0 (PIN_OUTPUT | MUX_MODE3)  /* rgmii2_td3 */
232                         0x1a4 (PIN_OUTPUT | MUX_MODE3)  /* rgmii2_td2 */
233                         0x1a8 (PIN_OUTPUT | MUX_MODE3)  /* rgmii2_td1 */
234                         0x1ac (PIN_OUTPUT | MUX_MODE3)  /* rgmii2_td0 */
235                         0x1b0 (PIN_INPUT | MUX_MODE3)   /* rgmii2_rclk */
236                         0x1b4 (PIN_INPUT | MUX_MODE3)   /* rgmii2_rctl */
237                         0x1b8 (PIN_INPUT | MUX_MODE3)   /* rgmii2_rd3 */
238                         0x1bc (PIN_INPUT | MUX_MODE3)   /* rgmii2_rd2 */
239                         0x1c0 (PIN_INPUT | MUX_MODE3)   /* rgmii2_rd1 */
240                         0x1c4 (PIN_INPUT | MUX_MODE3)   /* rgmii2_rd0 */
241                 >;
242
243         };
244
245         cpsw_pins_sleep: cpsw_pins_sleep {
246                 pinctrl-single,pins = <
247                         /* Slave 1 */
248                         0x250 (PIN_INPUT | MUX_MODE15)
249                         0x254 (PIN_INPUT | MUX_MODE15)
250                         0x258 (PIN_INPUT | MUX_MODE15)
251                         0x25c (PIN_INPUT | MUX_MODE15)
252                         0x260 (PIN_INPUT | MUX_MODE15)
253                         0x264 (PIN_INPUT | MUX_MODE15)
254                         0x268 (PIN_INPUT | MUX_MODE15)
255                         0x26c (PIN_INPUT | MUX_MODE15)
256                         0x270 (PIN_INPUT | MUX_MODE15)
257                         0x274 (PIN_INPUT | MUX_MODE15)
258                         0x278 (PIN_INPUT | MUX_MODE15)
259                         0x27c (PIN_INPUT | MUX_MODE15)
260
261                         /* Slave 2 */
262                         0x198 (PIN_INPUT | MUX_MODE15)
263                         0x19c (PIN_INPUT | MUX_MODE15)
264                         0x1a0 (PIN_INPUT | MUX_MODE15)
265                         0x1a4 (PIN_INPUT | MUX_MODE15)
266                         0x1a8 (PIN_INPUT | MUX_MODE15)
267                         0x1ac (PIN_INPUT | MUX_MODE15)
268                         0x1b0 (PIN_INPUT | MUX_MODE15)
269                         0x1b4 (PIN_INPUT | MUX_MODE15)
270                         0x1b8 (PIN_INPUT | MUX_MODE15)
271                         0x1bc (PIN_INPUT | MUX_MODE15)
272                         0x1c0 (PIN_INPUT | MUX_MODE15)
273                         0x1c4 (PIN_INPUT | MUX_MODE15)
274                 >;
275         };
276
277         davinci_mdio_pins_default: davinci_mdio_pins_default {
278                 pinctrl-single,pins = <
279                         /* MDIO */
280                         0x23c (PIN_OUTPUT_PULLUP | MUX_MODE0)   /* mdio_mclk */
281                         0x240 (PIN_INPUT_PULLUP | MUX_MODE0)    /* mdio_d */
282                 >;
283         };
284
285         davinci_mdio_pins_sleep: davinci_mdio_pins_sleep {
286                 pinctrl-single,pins = <
287                         0x23c (PIN_INPUT | MUX_MODE15)
288                         0x240 (PIN_INPUT | MUX_MODE15)
289                 >;
290         };
291
292         tps659038_pins_default: tps659038_pins_default {
293                 pinctrl-single,pins = <
294                         0x418 (PIN_INPUT_PULLUP | MUX_MODE14)   /* wakeup0.gpio1_0 */
295                 >;
296         };
297
298         tmp102_pins_default: tmp102_pins_default {
299                 pinctrl-single,pins = <
300                         0x3C8 (PIN_INPUT_PULLUP | MUX_MODE14)   /* spi2_d0.gpio7_16 */
301                 >;
302         };
303
304         mcp79410_pins_default: mcp79410_pins_default {
305                 pinctrl-single,pins = <
306                         0x424 (PIN_INPUT_PULLUP | MUX_MODE1)    /* wakeup3.sys_nirq1 */
307                 >;
308         };
309
310         usb1_pins: pinmux_usb1_pins {
311                 pinctrl-single,pins = <
312                         0x280 (PIN_INPUT_SLEW | MUX_MODE0) /* usb1_drvvbus */
313                 >;
314         };
315
316         extcon_usb1_pins: extcon_usb1_pins {
317                 pinctrl-single,pins = <
318                         0x3ec (PIN_INPUT_PULLUP | MUX_MODE14) /* uart1_rtsn.gpio7_25 */
319                 >;
320         };
321
322         tpd12s015_pins: pinmux_tpd12s015_pins {
323                 pinctrl-single,pins = <
324                         0x3b0 (PIN_OUTPUT | MUX_MODE14)         /* gpio7_10 CT_CP_HPD */
325                         0x3b8 (PIN_INPUT_PULLDOWN | MUX_MODE14) /* gpio7_12 HPD */
326                         0x370 (PIN_OUTPUT | MUX_MODE14)         /* gpio6_28 LS_OE */
327                 >;
328         };
329 };
330
331 &i2c1 {
332         status = "okay";
333         pinctrl-names = "default";
334         pinctrl-0 = <&i2c1_pins_default>;
335         clock-frequency = <400000>;
336
337         tps659038: tps659038@58 {
338                 compatible = "ti,tps659038";
339                 reg = <0x58>;
340                 interrupt-parent = <&gpio1>;
341                 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
342
343                 pinctrl-names = "default";
344                 pinctrl-0 = <&tps659038_pins_default>;
345
346                 #interrupt-cells = <2>;
347                 interrupt-controller;
348
349                 ti,system-power-controller;
350
351                 tps659038_pmic {
352                         compatible = "ti,tps659038-pmic";
353
354                         regulators {
355                                 smps12_reg: smps12 {
356                                         /* VDD_MPU */
357                                         regulator-name = "smps12";
358                                         regulator-min-microvolt = < 850000>;
359                                         regulator-max-microvolt = <1250000>;
360                                         regulator-always-on;
361                                         regulator-boot-on;
362                                 };
363
364                                 smps3_reg: smps3 {
365                                         /* VDD_DDR */
366                                         regulator-name = "smps3";
367                                         regulator-min-microvolt = <1350000>;
368                                         regulator-max-microvolt = <1350000>;
369                                         regulator-always-on;
370                                         regulator-boot-on;
371                                 };
372
373                                 smps45_reg: smps45 {
374                                         /* VDD_DSPEVE, VDD_IVA, VDD_GPU */
375                                         regulator-name = "smps45";
376                                         regulator-min-microvolt = < 850000>;
377                                         regulator-max-microvolt = <1150000>;
378                                         regulator-always-on;
379                                         regulator-boot-on;
380                                 };
381
382                                 smps6_reg: smps6 {
383                                         /* VDD_CORE */
384                                         regulator-name = "smps6";
385                                         regulator-min-microvolt = <850000>;
386                                         regulator-max-microvolt = <1030000>;
387                                         regulator-always-on;
388                                         regulator-boot-on;
389                                 };
390
391                                 /* SMPS7 unused */
392
393                                 smps8_reg: smps8 {
394                                         /* VDD_1V8 */
395                                         regulator-name = "smps8";
396                                         regulator-min-microvolt = <1800000>;
397                                         regulator-max-microvolt = <1800000>;
398                                         regulator-always-on;
399                                         regulator-boot-on;
400                                 };
401
402                                 /* SMPS9 unused */
403
404                                 ldo1_reg: ldo1 {
405                                         /* VDD_SD  */
406                                         regulator-name = "ldo1";
407                                         regulator-min-microvolt = <1800000>;
408                                         regulator-max-microvolt = <3300000>;
409                                         regulator-boot-on;
410                                 };
411
412                                 ldo2_reg: ldo2 {
413                                         /* VDD_SHV5 */
414                                         regulator-name = "ldo2";
415                                         regulator-min-microvolt = <3300000>;
416                                         regulator-max-microvolt = <3300000>;
417                                         regulator-always-on;
418                                         regulator-boot-on;
419                                 };
420
421                                 ldo3_reg: ldo3 {
422                                         /* VDDA_1V8_PHYA */
423                                         regulator-name = "ldo3";
424                                         regulator-min-microvolt = <1800000>;
425                                         regulator-max-microvolt = <1800000>;
426                                         regulator-always-on;
427                                         regulator-boot-on;
428                                 };
429
430                                 ldo4_reg: ldo4 {
431                                         /* VDDA_1V8_PHYB */
432                                         regulator-name = "ldo4";
433                                         regulator-min-microvolt = <1800000>;
434                                         regulator-max-microvolt = <1800000>;
435                                         regulator-always-on;
436                                         regulator-boot-on;
437                                 };
438
439                                 ldo9_reg: ldo9 {
440                                         /* VDD_RTC */
441                                         regulator-name = "ldo9";
442                                         regulator-min-microvolt = <1050000>;
443                                         regulator-max-microvolt = <1050000>;
444                                         regulator-always-on;
445                                         regulator-boot-on;
446                                 };
447
448                                 ldoln_reg: ldoln {
449                                         /* VDDA_1V8_PLL */
450                                         regulator-name = "ldoln";
451                                         regulator-min-microvolt = <1800000>;
452                                         regulator-max-microvolt = <1800000>;
453                                         regulator-always-on;
454                                         regulator-boot-on;
455                                 };
456
457                                 ldousb_reg: ldousb {
458                                         /* VDDA_3V_USB: VDDA_USBHS33 */
459                                         regulator-name = "ldousb";
460                                         regulator-min-microvolt = <3300000>;
461                                         regulator-max-microvolt = <3300000>;
462                                         regulator-boot-on;
463                                 };
464
465                                 regen1: regen1 {
466                                         /* VDD_3V3_ON */
467                                         regulator-name = "regen1";
468                                         regulator-boot-on;
469                                         regulator-always-on;
470                                 };
471                         };
472                 };
473
474                 tps659038_rtc: tps659038_rtc {
475                         compatible = "ti,palmas-rtc";
476                         interrupt-parent = <&tps659038>;
477                         interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
478                         wakeup-source;
479                 };
480
481                 tps659038_pwr_button: tps659038_pwr_button {
482                         compatible = "ti,palmas-pwrbutton";
483                         interrupt-parent = <&tps659038>;
484                         interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
485                         wakeup-source;
486                         ti,palmas-long-press-seconds = <12>;
487                 };
488
489                 tps659038_gpio: tps659038_gpio {
490                         compatible = "ti,palmas-gpio";
491                         gpio-controller;
492                         #gpio-cells = <2>;
493                 };
494
495                 extcon_usb2: tps659038_usb {
496                         compatible = "ti,palmas-usb-vid";
497                         ti,enable-vbus-detection;
498                         ti,enable-id-detection;
499                         id-gpios = <&gpio7 24 GPIO_ACTIVE_HIGH>;
500                 };
501
502         };
503
504         tmp102: tmp102@48 {
505                 compatible = "ti,tmp102";
506                 reg = <0x48>;
507                 pinctrl-names = "default";
508                 pinctrl-0 = <&tmp102_pins_default>;
509                 interrupt-parent = <&gpio7>;
510                 interrupts = <16 IRQ_TYPE_LEVEL_LOW>;
511                 #thermal-sensor-cells = <1>;
512         };
513 };
514
515 &i2c3 {
516         status = "okay";
517         pinctrl-names = "default";
518         pinctrl-0 = <&i2c3_pins_default>;
519         clock-frequency = <400000>;
520
521         mcp_rtc: rtc@6f {
522                 compatible = "microchip,mcp7941x";
523                 reg = <0x6f>;
524                 interrupts-extended = <&crossbar_mpu GIC_SPI 2 IRQ_TYPE_EDGE_RISING>,
525                                       <&dra7_pmx_core 0x424>;
526
527                 pinctrl-names = "default";
528                 pinctrl-0 = <&mcp79410_pins_default>;
529
530                 vcc-supply = <&vdd_3v3>;
531                 wakeup-source;
532         };
533 };
534
535 &gpio7 {
536         ti,no-reset-on-init;
537         ti,no-idle-on-init;
538 };
539
540 &cpu0 {
541         cpu0-supply = <&smps12_reg>;
542         voltage-tolerance = <1>;
543 };
544
545 &uart3 {
546         status = "okay";
547         interrupts-extended = <&crossbar_mpu GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
548                               <&dra7_pmx_core 0x3f8>;
549
550         pinctrl-names = "default";
551         pinctrl-0 = <&uart3_pins_default>;
552 };
553
554 &mac {
555         status = "okay";
556         pinctrl-names = "default", "sleep";
557         pinctrl-0 = <&cpsw_pins_default>;
558         pinctrl-1 = <&cpsw_pins_sleep>;
559         dual_emac;
560 };
561
562 &cpsw_emac0 {
563         phy_id = <&davinci_mdio>, <1>;
564         phy-mode = "rgmii";
565         dual_emac_res_vlan = <1>;
566 };
567
568 &cpsw_emac1 {
569         phy_id = <&davinci_mdio>, <2>;
570         phy-mode = "rgmii";
571         dual_emac_res_vlan = <2>;
572 };
573
574 &davinci_mdio {
575         pinctrl-names = "default", "sleep";
576         pinctrl-0 = <&davinci_mdio_pins_default>;
577         pinctrl-1 = <&davinci_mdio_pins_sleep>;
578 };
579
580 &mmc1 {
581         status = "okay";
582
583         pinctrl-names = "default";
584         pinctrl-0 = <&mmc1_pins_default>;
585
586         vmmc-supply = <&ldo1_reg>;
587         bus-width = <4>;
588         cd-gpios = <&gpio6 27 0>; /* gpio 219 */
589 };
590
591 &mmc2 {
592         status = "okay";
593
594         pinctrl-names = "default";
595         pinctrl-0 = <&mmc2_pins_default>;
596
597         vmmc-supply = <&vdd_3v3>;
598         bus-width = <8>;
599         ti,non-removable;
600         cap-mmc-dual-data-rate;
601 };
602
603 &sata {
604         status = "okay";
605 };
606
607 &usb2_phy1 {
608         phy-supply = <&ldousb_reg>;
609 };
610
611 &usb2_phy2 {
612         phy-supply = <&ldousb_reg>;
613 };
614
615 &usb1 {
616         dr_mode = "host";
617         pinctrl-names = "default";
618         pinctrl-0 = <&usb1_pins>;
619 };
620
621 &omap_dwc3_1 {
622         extcon = <&extcon_usb1>;
623 };
624
625 &omap_dwc3_2 {
626         extcon = <&extcon_usb2>;
627 };
628
629 &usb2 {
630         /*
631          * Stand alone usage is peripheral only.
632          * However, with some resistor modifications
633          * this port can be used via expansion connectors
634          * as "host" or "dual-role". If so, provide
635          * the necessary dr_mode override in the expansion
636          * board's DT.
637          */
638         dr_mode = "peripheral";
639 };
640
641 &cpu_trips {
642         cpu_alert1: cpu_alert1 {
643                 temperature = <50000>; /* millicelsius */
644                 hysteresis = <2000>; /* millicelsius */
645                 type = "active";
646         };
647 };
648
649 &cpu_cooling_maps {
650         map1 {
651                 trip = <&cpu_alert1>;
652                 cooling-device = <&gpio_fan THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
653         };
654 };
655
656 &thermal_zones {
657         board_thermal: board_thermal {
658                 polling-delay-passive = <1250>; /* milliseconds */
659                 polling-delay = <1500>; /* milliseconds */
660
661                                 /* sensor       ID */
662                 thermal-sensors = <&tmp102     0>;
663
664                 board_trips: trips {
665                         board_alert0: board_alert {
666                                 temperature = <40000>; /* millicelsius */
667                                 hysteresis = <2000>; /* millicelsius */
668                                 type = "active";
669                         };
670
671                         board_crit: board_crit {
672                                 temperature = <105000>; /* millicelsius */
673                                 hysteresis = <0>; /* millicelsius */
674                                 type = "critical";
675                         };
676                 };
677
678                 board_cooling_maps: cooling-maps {
679                         map0 {
680                                 trip = <&board_alert0>;
681                                 cooling-device =
682                                   <&gpio_fan THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
683                         };
684                 };
685        };
686 };
687
688 &dss {
689         status = "ok";
690
691         vdda_video-supply = <&ldoln_reg>;
692 };
693
694 &hdmi {
695         status = "ok";
696         vdda-supply = <&ldo4_reg>;
697
698         pinctrl-names = "default";
699         pinctrl-0 = <&hdmi_pins>;
700
701         port {
702                 hdmi_out: endpoint {
703                         remote-endpoint = <&tpd12s015_in>;
704                 };
705         };
706 };
707
708 &pcie1 {
709         gpios = <&gpio2 8 GPIO_ACTIVE_LOW>;
710 };