xref: /linux/Documentation/devicetree/bindings/media/i2c/ov2659.txt (revision a1c3be890440a1769ed6f822376a3e3ab0d42994)
1* OV2659 1/5-Inch 2Mp SOC Camera
2
3The Omnivision OV2659 is a 1/5-inch SOC camera, with an active array size of
41632H x 1212V. It is programmable through a SCCB. The OV2659 sensor supports
5multiple resolutions output, such as UXGA, SVGA, 720p. It also can support
6YUV422, RGB565/555 or raw RGB output formats.
7
8Required Properties:
9- compatible: Must be "ovti,ov2659"
10- reg: I2C slave address
11- clocks: reference to the xvclk input clock.
12- clock-names: should be "xvclk".
13- link-frequencies: target pixel clock frequency.
14
15Optional Properties:
16- powerdown-gpios: reference to the GPIO connected to the pwdn pin, if any.
17  Active high with internal pull down resistor.
18- reset-gpios: reference to the GPIO connected to the resetb pin, if any.
19  Active low with internal pull up resistor.
20
21For further reading on port node refer to
22Documentation/devicetree/bindings/media/video-interfaces.txt.
23
24Example:
25
26	i2c0@1c22000 {
27		...
28		...
29		 ov2659@30 {
30			compatible = "ovti,ov2659";
31			reg = <0x30>;
32
33			clocks = <&clk_ov2659 0>;
34			clock-names = "xvclk";
35
36			powerdown-gpios = <&gpio6 14 GPIO_ACTIVE_HIGH>;
37			reset-gpios = <&gpio6 15 GPIO_ACTIVE_LOW>;
38
39			port {
40				ov2659_0: endpoint {
41					remote-endpoint = <&vpfe_ep>;
42					link-frequencies = /bits/ 64 <70000000>;
43				};
44			};
45		};
46		...
47	};
48