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