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