Commit | Line | Data |
---|---|---|
5817430b SP |
1 | /* |
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> | |
edfc459c | 13 | #include "dra7-mmc-iodelay.dtsi" |
14543d85 | 14 | #include "dra72x-mmc-iodelay.dtsi" |
18aa0f4b | 15 | #include "am57xx-idk-common.dtsi" |
5817430b SP |
16 | |
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 | }; | |
d71fef3c AD |
67 | |
68 | idk-leds { | |
69 | status = "disabled"; | |
70 | compatible = "gpio-leds"; | |
71 | red0-led { | |
72 | label = "idk:red0"; | |
73 | gpios = <&gpio6 19 GPIO_ACTIVE_HIGH>; | |
74 | default-state = "off"; | |
75 | }; | |
76 | ||
77 | green0-led { | |
78 | label = "idk:green0"; | |
79 | gpios = <&gpio4 0 GPIO_ACTIVE_HIGH>; | |
80 | default-state = "off"; | |
81 | }; | |
82 | ||
83 | blue0-led { | |
84 | label = "idk:blue0"; | |
85 | gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>; | |
86 | default-state = "off"; | |
87 | }; | |
88 | ||
89 | red1-led { | |
90 | label = "idk:red1"; | |
91 | gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>; | |
92 | default-state = "off"; | |
93 | }; | |
94 | ||
95 | green1-led { | |
96 | label = "idk:green1"; | |
97 | gpios = <&gpio2 29 GPIO_ACTIVE_HIGH>; | |
98 | default-state = "off"; | |
99 | }; | |
100 | ||
101 | blue1-led { | |
102 | label = "idk:blue1"; | |
103 | gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>; | |
104 | default-state = "off"; | |
105 | }; | |
106 | ||
107 | red2-led { | |
108 | label = "idk:red2"; | |
109 | gpios = <&gpio7 9 GPIO_ACTIVE_HIGH>; | |
110 | default-state = "off"; | |
111 | }; | |
112 | ||
113 | green2-led { | |
114 | label = "idk:green2"; | |
115 | gpios = <&gpio7 8 GPIO_ACTIVE_HIGH>; | |
116 | default-state = "off"; | |
117 | }; | |
118 | ||
119 | blue2-led { | |
120 | label = "idk:blue2"; | |
121 | gpios = <&gpio7 10 GPIO_ACTIVE_HIGH>; | |
122 | default-state = "off"; | |
123 | }; | |
124 | ||
125 | red3-led { | |
126 | label = "idk:red3"; | |
127 | gpios = <&gpio7 11 GPIO_ACTIVE_HIGH>; | |
128 | default-state = "off"; | |
129 | }; | |
130 | ||
131 | green3-led { | |
132 | label = "idk:green3"; | |
133 | gpios = <&gpio7 25 GPIO_ACTIVE_HIGH>; | |
134 | default-state = "off"; | |
135 | }; | |
136 | ||
137 | blue3-led { | |
138 | label = "idk:blue3"; | |
139 | gpios = <&gpio7 24 GPIO_ACTIVE_HIGH>; | |
140 | default-state = "off"; | |
141 | }; | |
142 | }; | |
5817430b SP |
143 | }; |
144 | ||
10d27dfa RQ |
145 | &extcon_usb2 { |
146 | id-gpio = <&gpio5 7 GPIO_ACTIVE_HIGH>; | |
147 | vbus-gpio = <&gpio7 22 GPIO_ACTIVE_HIGH>; | |
148 | }; | |
2303587b | 149 | |
6b63967a AD |
150 | &sn65hvs882 { |
151 | load-gpios = <&gpio2 23 GPIO_ACTIVE_LOW>; | |
152 | }; | |
153 | ||
2303587b SA |
154 | &mailbox5 { |
155 | status = "okay"; | |
156 | mbox_ipu1_ipc3x: mbox_ipu1_ipc3x { | |
157 | status = "okay"; | |
158 | }; | |
159 | mbox_dsp1_ipc3x: mbox_dsp1_ipc3x { | |
160 | status = "okay"; | |
161 | }; | |
162 | }; | |
163 | ||
164 | &mailbox6 { | |
165 | status = "okay"; | |
166 | mbox_ipu2_ipc3x: mbox_ipu2_ipc3x { | |
167 | status = "okay"; | |
168 | }; | |
169 | }; | |
d23f3839 KVA |
170 | |
171 | &pcie1_rc { | |
172 | status = "okay"; | |
173 | gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>; | |
174 | }; | |
175 | ||
176 | &pcie1_ep { | |
177 | gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>; | |
178 | }; | |
14543d85 KVA |
179 | |
180 | &mmc1 { | |
181 | pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50", "ddr50", "sdr104"; | |
edfc459c | 182 | pinctrl-0 = <&mmc1_pins_default_no_clk_pu>; |
14543d85 KVA |
183 | pinctrl-1 = <&mmc1_pins_hs>; |
184 | pinctrl-2 = <&mmc1_pins_sdr12>; | |
185 | pinctrl-3 = <&mmc1_pins_sdr25>; | |
186 | pinctrl-4 = <&mmc1_pins_sdr50>; | |
187 | pinctrl-5 = <&mmc1_pins_ddr50_rev20 &mmc1_iodelay_ddr50_conf>; | |
188 | pinctrl-6 = <&mmc1_pins_sdr104 &mmc1_iodelay_sdr104_rev20_conf>; | |
189 | }; | |
190 | ||
191 | &mmc2 { | |
fc7a0397 | 192 | pinctrl-names = "default", "hs", "ddr_3_3v"; |
14543d85 KVA |
193 | pinctrl-0 = <&mmc2_pins_default>; |
194 | pinctrl-1 = <&mmc2_pins_hs>; | |
195 | pinctrl-2 = <&mmc2_pins_ddr_rev20 &mmc2_iodelay_ddr_conf>; | |
196 | }; |