-
Notifications
You must be signed in to change notification settings - Fork 2
/
icoremx6q-icore-mipi.dts
172 lines (143 loc) · 2.97 KB
/
icoremx6q-icore-mipi.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
/*
* Copyright (C) 2013 Freescale Semiconductor, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
/dts-v1/;
#include "imx6q.dtsi"
#include "imx6qdl-icore.dtsi"
/ {
model = "Engicam i.CoreM6 Quad/Dual mipi starterkit";
compatible = "fsl,imx6-icore", "fsl,imx6q";
aliases {
mmc0 = &usdhc1;
mmc1 = &usdhc3;
mmc2 = &usdhc2;
mmc3 = &usdhc4;
};
gpio_export {
compatible = "gpio-export";
#size-cells = <0>;
GPIO_EIM_DA7 {
gpio-export,name = "GPIO_EIM_DA7";
gpio-export,input = <1>;
gpios = <&gpio3 7 0>;
};
DIPSW1 {
gpio-export,name = "DIPSW1";
gpio-export,input = <1>;
gpios = <&gpio6 0 0>;
};
DIPSW2 {
gpio-export,name = "DIPSW2";
gpio-export,input = <1>;
gpios = <&gpio6 1 0>;
};
DIPSW3 {
gpio-export,name = "DIPSW3";
gpio-export,input = <1>;
gpios = <&gpio6 2 0>;
};
DIPSW4 {
gpio-export,name = "DIPSW4";
gpio-export,input = <1>;
gpios = <&gpio6 3 0>;
};
};
codec: codec {
status = "disabled";
};
sound: sound {
status = "disabled";
};
};
&ldb {
ipu_id = <0>;
sec_ipu_id = <0>;
};
&mipi_csi {
status = "okay";
ipu_id = <0>;
csi_id = <1>;
v_channel = <0>;
lanes = <2>;
};
&mxcfb1 {
status = "okay";
};
&mxcfb2 {
status = "okay";
};
&can1 {
status = "disabled";
};
&can2 {
status = "disabled";
};
&uart2 {
status = "okay";
};
&uart3 {
status = "disabled";
};
&uart4 {
status = "okay";
};
&usbotg {
dr_mode = "host";
status = "okay";
};
&usdhc1 {
cd-gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
status = "okay";
};
&usdhc2 {
pinctrl-assert-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
status = "okay";
};
&usdhc3 {
status = "okay";
};
&i2c2 {
hdmi: edid@50 {
compatible = "fsl,imx6-hdmi-i2c";
reg = <0x50>;
};
};
&i2c3 {
ov564x_mipi: ov564x_mipi@3c { /* i2c2 driver */
compatible = "ovti,ov564x_mipi";
reg = <0x3c>;
clocks = <&clks 201>;
clock-names = "csi_mclk";
DOVDD-supply = <®_1p8v>; /* 1.8v */
AVDD-supply = <®_3p3v>; /* 3.3v */
DVDD-supply = <®_3p3v>; /* 3.3v*/
pwn-gpios = <&gpio5 30 1>; /* active low */
rst-gpios = <&gpio5 31 0>; /* active high */
csi_id = <1>;
mclk = <24000000>;
mclk_source = <0>;
};
};
&iomuxc {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_hog>;
hog {
pinctrl_hog: hoggrp {
fsl,pins = <
MX6QDL_PAD_GPIO_7__GPIO1_IO07 0x1f059 /* WF111 reset */
MX6QDL_PAD_CSI0_DAT12__GPIO5_IO30 0x1f059 /*PWN-GPIOS OV5640*/
MX6QDL_PAD_CSI0_DAT13__GPIO5_IO31 0x1f059 /*RST-GPIOS OV5640*/
MX6QDL_PAD_EIM_DA7__GPIO3_IO07 0x1f059 /* EIM_DA07 forced to GPIO in */
MX6QDL_PAD_GPIO_1__GPIO1_IO01 0x1f059 /*CD SD CARD*/
MX6QDL_PAD_CSI0_DAT14__GPIO6_IO00 0x1f059 /*DIPSW1*/
MX6QDL_PAD_CSI0_DAT15__GPIO6_IO01 0x1f059 /*DIPSW2*/
MX6QDL_PAD_CSI0_DAT16__GPIO6_IO02 0x1f059 /*DIPSW3*/
MX6QDL_PAD_CSI0_DAT17__GPIO6_IO03 0x1f059 /*DIPSW4*/
>;
};
};
};