xref: /freebsd/sys/contrib/device-tree/Bindings/media/i2c/ov2680.txt (revision 18054d0220cfc8df9c9568c437bd6fbb59d53c3c)
1* Omnivision OV2680 MIPI CSI-2 sensor
2
3Required Properties:
4- compatible: should be "ovti,ov2680".
5- clocks: reference to the xvclk input clock.
6- clock-names: should be "xvclk".
7- DOVDD-supply: Digital I/O voltage supply.
8- DVDD-supply: Digital core voltage supply.
9- AVDD-supply: Analog voltage supply.
10
11Optional Properties:
12- reset-gpios: reference to the GPIO connected to the powerdown/reset pin,
13               if any. This is an active low signal to the OV2680.
14
15The device node must contain one 'port' child node for its digital output
16video port, and this port must have a single endpoint in accordance with
17 the video interface bindings defined in
18Documentation/devicetree/bindings/media/video-interfaces.txt.
19
20Endpoint node required properties for CSI-2 connection are:
21- remote-endpoint: a phandle to the bus receiver's endpoint node.
22- clock-lanes: should be set to <0> (clock lane on hardware lane 0).
23- data-lanes: should be set to <1> (one CSI-2 lane supported).
24
25Example:
26
27&i2c2 {
28	ov2680: camera-sensor@36 {
29		compatible = "ovti,ov2680";
30		reg = <0x36>;
31		clocks = <&osc>;
32		clock-names = "xvclk";
33		reset-gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
34		DOVDD-supply = <&sw2_reg>;
35		DVDD-supply = <&sw2_reg>;
36		AVDD-supply = <&reg_peri_3p15v>;
37
38		port {
39			ov2680_to_mipi: endpoint {
40				remote-endpoint = <&mipi_from_sensor>;
41				clock-lanes = <0>;
42				data-lanes = <1>;
43			};
44		};
45	};
46};
47