1*4882a593Smuzhiyun* Omnivision OV7740 CMOS image sensor 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunThe Omnivision OV7740 image sensor supports multiple output image 4*4882a593Smuzhiyunsize, such as VGA, and QVGA, CIF and any size smaller. It also 5*4882a593Smuzhiyunsupports the RAW RGB and YUV output formats. 6*4882a593Smuzhiyun 7*4882a593SmuzhiyunThe common video interfaces bindings (see video-interfaces.txt) should 8*4882a593Smuzhiyunbe used to specify link to the image data receiver. The OV7740 device 9*4882a593Smuzhiyunnode should contain one 'port' child node with an 'endpoint' subnode. 10*4882a593Smuzhiyun 11*4882a593SmuzhiyunRequired Properties: 12*4882a593Smuzhiyun- compatible: "ovti,ov7740". 13*4882a593Smuzhiyun- reg: I2C slave address of the sensor. 14*4882a593Smuzhiyun- clocks: Reference to the xvclk input clock. 15*4882a593Smuzhiyun- clock-names: "xvclk". 16*4882a593Smuzhiyun 17*4882a593SmuzhiyunOptional Properties: 18*4882a593Smuzhiyun- reset-gpios: Rreference to the GPIO connected to the reset_b pin, 19*4882a593Smuzhiyun if any. Active low with pull-ip resistor. 20*4882a593Smuzhiyun- powerdown-gpios: Reference to the GPIO connected to the pwdn pin, 21*4882a593Smuzhiyun if any. Active high with pull-down resistor. 22*4882a593Smuzhiyun 23*4882a593SmuzhiyunEndpoint node mandatory properties: 24*4882a593Smuzhiyun- remote-endpoint: A phandle to the bus receiver's endpoint node. 25*4882a593Smuzhiyun 26*4882a593SmuzhiyunExample: 27*4882a593Smuzhiyun 28*4882a593Smuzhiyun i2c1: i2c@fc028000 { 29*4882a593Smuzhiyun ov7740: camera@21 { 30*4882a593Smuzhiyun compatible = "ovti,ov7740"; 31*4882a593Smuzhiyun reg = <0x21>; 32*4882a593Smuzhiyun pinctrl-names = "default"; 33*4882a593Smuzhiyun pinctrl-0 = <&pinctrl_sensor_power &pinctrl_sensor_reset>; 34*4882a593Smuzhiyun clocks = <&isc>; 35*4882a593Smuzhiyun clock-names = "xvclk"; 36*4882a593Smuzhiyun assigned-clocks = <&isc>; 37*4882a593Smuzhiyun assigned-clock-rates = <24000000>; 38*4882a593Smuzhiyun reset-gpios = <&pioA 43 GPIO_ACTIVE_LOW>; 39*4882a593Smuzhiyun powerdown-gpios = <&pioA 44 GPIO_ACTIVE_HIGH>; 40*4882a593Smuzhiyun 41*4882a593Smuzhiyun port { 42*4882a593Smuzhiyun ov7740_0: endpoint { 43*4882a593Smuzhiyun remote-endpoint = <&isc_0>; 44*4882a593Smuzhiyun }; 45*4882a593Smuzhiyun }; 46*4882a593Smuzhiyun }; 47*4882a593Smuzhiyun }; 48