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 vdd_3v3: fixedregulator-vdd_3v3 {
33 compatible = "regulator-fixed";
34 regulator-name = "vdd_3v3";
35 vin-supply = <®en1>;
36 regulator-min-microvolt = <3300000>;
37 regulator-max-microvolt = <3300000>;
40 aic_dvdd: fixedregulator-aic_dvdd {
41 compatible = "regulator-fixed";
42 regulator-name = "aic_dvdd_fixed";
43 vin-supply = <&vdd_3v3>;
44 regulator-min-microvolt = <1800000>;
45 regulator-max-microvolt = <1800000>;
48 vtt_fixed: fixedregulator-vtt {
50 compatible = "regulator-fixed";
51 regulator-name = "vtt_fixed";
52 vin-supply = <&smps3_reg>;
53 regulator-min-microvolt = <3300000>;
54 regulator-max-microvolt = <3300000>;
58 gpio = <&gpio7 11 GPIO_ACTIVE_HIGH>;
62 compatible = "gpio-leds";
65 label = "beagle-x15:usr0";
66 gpios = <&gpio7 9 GPIO_ACTIVE_HIGH>;
67 linux,default-trigger = "heartbeat";
68 default-state = "off";
72 label = "beagle-x15:usr1";
73 gpios = <&gpio7 8 GPIO_ACTIVE_HIGH>;
74 linux,default-trigger = "cpu0";
75 default-state = "off";
79 label = "beagle-x15:usr2";
80 gpios = <&gpio7 14 GPIO_ACTIVE_HIGH>;
81 linux,default-trigger = "mmc0";
82 default-state = "off";
86 label = "beagle-x15:usr3";
87 gpios = <&gpio7 15 GPIO_ACTIVE_HIGH>;
88 linux,default-trigger = "disk-activity";
89 default-state = "off";
94 /* Based on 5v 500mA AFB02505HHB */
95 compatible = "gpio-fan";
96 gpios = <&tps659038_gpio 2 GPIO_ACTIVE_HIGH>;
97 gpio-fan,speed-map = <0 0>,
103 compatible = "hdmi-connector";
109 hdmi_connector_in: endpoint {
110 remote-endpoint = <&tpd12s015_out>;
116 compatible = "ti,tpd12s015";
119 #address-cells = <1>;
125 tpd12s015_in: endpoint {
126 remote-endpoint = <&hdmi_out>;
133 tpd12s015_out: endpoint {
134 remote-endpoint = <&hdmi_connector_in>;
141 compatible = "simple-audio-card";
142 simple-audio-card,name = "BeagleBoard-X15";
143 simple-audio-card,widgets =
146 simple-audio-card,routing =
151 simple-audio-card,format = "dsp_b";
152 simple-audio-card,bitclock-master = <&sound0_master>;
153 simple-audio-card,frame-master = <&sound0_master>;
154 simple-audio-card,bitclock-inversion;
156 simple-audio-card,cpu {
157 sound-dai = <&mcasp3>;
160 sound0_master: simple-audio-card,codec {
161 sound-dai = <&tlv320aic3104>;
162 clocks = <&clkout2_clk>;
169 clock-frequency = <400000>;
171 tps659038: tps659038@58 {
172 compatible = "ti,tps659038";
174 interrupt-parent = <&gpio1>;
175 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
177 #interrupt-cells = <2>;
178 interrupt-controller;
180 ti,system-power-controller;
181 ti,palmas-override-powerhold;
184 compatible = "ti,tps659038-pmic";
189 regulator-name = "smps12";
190 regulator-min-microvolt = < 850000>;
191 regulator-max-microvolt = <1250000>;
198 regulator-name = "smps3";
199 regulator-min-microvolt = <1350000>;
200 regulator-max-microvolt = <1350000>;
206 /* VDD_DSPEVE, VDD_IVA, VDD_GPU */
207 regulator-name = "smps45";
208 regulator-min-microvolt = < 850000>;
209 regulator-max-microvolt = <1250000>;
216 regulator-name = "smps6";
217 regulator-min-microvolt = <850000>;
218 regulator-max-microvolt = <1150000>;
227 regulator-name = "smps8";
228 regulator-min-microvolt = <1800000>;
229 regulator-max-microvolt = <1800000>;
237 /* VDD_SD / VDDSHV8 */
238 regulator-name = "ldo1";
239 regulator-min-microvolt = <1800000>;
240 regulator-max-microvolt = <3300000>;
247 regulator-name = "ldo2";
248 regulator-min-microvolt = <3300000>;
249 regulator-max-microvolt = <3300000>;
256 regulator-name = "ldo3";
257 regulator-min-microvolt = <1800000>;
258 regulator-max-microvolt = <1800000>;
265 regulator-name = "ldo4";
266 regulator-min-microvolt = <1800000>;
267 regulator-max-microvolt = <1800000>;
274 regulator-name = "ldo9";
275 regulator-min-microvolt = <1050000>;
276 regulator-max-microvolt = <1050000>;
283 regulator-name = "ldoln";
284 regulator-min-microvolt = <1800000>;
285 regulator-max-microvolt = <1800000>;
291 /* VDDA_3V_USB: VDDA_USBHS33 */
292 regulator-name = "ldousb";
293 regulator-min-microvolt = <3300000>;
294 regulator-max-microvolt = <3300000>;
300 regulator-name = "regen1";
307 tps659038_rtc: tps659038_rtc {
308 compatible = "ti,palmas-rtc";
309 interrupt-parent = <&tps659038>;
310 interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
314 tps659038_pwr_button: tps659038_pwr_button {
315 compatible = "ti,palmas-pwrbutton";
316 interrupt-parent = <&tps659038>;
317 interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
319 ti,palmas-long-press-seconds = <12>;
322 tps659038_gpio: tps659038_gpio {
323 compatible = "ti,palmas-gpio";
328 extcon_usb2: tps659038_usb {
329 compatible = "ti,palmas-usb-vid";
330 ti,enable-vbus-detection;
331 vbus-gpio = <&gpio4 21 GPIO_ACTIVE_HIGH>;
337 compatible = "ti,tmp102";
339 interrupt-parent = <&gpio7>;
340 interrupts = <16 IRQ_TYPE_LEVEL_LOW>;
341 #thermal-sensor-cells = <1>;
344 tlv320aic3104: tlv320aic3104@18 {
345 #sound-dai-cells = <0>;
346 compatible = "ti,tlv320aic3104";
348 assigned-clocks = <&clkoutmux2_clk_mux>;
349 assigned-clock-parents = <&sys_clk2_dclk_div>;
352 adc-settle-ms = <40>;
354 AVDD-supply = <&vdd_3v3>;
355 IOVDD-supply = <&vdd_3v3>;
356 DRVDD-supply = <&vdd_3v3>;
357 DVDD-supply = <&aic_dvdd>;
361 compatible = "atmel,24c32";
368 clock-frequency = <400000>;
371 compatible = "microchip,mcp7941x";
373 interrupts-extended = <&crossbar_mpu GIC_SPI 2 IRQ_TYPE_EDGE_RISING>,
374 <&dra7_pmx_core 0x424>;
375 interrupt-names = "irq", "wakeup";
377 vcc-supply = <&vdd_3v3>;
388 vdd-supply = <&smps12_reg>;
389 voltage-tolerance = <1>;
394 interrupts-extended = <&crossbar_mpu GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
395 <&dra7_pmx_core 0x3f8>;
399 phy0: ethernet-phy@1 {
403 phy1: ethernet-phy@2 {
414 phy-handle = <&phy0>;
416 dual_emac_res_vlan = <1>;
420 phy-handle = <&phy1>;
422 dual_emac_res_vlan = <2>;
428 pinctrl-names = "default";
429 pinctrl-0 = <&mmc1_pins_default>;
432 cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; /* gpio 219 */
439 pinctrl-names = "default";
440 pinctrl-0 = <&mmc2_pins_default>;
442 vmmc-supply = <&vdd_3v3>;
443 vqmmc-supply = <&vdd_3v3>;
454 phy-supply = <&ldousb_reg>;
458 phy-supply = <&ldousb_reg>;
466 extcon = <&extcon_usb2>;
471 * Stand alone usage is peripheral only.
472 * However, with some resistor modifications
473 * this port can be used via expansion connectors
474 * as "host" or "dual-role". If so, provide
475 * the necessary dr_mode override in the expansion
478 dr_mode = "peripheral";
482 cpu_alert1: cpu_alert1 {
483 temperature = <50000>; /* millicelsius */
484 hysteresis = <2000>; /* millicelsius */
491 trip = <&cpu_alert1>;
492 cooling-device = <&gpio_fan THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
497 board_thermal: board_thermal {
498 polling-delay-passive = <1250>; /* milliseconds */
499 polling-delay = <1500>; /* milliseconds */
502 thermal-sensors = <&tmp102 0>;
505 board_alert0: board_alert {
506 temperature = <40000>; /* millicelsius */
507 hysteresis = <2000>; /* millicelsius */
511 board_crit: board_crit {
512 temperature = <105000>; /* millicelsius */
513 hysteresis = <0>; /* millicelsius */
518 board_cooling_maps: cooling-maps {
520 trip = <&board_alert0>;
522 <&gpio_fan THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
531 vdda_video-supply = <&ldoln_reg>;
536 vdda-supply = <&ldo4_reg>;
540 remote-endpoint = <&tpd12s015_in>;
547 gpios = <&gpio2 8 GPIO_ACTIVE_LOW>;
551 gpios = <&gpio2 8 GPIO_ACTIVE_LOW>;
555 #sound-dai-cells = <0>;
556 assigned-clocks = <&l4per2_clkctrl DRA7_L4PER2_MCASP3_CLKCTRL 24>;
557 assigned-clock-parents = <&sys_clkin2>;
560 op-mode = <0>; /* MCASP_IIS_MODE */
563 serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
572 mbox_ipu1_ipc3x: mbox_ipu1_ipc3x {
575 mbox_dsp1_ipc3x: mbox_dsp1_ipc3x {
582 mbox_ipu2_ipc3x: mbox_ipu2_ipc3x {
585 mbox_dsp2_ipc3x: mbox_dsp2_ipc3x {