-
Notifications
You must be signed in to change notification settings - Fork 103
/
imx6ul-ccimx6ulsbc-id135.dts
267 lines (231 loc) · 5.01 KB
/
imx6ul-ccimx6ulsbc-id135.dts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
/*
* Copyright 2016 Digi International, Inc.
*
* The code contained herein is licensed under the GNU General Public
* License. You may obtain a copy of the GNU General Public License
* Version 2 or later at the following locations:
*
* http://www.opensource.org/licenses/gpl-license.html
* http://www.gnu.org/copyleft/gpl.html
*/
/dts-v1/;
#include <dt-bindings/input/input.h>
#include <dt-bindings/interrupt-controller/irq.h>
/* i.MX6 UltraLite CPU */
#include "imx6ul.dtsi"
/* ConnectCore 6UL (wireless/bluetooth variant) */
#include "imx6ul-ccimx6ul-wb.dtsi"
/* ConnectCore 6UL SBC */
#include "imx6ul-ccimx6ulsbc.dtsi"
/*
* Uncomment to enable the i.MX6UL SoC ADCs on the GPIO connector:
* - EXP_GPIO_1 (channel 5)
* - EXP_GPIO_2 (channel 3)
* - EXP_GPIO_3 (channel 2)
* Include in adc-ch-list the ADC channels (from 0 to 9) that you want to
* enable. Note that the iomux has to be configured accordingly in pinctrl_adc1
* to configure the pad for ADC operation
*/
&adc1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_adc1>;
adc-ch-list = <2>;
status = "okay";
};
&caam_keyblob {
status = "okay";
};
/*
* CSI camera conflicts with microSD/eMMC.
* Before enabling the camera you need to disable
* usdhc2 node.
*/
// &csi {
// status = "okay";
// };
/* ECSPI1 (as master) */
&ecspi1 {
status = "okay";
/*
* Add your slave devices here. Next is an example of spidev.
* Expect a harmless kernel warning if you enable spidev as slave.
*/
spidev@0 {
reg = <0>;
compatible = "spidev";
spi-max-frequency = <1000000>;
};
};
/* ENET1 */
&fec1 {
status = "okay";
};
/* ENET2 */
&fec2 {
status = "okay";
};
/* CAN1 (multiplexed with UART3 RTS/CTS) */
&can1 {
status = "okay";
};
/* CAN2 (multiplexed with UART2 RTS/CTS) */
// &can2 {
// status = "okay";
// };
/* Uncomment to enable fusion touch */
//&fusion_touch {
// status = "okay";
//};
/* Goodix touch */
&goodix_touch {
status = "okay";
};
/* Parallel LCD */
&lcdif {
status = "okay";
};
/* LCD backlight (PWM5) */
&lcd_backlight {
status = "okay";
};
&max98089 {
status = "okay";
};
/*
* Uncomment to enable MCA ADC channels on GPIO connector:
* - MCA_IO1 (channel 1)
* - MCA_IO3 (channel 3)
* Edit adc-ch-list to include the ADC channels that you want to enable.
*/
// &mca_adc {
// digi,adc-ch-list = <1 3>;
// digi,adc-vref = <3000000>;
// };
/*
* Uncomment to enable MCA UART:
* - MCA_IO1 (TX)
* - MCA_IO2 (RX)
*/
//&mca_uart {
// status = "okay";
//
// /* Uncomment to enable CTS and/or RTS in any MCA GPIO-capable line */
// //rts-pin = <3>;
// //cts-pin = <5>;
//};
&mca_ioexp {
status = "okay";
restore-config-on-resume;
};
/*
* Uncomment to enable the I/O Expander ADCs on GPIO connector:
* - IOEXP_3 (channel 3)
* - IOEXP_4 (channel 4)
* - IOEXP_5 (channel 5)
* Include in adc-ch-list the ADC channels that you want to enable.
*/
// &mca_ioexp_adc {
// digi,adc-ch-list = <3 4 5>;
// digi,adc-vref = <3300000>;
// };
/* Uncomment to Enable Tamper detection. There are 2 digital (0 and 1) and 2
* analog (2 and 3) tamper interfaces.
*/
//&mca_tamper {
// digi,tamper-if-list = <0 1 2 3>;
//};
/*
* CSI camera conflicts with microSD/eMMC.
* Before enabling the camera you need to disable
* usdhc2 node.
*/
// &ov5642 {
// status = "okay";
// };
/*
* To use CSI camera with suspend/resume, uncomment ext_3v3
* regulator to leave it ON in suspend
*/
//&ext_3v3 {
// regulator-state-mem {
// regulator-on-in-suspend;
// };
//};
/* PWM4 on pin 11 of GPIO connector */
&pwm4 {
status = "okay";
};
&pwm5 {
status = "okay";
};
&pxp {
status = "okay";
};
&pxp_v4l2 {
status = "okay";
};
&sai2 {
status = "okay";
};
&sound_max98089 {
status = "okay";
};
/* UART2 */
&uart2 {
/* RTS/CTS lines multiplexed with CAN2 */
pinctrl-0 = <&pinctrl_uart2_4wires>;
uart-has-rtscts;
status = "okay";
};
/* UART3 */
&uart3 {
/* RTS/CTS lines multiplexed with CAN1 */
// pinctrl-0 = <&pinctrl_uart3_4wires>;
// uart-has-rtscts;
status = "okay";
};
/* UART5 (Console) */
&uart5 {
status = "okay";
};
&usbotg1 {
status = "okay";
};
&usbotg2 {
status = "okay";
};
/* USDHC2 (microSD, conflicts with eMMC) */
&usdhc2 {
pinctrl-assert-gpios = <&gpio5 1 GPIO_ACTIVE_LOW>;
broken-cd; /* no carrier detect line (use polling) */
status = "okay";
};
/* USDHC2 (eMMC, conflicts with microSD) */
//&usdhc2 {
// pinctrl-assert-gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>;
// non-removable;
// /*
// * Comment these two lines for 4-bit data bus or leave uncommented
// * for 8-bit data bus
// */
// pinctrl-0 = <&pinctrl_usdhc2_8databits>;
// bus-width = <8>;
//
// status = "okay";
//};
/* Pin mux configuration */
&iomuxc {
imx6ul-ccimx6ul {
/* Uncomment specific pins of the ADC channels enabled in 'adc-ch-list' */
pinctrl_adc1: adc1grp {
fsl,pins = <
// /* EXP_GPIO_1 -> GPIO1_5/ADC1_IN5 */
// MX6UL_PAD_GPIO1_IO05__GPIO1_IO05 0xb0
// /* EXP_GPIO_2 -> GPIO1_3/ADC1_IN3 */
// MX6UL_PAD_GPIO1_IO03__GPIO1_IO03 0xb0
/* EXP_GPIO_3 -> GPIO1_2/ADC1_IN2 */
MX6UL_PAD_GPIO1_IO02__GPIO1_IO02 0xb0
>;
};
};
};