blob: 798fbfe19d403a75921749675c3da4f5e63bc8ab [file] [log] [blame]
Schuyler Pattonc665e272016-11-25 11:14:25 +05301/*
2 * Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.com/
3 *
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.
7 */
8/dts-v1/;
9
10#include "dra72x.dtsi"
11#include <dt-bindings/gpio/gpio.h>
12#include <dt-bindings/interrupt-controller/irq.h>
13#include "am57xx-idk-common.dtsi"
Faiz Abbas46912892019-06-20 15:07:19 +053014#include "dra7-mmc-iodelay.dtsi"
Lokesh Vutlacfa23a42017-08-21 12:50:59 +053015#include "dra72x-mmc-iodelay.dtsi"
Schuyler Pattonc665e272016-11-25 11:14:25 +053016
17/ {
18 model = "TI AM5718 IDK";
19 compatible = "ti,am5718-idk", "ti,am5718", "ti,dra7";
20
21 memory@80000000 {
22 device_type = "memory";
23 reg = <0x0 0x80000000 0x0 0x40000000>;
24 };
25
26 leds {
27 compatible = "gpio-leds";
28 cpu0-led {
29 label = "status0:red:cpu0";
30 gpios = <&gpio2 25 GPIO_ACTIVE_HIGH>;
31 default-state = "off";
32 linux,default-trigger = "cpu0";
33 };
34
35 usr0-led {
36 label = "status0:green:usr";
37 gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>;
38 default-state = "off";
39 };
40
41 heartbeat-led {
42 label = "status0:blue:heartbeat";
43 gpios = <&gpio2 27 GPIO_ACTIVE_HIGH>;
44 default-state = "off";
45 linux,default-trigger = "heartbeat";
46 };
47
48 usr1-led {
49 label = "status1:red:usr";
50 gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>;
51 default-state = "off";
52 };
53
54 usr2-led {
55 label = "status1:green:usr";
56 gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>;
57 default-state = "off";
58 };
59
60 mmc0-led {
61 label = "status1:blue:mmc0";
62 gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>;
63 default-state = "off";
64 linux,default-trigger = "mmc0";
65 };
66 };
Lokesh Vutlacfa23a42017-08-21 12:50:59 +053067};
68
69&omap_dwc3_2 {
70 extcon = <&extcon_usb2>;
71};
Schuyler Pattonc665e272016-11-25 11:14:25 +053072
Lokesh Vutlacfa23a42017-08-21 12:50:59 +053073&extcon_usb2 {
74 id-gpio = <&gpio5 7 GPIO_ACTIVE_HIGH>;
75 vbus-gpio = <&gpio7 22 GPIO_ACTIVE_HIGH>;
76};
77
78&mailbox5 {
79 status = "okay";
80 mbox_ipu1_ipc3x: mbox_ipu1_ipc3x {
81 status = "okay";
82 };
83 mbox_dsp1_ipc3x: mbox_dsp1_ipc3x {
84 status = "okay";
Schuyler Pattonc665e272016-11-25 11:14:25 +053085 };
86};
87
Lokesh Vutlacfa23a42017-08-21 12:50:59 +053088&mailbox6 {
Schuyler Pattonc665e272016-11-25 11:14:25 +053089 status = "okay";
Lokesh Vutlacfa23a42017-08-21 12:50:59 +053090 mbox_ipu2_ipc3x: mbox_ipu2_ipc3x {
91 status = "okay";
92 };
Schuyler Pattonc665e272016-11-25 11:14:25 +053093};
94
Lokesh Vutlacfa23a42017-08-21 12:50:59 +053095&pcie1_rc {
96 status = "okay";
97 gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>;
98};
99
100&pcie1_ep {
101 gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>;
102};
103
104&mmc1 {
Faiz Abbas7f182c02019-06-20 15:07:21 +0530105 pinctrl-names = "default", "hs";
Faiz Abbas46912892019-06-20 15:07:19 +0530106 pinctrl-0 = <&mmc1_pins_default_no_clk_pu>;
Lokesh Vutlacfa23a42017-08-21 12:50:59 +0530107 pinctrl-1 = <&mmc1_pins_hs>;
Lokesh Vutlacfa23a42017-08-21 12:50:59 +0530108};
109
110&mmc2 {
111 pinctrl-names = "default", "hs", "ddr_1_8v";
112 pinctrl-0 = <&mmc2_pins_default>;
113 pinctrl-1 = <&mmc2_pins_hs>;
114 pinctrl-2 = <&mmc2_pins_ddr_rev20 &mmc2_iodelay_ddr_conf>;
Schuyler Pattonc665e272016-11-25 11:14:25 +0530115};