1* Omnivision OV7720/OV7725 CMOS sensor
2
3The Omnivision OV7720/OV7725 sensor supports multiple resolutions output,
4such as VGA, QVGA, and any size scaling down from CIF to 40x30. It also can
5support the YUV422, RGB565/555/444, GRB422 or raw RGB output formats.
6
7Required Properties:
8- compatible: shall be one of
9	"ovti,ov7720"
10	"ovti,ov7725"
11- clocks: reference to the xclk input clock.
12
13Optional Properties:
14- reset-gpios: reference to the GPIO connected to the RSTB pin which is
15  active low, if any.
16- powerdown-gpios: reference to the GPIO connected to the PWDN pin which is
17  active high, if any.
18
19The device node shall contain one 'port' child node with one child 'endpoint'
20subnode for its digital output video port, in accordance with the video
21interface bindings defined in Documentation/devicetree/bindings/media/
22video-interfaces.txt.
23
24Example:
25
26&i2c0 {
27	ov772x: camera@21 {
28		compatible = "ovti,ov7725";
29		reg = <0x21>;
30		reset-gpios = <&axi_gpio_0 0 GPIO_ACTIVE_LOW>;
31		powerdown-gpios = <&axi_gpio_0 1 GPIO_ACTIVE_LOW>;
32		clocks = <&xclk>;
33
34		port {
35			ov772x_0: endpoint {
36				remote-endpoint = <&vcap1_in0>;
37			};
38		};
39	};
40};
41