blob: a578fe97ba3bd9ec210df3f1827cc936a748d2bd [file] [log] [blame]
Schuyler Patton99519852016-06-10 09:35:45 +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
9/dts-v1/;
10
11#include "dra74x.dtsi"
12#include <dt-bindings/gpio/gpio.h>
13#include <dt-bindings/interrupt-controller/irq.h>
14#include "am57xx-idk-common.dtsi"
Lokesh Vutlacfa23a42017-08-21 12:50:59 +053015#include "dra74x-mmc-iodelay.dtsi"
Schuyler Patton99519852016-06-10 09:35:45 +053016
17/ {
18 model = "TI AM5728 IDK";
19 compatible = "ti,am5728-idk", "ti,am5728", "ti,dra742", "ti,dra74",
20 "ti,dra7";
21
Lokesh Vutlafba1ca72016-11-25 11:14:18 +053022 memory@0 {
Schuyler Patton99519852016-06-10 09:35:45 +053023 device_type = "memory";
24 reg = <0x0 0x80000000 0x0 0x80000000>;
25 };
26
Schuyler Patton99519852016-06-10 09:35:45 +053027 status-leds {
28 compatible = "gpio-leds";
29 cpu0-led {
30 label = "status0:red:cpu0";
31 gpios = <&gpio4 0 GPIO_ACTIVE_HIGH>;
32 default-state = "off";
33 linux,default-trigger = "cpu0";
34 };
35
36 usr0-led {
37 label = "status0:green:usr";
38 gpios = <&gpio3 11 GPIO_ACTIVE_HIGH>;
39 default-state = "off";
40 };
41
42 heartbeat-led {
43 label = "status0:blue:heartbeat";
44 gpios = <&gpio3 12 GPIO_ACTIVE_HIGH>;
45 default-state = "off";
46 linux,default-trigger = "heartbeat";
47 };
48
49 cpu1-led {
50 label = "status1:red:cpu1";
51 gpios = <&gpio3 10 GPIO_ACTIVE_HIGH>;
52 default-state = "off";
53 linux,default-trigger = "cpu1";
54 };
55
56 usr1-led {
57 label = "status1:green:usr";
58 gpios = <&gpio7 23 GPIO_ACTIVE_HIGH>;
59 default-state = "off";
60 };
61
62 mmc0-led {
63 label = "status1:blue:mmc0";
64 gpios = <&gpio7 22 GPIO_ACTIVE_HIGH>;
65 default-state = "off";
66 linux,default-trigger = "mmc0";
67 };
68 };
69};
70
Lokesh Vutlacfa23a42017-08-21 12:50:59 +053071&mmc1 {
72 pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50", "ddr50", "sdr104";
73 pinctrl-0 = <&mmc1_pins_default>;
74 pinctrl-1 = <&mmc1_pins_hs>;
75 pinctrl-2 = <&mmc1_pins_sdr12>;
76 pinctrl-3 = <&mmc1_pins_sdr25>;
77 pinctrl-4 = <&mmc1_pins_sdr50>;
78 pinctrl-5 = <&mmc1_pins_ddr50 &mmc1_iodelay_ddr_rev20_conf>;
79 pinctrl-6 = <&mmc1_pins_sdr104 &mmc1_iodelay_sdr104_rev20_conf>;
80};
81
82&mmc2 {
83 pinctrl-names = "default", "hs", "ddr_1_8v";
84 pinctrl-0 = <&mmc2_pins_default>;
85 pinctrl-1 = <&mmc2_pins_hs>;
86 pinctrl-2 = <&mmc2_pins_ddr_rev20>;
87};
88
Schuyler Patton99519852016-06-10 09:35:45 +053089&omap_dwc3_2 {
90 extcon = <&extcon_usb2>;
91};
92
Lokesh Vutlacfa23a42017-08-21 12:50:59 +053093&extcon_usb2 {
94 id-gpio = <&gpio3 16 GPIO_ACTIVE_HIGH>;
95 vbus-gpio = <&gpio3 26 GPIO_ACTIVE_HIGH>;
96};
97
98&sn65hvs882 {
99 load-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>;
100};
101
102&pcie1_rc {
Schuyler Patton99519852016-06-10 09:35:45 +0530103 status = "okay";
Lokesh Vutlacfa23a42017-08-21 12:50:59 +0530104 gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>;
105};
106
107&pcie1_ep {
108 gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>;
109};
110
111&mailbox5 {
112 status = "okay";
113 mbox_ipu1_ipc3x: mbox_ipu1_ipc3x {
114 status = "okay";
115 };
116 mbox_dsp1_ipc3x: mbox_dsp1_ipc3x {
117 status = "okay";
118 };
119};
120
121&mailbox6 {
122 status = "okay";
123 mbox_ipu2_ipc3x: mbox_ipu2_ipc3x {
124 status = "okay";
125 };
126 mbox_dsp2_ipc3x: mbox_dsp2_ipc3x {
127 status = "okay";
128 };
Schuyler Patton99519852016-06-10 09:35:45 +0530129};