blob: b3592b22a0c1684464a408a2b58440c4cb982284 [file] [log] [blame]
Andrew Davis5ba8a2b2023-04-11 13:24:56 -05001// SPDX-License-Identifier: GPL-2.0-only
Schuyler Pattonc665e272016-11-25 11:14:25 +05302/*
Andrew Davis5ba8a2b2023-04-11 13:24:56 -05003 * Copyright (C) 2015-2016 Texas Instruments Incorporated - https://www.ti.com/
Schuyler Pattonc665e272016-11-25 11:14:25 +05304 */
5/dts-v1/;
6
7#include "dra72x.dtsi"
8#include <dt-bindings/gpio/gpio.h>
9#include <dt-bindings/interrupt-controller/irq.h>
10#include "am57xx-idk-common.dtsi"
Faiz Abbas46912892019-06-20 15:07:19 +053011#include "dra7-mmc-iodelay.dtsi"
Lokesh Vutlacfa23a42017-08-21 12:50:59 +053012#include "dra72x-mmc-iodelay.dtsi"
Schuyler Pattonc665e272016-11-25 11:14:25 +053013
14/ {
15 model = "TI AM5718 IDK";
16 compatible = "ti,am5718-idk", "ti,am5718", "ti,dra7";
17
18 memory@80000000 {
19 device_type = "memory";
20 reg = <0x0 0x80000000 0x0 0x40000000>;
21 };
22
23 leds {
24 compatible = "gpio-leds";
25 cpu0-led {
26 label = "status0:red:cpu0";
27 gpios = <&gpio2 25 GPIO_ACTIVE_HIGH>;
28 default-state = "off";
29 linux,default-trigger = "cpu0";
30 };
31
32 usr0-led {
33 label = "status0:green:usr";
34 gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>;
35 default-state = "off";
36 };
37
38 heartbeat-led {
39 label = "status0:blue:heartbeat";
40 gpios = <&gpio2 27 GPIO_ACTIVE_HIGH>;
41 default-state = "off";
42 linux,default-trigger = "heartbeat";
43 };
44
45 usr1-led {
46 label = "status1:red:usr";
47 gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>;
48 default-state = "off";
49 };
50
51 usr2-led {
52 label = "status1:green:usr";
53 gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>;
54 default-state = "off";
55 };
56
57 mmc0-led {
58 label = "status1:blue:mmc0";
59 gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>;
60 default-state = "off";
61 linux,default-trigger = "mmc0";
62 };
63 };
Lokesh Vutlacfa23a42017-08-21 12:50:59 +053064};
65
66&omap_dwc3_2 {
67 extcon = <&extcon_usb2>;
68};
Schuyler Pattonc665e272016-11-25 11:14:25 +053069
Lokesh Vutlacfa23a42017-08-21 12:50:59 +053070&extcon_usb2 {
71 id-gpio = <&gpio5 7 GPIO_ACTIVE_HIGH>;
72 vbus-gpio = <&gpio7 22 GPIO_ACTIVE_HIGH>;
73};
74
75&mailbox5 {
76 status = "okay";
Andrew Davis0429d3f2023-04-11 13:25:06 -050077 mbox_ipu1_ipc3x: mbox-ipu1-ipc3x {
Lokesh Vutlacfa23a42017-08-21 12:50:59 +053078 status = "okay";
79 };
Andrew Davis0429d3f2023-04-11 13:25:06 -050080 mbox_dsp1_ipc3x: mbox-dsp1-ipc3x {
Lokesh Vutlacfa23a42017-08-21 12:50:59 +053081 status = "okay";
Schuyler Pattonc665e272016-11-25 11:14:25 +053082 };
83};
84
Lokesh Vutlacfa23a42017-08-21 12:50:59 +053085&mailbox6 {
Schuyler Pattonc665e272016-11-25 11:14:25 +053086 status = "okay";
Andrew Davis0429d3f2023-04-11 13:25:06 -050087 mbox_ipu2_ipc3x: mbox-ipu2-ipc3x {
Lokesh Vutlacfa23a42017-08-21 12:50:59 +053088 status = "okay";
89 };
Schuyler Pattonc665e272016-11-25 11:14:25 +053090};
91
Lokesh Vutlacfa23a42017-08-21 12:50:59 +053092&pcie1_rc {
93 status = "okay";
94 gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>;
95};
96
97&pcie1_ep {
98 gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>;
99};
100
101&mmc1 {
Faiz Abbas7f182c02019-06-20 15:07:21 +0530102 pinctrl-names = "default", "hs";
Faiz Abbas46912892019-06-20 15:07:19 +0530103 pinctrl-0 = <&mmc1_pins_default_no_clk_pu>;
Lokesh Vutlacfa23a42017-08-21 12:50:59 +0530104 pinctrl-1 = <&mmc1_pins_hs>;
Lokesh Vutlacfa23a42017-08-21 12:50:59 +0530105};
106
107&mmc2 {
108 pinctrl-names = "default", "hs", "ddr_1_8v";
109 pinctrl-0 = <&mmc2_pins_default>;
110 pinctrl-1 = <&mmc2_pins_hs>;
111 pinctrl-2 = <&mmc2_pins_ddr_rev20 &mmc2_iodelay_ddr_conf>;
Schuyler Pattonc665e272016-11-25 11:14:25 +0530112};