blob: a2233f289f1d50e275aa4b55fdb51e1206f53dfa (
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
60
61
62
63
64
65
66
67
68
69
70
71
|
// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (C) 2024 Texas Instruments Incorporated - http://www.ti.com/
*/
/dts-v1/;
/plugin/;
#include <dt-bindings/gpio/gpio.h>
/ {
fragment@101 {
target-path = "/";
__overlay__ {
clk_ov10635: clock-gate {
compatible = "gpio-gate-clock";
#clock-cells = <0>;
clocks = <&clk_ov10635_fixed>;
enable-gpios = <&gpio5 10 GPIO_ACTIVE_HIGH>;
};
clk_ov10635_fixed: clock-fixed {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <24000000>;
};
};
};
};
&i2c5 {
#address-cells = <1>;
#size-cells = <0>;
ov10635@30 {
compatible = "ovti,ov10635";
reg = <0x30>;
clock-names = "xvclk";
clocks = <&clk_ov10635>;
powerdown-gpios = <&gpio5 11 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpio4 17 GPIO_ACTIVE_HIGH>;
port {
cam: endpoint {
remote-endpoint = <&vin3a_ep>;
hsync-active = <1>;
pclk-sample = <1>;
vsync-active = <1>;
bus-width = <8>;
};
};
};
};
&vin3a {
vin3a_ep: endpoint {
remote-endpoint = <&cam>;
hsync-active = <1>;
pclk-sample = <1>;
vsync-active = <1>;
};
};
&gpio6 {
p11 {
gpio-hog;
gpios = <11 GPIO_ACTIVE_LOW>;
line-name = "cm-camen-gpio";
output-high;
};
};
|