]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - ti-linux-kernel/ti-linux-kernel.git/blob - arch/arm/boot/dts/am57xx-beagle-x15.dts
Merge tag 'v4.1.37' of http://git.kernel.org/pub/scm/linux/kernel/git/stable/linux...
[ti-linux-kernel/ti-linux-kernel.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/;
10 #include "dra74x.dtsi"
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/interrupt-controller/irq.h>
14 / {
15         model = "TI AM5728 BeagleBoard-X15";
16         compatible = "ti,am572x-beagle-x15", "ti,am5728", "ti,dra742", "ti,dra74", "ti,dra7";
18         aliases {
19                 rtc0 = &mcp_rtc;
20                 rtc1 = &tps659038_rtc;
21                 rtc2 = &rtc;
22                 display0 = &hdmi0;
24                 sound0 = &sound0;
25                 sound1 = &hdmi;
26         };
28         memory {
29                 device_type = "memory";
30                 reg = <0x0 0x80000000 0x0 0x80000000>;
31         };
33         reserved-memory {
34                 #address-cells = <2>;
35                 #size-cells = <2>;
36                 ranges;
38                 ipu2_cma_pool: ipu2_cma@95800000 {
39                         compatible = "shared-dma-pool";
40                         reg = <0x0 0x95800000 0x0 0x3800000>;
41                         reusable;
42                         status = "okay";
43                 };
45                 dsp1_cma_pool: dsp1_cma@99000000 {
46                         compatible = "shared-dma-pool";
47                         reg = <0x0 0x99000000 0x0 0x4000000>;
48                         reusable;
49                         status = "okay";
50                 };
52                 ipu1_cma_pool: ipu1_cma@9d000000 {
53                         compatible = "shared-dma-pool";
54                         reg = <0x0 0x9d000000 0x0 0x2000000>;
55                         reusable;
56                         status = "okay";
57                 };
59                 dsp2_cma_pool: dsp2_cma@9f000000 {
60                         compatible = "shared-dma-pool";
61                         reg = <0x0 0x9f000000 0x0 0x800000>;
62                         reusable;
63                         status = "okay";
64                 };
65         };
67         vdd_3v3: fixedregulator-vdd_3v3 {
68                 compatible = "regulator-fixed";
69                 regulator-name = "vdd_3v3";
70                 vin-supply = <&regen1>;
71                 regulator-min-microvolt = <3300000>;
72                 regulator-max-microvolt = <3300000>;
73         };
75         aic_dvdd: fixedregulator-aic_dvdd {
76                 compatible = "regulator-fixed";
77                 regulator-name = "aic_dvdd_fixed";
78                 vin-supply = <&vdd_3v3>;
79                 regulator-min-microvolt = <1800000>;
80                 regulator-max-microvolt = <1800000>;
81         };
83         vtt_fixed: fixedregulator-vtt {
84                 /* TPS51200 */
85                 compatible = "regulator-fixed";
86                 regulator-name = "vtt_fixed";
87                 vin-supply = <&smps3_reg>;
88                 regulator-min-microvolt = <3300000>;
89                 regulator-max-microvolt = <3300000>;
90                 regulator-always-on;
91                 regulator-boot-on;
92                 enable-active-high;
93                 gpio = <&gpio7 11 GPIO_ACTIVE_HIGH>;
94         };
96         leds {
97                 compatible = "gpio-leds";
98                 led@0 {
99                         label = "beagle-x15:usr0";
100                         gpios = <&gpio7 9 GPIO_ACTIVE_HIGH>;
101                         linux,default-trigger = "heartbeat";
102                         default-state = "off";
103                 };
105                 led@1 {
106                         label = "beagle-x15:usr1";
107                         gpios = <&gpio7 8 GPIO_ACTIVE_HIGH>;
108                         linux,default-trigger = "cpu0";
109                         default-state = "off";
110                 };
112                 led@2 {
113                         label = "beagle-x15:usr2";
114                         gpios = <&gpio7 14 GPIO_ACTIVE_HIGH>;
115                         linux,default-trigger = "mmc0";
116                         default-state = "off";
117                 };
119                 led@3 {
120                         label = "beagle-x15:usr3";
121                         gpios = <&gpio7 15 GPIO_ACTIVE_HIGH>;
122                         linux,default-trigger = "ide-disk";
123                         default-state = "off";
124                 };
125         };
127         gpio_fan: gpio_fan {
128                 /* Based on 5v 500mA AFB02505HHB */
129                 compatible = "gpio-fan";
130                 gpios =  <&tps659038_gpio 2 GPIO_ACTIVE_HIGH>;
131                 gpio-fan,speed-map = <0     0>,
132                                      <13000 1>;
133                 #cooling-cells = <2>;
134         };
136         extcon_usb1: extcon_usb1 {
137                 compatible = "linux,extcon-usb-gpio";
138                 id-gpio = <&gpio7 25 GPIO_ACTIVE_HIGH>;
139         };
141         hdmi0: connector {
142                 compatible = "hdmi-connector";
143                 label = "hdmi";
145                 type = "a";
147                 port {
148                         hdmi_connector_in: endpoint {
149                                 remote-endpoint = <&tpd12s015_out>;
150                         };
151                 };
152         };
154         tpd12s015: encoder {
155                 compatible = "ti,tpd12s015";
157                 gpios = <&gpio7 10 GPIO_ACTIVE_HIGH>,   /* gpio7_10, CT CP HPD */
158                         <&gpio6 28 GPIO_ACTIVE_HIGH>,   /* gpio6_28, LS OE */
159                         <&gpio7 12 GPIO_ACTIVE_HIGH>;   /* gpio7_12/sp1_cs2, HPD */
161                 ports {
162                         #address-cells = <1>;
163                         #size-cells = <0>;
165                         port@0 {
166                                 reg = <0>;
168                                 tpd12s015_in: endpoint {
169                                         remote-endpoint = <&hdmi_out>;
170                                 };
171                         };
173                         port@1 {
174                                 reg = <1>;
176                                 tpd12s015_out: endpoint {
177                                         remote-endpoint = <&hdmi_connector_in>;
178                                 };
179                         };
180                 };
181         };
183         sound0: sound@0 {
184                 compatible = "simple-audio-card";
185                 simple-audio-card,name = "BeagleBoard-X15";
186                 simple-audio-card,widgets =
187                         "Line", "Line Out",
188                         "Line", "Line In";
189                 simple-audio-card,routing =
190                         "Line Out",     "LLOUT",
191                         "Line Out",     "RLOUT",
192                         "MIC2L",        "Line In",
193                         "MIC2R",        "Line In";
194                 simple-audio-card,format = "dsp_b";
195                 simple-audio-card,bitclock-master = <&sound0_master>;
196                 simple-audio-card,frame-master = <&sound0_master>;
197                 simple-audio-card,bitclock-inversion;
199                 simple-audio-card,cpu {
200                         sound-dai = <&mcasp3>;
201                 };
203                 sound0_master: simple-audio-card,codec {
204                         sound-dai = <&tlv320aic3104>;
205                         clocks = <&clkout2_clk>;
206                 };
207         };
208 };
210 &dpll_dsp_ck {
211         assigned-clock-rates = <750000000>;
212 };
214 &dpll_dsp_m2_ck {
215         assigned-clock-rates = <750000000>;
216 };
218 &dpll_dsp_m3x2_ck {
219         assigned-clock-rates = <500000000>;
220 };
222 &dpll_iva_ck {
223         assigned-clock-rates = <1064000000>;
224 };
226 &dpll_iva_m2_ck {
227         assigned-clock-rates = <532000000>;
228 };
230 &dra7_pmx_core {
231         leds_pins_default: leds_pins_default {
232                 pinctrl-single,pins = <
233                         0x3a8 (PIN_OUTPUT | MUX_MODE14) /* spi1_d1.gpio7_8 */
234                         0x3ac (PIN_OUTPUT | MUX_MODE14) /* spi1_d0.gpio7_9 */
235                         0x3c0 (PIN_OUTPUT | MUX_MODE14) /* spi2_sclk.gpio7_14 */
236                         0x3c4 (PIN_OUTPUT | MUX_MODE14) /* spi2_d1.gpio7_15 */
237                 >;
238         };
240         i2c1_pins_default: i2c1_pins_default {
241                 pinctrl-single,pins = <
242                         0x400 (PIN_INPUT_PULLUP | MUX_MODE0)    /* i2c1_sda.sda */
243                         0x404 (PIN_INPUT_PULLUP | MUX_MODE0)    /* i2c1_scl.scl */
244                 >;
245         };
247         hdmi_pins: pinmux_hdmi_pins {
248                 pinctrl-single,pins = <
249                         0x408 (PIN_INPUT | MUX_MODE1)   /* i2c2_sda.hdmi1_ddc_scl */
250                         0x40c (PIN_INPUT | MUX_MODE1)   /* i2c2_scl.hdmi1_ddc_sda */
251                 >;
252         };
254         i2c3_pins_default: i2c3_pins_default {
255                 pinctrl-single,pins = <
256                         0x2a4 (PIN_INPUT| MUX_MODE10)   /* mcasp1_aclkx.i2c3_sda */
257                         0x2a8 (PIN_INPUT| MUX_MODE10)   /* mcasp1_fsx.i2c3_scl */
258                 >;
259         };
261         uart3_pins_default: uart3_pins_default {
262                 pinctrl-single,pins = <
263                         0x3f8 (PIN_INPUT_SLEW | MUX_MODE2) /* uart2_ctsn.uart3_rxd */
264                         0x3fc (PIN_INPUT_SLEW | MUX_MODE1) /* uart2_rtsn.uart3_txd */
265                 >;
266         };
268         mmc1_pins_default: mmc1_pins_default {
269                 pinctrl-single,pins = <
270                         0x36c (PIN_INPUT | MUX_MODE14)  /* mmc1sdcd.gpio219 */
271                         0x354 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_clk.clk */
272                         0x358 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_cmd.cmd */
273                         0x35c (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat0.dat0 */
274                         0x360 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat1.dat1 */
275                         0x364 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat2.dat2 */
276                         0x368 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat3.dat3 */
277                 >;
278         };
280         mmc1_pins_hs: pinmux_mmc1_hs_pins {
281                 pinctrl-single,pins = <
282                         0x354 (PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE11 | MUX_MODE0)       /* mmc1_clk.clk */
283                         0x358 (PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE11 | MUX_MODE0)       /* mmc1_cmd.cmd */
284                         0x35c (PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE11 | MUX_MODE0)       /* mmc1_dat0.dat0 */
285                         0x360 (PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE11 | MUX_MODE0)       /* mmc1_dat1.dat1 */
286                         0x364 (PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE11 | MUX_MODE0)       /* mmc1_dat2.dat2 */
287                         0x368 (PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE11 | MUX_MODE0)       /* mmc1_dat3.dat3 */
288                 >;
289         };
291         mmc2_pins_default: mmc2_pins_default {
292                 pinctrl-single,pins = <
293                         0x9c (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a23.mmc2_clk */
294                         0xb0 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_cs1.mmc2_cmd */
295                         0xa0 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a24.mmc2_dat0 */
296                         0xa4 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a25.mmc2_dat1 */
297                         0xa8 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a26.mmc2_dat2 */
298                         0xac (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a27.mmc2_dat3 */
299                         0x8c (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a19.mmc2_dat4 */
300                         0x90 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a20.mmc2_dat5 */
301                         0x94 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a21.mmc2_dat6 */
302                         0x98 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a22.mmc2_dat7 */
303                 >;
304         };
306         mmc2_pins_hs: mmc2_pins_hs {
307                 pinctrl-single,pins = <
308                         0x9c (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a23.mmc2_clk */
309                         0xb0 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_cs1.mmc2_cmd */
310                         0xa0 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a24.mmc2_dat0 */
311                         0xa4 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a25.mmc2_dat1 */
312                         0xa8 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a26.mmc2_dat2 */
313                         0xac (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a27.mmc2_dat3 */
314                         0x8c (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a19.mmc2_dat4 */
315                         0x90 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a20.mmc2_dat5 */
316                         0x94 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a21.mmc2_dat6 */
317                         0x98 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a22.mmc2_dat7 */
318                 >;
319         };
321         mmc2_pins_ddr_1_8v: pinmux_mmc2_ddr_1_8v_pins {
322                 pinctrl-single,pins = <
323                         0x9c (PIN_INPUT_PULLUP | MANUAL_MODE | MUX_MODE1) /* gpmc_a23.mmc2_clk */
324                         0xb0 (PIN_INPUT_PULLUP | MANUAL_MODE | MUX_MODE1) /* gpmc_cs1.mmc2_cmd */
325                         0xa0 (PIN_INPUT_PULLUP | MANUAL_MODE | MUX_MODE1) /* gpmc_a24.mmc2_dat0 */
326                         0xa4 (PIN_INPUT_PULLUP | MANUAL_MODE | MUX_MODE1) /* gpmc_a25.mmc2_dat1 */
327                         0xa8 (PIN_INPUT_PULLUP | MANUAL_MODE | MUX_MODE1) /* gpmc_a26.mmc2_dat2 */
328                         0xac (PIN_INPUT_PULLUP | MANUAL_MODE | MUX_MODE1) /* gpmc_a27.mmc2_dat3 */
329                         0x8c (PIN_INPUT_PULLUP | MANUAL_MODE | MUX_MODE1) /* gpmc_a19.mmc2_dat4 */
330                         0x90 (PIN_INPUT_PULLUP | MANUAL_MODE | MUX_MODE1) /* gpmc_a20.mmc2_dat5 */
331                         0x94 (PIN_INPUT_PULLUP | MANUAL_MODE | MUX_MODE1) /* gpmc_a21.mmc2_dat6 */
332                         0x98 (PIN_INPUT_PULLUP | MANUAL_MODE | MUX_MODE1) /* gpmc_a22.mmc2_dat7 */
333                 >;
334         };
335 };
337 &dra7_iodelay_core {
338         mmc2_iodelay_ddr_1_8v_conf: mmc2_iodelay_ddr_1_8v_conf {
339                 pinctrl-single,pins = <
340                         0x18c (A_DELAY(0) | G_DELAY(0))         /* CFG_GPMC_A19_IN */
341                         0x1a4 (A_DELAY(274) | G_DELAY(240))     /* CFG_GPMC_A20_IN */
342                         0x1b0 (A_DELAY(0) | G_DELAY(60))        /* CFG_GPMC_A21_IN */
343                         0x1bc (A_DELAY(0) | G_DELAY(60))        /* CFG_GPMC_A22_IN */
344                         0x1c8 (A_DELAY(514) | G_DELAY(360))     /* CFG_GPMC_A23_IN */
345                         0x1d4 (A_DELAY(187) | G_DELAY(120))     /* CFG_GPMC_A24_IN */
346                         0x1e0 (A_DELAY(0) | G_DELAY(0))         /* CFG_GPMC_A25_IN */
347                         0x1ec (A_DELAY(0) | G_DELAY(60))        /* CFG_GPMC_A26_IN */
348                         0x1f8 (A_DELAY(121) | G_DELAY(60))      /* CFG_GPMC_A27_IN */
349                         0x360 (A_DELAY(0) | G_DELAY(0))         /* CFG_GPMC_CS1_IN */
350                         0x190 (A_DELAY(0) | G_DELAY(0))         /* CFG_GPMC_A19_OEN */
351                         0x194 (A_DELAY(174) | G_DELAY(0))       /* CFG_GPMC_A19_OUT */
352                         0x1a8 (A_DELAY(0) | G_DELAY(0))         /* CFG_GPMC_A20_OEN */
353                         0x1ac (A_DELAY(168) | G_DELAY(0))       /* CFG_GPMC_A20_OUT */
354                         0x1b4 (A_DELAY(0) | G_DELAY(0))         /* CFG_GPMC_A21_OEN */
355                         0x1b8 (A_DELAY(136) | G_DELAY(0))       /* CFG_GPMC_A21_OUT */
356                         0x1c0 (A_DELAY(0) | G_DELAY(0))         /* CFG_GPMC_A22_OEN */
357                         0x1c4 (A_DELAY(0) | G_DELAY(0))         /* CFG_GPMC_A22_OUT */
358                         0x1d0 (A_DELAY(879) | G_DELAY(0))       /* CFG_GPMC_A23_OUT */
359                         0x1d8 (A_DELAY(0) | G_DELAY(0))         /* CFG_GPMC_A24_OEN */
360                         0x1dc (A_DELAY(0) | G_DELAY(0))         /* CFG_GPMC_A24_OUT */
361                         0x1e4 (A_DELAY(0) | G_DELAY(0))         /* CFG_GPMC_A25_OEN */
362                         0x1e8 (A_DELAY(34) | G_DELAY(0))        /* CFG_GPMC_A25_OUT */
363                         0x1f0 (A_DELAY(0) | G_DELAY(0))         /* CFG_GPMC_A26_OEN */
364                         0x1f4 (A_DELAY(120) | G_DELAY(0))       /* CFG_GPMC_A26_OUT */
365                         0x1fc (A_DELAY(0) | G_DELAY(0))         /* CFG_GPMC_A27_OEN */
366                         0x200 (A_DELAY(0) | G_DELAY(0))         /* CFG_GPMC_A27_OUT */
367                         0x364 (A_DELAY(0) | G_DELAY(0))         /* CFG_GPMC_CS1_OEN */
368                         0x368 (A_DELAY(11) | G_DELAY(0))        /* CFG_GPMC_CS1_OUT */
369                 >;
370         };
371 };
373 &i2c1 {
374         status = "okay";
375         clock-frequency = <400000>;
377         tps659038: tps659038@58 {
378                 compatible = "ti,tps659038";
379                 reg = <0x58>;
380                 interrupt-parent = <&gpio1>;
381                 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
383                 #interrupt-cells = <2>;
384                 interrupt-controller;
386                 ti,system-power-controller;
388                 tps659038_pmic {
389                         compatible = "ti,tps659038-pmic";
391                         regulators {
392                                 smps12_reg: smps12 {
393                                         /* VDD_MPU */
394                                         regulator-name = "smps12";
395                                         regulator-min-microvolt = < 850000>;
396                                         regulator-max-microvolt = <1250000>;
397                                         regulator-always-on;
398                                         regulator-boot-on;
399                                 };
401                                 smps3_reg: smps3 {
402                                         /* VDD_DDR */
403                                         regulator-name = "smps3";
404                                         regulator-min-microvolt = <1350000>;
405                                         regulator-max-microvolt = <1350000>;
406                                         regulator-always-on;
407                                         regulator-boot-on;
408                                 };
410                                 smps45_reg: smps45 {
411                                         /* VDD_DSPEVE, VDD_IVA, VDD_GPU */
412                                         regulator-name = "smps45";
413                                         regulator-min-microvolt = < 850000>;
414                                         regulator-max-microvolt = <1150000>;
415                                         regulator-always-on;
416                                         regulator-boot-on;
417                                 };
419                                 smps6_reg: smps6 {
420                                         /* VDD_CORE */
421                                         regulator-name = "smps6";
422                                         regulator-min-microvolt = <850000>;
423                                         regulator-max-microvolt = <1030000>;
424                                         regulator-always-on;
425                                         regulator-boot-on;
426                                 };
428                                 /* SMPS7 unused */
430                                 smps8_reg: smps8 {
431                                         /* VDD_1V8 */
432                                         regulator-name = "smps8";
433                                         regulator-min-microvolt = <1800000>;
434                                         regulator-max-microvolt = <1800000>;
435                                         regulator-always-on;
436                                         regulator-boot-on;
437                                 };
439                                 /* SMPS9 unused */
441                                 ldo1_reg: ldo1 {
442                                         /* VDD_SD / VDDSHV8  */
443                                         regulator-name = "ldo1";
444                                         regulator-min-microvolt = <1800000>;
445                                         regulator-max-microvolt = <3300000>;
446                                         regulator-boot-on;
447                                         regulator-always-on;
448                                 };
450                                 ldo2_reg: ldo2 {
451                                         /* VDD_SHV5 */
452                                         regulator-name = "ldo2";
453                                         regulator-min-microvolt = <3300000>;
454                                         regulator-max-microvolt = <3300000>;
455                                         regulator-always-on;
456                                         regulator-boot-on;
457                                 };
459                                 ldo3_reg: ldo3 {
460                                         /* VDDA_1V8_PHYA */
461                                         regulator-name = "ldo3";
462                                         regulator-min-microvolt = <1800000>;
463                                         regulator-max-microvolt = <1800000>;
464                                         regulator-always-on;
465                                         regulator-boot-on;
466                                 };
468                                 ldo4_reg: ldo4 {
469                                         /* VDDA_1V8_PHYB */
470                                         regulator-name = "ldo4";
471                                         regulator-min-microvolt = <1800000>;
472                                         regulator-max-microvolt = <1800000>;
473                                         regulator-always-on;
474                                         regulator-boot-on;
475                                 };
477                                 ldo9_reg: ldo9 {
478                                         /* VDD_RTC */
479                                         regulator-name = "ldo9";
480                                         regulator-min-microvolt = <1050000>;
481                                         regulator-max-microvolt = <1050000>;
482                                         regulator-always-on;
483                                         regulator-boot-on;
484                                 };
486                                 ldoln_reg: ldoln {
487                                         /* VDDA_1V8_PLL */
488                                         regulator-name = "ldoln";
489                                         regulator-min-microvolt = <1800000>;
490                                         regulator-max-microvolt = <1800000>;
491                                         regulator-always-on;
492                                         regulator-boot-on;
493                                 };
495                                 ldousb_reg: ldousb {
496                                         /* VDDA_3V_USB: VDDA_USBHS33 */
497                                         regulator-name = "ldousb";
498                                         regulator-min-microvolt = <3300000>;
499                                         regulator-max-microvolt = <3300000>;
500                                         regulator-boot-on;
501                                 };
503                                 regen1: regen1 {
504                                         /* VDD_3V3_ON */
505                                         regulator-name = "regen1";
506                                         regulator-boot-on;
507                                         regulator-always-on;
508                                 };
509                         };
510                 };
512                 tps659038_rtc: tps659038_rtc {
513                         compatible = "ti,palmas-rtc";
514                         interrupt-parent = <&tps659038>;
515                         interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
516                         wakeup-source;
517                 };
519                 tps659038_pwr_button: tps659038_pwr_button {
520                         compatible = "ti,palmas-pwrbutton";
521                         interrupt-parent = <&tps659038>;
522                         interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
523                         wakeup-source;
524                         ti,palmas-long-press-seconds = <12>;
525                 };
527                 tps659038_gpio: tps659038_gpio {
528                         compatible = "ti,palmas-gpio";
529                         gpio-controller;
530                         #gpio-cells = <2>;
531                 };
533                 extcon_usb2: tps659038_usb {
534                         compatible = "ti,palmas-usb-vid";
535                         ti,enable-vbus-detection;
536                         ti,enable-id-detection;
537                         id-gpios = <&gpio7 24 GPIO_ACTIVE_HIGH>;
538                 };
540         };
542         tmp102: tmp102@48 {
543                 compatible = "ti,tmp102";
544                 reg = <0x48>;
545                 interrupt-parent = <&gpio7>;
546                 interrupts = <16 IRQ_TYPE_LEVEL_LOW>;
547                 #thermal-sensor-cells = <1>;
548         };
550         tlv320aic3104: tlv320aic3104@18 {
551                 #sound-dai-cells = <0>;
552                 compatible = "ti,tlv320aic3104";
553                 reg = <0x18>;
554                 status = "okay";
555                 adc-settle-ms = <40>;
557                 AVDD-supply = <&vdd_3v3>;
558                 IOVDD-supply = <&vdd_3v3>;
559                 DRVDD-supply = <&vdd_3v3>;
560                 DVDD-supply = <&aic_dvdd>;
561         };
562 };
564 &i2c3 {
565         status = "okay";
566         clock-frequency = <400000>;
568         mcp_rtc: rtc@6f {
569                 compatible = "microchip,mcp7941x";
570                 reg = <0x6f>;
571                 interrupts-extended = <&crossbar_mpu GIC_SPI 2 IRQ_TYPE_EDGE_RISING>,
572                                       <&dra7_pmx_core 0x424>;
574                 vcc-supply = <&vdd_3v3>;
575                 wakeup-source;
576         };
577 };
579 &gpio7 {
580         ti,no-reset-on-init;
581         ti,no-idle-on-init;
582 };
584 &voltdm_mpu {
585         vdd-supply = <&smps12_reg>;
586 };
588 &voltdm_dspeve {
589         vdd-supply = <&smps45_reg>;
590 };
592 &voltdm_gpu {
593         vdd-supply = <&smps45_reg>;
594 };
596 &voltdm_ivahd {
597         vdd-supply = <&smps45_reg>;
598 };
600 &voltdm_core {
601         vdd-supply = <&smps6_reg>;
602 };
604 &cpu0 {
605         cpu0-voltdm = <&voltdm_mpu>;
606         voltage-tolerance = <1>;
607 };
609 &uart3 {
610         status = "okay";
611         interrupts-extended = <&crossbar_mpu GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
612                               <&dra7_pmx_core 0x3f8>;
613 };
615 &mac {
616         status = "okay";
617         dual_emac;
618 };
620 &cpsw_emac0 {
621         phy_id = <&davinci_mdio>, <1>;
622         phy-mode = "rgmii";
623         dual_emac_res_vlan = <1>;
624 };
626 &cpsw_emac1 {
627         phy_id = <&davinci_mdio>, <2>;
628         phy-mode = "rgmii";
629         dual_emac_res_vlan = <2>;
630 };
632 &mmc1 {
633         status = "okay";
635         pinctrl-names = "default", "hs";
636         pinctrl-0 = <&mmc1_pins_default>;
637         pinctrl-1 = <&mmc1_pins_hs>;
639         vmmc-supply = <&ldo1_reg>;
640         bus-width = <4>;
641         cd-gpios = <&gpio6 27 0>; /* gpio 219 */
642         max-frequency = <96000000>;
643         /delete-property/ sd-uhs-sdr104;
644         /delete-property/ sd-uhs-sdr50;
645         /delete-property/ sd-uhs-ddr50;
646         /delete-property/ sd-uhs-sdr25;
647         /delete-property/ sd-uhs-sdr12;
648 };
650 &mmc2 {
651         status = "okay";
653         pinctrl-names = "default", "hs", "ddr_1_8v";
654         pinctrl-0 = <&mmc2_pins_default>;
655         pinctrl-1 = <&mmc2_pins_hs>;
656         pinctrl-2 = <&mmc2_pins_ddr_1_8v &mmc2_iodelay_ddr_1_8v_conf>;
658         vmmc-supply = <&vdd_3v3>;
659         bus-width = <8>;
660         ti,non-removable;
661         cap-mmc-dual-data-rate;
662         max-frequency = <96000000>;
663         /delete-property/ mmc-hs200-1_8v;
664 };
666 &sata {
667         status = "okay";
668 };
670 &usb2_phy1 {
671         phy-supply = <&ldousb_reg>;
672 };
674 &usb2_phy2 {
675         phy-supply = <&ldousb_reg>;
676 };
678 &usb1 {
679         dr_mode = "host";
680 };
682 &omap_dwc3_1 {
683         extcon = <&extcon_usb1>;
684 };
686 &omap_dwc3_2 {
687         extcon = <&extcon_usb2>;
688 };
690 &usb2 {
691         /*
692          * Stand alone usage is peripheral only.
693          * However, with some resistor modifications
694          * this port can be used via expansion connectors
695          * as "host" or "dual-role". If so, provide
696          * the necessary dr_mode override in the expansion
697          * board's DT.
698          */
699         dr_mode = "peripheral";
700 };
702 &cpu_trips {
703         cpu_alert1: cpu_alert1 {
704                 temperature = <50000>; /* millicelsius */
705                 hysteresis = <2000>; /* millicelsius */
706                 type = "active";
707         };
708 };
710 &cpu_cooling_maps {
711         map1 {
712                 trip = <&cpu_alert1>;
713                 cooling-device = <&gpio_fan THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
714         };
715 };
717 &thermal_zones {
718         board_thermal: board_thermal {
719                 polling-delay-passive = <1250>; /* milliseconds */
720                 polling-delay = <1500>; /* milliseconds */
722                                 /* sensor       ID */
723                 thermal-sensors = <&tmp102     0>;
725                 board_trips: trips {
726                         board_alert0: board_alert {
727                                 temperature = <40000>; /* millicelsius */
728                                 hysteresis = <2000>; /* millicelsius */
729                                 type = "active";
730                         };
732                         board_crit: board_crit {
733                                 temperature = <105000>; /* millicelsius */
734                                 hysteresis = <0>; /* millicelsius */
735                                 type = "critical";
736                         };
737                 };
739                 board_cooling_maps: cooling-maps {
740                         map0 {
741                                 trip = <&board_alert0>;
742                                 cooling-device =
743                                   <&gpio_fan THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
744                         };
745                 };
746        };
747 };
749 &dss {
750         status = "ok";
752         vdda_video-supply = <&ldoln_reg>;
753 };
755 &hdmi {
756         status = "ok";
757         vdda-supply = <&ldo4_reg>;
759         pinctrl-names = "default";
760         pinctrl-0 = <&hdmi_pins>;
762         port {
763                 hdmi_out: endpoint {
764                         remote-endpoint = <&tpd12s015_in>;
765                 };
766         };
767 };
769 &mcasp3 {
770         #sound-dai-cells = <0>;
771         status = "okay";
773         op-mode = <0>;  /* MCASP_IIS_MODE */
774         tdm-slots = <2>;
775         /* 4 serializers */
776         serial-dir = <  /* 0: INACTIVE, 1: TX, 2: RX */
777                 1 2 0 0
778         >;
779         tx-num-evt = <8>;
780         rx-num-evt = <8>;
781 };
783 &rtc {
784         status = "okay";
785         ext-clk-src;
786 };
788 &mailbox3 {
789         status = "okay";
790         mbox_pru1_0: mbox_pru1_0 {
791                 status = "okay";
792         };
793         mbox_pru1_1: mbox_pru1_1 {
794                 status = "okay";
795         };
796 };
798 &mailbox4 {
799         status = "okay";
800         mbox_pru2_0: mbox_pru2_0 {
801                 status = "okay";
802         };
803         mbox_pru2_1: mbox_pru2_1 {
804                 status = "okay";
805         };
806 };
808 &mailbox5 {
809         status = "okay";
810         mbox_ipu1_ipc3x: mbox_ipu1_ipc3x {
811                 status = "okay";
812         };
813         mbox_dsp1_ipc3x: mbox_dsp1_ipc3x {
814                 status = "okay";
815         };
816 };
818 &mailbox6 {
819         status = "okay";
820         mbox_ipu2_ipc3x: mbox_ipu2_ipc3x {
821                 status = "okay";
822         };
823         mbox_dsp2_ipc3x: mbox_dsp2_ipc3x {
824                 status = "okay";
825         };
826 };
828 &mmu0_dsp1 {
829         status = "okay";
830 };
832 &mmu1_dsp1 {
833         status = "okay";
834 };
836 &mmu0_dsp2 {
837         status = "okay";
838 };
840 &mmu1_dsp2 {
841         status = "okay";
842 };
844 &mmu_ipu1 {
845         status = "okay";
846 };
848 &mmu_ipu2 {
849         status = "okay";
850 };
852 &ipu2 {
853         status = "okay";
854         memory-region = <&ipu2_cma_pool>;
855         mboxes = <&mailbox6 &mbox_ipu2_ipc3x>;
856         timers = <&timer3>;
857         watchdog-timers = <&timer4>, <&timer9>;
858 };
860 &ipu1 {
861         status = "okay";
862         memory-region = <&ipu1_cma_pool>;
863         mboxes = <&mailbox5 &mbox_ipu1_ipc3x>;
864         timers = <&timer11>;
865 };
867 &dsp1 {
868         status = "okay";
869         memory-region = <&dsp1_cma_pool>;
870         mboxes = <&mailbox5 &mbox_dsp1_ipc3x>;
871         timers = <&timer5>;
872 };
874 &dsp2 {
875         status = "okay";
876         memory-region = <&dsp2_cma_pool>;
877         mboxes = <&mailbox6 &mbox_dsp2_ipc3x>;
878         timers = <&timer6>;
879 };
881 &pruss1 {
882         status = "okay";
883         pru1_0: pru@4b234000 {
884                 mboxes = <&mailbox3 &mbox_pru1_0>;
885                 status = "okay";
886         };
888         pru1_1: pru@4b238000 {
889                 mboxes = <&mailbox3 &mbox_pru1_1>;
890                 status = "okay";
891         };
892 };
894 &pruss2 {
895         status = "okay";
896         pru2_0: pru@4b2b4000 {
897                 mboxes = <&mailbox4 &mbox_pru2_0>;
898                 status = "okay";
899         };
901         pru2_1: pru@4b2b8000 {
902                 mboxes = <&mailbox4 &mbox_pru2_1>;
903                 status = "okay";
904         };
905 };