/
imx6qea-com-kit-ov5640.dts
96 lines (80 loc) · 2.52 KB
/
imx6qea-com-kit-ov5640.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
/*
* Copyright (C) 2018 Embedded Artists AB
*
* 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.
*/
#include "imx6qea-com-kit.dts"
/ {
regulators {
compatible = "simple-bus";
reg_1p5v: 1p5v {
compatible = "regulator-fixed";
reg = <0>;
regulator-name = "1P5V";
regulator-min-microvolt = <1500000>;
regulator-max-microvolt = <1500000>;
regulator-always-on;
};
reg_1p8v: 1p8v {
compatible = "regulator-fixed";
reg = <1>;
regulator-name = "1P8V";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
};
reg_2p8v: 2p8v {
compatible = "regulator-fixed";
reg = <2>;
regulator-name = "2P8V";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>;
regulator-always-on;
};
};
v4l2_cap_0 {
compatible = "fsl,imx6q-v4l2-capture";
ipu_id = <0>;
csi_id = <1>;
mclk_source = <0>;
default_input = <1>;
status = "okay";
};
};
&mipi_csi {
ipu_id = <0>;
csi_id = <1>;
v_channel = <0>;
lanes = <2>;
mipi_dphy_clk = <0x30>;
status = "okay";
};
&i2c1 {
ov5640_mipi: ov5640_mipi@3c {
compatible = "ovti,ov564x_mipi";
reg = <0x3c>;
clocks = <&clks IMX6QDL_CLK_DUMMY>;
clock-names = "csi_mclk";
DOVDD-supply = <®_1p8v>;
AVDD-supply = <®_2p8v>;
DVDD-supply = <®_1p5v>;
ipu_id = <0>;
csi_id = <1>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ov5640>;
pwn-gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
mclk = <12000000>;
mclk_source = <0>;
};
};
&iomuxc {
imx6qea-kit {
pinctrl_ov5640: ov5640grp {
fsl,pins = <
MX6QDL_PAD_EIM_EB0__GPIO2_IO28 0x1f0b0
>;
};
};
};