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