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 vdd_3v3: fixedregulator-vdd_3v3 {
36 compatible = "regulator-fixed";
37 regulator-name = "vdd_3v3";
38 vin-supply = <®en1>;
39 regulator-min-microvolt = <3300000>;
40 regulator-max-microvolt = <3300000>;
43 aic_dvdd: fixedregulator-aic_dvdd {
44 compatible = "regulator-fixed";
45 regulator-name = "aic_dvdd_fixed";
46 vin-supply = <&vdd_3v3>;
47 regulator-min-microvolt = <1800000>;
48 regulator-max-microvolt = <1800000>;
51 vtt_fixed: fixedregulator-vtt {
53 compatible = "regulator-fixed";
54 regulator-name = "vtt_fixed";
55 vin-supply = <&smps3_reg>;
56 regulator-min-microvolt = <3300000>;
57 regulator-max-microvolt = <3300000>;
61 gpio = <&gpio7 11 GPIO_ACTIVE_HIGH>;
65 compatible = "gpio-leds";
68 label = "beagle-x15:usr0";
69 gpios = <&gpio7 9 GPIO_ACTIVE_HIGH>;
70 linux,default-trigger = "heartbeat";
71 default-state = "off";
75 label = "beagle-x15:usr1";
76 gpios = <&gpio7 8 GPIO_ACTIVE_HIGH>;
77 linux,default-trigger = "cpu0";
78 default-state = "off";
82 label = "beagle-x15:usr2";
83 gpios = <&gpio7 14 GPIO_ACTIVE_HIGH>;
84 linux,default-trigger = "mmc0";
85 default-state = "off";
89 label = "beagle-x15:usr3";
90 gpios = <&gpio7 15 GPIO_ACTIVE_HIGH>;
91 linux,default-trigger = "disk-activity";
92 default-state = "off";
97 /* Based on 5v 500mA AFB02505HHB */
98 compatible = "gpio-fan";
99 gpios = <&tps659038_gpio 2 GPIO_ACTIVE_HIGH>;
100 gpio-fan,speed-map = <0 0>,
102 #cooling-cells = <2>;
106 compatible = "hdmi-connector";
112 hdmi_connector_in: endpoint {
113 remote-endpoint = <&tpd12s015_out>;
119 compatible = "ti,tpd12s015";
122 #address-cells = <1>;
128 tpd12s015_in: endpoint {
129 remote-endpoint = <&hdmi_out>;
136 tpd12s015_out: endpoint {
137 remote-endpoint = <&hdmi_connector_in>;
144 compatible = "simple-audio-card";
145 simple-audio-card,name = "BeagleBoard-X15";
146 simple-audio-card,widgets =
149 simple-audio-card,routing =
154 simple-audio-card,format = "dsp_b";
155 simple-audio-card,bitclock-master = <&sound0_master>;
156 simple-audio-card,frame-master = <&sound0_master>;
157 simple-audio-card,bitclock-inversion;
159 simple-audio-card,cpu {
160 sound-dai = <&mcasp3>;
163 sound0_master: simple-audio-card,codec {
164 sound-dai = <&tlv320aic3104>;
165 clocks = <&clkout2_clk>;
172 clock-frequency = <400000>;
174 tps659038: tps659038@58 {
175 compatible = "ti,tps659038";
177 interrupt-parent = <&gpio1>;
178 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
180 #interrupt-cells = <2>;
181 interrupt-controller;
183 ti,system-power-controller;
184 ti,palmas-override-powerhold;
187 compatible = "ti,tps659038-pmic";
192 regulator-name = "smps12";
193 regulator-min-microvolt = < 850000>;
194 regulator-max-microvolt = <1250000>;
201 regulator-name = "smps3";
202 regulator-min-microvolt = <1350000>;
203 regulator-max-microvolt = <1350000>;
209 /* VDD_DSPEVE, VDD_IVA, VDD_GPU */
210 regulator-name = "smps45";
211 regulator-min-microvolt = < 850000>;
212 regulator-max-microvolt = <1250000>;
219 regulator-name = "smps6";
220 regulator-min-microvolt = <850000>;
221 regulator-max-microvolt = <1150000>;
230 regulator-name = "smps8";
231 regulator-min-microvolt = <1800000>;
232 regulator-max-microvolt = <1800000>;
240 /* VDD_SD / VDDSHV8 */
241 regulator-name = "ldo1";
242 regulator-min-microvolt = <1800000>;
243 regulator-max-microvolt = <3300000>;
250 regulator-name = "ldo2";
251 regulator-min-microvolt = <3300000>;
252 regulator-max-microvolt = <3300000>;
259 regulator-name = "ldo3";
260 regulator-min-microvolt = <1800000>;
261 regulator-max-microvolt = <1800000>;
268 regulator-name = "ldo4";
269 regulator-min-microvolt = <1800000>;
270 regulator-max-microvolt = <1800000>;
277 regulator-name = "ldo9";
278 regulator-min-microvolt = <1050000>;
279 regulator-max-microvolt = <1050000>;
286 regulator-name = "ldoln";
287 regulator-min-microvolt = <1800000>;
288 regulator-max-microvolt = <1800000>;
294 /* VDDA_3V_USB: VDDA_USBHS33 */
295 regulator-name = "ldousb";
296 regulator-min-microvolt = <3300000>;
297 regulator-max-microvolt = <3300000>;
303 regulator-name = "regen1";
310 tps659038_rtc: tps659038_rtc {
311 compatible = "ti,palmas-rtc";
312 interrupt-parent = <&tps659038>;
313 interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
317 tps659038_pwr_button: tps659038_pwr_button {
318 compatible = "ti,palmas-pwrbutton";
319 interrupt-parent = <&tps659038>;
320 interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
322 ti,palmas-long-press-seconds = <12>;
325 tps659038_gpio: tps659038_gpio {
326 compatible = "ti,palmas-gpio";
331 extcon_usb2: tps659038_usb {
332 compatible = "ti,palmas-usb-vid";
333 ti,enable-vbus-detection;
334 vbus-gpio = <&gpio4 21 GPIO_ACTIVE_HIGH>;
340 compatible = "ti,tmp102";
342 interrupt-parent = <&gpio7>;
343 interrupts = <16 IRQ_TYPE_LEVEL_LOW>;
344 #thermal-sensor-cells = <1>;
347 tlv320aic3104: tlv320aic3104@18 {
348 #sound-dai-cells = <0>;
349 compatible = "ti,tlv320aic3104";
351 assigned-clocks = <&clkoutmux2_clk_mux>;
352 assigned-clock-parents = <&sys_clk2_dclk_div>;
355 adc-settle-ms = <40>;
357 AVDD-supply = <&vdd_3v3>;
358 IOVDD-supply = <&vdd_3v3>;
359 DRVDD-supply = <&vdd_3v3>;
360 DVDD-supply = <&aic_dvdd>;
364 compatible = "atmel,24c32";
371 clock-frequency = <400000>;
374 compatible = "microchip,mcp7941x";
376 interrupts-extended = <&crossbar_mpu GIC_SPI 2 IRQ_TYPE_EDGE_RISING>,
377 <&dra7_pmx_core 0x424>;
378 interrupt-names = "irq", "wakeup";
380 vcc-supply = <&vdd_3v3>;
391 cpu0-supply = <&smps12_reg>;
392 voltage-tolerance = <1>;
397 interrupts-extended = <&crossbar_mpu GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
398 <&dra7_pmx_core 0x3f8>;
402 phy0: ethernet-phy@1 {
406 phy1: ethernet-phy@2 {
417 phy-handle = <&phy0>;
419 dual_emac_res_vlan = <1>;
423 phy-handle = <&phy1>;
425 dual_emac_res_vlan = <2>;
431 pinctrl-names = "default";
432 pinctrl-0 = <&mmc1_pins_default>;
435 cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; /* gpio 219 */
441 pinctrl-names = "default";
442 pinctrl-0 = <&mmc2_pins_default>;
444 vmmc-supply = <&vdd_3v3>;
447 cap-mmc-dual-data-rate;
455 phy-supply = <&ldousb_reg>;
459 phy-supply = <&ldousb_reg>;
467 extcon = <&extcon_usb2>;
472 * Stand alone usage is peripheral only.
473 * However, with some resistor modifications
474 * this port can be used via expansion connectors
475 * as "host" or "dual-role". If so, provide
476 * the necessary dr_mode override in the expansion
479 dr_mode = "peripheral";
483 cpu_alert1: cpu_alert1 {
484 temperature = <50000>; /* millicelsius */
485 hysteresis = <2000>; /* millicelsius */
492 trip = <&cpu_alert1>;
493 cooling-device = <&gpio_fan THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
498 board_thermal: board_thermal {
499 polling-delay-passive = <1250>; /* milliseconds */
500 polling-delay = <1500>; /* milliseconds */
503 thermal-sensors = <&tmp102 0>;
506 board_alert0: board_alert {
507 temperature = <40000>; /* millicelsius */
508 hysteresis = <2000>; /* millicelsius */
512 board_crit: board_crit {
513 temperature = <105000>; /* millicelsius */
514 hysteresis = <0>; /* millicelsius */
519 board_cooling_maps: cooling-maps {
521 trip = <&board_alert0>;
523 <&gpio_fan THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
532 vdda_video-supply = <&ldoln_reg>;
537 vdda-supply = <&ldo4_reg>;
541 remote-endpoint = <&tpd12s015_in>;
548 gpios = <&gpio2 8 GPIO_ACTIVE_LOW>;
552 gpios = <&gpio2 8 GPIO_ACTIVE_LOW>;
556 #sound-dai-cells = <0>;
557 assigned-clocks = <&mcasp3_ahclkx_mux>;
558 assigned-clock-parents = <&sys_clkin2>;
561 op-mode = <0>; /* MCASP_IIS_MODE */
564 serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
573 mbox_ipu1_ipc3x: mbox_ipu1_ipc3x {
576 mbox_dsp1_ipc3x: mbox_dsp1_ipc3x {
583 mbox_ipu2_ipc3x: mbox_ipu2_ipc3x {
586 mbox_dsp2_ipc3x: mbox_dsp2_ipc3x {