1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2014-2016 Texas Instruments Incorporated - http://www.ti.com/
8 #include "am57xx-commercial-grade.dtsi"
9 #include "dra74x-mmc-iodelay.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
14 compatible = "ti,am572x-beagle-x15", "ti,am5728", "ti,dra742", "ti,dra74", "ti,dra7";
18 rtc1 = &tps659038_rtc;
28 device_type = "memory";
29 reg = <0x0 0x80000000 0x0 0x80000000>;
32 main_12v0: fixedregulator-main_12v0 {
34 compatible = "regulator-fixed";
35 regulator-name = "main_12v0";
36 regulator-min-microvolt = <12000000>;
37 regulator-max-microvolt = <12000000>;
42 evm_5v0: fixedregulator-evm_5v0 {
43 /* Output of TPS54531D */
44 compatible = "regulator-fixed";
45 regulator-name = "evm_5v0";
46 regulator-min-microvolt = <5000000>;
47 regulator-max-microvolt = <5000000>;
48 vin-supply = <&main_12v0>;
53 vdd_3v3: fixedregulator-vdd_3v3 {
54 compatible = "regulator-fixed";
55 regulator-name = "vdd_3v3";
56 vin-supply = <®en1>;
57 regulator-min-microvolt = <3300000>;
58 regulator-max-microvolt = <3300000>;
61 aic_dvdd: fixedregulator-aic_dvdd {
62 compatible = "regulator-fixed";
63 regulator-name = "aic_dvdd_fixed";
64 vin-supply = <&vdd_3v3>;
65 regulator-min-microvolt = <1800000>;
66 regulator-max-microvolt = <1800000>;
69 vtt_fixed: fixedregulator-vtt {
71 compatible = "regulator-fixed";
72 regulator-name = "vtt_fixed";
73 vin-supply = <&smps3_reg>;
74 regulator-min-microvolt = <3300000>;
75 regulator-max-microvolt = <3300000>;
79 gpio = <&gpio7 11 GPIO_ACTIVE_HIGH>;
83 compatible = "gpio-leds";
86 label = "beagle-x15:usr0";
87 gpios = <&gpio7 9 GPIO_ACTIVE_HIGH>;
88 linux,default-trigger = "heartbeat";
89 default-state = "off";
93 label = "beagle-x15:usr1";
94 gpios = <&gpio7 8 GPIO_ACTIVE_HIGH>;
95 linux,default-trigger = "cpu0";
96 default-state = "off";
100 label = "beagle-x15:usr2";
101 gpios = <&gpio7 14 GPIO_ACTIVE_HIGH>;
102 linux,default-trigger = "mmc0";
103 default-state = "off";
107 label = "beagle-x15:usr3";
108 gpios = <&gpio7 15 GPIO_ACTIVE_HIGH>;
109 linux,default-trigger = "disk-activity";
110 default-state = "off";
115 /* Based on 5v 500mA AFB02505HHB */
116 compatible = "gpio-fan";
117 gpios = <&tps659038_gpio 2 GPIO_ACTIVE_HIGH>;
118 gpio-fan,speed-map = <0 0>,
120 #cooling-cells = <2>;
124 compatible = "hdmi-connector";
130 hdmi_connector_in: endpoint {
131 remote-endpoint = <&tpd12s015_out>;
137 compatible = "ti,tpd12s015";
140 #address-cells = <1>;
146 tpd12s015_in: endpoint {
147 remote-endpoint = <&hdmi_out>;
154 tpd12s015_out: endpoint {
155 remote-endpoint = <&hdmi_connector_in>;
162 compatible = "simple-audio-card";
163 simple-audio-card,name = "BeagleBoard-X15";
164 simple-audio-card,widgets =
167 simple-audio-card,routing =
172 simple-audio-card,format = "dsp_b";
173 simple-audio-card,bitclock-master = <&sound0_master>;
174 simple-audio-card,frame-master = <&sound0_master>;
175 simple-audio-card,bitclock-inversion;
177 simple-audio-card,cpu {
178 sound-dai = <&mcasp3>;
181 sound0_master: simple-audio-card,codec {
182 sound-dai = <&tlv320aic3104>;
183 clocks = <&clkout2_clk>;
190 clock-frequency = <400000>;
192 tps659038: tps659038@58 {
193 compatible = "ti,tps659038";
195 interrupt-parent = <&gpio1>;
196 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
198 #interrupt-cells = <2>;
199 interrupt-controller;
201 ti,system-power-controller;
202 ti,palmas-override-powerhold;
205 compatible = "ti,tps659038-pmic";
210 regulator-name = "smps12";
211 regulator-min-microvolt = < 850000>;
212 regulator-max-microvolt = <1250000>;
219 regulator-name = "smps3";
220 regulator-min-microvolt = <1350000>;
221 regulator-max-microvolt = <1350000>;
227 /* VDD_DSPEVE, VDD_IVA, VDD_GPU */
228 regulator-name = "smps45";
229 regulator-min-microvolt = < 850000>;
230 regulator-max-microvolt = <1250000>;
237 regulator-name = "smps6";
238 regulator-min-microvolt = <850000>;
239 regulator-max-microvolt = <1150000>;
248 regulator-name = "smps8";
249 regulator-min-microvolt = <1800000>;
250 regulator-max-microvolt = <1800000>;
258 /* VDD_SD / VDDSHV8 */
259 regulator-name = "ldo1";
260 regulator-min-microvolt = <1800000>;
261 regulator-max-microvolt = <3300000>;
268 regulator-name = "ldo2";
269 regulator-min-microvolt = <3300000>;
270 regulator-max-microvolt = <3300000>;
277 regulator-name = "ldo3";
278 regulator-min-microvolt = <1800000>;
279 regulator-max-microvolt = <1800000>;
286 regulator-name = "ldo4";
287 regulator-min-microvolt = <1800000>;
288 regulator-max-microvolt = <1800000>;
295 regulator-name = "ldo9";
296 regulator-min-microvolt = <1050000>;
297 regulator-max-microvolt = <1050000>;
304 regulator-name = "ldoln";
305 regulator-min-microvolt = <1800000>;
306 regulator-max-microvolt = <1800000>;
312 /* VDDA_3V_USB: VDDA_USBHS33 */
313 regulator-name = "ldousb";
314 regulator-min-microvolt = <3300000>;
315 regulator-max-microvolt = <3300000>;
321 regulator-name = "regen1";
328 tps659038_rtc: tps659038_rtc {
329 compatible = "ti,palmas-rtc";
330 interrupt-parent = <&tps659038>;
331 interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
335 tps659038_pwr_button: tps659038_pwr_button {
336 compatible = "ti,palmas-pwrbutton";
337 interrupt-parent = <&tps659038>;
338 interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
340 ti,palmas-long-press-seconds = <12>;
343 tps659038_gpio: tps659038_gpio {
344 compatible = "ti,palmas-gpio";
349 extcon_usb2: tps659038_usb {
350 compatible = "ti,palmas-usb-vid";
351 ti,enable-vbus-detection;
352 vbus-gpio = <&gpio4 21 GPIO_ACTIVE_HIGH>;
358 compatible = "ti,tmp102";
360 interrupt-parent = <&gpio7>;
361 interrupts = <16 IRQ_TYPE_LEVEL_LOW>;
362 #thermal-sensor-cells = <1>;
365 tlv320aic3104: tlv320aic3104@18 {
366 #sound-dai-cells = <0>;
367 compatible = "ti,tlv320aic3104";
369 assigned-clocks = <&clkoutmux2_clk_mux>;
370 assigned-clock-parents = <&sys_clk2_dclk_div>;
373 adc-settle-ms = <40>;
375 AVDD-supply = <&vdd_3v3>;
376 IOVDD-supply = <&vdd_3v3>;
377 DRVDD-supply = <&vdd_3v3>;
378 DVDD-supply = <&aic_dvdd>;
382 compatible = "atmel,24c32";
389 clock-frequency = <400000>;
392 compatible = "microchip,mcp7941x";
394 interrupts-extended = <&crossbar_mpu GIC_SPI 2 IRQ_TYPE_EDGE_RISING>,
395 <&dra7_pmx_core 0x424>;
396 interrupt-names = "irq", "wakeup";
398 vcc-supply = <&vdd_3v3>;
409 vdd-supply = <&smps12_reg>;
410 voltage-tolerance = <1>;
415 interrupts-extended = <&crossbar_mpu GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
416 <&dra7_pmx_core 0x3f8>;
420 phy0: ethernet-phy@1 {
424 phy1: ethernet-phy@2 {
435 phy-handle = <&phy0>;
437 dual_emac_res_vlan = <1>;
441 phy-handle = <&phy1>;
443 dual_emac_res_vlan = <2>;
449 pinctrl-names = "default";
450 pinctrl-0 = <&mmc1_pins_default>;
453 cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; /* gpio 219 */
460 pinctrl-names = "default";
461 pinctrl-0 = <&mmc2_pins_default>;
463 vmmc-supply = <&vdd_3v3>;
464 vqmmc-supply = <&vdd_3v3>;
475 phy-supply = <&ldousb_reg>;
479 phy-supply = <&ldousb_reg>;
487 extcon = <&extcon_usb2>;
492 * Stand alone usage is peripheral only.
493 * However, with some resistor modifications
494 * this port can be used via expansion connectors
495 * as "host" or "dual-role". If so, provide
496 * the necessary dr_mode override in the expansion
499 dr_mode = "peripheral";
503 cpu_alert1: cpu_alert1 {
504 temperature = <50000>; /* millicelsius */
505 hysteresis = <2000>; /* millicelsius */
512 trip = <&cpu_alert1>;
513 cooling-device = <&gpio_fan THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
518 board_thermal: board_thermal {
519 polling-delay-passive = <1250>; /* milliseconds */
520 polling-delay = <1500>; /* milliseconds */
523 thermal-sensors = <&tmp102 0>;
526 board_alert0: board_alert {
527 temperature = <40000>; /* millicelsius */
528 hysteresis = <2000>; /* millicelsius */
532 board_crit: board_crit {
533 temperature = <105000>; /* millicelsius */
534 hysteresis = <0>; /* millicelsius */
539 board_cooling_maps: cooling-maps {
541 trip = <&board_alert0>;
543 <&gpio_fan THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
552 vdda_video-supply = <&ldoln_reg>;
557 vdda-supply = <&ldo4_reg>;
561 remote-endpoint = <&tpd12s015_in>;
568 gpios = <&gpio2 8 GPIO_ACTIVE_LOW>;
572 #sound-dai-cells = <0>;
573 assigned-clocks = <&l4per2_clkctrl DRA7_L4PER2_MCASP3_CLKCTRL 24>;
574 assigned-clock-parents = <&sys_clkin2>;
577 op-mode = <0>; /* MCASP_IIS_MODE */
580 serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
589 mbox_ipu1_ipc3x: mbox_ipu1_ipc3x {
592 mbox_dsp1_ipc3x: mbox_dsp1_ipc3x {
599 mbox_ipu2_ipc3x: mbox_ipu2_ipc3x {
602 mbox_dsp2_ipc3x: mbox_dsp2_ipc3x {