xref: /freebsd/sys/contrib/device-tree/Bindings/media/i2c/ov2685.txt (revision cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
1* Omnivision OV2685 MIPI CSI-2 sensor
2
3Required Properties:
4- compatible: shall be "ovti,ov2685"
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.8 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>".
17
18Example:
19&i2c7 {
20	ov2685: camera-sensor@3c {
21		compatible = "ovti,ov2685";
22		reg = <0x3c>;
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 = <&pp1800>;
32		reset-gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
33
34		port {
35			ucam_out: endpoint {
36				remote-endpoint = <&mipi_in_ucam>;
37				data-lanes = <1>;
38			};
39		};
40	};
41};
42