hc
2023-02-13 e440ec23c5a540cdd3f7464e8779219be6fd3d95
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
* Omnivision OV7725 MIPI CSI-2 sensor
 
Required Properties:
- compatible: should be "ovti,ov7725"
- clocks: reference to the 24M xvclk input clock.
- clock-names: should be "xvclk".
- dovdd-supply: Digital I/O voltage supply, 1.8 volts
- avdd-supply: Analog voltage supply, 2.8 volts
- dvdd-supply: Digital core voltage supply, 1.2 volts
- reset-gpios: Low active reset gpio
 
The device node must contain one 'port' child node for its digital output
video port, in accordance with the video interface bindings defined in
Documentation/devicetree/bindings/media/video-interfaces.txt.
 
Example:
 
   i2c0@1c22000 {
       ...
       ...
       ov7725: ov7725@21 {
           compatible = "ovti,ov7725";
           reg = <0x21>;
 
           clocks = <&cru SCLK_CIF_OUT>;
           clock-names = "xvclk";
 
           avdd-supply = <&vcc2v8_dvp>;
           dovdd-supply = <&vcc1v8_dvp>;
           dvdd-supply = <&vcc1v8_dvp>;
 
           pwdn-gpios = <&gpio2 14 GPIO_ACTIVE_HIGH>;
 
           port {
               ucam_out: endpoint {
                   remote-endpoint = <&cif_in>;
               };
           };
       };
       ...
   };