1# Copyright (c) 2021 Antmicro <www.antmicro.com>
2# SPDX-License-Identifier: Apache-2.0
3
4description: OV2640 CMOS video sensor
5
6compatible: "ovti,ov2640"
7
8properties:
9  reset-gpios:
10    type: phandle-array
11    description: |
12      The RESETn pin is asserted to disable the sensor causing a hard
13      reset.  The sensor receives this as an active-low signal.
14
15  clock-rate-control:
16    type: int
17    default: 0x87
18    description: |
19      Define the value to the Clock Rate Control register. By changing
20      the system clock divide ratio and PLL, the frame rate and pixel
21      rate will change together.
22      Bit[7]    Internal frequency doublers ON/OFF selection.
23                0: ON       1: OFF
24      Bit[6]    Reserved
25      Bit[5:0]  Clock divider.
26
27      CLK = XVCLK /(decimal value of CLKRC[5:0] + 1)
28
29include: i2c-device.yaml
30