1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2014-2019 Texas Instruments Incorporated - http://www.ti.com/
9 #include "am57xx-commercial-grade.dtsi"
10 #include "dra74x-mmc-iodelay.dtsi"
11 #include "dra74-ipu-dsp-common.dtsi"
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/interrupt-controller/irq.h>
14 #include <dt-bindings/pinctrl/dra.h>
17 model = "BeagleBoard.org BeagleBone AI";
18 compatible = "beagle,am5729-beagleboneai", "ti,am5728",
19 "ti,dra742", "ti,dra74", "ti,dra7";
22 rtc0 = &tps659038_rtc;
24 display0 = &hdmi_conn;
32 device_type = "memory";
33 reg = <0x0 0x80000000 0x0 0x40000000>;
41 ipu2_memory_region: ipu2-memory@95800000 {
42 compatible = "shared-dma-pool";
43 reg = <0x0 0x95800000 0x0 0x3800000>;
48 dsp1_memory_region: dsp1-memory@99000000 {
49 compatible = "shared-dma-pool";
50 reg = <0x0 0x99000000 0x0 0x4000000>;
55 ipu1_memory_region: ipu1-memory@9d000000 {
56 compatible = "shared-dma-pool";
57 reg = <0x0 0x9d000000 0x0 0x2000000>;
62 dsp2_memory_region: dsp2-memory@9f000000 {
63 compatible = "shared-dma-pool";
64 reg = <0x0 0x9f000000 0x0 0x800000>;
71 vdd_adc: gpioregulator-vdd_adc {
72 compatible = "regulator-gpio";
73 regulator-name = "vdd_adc";
74 vin-supply = <&vdd_5v>;
75 regulator-min-microvolt = <1800000>;
76 regulator-max-microvolt = <3300000>;
79 gpios = <&gpio3 27 GPIO_ACTIVE_HIGH>;
84 vdd_5v: fixedregulator-vdd_5v {
85 compatible = "regulator-fixed";
86 regulator-name = "vdd_5v";
87 regulator-min-microvolt = <5000000>;
88 regulator-max-microvolt = <5000000>;
93 vtt_fixed: fixedregulator-vtt {
95 compatible = "regulator-fixed";
96 regulator-name = "vtt_fixed";
97 vin-supply = <&vdd_ddr>;
98 regulator-min-microvolt = <3300000>;
99 regulator-max-microvolt = <3300000>;
105 compatible = "gpio-leds";
108 label = "beaglebone:green:usr0";
109 gpios = <&gpio3 17 GPIO_ACTIVE_HIGH>;
110 linux,default-trigger = "heartbeat";
111 default-state = "off";
115 label = "beaglebone:green:usr1";
116 gpios = <&gpio5 5 GPIO_ACTIVE_HIGH>;
117 linux,default-trigger = "mmc0";
118 default-state = "off";
122 label = "beaglebone:green:usr2";
123 gpios = <&gpio3 15 GPIO_ACTIVE_HIGH>;
124 linux,default-trigger = "cpu";
125 default-state = "off";
129 label = "beaglebone:green:usr3";
130 gpios = <&gpio3 14 GPIO_ACTIVE_HIGH>;
131 linux,default-trigger = "mmc1";
132 default-state = "off";
136 label = "beaglebone:green:usr4";
137 gpios = <&gpio3 7 GPIO_ACTIVE_HIGH>;
138 linux,default-trigger = "netdev";
139 default-state = "off";
143 hdmi_conn: connector@0 {
144 compatible = "hdmi-connector";
149 hdmi_connector_in: endpoint {
150 remote-endpoint = <&hdmi_encoder_out>;
155 hdmi_enc: encoder@0 {
156 /* "ti,tpd12s016" software compatible with "ti,tpd12s015"
157 * no need for individual driver
159 compatible = "ti,tpd12s015";
162 <&gpio7 12 GPIO_ACTIVE_HIGH>;
165 #address-cells = <0x1>;
171 hdmi_encoder_in: endpoint@0 {
172 remote-endpoint = <&hdmi_out>;
179 hdmi_encoder_out: endpoint@0 {
180 remote-endpoint = <&hdmi_connector_in>;
186 emmc_pwrseq: emmc_pwrseq {
187 compatible = "mmc-pwrseq-emmc";
188 reset-gpios = <&gpio5 7 GPIO_ACTIVE_LOW>;
191 brcmf_pwrseq: brcmf_pwrseq {
192 compatible = "mmc-pwrseq-simple";
193 reset-gpios = <&gpio3 22 GPIO_ACTIVE_LOW>, /* BT-REG-ON */
194 <&gpio3 18 GPIO_ACTIVE_LOW>; /* WL-REG-ON */
197 extcon_usb1: extcon_usb1 {
198 compatible = "linux,extcon-usb-gpio";
199 ti,enable-id-detection;
200 id-gpio = <&gpio3 13 GPIO_ACTIVE_HIGH>;
206 clock-frequency = <400000>;
208 tps659038: tps659038@58 {
209 compatible = "ti,tps659038";
211 interrupt-parent = <&gpio6>;
212 interrupts = <16 IRQ_TYPE_LEVEL_LOW>;
214 #interrupt-cells = <2>;
215 interrupt-controller;
217 ti,system-power-controller;
218 ti,palmas-override-powerhold;
221 compatible = "ti,tps659038-pmic";
223 smps12-in-supply = <&vdd_5v>;
224 smps3-in-supply = <&vdd_5v>;
225 smps45-in-supply = <&vdd_5v>;
226 smps6-in-supply = <&vdd_5v>;
227 smps7-in-supply = <&vdd_5v>;
228 mps3-in-supply = <&vdd_5v>;
229 smps8-in-supply = <&vdd_5v>;
230 smps9-in-supply = <&vdd_5v>;
231 ldo1-in-supply = <&vdd_5v>;
232 ldo2-in-supply = <&vdd_5v>;
233 ldo3-in-supply = <&vdd_5v>;
234 ldo4-in-supply = <&vdd_5v>;
235 ldo9-in-supply = <&vdd_5v>;
236 ldoln-in-supply = <&vdd_5v>;
237 ldousb-in-supply = <&vdd_5v>;
238 ldortc-in-supply = <&vdd_5v>;
243 regulator-name = "smps12";
244 regulator-min-microvolt = <850000>;
245 regulator-max-microvolt = <1250000>;
251 /* VDD_DDR EMIF1 EMIF2 */
252 regulator-name = "smps3";
253 regulator-min-microvolt = <1350000>;
254 regulator-max-microvolt = <1350000>;
260 /* VDD_DSPEVE on AM572 */
261 regulator-name = "smps45";
262 regulator-min-microvolt = < 850000>;
263 regulator-max-microvolt = <1250000>;
270 regulator-name = "smps6";
271 regulator-min-microvolt = < 850000>;
272 regulator-max-microvolt = <1250000>;
279 regulator-name = "smps7";
280 regulator-min-microvolt = < 850000>; /*** 1.15V */
281 regulator-max-microvolt = <1150000>;
287 /* VDD_IVAHD */ /*** 1.06V */
288 regulator-name = "smps8";
293 regulator-name = "smps9";
294 regulator-min-microvolt = <3300000>;
295 regulator-max-microvolt = <3300000>;
301 /* VDDSHV8 - VSDMMC */
302 regulator-name = "ldo1";
303 regulator-min-microvolt = <1800000>;
304 regulator-max-microvolt = <3300000>;
311 regulator-name = "ldo2";
312 regulator-min-microvolt = <1800000>;
313 regulator-max-microvolt = <1800000>;
318 vdd_1v8_phy_ldo3: ldo3 {
319 /* R1.3a 572x V1_8PHY_LDO3: USB, SATA */
320 regulator-name = "ldo3";
321 regulator-min-microvolt = <1800000>;
322 regulator-max-microvolt = <1800000>;
327 vdd_1v8_phy_ldo4: ldo4 {
328 /* R1.3a 572x V1_8PHY_LDO4: PCIE, HDMI*/
329 regulator-name = "ldo4";
330 regulator-min-microvolt = <1800000>;
331 regulator-max-microvolt = <1800000>;
340 regulator-name = "ldo9";
341 regulator-min-microvolt = < 840000>;
342 regulator-max-microvolt = <1160000>;
349 regulator-name = "ldoln";
350 regulator-min-microvolt = <1800000>;
351 regulator-max-microvolt = <1800000>;
357 /* VDDA_3V_USB: VDDA_USBHS33 */
358 regulator-name = "ldousb";
359 regulator-min-microvolt = <3300000>;
360 regulator-max-microvolt = <3300000>;
367 regulator-name = "ldortc";
368 regulator-min-microvolt = <1800000>;
369 regulator-max-microvolt = <1800000>;
376 regulator-name = "regen1";
382 /* Needed for PMIC internal resource */
383 regulator-name = "regen2";
390 tps659038_rtc: tps659038_rtc {
391 compatible = "ti,palmas-rtc";
392 interrupt-parent = <&tps659038>;
393 interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
397 tps659038_pwr_button: tps659038_pwr_button {
398 compatible = "ti,palmas-pwrbutton";
399 interrupt-parent = <&tps659038>;
400 interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
402 ti,palmas-long-press-seconds = <12>;
405 tps659038_gpio: tps659038_gpio {
406 compatible = "ti,palmas-gpio";
412 /* STMPE811 touch screen controller */
414 compatible = "st,stmpe811";
416 interrupts = <30 IRQ_TYPE_LEVEL_LOW>;
417 interrupt-parent = <&gpio2>;
418 interrupt-controller;
422 st,mod-12b = <1>; /* 12-bit ADC */
423 st,ref-sel = <0>; /* internal ADC reference */
424 st,adc-freq = <1>; /* 3.25 MHz ADC clock speed */
425 st,sample-time = <4>; /* ADC converstion time: 80 clocks */
428 compatible = "st,stmpe-adc";
429 st,norequest-mask = <0x00>; /* mask any channels to be used by touchscreen */
431 #io-channel-cells = <1>;
432 iio-channels = <&adc0 4>, <&adc0 1>, <&adc0 2>, <&adc0 3>, <&adc0 4>, <&adc0 5>, <&adc0 6>;
433 iio-channel-names = "AIN0_P9_39", "AIN1_P9_40", "AIN2_P9_37", "AIN3_P9_38",
434 "AIN4_P9_33", "AIN5_P9_36", "AIN6_P9_35";
440 compatible = "st,stmpe-ts";
441 /* 8 sample average control */
443 /* 7 length fractional part in z */
446 * 50 mA typical 80 mA max touchscreen drivers
447 * current limit value
450 /* 1 ms panel driver settling time */
452 /* 5 ms touch detect interrupt delay */
453 st,touch-det-delay = <5>;
457 compatible = "st,stmpe-gpio";
461 compatible = "st,stmpe-pwm";
469 ti,pindir-d0-out-d1-in;
471 sn65hvs882: sn65hvs882@0 {
472 compatible = "pisosr-gpio";
477 spi-max-frequency = <1000000>;
483 vdd-supply = <&vdd_mpu>;
484 voltage-tolerance = <1>;
492 reset-gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
493 reset-delay-us = <2>;
495 phy0: ethernet-phy@4 {
507 phy-handle = <&phy0>;
508 phy-mode = "rgmii-rxid";
509 ti,dual-emac-pvid = <1>;
517 pruss1_shmem: pruss_shmem@4b200000 {
519 compatible = "ti,pruss-shmem";
520 reg = <0x4b200000 0x020000>;
523 pruss2_shmem: pruss_shmem@4b280000 {
525 compatible = "ti,pruss-shmem";
526 reg = <0x4b280000 0x020000>;
532 vmmc-supply = <&vdd_3v3>;
533 vqmmc-supply = <&vdd_sd>;
535 cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; /* gpio 219 */
537 pinctrl-names = "default";
538 pinctrl-0 = <&mmc1_pins_default>;
543 vmmc-supply = <&vdd_1v8>;
544 vqmmc-supply = <&vdd_1v8>;
548 mmc-pwrseq = <&emmc_pwrseq>;
550 ti,needs-special-reset;
551 dmas = <&sdma_xbar 47>, <&sdma_xbar 48>;
552 dma-names = "tx", "rx";
557 /* DS: Default speed (DS) up to 25 MHz, including 1- and 4-bit modes (3.3 V signaling). */
558 /* HS: High speed up to 50 MHz (3.3 V signaling). */
559 /* SDR12: SDR up to 25 MHz (1.8 V signaling). */
560 /* SDR25: SDR up to 50 MHz (1.8 V signaling). */
561 /* SDR50: SDR up to 100 MHz (1.8 V signaling). */
562 /* SDR104: SDR up to 208 MHz (1.8 V signaling) */
563 /* DDR50: DDR up to 50 MHz (1.8 V signaling). */
566 ti,needs-special-reset;
567 vmmc-supply = <&vdd_3v3>;
569 keep-power-in-suspend;
574 max-frequency = <24000000>;
576 #address-cells = <1>;
578 mmc-pwrseq = <&brcmf_pwrseq>;
583 compatible = "brcm,bcm4329-fmac";
585 brcm,sd-head-align = <4>;
586 brcm,sd_head_align = <4>;
587 brcm,sd_sgentry_align = <512>;
589 interrupt-parent = <&gpio3>;
590 interrupts = <23 IRQ_TYPE_LEVEL_LOW>;
591 interrupt-names = "host-wake";
596 phy-supply = <&ldousb_reg>;
600 phy-supply = <&ldousb_reg>;
609 extcon = <&extcon_usb1>;
619 vdda_video-supply = <&vdd_1v8_pll>;
624 vdda-supply = <&vdd_1v8_phy_ldo4>;
628 remote-endpoint = <&hdmi_encoder_in>;
638 temperature = <55000>; /* milliCelsius */
642 temperature = <85000>; /* milliCelsius */
646 temperature = <85000>; /* milliCelsius */
650 temperature = <85000>; /* milliCelsius */
654 temperature = <85000>; /* milliCelsius */
658 temperature = <85000>; /* milliCelsius */
674 /* cape header stuff */
677 clock-frequency = <100000>;
688 memory-region = <&ipu2_memory_region>;
693 memory-region = <&ipu1_memory_region>;
698 memory-region = <&dsp1_memory_region>;
703 memory-region = <&dsp2_memory_region>;