xref: /freebsd/sys/contrib/device-tree/Bindings/media/i2c/ov5695.txt (revision 02e9120893770924227138ba49df1edb3896112a)
1* Omnivision OV5695 MIPI CSI-2 sensor
2
3Required Properties:
4- compatible: shall be "ovti,ov5695"
5- clocks: reference to the xvclk input clock
6- clock-names: shall be "xvclk"
7- avdd-supply: Analog voltage supply, 2.8 volts
8- dovdd-supply: Digital I/O voltage supply, 1.8 volts
9- dvdd-supply: Digital core voltage supply, 1.2 volts
10- reset-gpios: Low active reset gpio
11
12The device node shall contain one 'port' child node with an
13'endpoint' subnode for its digital output video port,
14in accordance with the video interface bindings defined in
15Documentation/devicetree/bindings/media/video-interfaces.txt.
16The endpoint optional property 'data-lanes' shall be "<1 2>".
17
18Example:
19&i2c7 {
20	ov5695: camera-sensor@36 {
21		compatible = "ovti,ov5695";
22		reg = <0x36>;
23		pinctrl-names = "default";
24		pinctrl-0 = <&clk_24m_cam>;
25
26		clocks = <&cru SCLK_TESTCLKOUT1>;
27		clock-names = "xvclk";
28
29		avdd-supply = <&pp2800_cam>;
30		dovdd-supply = <&pp1800>;
31		dvdd-supply = <&pp1250_cam>;
32		reset-gpios = <&gpio2 5 GPIO_ACTIVE_LOW>;
33
34		port {
35			wcam_out: endpoint {
36				remote-endpoint = <&mipi_in_wcam>;
37				data-lanes = <1 2>;
38			};
39		};
40	};
41};
42