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