1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2014-2019 Texas Instruments Incorporated - http://www.ti.com/
8 #include "dra74x-mmc-iodelay.dtsi"
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
11 #include <dt-bindings/pinctrl/dra.h>
14 model = "BeagleBoard.org BeagleBone AI";
15 compatible = "beagle,am5729-beagleboneai", "ti,am5728",
16 "ti,dra742", "ti,dra74", "ti,dra7";
19 rtc0 = &tps659038_rtc;
21 display0 = &hdmi_conn;
29 device_type = "memory";
30 reg = <0x0 0x80000000 0x0 0x40000000>;
33 vdd_adc: gpioregulator-vdd_adc {
34 compatible = "regulator-gpio";
35 regulator-name = "vdd_adc";
36 vin-supply = <&vdd_5v>;
37 regulator-min-microvolt = <1800000>;
38 regulator-max-microvolt = <3300000>;
41 gpios = <&gpio3 27 GPIO_ACTIVE_HIGH>;
46 vdd_5v: fixedregulator-vdd_5v {
47 compatible = "regulator-fixed";
48 regulator-name = "vdd_5v";
49 regulator-min-microvolt = <5000000>;
50 regulator-max-microvolt = <5000000>;
55 vtt_fixed: fixedregulator-vtt {
57 compatible = "regulator-fixed";
58 regulator-name = "vtt_fixed";
59 vin-supply = <&vdd_ddr>;
60 regulator-min-microvolt = <3300000>;
61 regulator-max-microvolt = <3300000>;
67 compatible = "gpio-leds";
70 label = "beaglebone:green:usr0";
71 gpios = <&gpio3 17 GPIO_ACTIVE_HIGH>;
72 linux,default-trigger = "heartbeat";
73 default-state = "off";
77 label = "beaglebone:green:usr1";
78 gpios = <&gpio5 5 GPIO_ACTIVE_HIGH>;
79 linux,default-trigger = "mmc0";
80 default-state = "off";
84 label = "beaglebone:green:usr2";
85 gpios = <&gpio3 15 GPIO_ACTIVE_HIGH>;
86 linux,default-trigger = "cpu";
87 default-state = "off";
91 label = "beaglebone:green:usr3";
92 gpios = <&gpio3 14 GPIO_ACTIVE_HIGH>;
93 linux,default-trigger = "mmc1";
94 default-state = "off";
98 label = "beaglebone:green:usr4";
99 gpios = <&gpio3 7 GPIO_ACTIVE_HIGH>;
100 linux,default-trigger = "netdev";
101 default-state = "off";
105 hdmi_conn: connector@0 {
106 compatible = "hdmi-connector";
111 hdmi_connector_in: endpoint {
112 remote-endpoint = <&hdmi_encoder_out>;
117 hdmi_enc: encoder@0 {
118 /* "ti,tpd12s016" software compatible with "ti,tpd12s015"
119 * no need for individual driver
121 compatible = "ti,tpd12s015";
124 <&gpio7 12 GPIO_ACTIVE_HIGH>;
127 #address-cells = <0x1>;
133 hdmi_encoder_in: endpoint@0 {
134 remote-endpoint = <&hdmi_out>;
141 hdmi_encoder_out: endpoint@0 {
142 remote-endpoint = <&hdmi_connector_in>;
148 emmc_pwrseq: emmc_pwrseq {
149 compatible = "mmc-pwrseq-emmc";
150 reset-gpios = <&gpio5 7 GPIO_ACTIVE_LOW>;
153 brcmf_pwrseq: brcmf_pwrseq {
154 compatible = "mmc-pwrseq-simple";
155 reset-gpios = <&gpio3 22 GPIO_ACTIVE_LOW>, /* BT-REG-ON */
156 <&gpio3 18 GPIO_ACTIVE_LOW>; /* WL-REG-ON */
159 extcon_usb1: extcon_usb1 {
160 compatible = "linux,extcon-usb-gpio";
161 ti,enable-id-detection;
162 id-gpio = <&gpio3 13 GPIO_ACTIVE_HIGH>;
168 clock-frequency = <400000>;
170 tps659038: tps659038@58 {
171 compatible = "ti,tps659038";
173 interrupt-parent = <&gpio6>;
174 interrupts = <16 IRQ_TYPE_LEVEL_LOW>;
176 #interrupt-cells = <2>;
177 interrupt-controller;
179 ti,system-power-controller;
180 ti,palmas-override-powerhold;
183 compatible = "ti,tps659038-pmic";
185 smps12-in-supply = <&vdd_5v>;
186 smps3-in-supply = <&vdd_5v>;
187 smps45-in-supply = <&vdd_5v>;
188 smps6-in-supply = <&vdd_5v>;
189 smps7-in-supply = <&vdd_5v>;
190 mps3-in-supply = <&vdd_5v>;
191 smps8-in-supply = <&vdd_5v>;
192 smps9-in-supply = <&vdd_5v>;
193 ldo1-in-supply = <&vdd_5v>;
194 ldo2-in-supply = <&vdd_5v>;
195 ldo3-in-supply = <&vdd_5v>;
196 ldo4-in-supply = <&vdd_5v>;
197 ldo9-in-supply = <&vdd_5v>;
198 ldoln-in-supply = <&vdd_5v>;
199 ldousb-in-supply = <&vdd_5v>;
200 ldortc-in-supply = <&vdd_5v>;
205 regulator-name = "smps12";
206 regulator-min-microvolt = <850000>;
207 regulator-max-microvolt = <1250000>;
213 /* VDD_DDR EMIF1 EMIF2 */
214 regulator-name = "smps3";
215 regulator-min-microvolt = <1350000>;
216 regulator-max-microvolt = <1350000>;
222 /* VDD_DSPEVE on AM572 */
223 regulator-name = "smps45";
224 regulator-min-microvolt = < 850000>;
225 regulator-max-microvolt = <1250000>;
232 regulator-name = "smps6";
233 regulator-min-microvolt = < 850000>;
234 regulator-max-microvolt = <1250000>;
241 regulator-name = "smps7";
242 regulator-min-microvolt = < 850000>; /*** 1.15V */
243 regulator-max-microvolt = <1150000>;
249 /* VDD_IVAHD */ /*** 1.06V */
250 regulator-name = "smps8";
255 regulator-name = "smps9";
256 regulator-min-microvolt = <3300000>;
257 regulator-max-microvolt = <3300000>;
263 /* VDDSHV8 - VSDMMC */
264 regulator-name = "ldo1";
265 regulator-min-microvolt = <1800000>;
266 regulator-max-microvolt = <3300000>;
273 regulator-name = "ldo2";
274 regulator-min-microvolt = <1800000>;
275 regulator-max-microvolt = <1800000>;
280 vdd_1v8_phy_ldo3: ldo3 {
281 /* R1.3a 572x V1_8PHY_LDO3: USB, SATA */
282 regulator-name = "ldo3";
283 regulator-min-microvolt = <1800000>;
284 regulator-max-microvolt = <1800000>;
289 vdd_1v8_phy_ldo4: ldo4 {
290 /* R1.3a 572x V1_8PHY_LDO4: PCIE, HDMI*/
291 regulator-name = "ldo4";
292 regulator-min-microvolt = <1800000>;
293 regulator-max-microvolt = <1800000>;
302 regulator-name = "ldo9";
303 regulator-min-microvolt = < 840000>;
304 regulator-max-microvolt = <1160000>;
311 regulator-name = "ldoln";
312 regulator-min-microvolt = <1800000>;
313 regulator-max-microvolt = <1800000>;
319 /* VDDA_3V_USB: VDDA_USBHS33 */
320 regulator-name = "ldousb";
321 regulator-min-microvolt = <3300000>;
322 regulator-max-microvolt = <3300000>;
329 regulator-name = "ldortc";
330 regulator-min-microvolt = <1800000>;
331 regulator-max-microvolt = <1800000>;
338 regulator-name = "regen1";
344 /* Needed for PMIC internal resource */
345 regulator-name = "regen2";
352 tps659038_rtc: tps659038_rtc {
353 compatible = "ti,palmas-rtc";
354 interrupt-parent = <&tps659038>;
355 interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
359 tps659038_pwr_button: tps659038_pwr_button {
360 compatible = "ti,palmas-pwrbutton";
361 interrupt-parent = <&tps659038>;
362 interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
364 ti,palmas-long-press-seconds = <12>;
367 tps659038_gpio: tps659038_gpio {
368 compatible = "ti,palmas-gpio";
377 ti,pindir-d0-out-d1-in;
379 sn65hvs882: sn65hvs882@0 {
380 compatible = "pisosr-gpio";
385 spi-max-frequency = <1000000>;
391 vdd-supply = <&vdd_mpu>;
392 voltage-tolerance = <1>;
400 reset-gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
401 reset-delay-us = <2>;
403 phy0: ethernet-phy@1 {
416 phy-handle = <&phy0>;
422 vmmc-supply = <&vdd_3v3>;
423 vqmmc-supply = <&vdd_sd>;
425 cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; /* gpio 219 */
427 pinctrl-names = "default";
428 pinctrl-0 = <&mmc1_pins_default>;
433 vmmc-supply = <&vdd_1v8>;
434 vqmmc-supply = <&vdd_1v8>;
438 mmc-pwrseq = <&emmc_pwrseq>;
440 ti,needs-special-reset;
441 dmas = <&sdma_xbar 47>, <&sdma_xbar 48>;
442 dma-names = "tx", "rx";
444 pinctrl-names = "default", "hs", "ddr_1_8v", "hs200_1_8v";
445 pinctrl-0 = <&mmc2_pins_default>;
446 pinctrl-1 = <&mmc2_pins_hs>;
447 pinctrl-2 = <&mmc2_pins_ddr_rev20>;
448 pinctrl-3 = <&mmc2_pins_hs200>;
453 /* DS: Default speed (DS) up to 25 MHz, including 1- and 4-bit modes (3.3 V signaling). */
454 /* HS: High speed up to 50 MHz (3.3 V signaling). */
455 /* SDR12: SDR up to 25 MHz (1.8 V signaling). */
456 /* SDR25: SDR up to 50 MHz (1.8 V signaling). */
457 /* SDR50: SDR up to 100 MHz (1.8 V signaling). */
458 /* SDR104: SDR up to 208 MHz (1.8 V signaling) */
459 /* DDR50: DDR up to 50 MHz (1.8 V signaling). */
462 ti,needs-special-reset;
463 vmmc-supply = <&vdd_3v3>;
465 keep-power-in-suspend;
470 max-frequency = <24000000>;
472 #address-cells = <1>;
474 mmc-pwrseq = <&brcmf_pwrseq>;
479 compatible = "brcm,bcm4329-fmac";
481 brcm,sd-head-align = <4>;
482 brcm,sd_head_align = <4>;
483 brcm,sd_sgentry_align = <512>;
485 interrupt-parent = <&gpio3>;
486 interrupts = <23 IRQ_TYPE_LEVEL_LOW>;
487 interrupt-names = "host-wake";
492 phy-supply = <&ldousb_reg>;
496 phy-supply = <&ldousb_reg>;
505 extcon = <&extcon_usb1>;
515 vdda_video-supply = <&vdd_1v8_pll>;
520 vdda-supply = <&vdd_1v8_phy_ldo4>;
524 remote-endpoint = <&hdmi_encoder_in>;
534 temperature = <55000>; /* milliCelsius */
538 temperature = <85000>; /* milliCelsius */
542 temperature = <85000>; /* milliCelsius */
546 temperature = <85000>; /* milliCelsius */
550 temperature = <85000>; /* milliCelsius */
554 temperature = <85000>; /* milliCelsius */
570 /* cape header stuff */
573 clock-frequency = <100000>;
576 #include "omap5-u-boot.dtsi"