xref: /freebsd/sys/contrib/device-tree/Bindings/media/i2c/ov9650.txt (revision 18054d0220cfc8df9c9568c437bd6fbb59d53c3c)
1* Omnivision OV9650/OV9652 CMOS sensor
2
3Required Properties:
4- compatible: shall be one of
5	"ovti,ov9650"
6	"ovti,ov9652"
7- clocks: reference to the xvclk input clock.
8
9Optional Properties:
10- reset-gpios: reference to the GPIO connected to the resetb pin, if any.
11  Active is high.
12- powerdown-gpios: reference to the GPIO connected to the pwdn pin, if any.
13  Active is high.
14
15The device node shall contain one 'port' child node with one child 'endpoint'
16subnode for its digital output video port, in accordance with the video
17interface bindings defined in Documentation/devicetree/bindings/media/
18video-interfaces.txt.
19
20Example:
21
22&i2c0 {
23	ov9650: camera@30 {
24		compatible = "ovti,ov9650";
25		reg = <0x30>;
26		reset-gpios = <&axi_gpio_0 0 GPIO_ACTIVE_HIGH>;
27		powerdown-gpios = <&axi_gpio_0 1 GPIO_ACTIVE_HIGH>;
28		clocks = <&xclk>;
29
30		port {
31			ov9650_0: endpoint {
32				remote-endpoint = <&vcap1_in0>;
33			};
34		};
35	};
36};
37