blob: 6f3a2096f5b65f468718c0c4fb04ad0904733215 (
plain)
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
|
/*
* Copyright (C) 2015 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.
*/
#include "imx7d-19x19-ddr3-arm2.dts"
&csi1 {
csi-mux-mipi = <&gpr 0x14 4>;
status = "okay";
port {
csi_ep: endpoint {
remote-endpoint = <&csi_mipi_ep>;
};
};
};
&i2c2 {
ov5640_mipi: ov5640_mipi@3c {
compatible = "ovti,ov5640_mipi";
reg = <0x3c>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_mipi_csi>;
clocks = <&clks IMX7D_OSC_24M_CLK>;
clock-names = "csi_mclk";
pwn-gpios = <&gpio4 14 0>;
rst-gpios = <&gpio4 15 1>;
csi_id = <0>;
mclk = <24000000>;
mclk_source = <0>;
port {
ov5640_mipi_ep: endpoint {
remote-endpoint = <&mipi_sensor_ep>;
};
};
};
};
&mipi_csi {
clock-frequency = <240000000>;
status = "okay";
port {
mipi_sensor_ep: endpoint1 {
remote-endpoint = <&ov5640_mipi_ep>;
data-lanes = <2>;
csis-hs-settle = <13>;
csis-wclk;
};
csi_mipi_ep: endpoint2 {
remote-endpoint = <&csi_ep>;
};
};
};
|