File tree Expand file tree Collapse file tree 2 files changed +37
-0
lines changed
boards/shields/dvp_20pin_ov7670 Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright (c) 2025 Renesas Electronics Corporation
3
+ *
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+
7
+ &pwm3 {
8
+ status = "okay";
9
+ };
10
+
11
+ &cam_clock {
12
+ status = "okay";
13
+ };
14
+
15
+ &dvp_20pin_i2c {
16
+ clock-frequency = <DT_FREQ_K(400)>;
17
+ };
18
+
19
+ &dvp_20pin_interface {
20
+ swap-8bits;
21
+ swap-16bits;
22
+ swap-32bits;
23
+
24
+ port {
25
+ dvp_20pin_ep_in: endpoint {
26
+ hsync-sample = <1>;
27
+ vsync-sample = <1>;
28
+ };
29
+ };
30
+ };
Original file line number Diff line number Diff line change 12
12
};
13
13
14
14
&dvp_20pin_i2c {
15
+ status = "okay";
16
+
15
17
ov7670: ov7670@21 {
16
18
compatible = "ovti,ov7670";
17
19
reg = <0x21>;
18
20
reset-gpios = <&dvp_20pin_connector DVP_20PIN_PEN GPIO_ACTIVE_HIGH>;
19
21
pwdn-gpios = <&dvp_20pin_connector DVP_20PIN_PDN GPIO_ACTIVE_HIGH>;
22
+ status = "okay";
20
23
21
24
port {
22
25
ov7670_ep_out: endpoint {
32
35
port {
33
36
dvp_20pin_ep_in: endpoint {
34
37
remote-endpoint-label = "ov7670_ep_out";
38
+ bus-width = <8>;
39
+ hsync-active = <1>;
40
+ vsync-active = <1>;
41
+ pclk-sample = <1>;
35
42
};
36
43
};
37
44
};
You can’t perform that action at this time.
0 commit comments