1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2014-2016 Texas Instruments Incorporated - https://www.ti.com/
8 #include "am57xx-commercial-grade.dtsi"
9 #include "dra74x-mmc-iodelay.dtsi"
10 #include "dra74-ipu-dsp-common.dtsi"
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/interrupt-controller/irq.h>
15 compatible = "ti,am572x-beagle-x15", "ti,am5728", "ti,dra742", "ti,dra74", "ti,dra7";
19 rtc1 = &tps659038_rtc;
29 device_type = "memory";
30 reg = <0x0 0x80000000 0x0 0x80000000>;
33 main_12v0: fixedregulator-main_12v0 {
35 compatible = "regulator-fixed";
36 regulator-name = "main_12v0";
37 regulator-min-microvolt = <12000000>;
38 regulator-max-microvolt = <12000000>;
43 evm_5v0: fixedregulator-evm_5v0 {
44 /* Output of TPS54531D */
45 compatible = "regulator-fixed";
46 regulator-name = "evm_5v0";
47 regulator-min-microvolt = <5000000>;
48 regulator-max-microvolt = <5000000>;
49 vin-supply = <&main_12v0>;
59 ipu2_memory_region: ipu2-memory@95800000 {
60 compatible = "shared-dma-pool";
61 reg = <0x0 0x95800000 0x0 0x3800000>;
66 dsp1_memory_region: dsp1-memory@99000000 {
67 compatible = "shared-dma-pool";
68 reg = <0x0 0x99000000 0x0 0x4000000>;
73 ipu1_memory_region: ipu1-memory@9d000000 {
74 compatible = "shared-dma-pool";
75 reg = <0x0 0x9d000000 0x0 0x2000000>;
80 dsp2_memory_region: dsp2-memory@9f000000 {
81 compatible = "shared-dma-pool";
82 reg = <0x0 0x9f000000 0x0 0x800000>;
88 vdd_3v3: fixedregulator-vdd_3v3 {
89 compatible = "regulator-fixed";
90 regulator-name = "vdd_3v3";
91 vin-supply = <®en1>;
92 regulator-min-microvolt = <3300000>;
93 regulator-max-microvolt = <3300000>;
96 aic_dvdd: fixedregulator-aic_dvdd {
97 compatible = "regulator-fixed";
98 regulator-name = "aic_dvdd_fixed";
99 vin-supply = <&vdd_3v3>;
100 regulator-min-microvolt = <1800000>;
101 regulator-max-microvolt = <1800000>;
104 vtt_fixed: fixedregulator-vtt {
106 compatible = "regulator-fixed";
107 regulator-name = "vtt_fixed";
108 vin-supply = <&smps3_reg>;
109 regulator-min-microvolt = <3300000>;
110 regulator-max-microvolt = <3300000>;
114 gpio = <&gpio7 11 GPIO_ACTIVE_HIGH>;
118 compatible = "gpio-leds";
121 label = "beagle-x15:usr0";
122 gpios = <&gpio7 9 GPIO_ACTIVE_HIGH>;
123 linux,default-trigger = "heartbeat";
124 default-state = "off";
128 label = "beagle-x15:usr1";
129 gpios = <&gpio7 8 GPIO_ACTIVE_HIGH>;
130 linux,default-trigger = "cpu0";
131 default-state = "off";
135 label = "beagle-x15:usr2";
136 gpios = <&gpio7 14 GPIO_ACTIVE_HIGH>;
137 linux,default-trigger = "mmc0";
138 default-state = "off";
142 label = "beagle-x15:usr3";
143 gpios = <&gpio7 15 GPIO_ACTIVE_HIGH>;
144 linux,default-trigger = "disk-activity";
145 default-state = "off";
150 /* Based on 5v 500mA AFB02505HHB */
151 compatible = "gpio-fan";
152 gpios = <&tps659038_gpio 2 GPIO_ACTIVE_HIGH>;
153 gpio-fan,speed-map = <0 0>,
155 #cooling-cells = <2>;
159 compatible = "hdmi-connector";
165 hdmi_connector_in: endpoint {
166 remote-endpoint = <&tpd12s015_out>;
172 compatible = "ti,tpd12s015";
175 #address-cells = <1>;
181 tpd12s015_in: endpoint {
182 remote-endpoint = <&hdmi_out>;
189 tpd12s015_out: endpoint {
190 remote-endpoint = <&hdmi_connector_in>;
197 compatible = "simple-audio-card";
198 simple-audio-card,name = "BeagleBoard-X15";
199 simple-audio-card,widgets =
202 simple-audio-card,routing =
207 simple-audio-card,format = "dsp_b";
208 simple-audio-card,bitclock-master = <&sound0_master>;
209 simple-audio-card,frame-master = <&sound0_master>;
210 simple-audio-card,bitclock-inversion;
212 simple-audio-card,cpu {
213 sound-dai = <&mcasp3>;
216 sound0_master: simple-audio-card,codec {
217 sound-dai = <&tlv320aic3104>;
218 clocks = <&clkout2_clk>;
225 clock-frequency = <400000>;
227 tps659038: tps659038@58 {
228 compatible = "ti,tps659038";
230 interrupt-parent = <&gpio1>;
231 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
233 #interrupt-cells = <2>;
234 interrupt-controller;
236 ti,system-power-controller;
237 ti,palmas-override-powerhold;
240 compatible = "ti,tps659038-pmic";
245 regulator-name = "smps12";
246 regulator-min-microvolt = < 850000>;
247 regulator-max-microvolt = <1250000>;
254 regulator-name = "smps3";
255 regulator-min-microvolt = <1350000>;
256 regulator-max-microvolt = <1350000>;
262 /* VDD_DSPEVE, VDD_IVA, VDD_GPU */
263 regulator-name = "smps45";
264 regulator-min-microvolt = < 850000>;
265 regulator-max-microvolt = <1250000>;
272 regulator-name = "smps6";
273 regulator-min-microvolt = <850000>;
274 regulator-max-microvolt = <1150000>;
283 regulator-name = "smps8";
284 regulator-min-microvolt = <1800000>;
285 regulator-max-microvolt = <1800000>;
293 /* VDD_SD / VDDSHV8 */
294 regulator-name = "ldo1";
295 regulator-min-microvolt = <1800000>;
296 regulator-max-microvolt = <3300000>;
303 regulator-name = "ldo2";
304 regulator-min-microvolt = <3300000>;
305 regulator-max-microvolt = <3300000>;
312 regulator-name = "ldo3";
313 regulator-min-microvolt = <1800000>;
314 regulator-max-microvolt = <1800000>;
321 regulator-name = "ldo4";
322 regulator-min-microvolt = <1800000>;
323 regulator-max-microvolt = <1800000>;
330 regulator-name = "ldo9";
331 regulator-min-microvolt = <1050000>;
332 regulator-max-microvolt = <1050000>;
339 regulator-name = "ldoln";
340 regulator-min-microvolt = <1800000>;
341 regulator-max-microvolt = <1800000>;
347 /* VDDA_3V_USB: VDDA_USBHS33 */
348 regulator-name = "ldousb";
349 regulator-min-microvolt = <3300000>;
350 regulator-max-microvolt = <3300000>;
356 regulator-name = "regen1";
363 tps659038_rtc: tps659038_rtc {
364 compatible = "ti,palmas-rtc";
365 interrupt-parent = <&tps659038>;
366 interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
370 tps659038_pwr_button: tps659038_pwr_button {
371 compatible = "ti,palmas-pwrbutton";
372 interrupt-parent = <&tps659038>;
373 interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
375 ti,palmas-long-press-seconds = <12>;
378 tps659038_gpio: tps659038_gpio {
379 compatible = "ti,palmas-gpio";
384 extcon_usb2: tps659038_usb {
385 compatible = "ti,palmas-usb-vid";
386 ti,enable-vbus-detection;
387 vbus-gpio = <&gpio4 21 GPIO_ACTIVE_HIGH>;
393 compatible = "ti,tmp102";
395 interrupt-parent = <&gpio7>;
396 interrupts = <16 IRQ_TYPE_LEVEL_LOW>;
397 #thermal-sensor-cells = <1>;
400 tlv320aic3104: tlv320aic3104@18 {
401 #sound-dai-cells = <0>;
402 compatible = "ti,tlv320aic3104";
404 assigned-clocks = <&clkoutmux2_clk_mux>;
405 assigned-clock-parents = <&sys_clk2_dclk_div>;
408 adc-settle-ms = <40>;
410 AVDD-supply = <&vdd_3v3>;
411 IOVDD-supply = <&vdd_3v3>;
412 DRVDD-supply = <&vdd_3v3>;
413 DVDD-supply = <&aic_dvdd>;
417 compatible = "atmel,24c32";
424 clock-frequency = <400000>;
427 compatible = "microchip,mcp7941x";
429 interrupts-extended = <&crossbar_mpu GIC_SPI 2 IRQ_TYPE_EDGE_RISING>,
430 <&dra7_pmx_core 0x424>;
431 interrupt-names = "irq", "wakeup";
433 vcc-supply = <&vdd_3v3>;
444 vdd-supply = <&smps12_reg>;
445 voltage-tolerance = <1>;
450 interrupts-extended = <&crossbar_mpu GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
451 <&dra7_pmx_core 0x3f8>;
455 phy0: ethernet-phy@1 {
459 phy1: ethernet-phy@2 {
469 phy-handle = <&phy0>;
470 phy-mode = "rgmii-rxid";
471 ti,dual-emac-pvid = <1>;
475 phy-handle = <&phy1>;
476 phy-mode = "rgmii-rxid";
477 ti,dual-emac-pvid = <2>;
483 pinctrl-names = "default";
484 pinctrl-0 = <&mmc1_pins_default>;
487 cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; /* gpio 219 */
494 pinctrl-names = "default";
495 pinctrl-0 = <&mmc2_pins_default>;
497 vmmc-supply = <&vdd_3v3>;
498 vqmmc-supply = <&vdd_3v3>;
509 phy-supply = <&ldousb_reg>;
513 phy-supply = <&ldousb_reg>;
521 extcon = <&extcon_usb2>;
526 * Stand alone usage is peripheral only.
527 * However, with some resistor modifications
528 * this port can be used via expansion connectors
529 * as "host" or "dual-role". If so, provide
530 * the necessary dr_mode override in the expansion
533 dr_mode = "peripheral";
537 cpu_alert1: cpu_alert1 {
538 temperature = <50000>; /* millicelsius */
539 hysteresis = <2000>; /* millicelsius */
546 trip = <&cpu_alert1>;
547 cooling-device = <&gpio_fan THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
552 board_thermal: board_thermal {
553 polling-delay-passive = <1250>; /* milliseconds */
554 polling-delay = <1500>; /* milliseconds */
557 thermal-sensors = <&tmp102 0>;
560 board_alert0: board_alert {
561 temperature = <40000>; /* millicelsius */
562 hysteresis = <2000>; /* millicelsius */
566 board_crit: board_crit {
567 temperature = <105000>; /* millicelsius */
568 hysteresis = <0>; /* millicelsius */
573 board_cooling_maps: cooling-maps {
575 trip = <&board_alert0>;
577 <&gpio_fan THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
586 vdda_video-supply = <&ldoln_reg>;
591 vdda-supply = <&ldo4_reg>;
595 remote-endpoint = <&tpd12s015_in>;
602 gpios = <&gpio2 8 GPIO_ACTIVE_LOW>;
606 #sound-dai-cells = <0>;
607 assigned-clocks = <&l4per2_clkctrl DRA7_L4PER2_MCASP3_CLKCTRL 24>;
608 assigned-clock-parents = <&sys_clkin2>;
611 op-mode = <0>; /* MCASP_IIS_MODE */
614 serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
623 memory-region = <&ipu2_memory_region>;
628 memory-region = <&ipu1_memory_region>;
633 memory-region = <&dsp1_memory_region>;
638 memory-region = <&dsp2_memory_region>;