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 <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/interrupt-controller/irq.h>
16 compatible = "ti,am572x-beagle-x15", "ti,am5728", "ti,dra742", "ti,dra74", "ti,dra7";
24 rtc1 = &tps659038_rtc;
30 device_type = "memory";
31 reg = <0x0 0x80000000 0x0 0x80000000>;
34 vdd_3v3: fixedregulator-vdd_3v3 {
35 compatible = "regulator-fixed";
36 regulator-name = "vdd_3v3";
37 vin-supply = <®en1>;
38 regulator-min-microvolt = <3300000>;
39 regulator-max-microvolt = <3300000>;
42 aic_dvdd: fixedregulator-aic_dvdd {
43 compatible = "regulator-fixed";
44 regulator-name = "aic_dvdd_fixed";
45 vin-supply = <&vdd_3v3>;
46 regulator-min-microvolt = <1800000>;
47 regulator-max-microvolt = <1800000>;
50 vtt_fixed: fixedregulator-vtt {
52 compatible = "regulator-fixed";
53 regulator-name = "vtt_fixed";
54 vin-supply = <&smps3_reg>;
55 regulator-min-microvolt = <3300000>;
56 regulator-max-microvolt = <3300000>;
60 gpio = <&gpio7 11 GPIO_ACTIVE_HIGH>;
64 compatible = "gpio-leds";
67 label = "beagle-x15:usr0";
68 gpios = <&gpio7 9 GPIO_ACTIVE_HIGH>;
69 linux,default-trigger = "heartbeat";
70 default-state = "off";
74 label = "beagle-x15:usr1";
75 gpios = <&gpio7 8 GPIO_ACTIVE_HIGH>;
76 linux,default-trigger = "cpu0";
77 default-state = "off";
81 label = "beagle-x15:usr2";
82 gpios = <&gpio7 14 GPIO_ACTIVE_HIGH>;
83 linux,default-trigger = "mmc0";
84 default-state = "off";
88 label = "beagle-x15:usr3";
89 gpios = <&gpio7 15 GPIO_ACTIVE_HIGH>;
90 linux,default-trigger = "disk-activity";
91 default-state = "off";
96 /* Based on 5v 500mA AFB02505HHB */
97 compatible = "gpio-fan";
98 gpios = <&tps659038_gpio 2 GPIO_ACTIVE_HIGH>;
99 gpio-fan,speed-map = <0 0>,
101 #cooling-cells = <2>;
105 compatible = "hdmi-connector";
111 hdmi_connector_in: endpoint {
112 remote-endpoint = <&tpd12s015_out>;
118 compatible = "ti,tpd12s015";
121 #address-cells = <1>;
127 tpd12s015_in: endpoint {
128 remote-endpoint = <&hdmi_out>;
135 tpd12s015_out: endpoint {
136 remote-endpoint = <&hdmi_connector_in>;
143 compatible = "simple-audio-card";
144 simple-audio-card,name = "BeagleBoard-X15";
145 simple-audio-card,widgets =
148 simple-audio-card,routing =
153 simple-audio-card,format = "dsp_b";
154 simple-audio-card,bitclock-master = <&sound0_master>;
155 simple-audio-card,frame-master = <&sound0_master>;
156 simple-audio-card,bitclock-inversion;
158 simple-audio-card,cpu {
159 sound-dai = <&mcasp3>;
162 sound0_master: simple-audio-card,codec {
163 sound-dai = <&tlv320aic3104>;
164 clocks = <&clkout2_clk>;
170 mmc1_pins_default: mmc1_pins_default {
171 pinctrl-single,pins = <
172 DRA7XX_CORE_IOPAD(0x376c, PIN_INPUT | MUX_MODE14) /* mmc1sdcd.gpio219 */
173 DRA7XX_CORE_IOPAD(0x3754, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_clk.clk */
174 DRA7XX_CORE_IOPAD(0x3758, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_cmd.cmd */
175 DRA7XX_CORE_IOPAD(0x375c, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat0.dat0 */
176 DRA7XX_CORE_IOPAD(0x3760, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat1.dat1 */
177 DRA7XX_CORE_IOPAD(0x3764, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat2.dat2 */
178 DRA7XX_CORE_IOPAD(0x3768, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat3.dat3 */
182 mmc2_pins_default: mmc2_pins_default {
183 pinctrl-single,pins = <
184 DRA7XX_CORE_IOPAD(0x349c, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a23.mmc2_clk */
185 DRA7XX_CORE_IOPAD(0x34b0, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_cs1.mmc2_cmd */
186 DRA7XX_CORE_IOPAD(0x34a0, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a24.mmc2_dat0 */
187 DRA7XX_CORE_IOPAD(0x34a4, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a25.mmc2_dat1 */
188 DRA7XX_CORE_IOPAD(0x34a8, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a26.mmc2_dat2 */
189 DRA7XX_CORE_IOPAD(0x34ac, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a27.mmc2_dat3 */
190 DRA7XX_CORE_IOPAD(0x348c, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a19.mmc2_dat4 */
191 DRA7XX_CORE_IOPAD(0x3490, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a20.mmc2_dat5 */
192 DRA7XX_CORE_IOPAD(0x3494, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a21.mmc2_dat6 */
193 DRA7XX_CORE_IOPAD(0x3498, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a22.mmc2_dat7 */
199 clock-frequency = <400000>;
201 tps659038: tps659038@58 {
202 compatible = "ti,tps659038";
204 interrupt-parent = <&gpio1>;
205 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
207 #interrupt-cells = <2>;
208 interrupt-controller;
210 ti,system-power-controller;
213 compatible = "ti,tps659038-pmic";
218 regulator-name = "smps12";
219 regulator-min-microvolt = < 850000>;
220 regulator-max-microvolt = <1250000>;
227 regulator-name = "smps3";
228 regulator-min-microvolt = <1350000>;
229 regulator-max-microvolt = <1350000>;
235 /* VDD_DSPEVE, VDD_IVA, VDD_GPU */
236 regulator-name = "smps45";
237 regulator-min-microvolt = < 850000>;
238 regulator-max-microvolt = <1250000>;
245 regulator-name = "smps6";
246 regulator-min-microvolt = <850000>;
247 regulator-max-microvolt = <1150000>;
256 regulator-name = "smps8";
257 regulator-min-microvolt = <1800000>;
258 regulator-max-microvolt = <1800000>;
266 /* VDD_SD / VDDSHV8 */
267 regulator-name = "ldo1";
268 regulator-min-microvolt = <1800000>;
269 regulator-max-microvolt = <3300000>;
276 regulator-name = "ldo2";
277 regulator-min-microvolt = <3300000>;
278 regulator-max-microvolt = <3300000>;
285 regulator-name = "ldo3";
286 regulator-min-microvolt = <1800000>;
287 regulator-max-microvolt = <1800000>;
294 regulator-name = "ldo4";
295 regulator-min-microvolt = <1800000>;
296 regulator-max-microvolt = <1800000>;
303 regulator-name = "ldo9";
304 regulator-min-microvolt = <1050000>;
305 regulator-max-microvolt = <1050000>;
312 regulator-name = "ldoln";
313 regulator-min-microvolt = <1800000>;
314 regulator-max-microvolt = <1800000>;
320 /* VDDA_3V_USB: VDDA_USBHS33 */
321 regulator-name = "ldousb";
322 regulator-min-microvolt = <3300000>;
323 regulator-max-microvolt = <3300000>;
329 regulator-name = "regen1";
336 tps659038_rtc: tps659038_rtc {
337 compatible = "ti,palmas-rtc";
338 interrupt-parent = <&tps659038>;
339 interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
343 tps659038_pwr_button: tps659038_pwr_button {
344 compatible = "ti,palmas-pwrbutton";
345 interrupt-parent = <&tps659038>;
346 interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
348 ti,palmas-long-press-seconds = <12>;
351 tps659038_gpio: tps659038_gpio {
352 compatible = "ti,palmas-gpio";
357 extcon_usb2: tps659038_usb {
358 compatible = "ti,palmas-usb-vid";
359 ti,enable-vbus-detection;
360 vbus-gpio = <&gpio4 21 GPIO_ACTIVE_HIGH>;
366 compatible = "ti,tmp102";
368 interrupt-parent = <&gpio7>;
369 interrupts = <16 IRQ_TYPE_LEVEL_LOW>;
370 #thermal-sensor-cells = <1>;
373 tlv320aic3104: tlv320aic3104@18 {
374 #sound-dai-cells = <0>;
375 compatible = "ti,tlv320aic3104";
377 assigned-clocks = <&clkoutmux2_clk_mux>;
378 assigned-clock-parents = <&sys_clk2_dclk_div>;
381 adc-settle-ms = <40>;
383 AVDD-supply = <&vdd_3v3>;
384 IOVDD-supply = <&vdd_3v3>;
385 DRVDD-supply = <&vdd_3v3>;
386 DVDD-supply = <&aic_dvdd>;
390 compatible = "at,24c32";
397 clock-frequency = <400000>;
400 compatible = "microchip,mcp7941x";
402 interrupts-extended = <&crossbar_mpu GIC_SPI 2 IRQ_TYPE_EDGE_RISING>,
403 <&dra7_pmx_core 0x424>;
404 interrupt-names = "irq", "wakeup";
406 vcc-supply = <&vdd_3v3>;
417 cpu0-supply = <&smps12_reg>;
418 voltage-tolerance = <1>;
423 interrupts-extended = <&crossbar_mpu GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
424 <&dra7_pmx_core 0x3f8>;
433 phy_id = <&davinci_mdio>, <1>;
435 dual_emac_res_vlan = <1>;
439 phy_id = <&davinci_mdio>, <2>;
441 dual_emac_res_vlan = <2>;
447 pinctrl-names = "default";
448 pinctrl-0 = <&mmc1_pins_default>;
451 cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; /* gpio 219 */
457 pinctrl-names = "default";
458 pinctrl-0 = <&mmc2_pins_default>;
460 vmmc-supply = <&vdd_3v3>;
463 cap-mmc-dual-data-rate;
471 phy-supply = <&ldousb_reg>;
475 phy-supply = <&ldousb_reg>;
483 extcon = <&extcon_usb2>;
488 * Stand alone usage is peripheral only.
489 * However, with some resistor modifications
490 * this port can be used via expansion connectors
491 * as "host" or "dual-role". If so, provide
492 * the necessary dr_mode override in the expansion
495 dr_mode = "peripheral";
499 cpu_alert1: cpu_alert1 {
500 temperature = <50000>; /* millicelsius */
501 hysteresis = <2000>; /* millicelsius */
508 trip = <&cpu_alert1>;
509 cooling-device = <&gpio_fan THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
514 board_thermal: board_thermal {
515 polling-delay-passive = <1250>; /* milliseconds */
516 polling-delay = <1500>; /* milliseconds */
519 thermal-sensors = <&tmp102 0>;
522 board_alert0: board_alert {
523 temperature = <40000>; /* millicelsius */
524 hysteresis = <2000>; /* millicelsius */
528 board_crit: board_crit {
529 temperature = <105000>; /* millicelsius */
530 hysteresis = <0>; /* millicelsius */
535 board_cooling_maps: cooling-maps {
537 trip = <&board_alert0>;
539 <&gpio_fan THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
548 vdda_video-supply = <&ldoln_reg>;
553 vdda-supply = <&ldo4_reg>;
557 remote-endpoint = <&tpd12s015_in>;
563 gpios = <&gpio2 8 GPIO_ACTIVE_LOW>;
567 #sound-dai-cells = <0>;
568 assigned-clocks = <&mcasp3_ahclkx_mux>;
569 assigned-clock-parents = <&sys_clkin2>;
572 op-mode = <0>; /* MCASP_IIS_MODE */
575 serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
584 mbox_ipu1_ipc3x: mbox_ipu1_ipc3x {
587 mbox_dsp1_ipc3x: mbox_dsp1_ipc3x {
594 mbox_ipu2_ipc3x: mbox_ipu2_ipc3x {
597 mbox_dsp2_ipc3x: mbox_dsp2_ipc3x {