/
imx6ul-ccimx6ulstarter-id129.dts
118 lines (101 loc) · 2.3 KB
/
imx6ul-ccimx6ulstarter-id129.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
/*
* Copyright 2016, 2017 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 StarterBoard */
#include "imx6ul-ccimx6ulstarter.dtsi"
/*
* 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 = <4>;
status = "okay";
};
&caam_keyblob {
status = "okay";
};
/* ECSPI3 (as master - Raspberry PI Expansion header) */
&ecspi3 {
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>;
};
};
&fec1 {
status = "okay";
};
/* CAN1 (Raspberry PI Expansion header) */
&can1 {
status = "okay";
};
/* I2C2 (Raspberry PI Expansion header and Grove connector) */
&i2c2 {
status = "okay";
};
/* MCA IO0 connected to Grove ADC connector */
&mca_adc {
digi,adc-ch-list = <0>;
digi,adc-vref = <3000000>;
};
/* 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>;
//};
/* PWM1 (Raspberry PI Expansion header) */
&pwm1 {
status = "okay";
};
/* UART4 (Raspberry PI Expansion header) */
&uart4 {
status = "okay";
};
/* UART5 (Console) */
&uart5 {
status = "okay";
};
&usbotg1 {
status = "okay";
};
&usbotg2 {
status = "okay";
};
/* USDHC2 (microSD) */
&usdhc2 {
status = "okay";
};
/* Pin mux configuration */
&iomuxc {
imx6ul-ccimx6ul {
pinctrl_adc1: adc1grp {
fsl,pins = <
/* GPIO1_4/ADC1_IN4 (pin 7 of the expansion header) */
MX6UL_PAD_GPIO1_IO04__GPIO1_IO04 0xb0
>;
};
};
};