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 <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/interrupt-controller/irq.h>
13 #include <dt-bindings/pinctrl/dra.h>
16 model = "BeagleBoard.org BeagleBone AI";
17 compatible = "beagle,am5729-beagleboneai", "ti,am5728",
18 "ti,dra742", "ti,dra74", "ti,dra7";
21 rtc0 = &tps659038_rtc;
23 display0 = &hdmi_conn;
31 device_type = "memory";
32 reg = <0x0 0x80000000 0x0 0x40000000>;
40 ipu2_memory_region: ipu2-memory@95800000 {
41 compatible = "shared-dma-pool";
42 reg = <0x0 0x95800000 0x0 0x3800000>;
47 dsp1_memory_region: dsp1-memory@99000000 {
48 compatible = "shared-dma-pool";
49 reg = <0x0 0x99000000 0x0 0x4000000>;
54 ipu1_memory_region: ipu1-memory@9d000000 {
55 compatible = "shared-dma-pool";
56 reg = <0x0 0x9d000000 0x0 0x2000000>;
61 dsp2_memory_region: dsp2-memory@9f000000 {
62 compatible = "shared-dma-pool";
63 reg = <0x0 0x9f000000 0x0 0x800000>;
70 vdd_adc: gpioregulator-vdd_adc {
71 compatible = "regulator-gpio";
72 regulator-name = "vdd_adc";
73 vin-supply = <&vdd_5v>;
74 regulator-min-microvolt = <1800000>;
75 regulator-max-microvolt = <3300000>;
78 gpios = <&gpio3 27 GPIO_ACTIVE_HIGH>;
83 vdd_5v: fixedregulator-vdd_5v {
84 compatible = "regulator-fixed";
85 regulator-name = "vdd_5v";
86 regulator-min-microvolt = <5000000>;
87 regulator-max-microvolt = <5000000>;
92 vtt_fixed: fixedregulator-vtt {
94 compatible = "regulator-fixed";
95 regulator-name = "vtt_fixed";
96 vin-supply = <&vdd_ddr>;
97 regulator-min-microvolt = <3300000>;
98 regulator-max-microvolt = <3300000>;
104 compatible = "gpio-leds";
107 label = "beaglebone:green:usr0";
108 gpios = <&gpio3 17 GPIO_ACTIVE_HIGH>;
109 linux,default-trigger = "heartbeat";
110 default-state = "off";
114 label = "beaglebone:green:usr1";
115 gpios = <&gpio5 5 GPIO_ACTIVE_HIGH>;
116 linux,default-trigger = "mmc0";
117 default-state = "off";
121 label = "beaglebone:green:usr2";
122 gpios = <&gpio3 15 GPIO_ACTIVE_HIGH>;
123 linux,default-trigger = "cpu";
124 default-state = "off";
128 label = "beaglebone:green:usr3";
129 gpios = <&gpio3 14 GPIO_ACTIVE_HIGH>;
130 linux,default-trigger = "mmc1";
131 default-state = "off";
135 label = "beaglebone:green:usr4";
136 gpios = <&gpio3 7 GPIO_ACTIVE_HIGH>;
137 linux,default-trigger = "netdev";
138 default-state = "off";
142 hdmi_conn: connector@0 {
143 compatible = "hdmi-connector";
148 hdmi_connector_in: endpoint {
149 remote-endpoint = <&hdmi_encoder_out>;
154 hdmi_enc: encoder@0 {
155 /* "ti,tpd12s016" software compatible with "ti,tpd12s015"
156 * no need for individual driver
158 compatible = "ti,tpd12s015";
161 <&gpio7 12 GPIO_ACTIVE_HIGH>;
164 #address-cells = <0x1>;
170 hdmi_encoder_in: endpoint@0 {
171 remote-endpoint = <&hdmi_out>;
178 hdmi_encoder_out: endpoint@0 {
179 remote-endpoint = <&hdmi_connector_in>;
185 emmc_pwrseq: emmc_pwrseq {
186 compatible = "mmc-pwrseq-emmc";
187 reset-gpios = <&gpio5 7 GPIO_ACTIVE_LOW>;
190 brcmf_pwrseq: brcmf_pwrseq {
191 compatible = "mmc-pwrseq-simple";
192 reset-gpios = <&gpio3 22 GPIO_ACTIVE_LOW>, /* BT-REG-ON */
193 <&gpio3 18 GPIO_ACTIVE_LOW>; /* WL-REG-ON */
196 extcon_usb1: extcon_usb1 {
197 compatible = "linux,extcon-usb-gpio";
198 ti,enable-id-detection;
199 id-gpio = <&gpio3 13 GPIO_ACTIVE_HIGH>;
205 clock-frequency = <400000>;
207 tps659038: tps659038@58 {
208 compatible = "ti,tps659038";
210 interrupt-parent = <&gpio6>;
211 interrupts = <16 IRQ_TYPE_LEVEL_LOW>;
213 #interrupt-cells = <2>;
214 interrupt-controller;
216 ti,system-power-controller;
217 ti,palmas-override-powerhold;
220 compatible = "ti,tps659038-pmic";
222 smps12-in-supply = <&vdd_5v>;
223 smps3-in-supply = <&vdd_5v>;
224 smps45-in-supply = <&vdd_5v>;
225 smps6-in-supply = <&vdd_5v>;
226 smps7-in-supply = <&vdd_5v>;
227 mps3-in-supply = <&vdd_5v>;
228 smps8-in-supply = <&vdd_5v>;
229 smps9-in-supply = <&vdd_5v>;
230 ldo1-in-supply = <&vdd_5v>;
231 ldo2-in-supply = <&vdd_5v>;
232 ldo3-in-supply = <&vdd_5v>;
233 ldo4-in-supply = <&vdd_5v>;
234 ldo9-in-supply = <&vdd_5v>;
235 ldoln-in-supply = <&vdd_5v>;
236 ldousb-in-supply = <&vdd_5v>;
237 ldortc-in-supply = <&vdd_5v>;
242 regulator-name = "smps12";
243 regulator-min-microvolt = <850000>;
244 regulator-max-microvolt = <1250000>;
250 /* VDD_DDR EMIF1 EMIF2 */
251 regulator-name = "smps3";
252 regulator-min-microvolt = <1350000>;
253 regulator-max-microvolt = <1350000>;
259 /* VDD_DSPEVE on AM572 */
260 regulator-name = "smps45";
261 regulator-min-microvolt = < 850000>;
262 regulator-max-microvolt = <1250000>;
269 regulator-name = "smps6";
270 regulator-min-microvolt = < 850000>;
271 regulator-max-microvolt = <1250000>;
278 regulator-name = "smps7";
279 regulator-min-microvolt = < 850000>; /*** 1.15V */
280 regulator-max-microvolt = <1150000>;
286 /* VDD_IVAHD */ /*** 1.06V */
287 regulator-name = "smps8";
292 regulator-name = "smps9";
293 regulator-min-microvolt = <3300000>;
294 regulator-max-microvolt = <3300000>;
300 /* VDDSHV8 - VSDMMC */
301 regulator-name = "ldo1";
302 regulator-min-microvolt = <1800000>;
303 regulator-max-microvolt = <3300000>;
310 regulator-name = "ldo2";
311 regulator-min-microvolt = <1800000>;
312 regulator-max-microvolt = <1800000>;
317 vdd_1v8_phy_ldo3: ldo3 {
318 /* R1.3a 572x V1_8PHY_LDO3: USB, SATA */
319 regulator-name = "ldo3";
320 regulator-min-microvolt = <1800000>;
321 regulator-max-microvolt = <1800000>;
326 vdd_1v8_phy_ldo4: ldo4 {
327 /* R1.3a 572x V1_8PHY_LDO4: PCIE, HDMI*/
328 regulator-name = "ldo4";
329 regulator-min-microvolt = <1800000>;
330 regulator-max-microvolt = <1800000>;
339 regulator-name = "ldo9";
340 regulator-min-microvolt = < 840000>;
341 regulator-max-microvolt = <1160000>;
348 regulator-name = "ldoln";
349 regulator-min-microvolt = <1800000>;
350 regulator-max-microvolt = <1800000>;
356 /* VDDA_3V_USB: VDDA_USBHS33 */
357 regulator-name = "ldousb";
358 regulator-min-microvolt = <3300000>;
359 regulator-max-microvolt = <3300000>;
366 regulator-name = "ldortc";
367 regulator-min-microvolt = <1800000>;
368 regulator-max-microvolt = <1800000>;
375 regulator-name = "regen1";
381 /* Needed for PMIC internal resource */
382 regulator-name = "regen2";
389 tps659038_rtc: tps659038_rtc {
390 compatible = "ti,palmas-rtc";
391 interrupt-parent = <&tps659038>;
392 interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
396 tps659038_pwr_button: tps659038_pwr_button {
397 compatible = "ti,palmas-pwrbutton";
398 interrupt-parent = <&tps659038>;
399 interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
401 ti,palmas-long-press-seconds = <12>;
404 tps659038_gpio: tps659038_gpio {
405 compatible = "ti,palmas-gpio";
411 /* STMPE811 touch screen controller */
413 compatible = "st,stmpe811";
415 interrupts = <30 IRQ_TYPE_LEVEL_LOW>;
416 interrupt-parent = <&gpio2>;
417 interrupt-controller;
421 st,mod-12b = <1>; /* 12-bit ADC */
422 st,ref-sel = <0>; /* internal ADC reference */
423 st,adc-freq = <1>; /* 3.25 MHz ADC clock speed */
424 st,sample-time = <4>; /* ADC converstion time: 80 clocks */
427 compatible = "st,stmpe-adc";
428 st,norequest-mask = <0x00>; /* mask any channels to be used by touchscreen */
430 #io-channel-cells = <1>;
431 iio-channels = <&adc0 4>, <&adc0 1>, <&adc0 2>, <&adc0 3>, <&adc0 4>, <&adc0 5>, <&adc0 6>;
432 iio-channel-names = "AIN0_P9_39", "AIN1_P9_40", "AIN2_P9_37", "AIN3_P9_38",
433 "AIN4_P9_33", "AIN5_P9_36", "AIN6_P9_35";
439 compatible = "st,stmpe-ts";
440 /* 8 sample average control */
442 /* 7 length fractional part in z */
445 * 50 mA typical 80 mA max touchscreen drivers
446 * current limit value
449 /* 1 ms panel driver settling time */
451 /* 5 ms touch detect interrupt delay */
452 st,touch-det-delay = <5>;
456 compatible = "st,stmpe-gpio";
460 compatible = "st,stmpe-pwm";
468 ti,pindir-d0-out-d1-in;
470 sn65hvs882: sn65hvs882@0 {
471 compatible = "pisosr-gpio";
476 spi-max-frequency = <1000000>;
482 vdd-supply = <&vdd_mpu>;
483 voltage-tolerance = <1>;
491 reset-gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
492 reset-delay-us = <2>;
494 phy0: ethernet-phy@1 {
507 phy-handle = <&phy0>;
508 phy-mode = "rgmii-rxid";
512 pruss1_shmem: pruss_shmem@4b200000 {
514 compatible = "ti,pruss-shmem";
515 reg = <0x4b200000 0x020000>;
518 pruss2_shmem: pruss_shmem@4b280000 {
520 compatible = "ti,pruss-shmem";
521 reg = <0x4b280000 0x020000>;
527 vmmc-supply = <&vdd_3v3>;
528 vqmmc-supply = <&vdd_sd>;
530 cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; /* gpio 219 */
532 pinctrl-names = "default";
533 pinctrl-0 = <&mmc1_pins_default>;
538 vmmc-supply = <&vdd_1v8>;
539 vqmmc-supply = <&vdd_1v8>;
543 mmc-pwrseq = <&emmc_pwrseq>;
545 ti,needs-special-reset;
546 dmas = <&sdma_xbar 47>, <&sdma_xbar 48>;
547 dma-names = "tx", "rx";
552 /* DS: Default speed (DS) up to 25 MHz, including 1- and 4-bit modes (3.3 V signaling). */
553 /* HS: High speed up to 50 MHz (3.3 V signaling). */
554 /* SDR12: SDR up to 25 MHz (1.8 V signaling). */
555 /* SDR25: SDR up to 50 MHz (1.8 V signaling). */
556 /* SDR50: SDR up to 100 MHz (1.8 V signaling). */
557 /* SDR104: SDR up to 208 MHz (1.8 V signaling) */
558 /* DDR50: DDR up to 50 MHz (1.8 V signaling). */
561 ti,needs-special-reset;
562 vmmc-supply = <&vdd_3v3>;
564 keep-power-in-suspend;
569 max-frequency = <24000000>;
571 #address-cells = <1>;
573 mmc-pwrseq = <&brcmf_pwrseq>;
578 compatible = "brcm,bcm4329-fmac";
580 brcm,sd-head-align = <4>;
581 brcm,sd_head_align = <4>;
582 brcm,sd_sgentry_align = <512>;
584 interrupt-parent = <&gpio3>;
585 interrupts = <23 IRQ_TYPE_LEVEL_LOW>;
586 interrupt-names = "host-wake";
591 phy-supply = <&ldousb_reg>;
595 phy-supply = <&ldousb_reg>;
604 extcon = <&extcon_usb1>;
614 vdda_video-supply = <&vdd_1v8_pll>;
619 vdda-supply = <&vdd_1v8_phy_ldo4>;
623 remote-endpoint = <&hdmi_encoder_in>;
685 temperature = <55000>; /* milliCelsius */
689 temperature = <85000>; /* milliCelsius */
693 temperature = <85000>; /* milliCelsius */
697 temperature = <85000>; /* milliCelsius */
701 temperature = <85000>; /* milliCelsius */
705 temperature = <85000>; /* milliCelsius */
721 /* cape header stuff */
724 clock-frequency = <100000>;