2 * Copyright (C) 2014-2016 Texas Instruments Incorporated - http://www.ti.com/
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.
10 #include "dra74x.dtsi"
11 #include "am57xx-commercial-grade.dtsi"
12 #include "dra74x-mmc-iodelay.dtsi"
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/interrupt-controller/irq.h>
17 compatible = "ti,am572x-beagle-x15", "ti,am5728", "ti,dra742", "ti,dra74", "ti,dra7";
21 rtc1 = &tps659038_rtc;
31 device_type = "memory";
32 reg = <0x0 0x80000000 0x0 0x80000000>;
35 main_12v0: fixedregulator-main_12v0 {
37 compatible = "regulator-fixed";
38 regulator-name = "main_12v0";
39 regulator-min-microvolt = <12000000>;
40 regulator-max-microvolt = <12000000>;
45 evm_5v0: fixedregulator-evm_5v0 {
46 /* Output of TPS54531D */
47 compatible = "regulator-fixed";
48 regulator-name = "evm_5v0";
49 regulator-min-microvolt = <5000000>;
50 regulator-max-microvolt = <5000000>;
51 vin-supply = <&main_12v0>;
56 vdd_3v3: fixedregulator-vdd_3v3 {
57 compatible = "regulator-fixed";
58 regulator-name = "vdd_3v3";
59 vin-supply = <®en1>;
60 regulator-min-microvolt = <3300000>;
61 regulator-max-microvolt = <3300000>;
64 aic_dvdd: fixedregulator-aic_dvdd {
65 compatible = "regulator-fixed";
66 regulator-name = "aic_dvdd_fixed";
67 vin-supply = <&vdd_3v3>;
68 regulator-min-microvolt = <1800000>;
69 regulator-max-microvolt = <1800000>;
72 vtt_fixed: fixedregulator-vtt {
74 compatible = "regulator-fixed";
75 regulator-name = "vtt_fixed";
76 vin-supply = <&smps3_reg>;
77 regulator-min-microvolt = <3300000>;
78 regulator-max-microvolt = <3300000>;
82 gpio = <&gpio7 11 GPIO_ACTIVE_HIGH>;
86 compatible = "gpio-leds";
89 label = "beagle-x15:usr0";
90 gpios = <&gpio7 9 GPIO_ACTIVE_HIGH>;
91 linux,default-trigger = "heartbeat";
92 default-state = "off";
96 label = "beagle-x15:usr1";
97 gpios = <&gpio7 8 GPIO_ACTIVE_HIGH>;
98 linux,default-trigger = "cpu0";
99 default-state = "off";
103 label = "beagle-x15:usr2";
104 gpios = <&gpio7 14 GPIO_ACTIVE_HIGH>;
105 linux,default-trigger = "mmc0";
106 default-state = "off";
110 label = "beagle-x15:usr3";
111 gpios = <&gpio7 15 GPIO_ACTIVE_HIGH>;
112 linux,default-trigger = "disk-activity";
113 default-state = "off";
118 /* Based on 5v 500mA AFB02505HHB */
119 compatible = "gpio-fan";
120 gpios = <&tps659038_gpio 2 GPIO_ACTIVE_HIGH>;
121 gpio-fan,speed-map = <0 0>,
123 #cooling-cells = <2>;
127 compatible = "hdmi-connector";
133 hdmi_connector_in: endpoint {
134 remote-endpoint = <&tpd12s015_out>;
140 compatible = "ti,tpd12s015";
143 #address-cells = <1>;
149 tpd12s015_in: endpoint {
150 remote-endpoint = <&hdmi_out>;
157 tpd12s015_out: endpoint {
158 remote-endpoint = <&hdmi_connector_in>;
165 compatible = "simple-audio-card";
166 simple-audio-card,name = "BeagleBoard-X15";
167 simple-audio-card,widgets =
170 simple-audio-card,routing =
175 simple-audio-card,format = "dsp_b";
176 simple-audio-card,bitclock-master = <&sound0_master>;
177 simple-audio-card,frame-master = <&sound0_master>;
178 simple-audio-card,bitclock-inversion;
180 simple-audio-card,cpu {
181 sound-dai = <&mcasp3>;
184 sound0_master: simple-audio-card,codec {
185 sound-dai = <&tlv320aic3104>;
186 clocks = <&clkout2_clk>;
193 clock-frequency = <400000>;
195 tps659038: tps659038@58 {
196 compatible = "ti,tps659038";
198 interrupt-parent = <&gpio1>;
199 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
201 #interrupt-cells = <2>;
202 interrupt-controller;
204 ti,system-power-controller;
205 ti,palmas-override-powerhold;
208 compatible = "ti,tps659038-pmic";
213 regulator-name = "smps12";
214 regulator-min-microvolt = < 850000>;
215 regulator-max-microvolt = <1250000>;
222 regulator-name = "smps3";
223 regulator-min-microvolt = <1350000>;
224 regulator-max-microvolt = <1350000>;
230 /* VDD_DSPEVE, VDD_IVA, VDD_GPU */
231 regulator-name = "smps45";
232 regulator-min-microvolt = < 850000>;
233 regulator-max-microvolt = <1250000>;
240 regulator-name = "smps6";
241 regulator-min-microvolt = <850000>;
242 regulator-max-microvolt = <1150000>;
251 regulator-name = "smps8";
252 regulator-min-microvolt = <1800000>;
253 regulator-max-microvolt = <1800000>;
261 /* VDD_SD / VDDSHV8 */
262 regulator-name = "ldo1";
263 regulator-min-microvolt = <1800000>;
264 regulator-max-microvolt = <3300000>;
271 regulator-name = "ldo2";
272 regulator-min-microvolt = <3300000>;
273 regulator-max-microvolt = <3300000>;
280 regulator-name = "ldo3";
281 regulator-min-microvolt = <1800000>;
282 regulator-max-microvolt = <1800000>;
289 regulator-name = "ldo4";
290 regulator-min-microvolt = <1800000>;
291 regulator-max-microvolt = <1800000>;
298 regulator-name = "ldo9";
299 regulator-min-microvolt = <1050000>;
300 regulator-max-microvolt = <1050000>;
307 regulator-name = "ldoln";
308 regulator-min-microvolt = <1800000>;
309 regulator-max-microvolt = <1800000>;
315 /* VDDA_3V_USB: VDDA_USBHS33 */
316 regulator-name = "ldousb";
317 regulator-min-microvolt = <3300000>;
318 regulator-max-microvolt = <3300000>;
324 regulator-name = "regen1";
331 tps659038_rtc: tps659038_rtc {
332 compatible = "ti,palmas-rtc";
333 interrupt-parent = <&tps659038>;
334 interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
338 tps659038_pwr_button: tps659038_pwr_button {
339 compatible = "ti,palmas-pwrbutton";
340 interrupt-parent = <&tps659038>;
341 interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
343 ti,palmas-long-press-seconds = <12>;
346 tps659038_gpio: tps659038_gpio {
347 compatible = "ti,palmas-gpio";
352 extcon_usb2: tps659038_usb {
353 compatible = "ti,palmas-usb-vid";
354 ti,enable-vbus-detection;
355 vbus-gpio = <&gpio4 21 GPIO_ACTIVE_HIGH>;
361 compatible = "ti,tmp102";
363 interrupt-parent = <&gpio7>;
364 interrupts = <16 IRQ_TYPE_LEVEL_LOW>;
365 #thermal-sensor-cells = <1>;
368 tlv320aic3104: tlv320aic3104@18 {
369 #sound-dai-cells = <0>;
370 compatible = "ti,tlv320aic3104";
372 assigned-clocks = <&clkoutmux2_clk_mux>;
373 assigned-clock-parents = <&sys_clk2_dclk_div>;
376 adc-settle-ms = <40>;
378 AVDD-supply = <&vdd_3v3>;
379 IOVDD-supply = <&vdd_3v3>;
380 DRVDD-supply = <&vdd_3v3>;
381 DVDD-supply = <&aic_dvdd>;
385 compatible = "atmel,24c32";
392 clock-frequency = <400000>;
395 compatible = "microchip,mcp7941x";
397 interrupts-extended = <&crossbar_mpu GIC_SPI 2 IRQ_TYPE_EDGE_RISING>,
398 <&dra7_pmx_core 0x424>;
399 interrupt-names = "irq", "wakeup";
401 vcc-supply = <&vdd_3v3>;
412 vdd-supply = <&smps12_reg>;
413 voltage-tolerance = <1>;
418 interrupts-extended = <&crossbar_mpu GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
419 <&dra7_pmx_core 0x3f8>;
423 phy0: ethernet-phy@1 {
427 phy1: ethernet-phy@2 {
438 phy-handle = <&phy0>;
440 dual_emac_res_vlan = <1>;
444 phy-handle = <&phy1>;
446 dual_emac_res_vlan = <2>;
452 pinctrl-names = "default";
453 pinctrl-0 = <&mmc1_pins_default>;
456 cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; /* gpio 219 */
463 pinctrl-names = "default";
464 pinctrl-0 = <&mmc2_pins_default>;
466 vmmc-supply = <&vdd_3v3>;
467 vqmmc-supply = <&vdd_3v3>;
478 phy-supply = <&ldousb_reg>;
482 phy-supply = <&ldousb_reg>;
490 extcon = <&extcon_usb2>;
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
502 dr_mode = "peripheral";
506 cpu_alert1: cpu_alert1 {
507 temperature = <50000>; /* millicelsius */
508 hysteresis = <2000>; /* millicelsius */
515 trip = <&cpu_alert1>;
516 cooling-device = <&gpio_fan THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
521 board_thermal: board_thermal {
522 polling-delay-passive = <1250>; /* milliseconds */
523 polling-delay = <1500>; /* milliseconds */
526 thermal-sensors = <&tmp102 0>;
529 board_alert0: board_alert {
530 temperature = <40000>; /* millicelsius */
531 hysteresis = <2000>; /* millicelsius */
535 board_crit: board_crit {
536 temperature = <105000>; /* millicelsius */
537 hysteresis = <0>; /* millicelsius */
542 board_cooling_maps: cooling-maps {
544 trip = <&board_alert0>;
546 <&gpio_fan THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
555 vdda_video-supply = <&ldoln_reg>;
560 vdda-supply = <&ldo4_reg>;
564 remote-endpoint = <&tpd12s015_in>;
571 gpios = <&gpio2 8 GPIO_ACTIVE_LOW>;
575 #sound-dai-cells = <0>;
576 assigned-clocks = <&l4per_clkctrl DRA7_MCASP3_CLKCTRL 24>;
577 assigned-clock-parents = <&sys_clkin2>;
580 op-mode = <0>; /* MCASP_IIS_MODE */
583 serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
592 mbox_ipu1_ipc3x: mbox_ipu1_ipc3x {
595 mbox_dsp1_ipc3x: mbox_dsp1_ipc3x {
602 mbox_ipu2_ipc3x: mbox_ipu2_ipc3x {
605 mbox_dsp2_ipc3x: mbox_dsp2_ipc3x {