1*ae5de77eSEmmanuel Vadot* Omnivision OV2640 CMOS sensor 2*ae5de77eSEmmanuel Vadot 3*ae5de77eSEmmanuel VadotThe Omnivision OV2640 sensor supports multiple resolutions output, such as 4*ae5de77eSEmmanuel VadotCIF, SVGA, UXGA. It also can support the YUV422/420, RGB565/555 or raw RGB 5*ae5de77eSEmmanuel Vadotoutput formats. 6*ae5de77eSEmmanuel Vadot 7*ae5de77eSEmmanuel VadotRequired Properties: 8*ae5de77eSEmmanuel Vadot- compatible: should be "ovti,ov2640" 9*ae5de77eSEmmanuel Vadot- clocks: reference to the xvclk input clock. 10*ae5de77eSEmmanuel Vadot- clock-names: should be "xvclk". 11*ae5de77eSEmmanuel Vadot 12*ae5de77eSEmmanuel VadotOptional Properties: 13*ae5de77eSEmmanuel Vadot- resetb-gpios: reference to the GPIO connected to the resetb pin, if any. 14*ae5de77eSEmmanuel Vadot- pwdn-gpios: reference to the GPIO connected to the pwdn pin, if any. 15*ae5de77eSEmmanuel Vadot 16*ae5de77eSEmmanuel VadotThe device node must contain one 'port' child node for its digital output 17*ae5de77eSEmmanuel Vadotvideo port, in accordance with the video interface bindings defined in 18*ae5de77eSEmmanuel VadotDocumentation/devicetree/bindings/media/video-interfaces.txt. 19*ae5de77eSEmmanuel Vadot 20*ae5de77eSEmmanuel VadotExample: 21*ae5de77eSEmmanuel Vadot 22*ae5de77eSEmmanuel Vadot i2c1: i2c@f0018000 { 23*ae5de77eSEmmanuel Vadot ov2640: camera@30 { 24*ae5de77eSEmmanuel Vadot compatible = "ovti,ov2640"; 25*ae5de77eSEmmanuel Vadot reg = <0x30>; 26*ae5de77eSEmmanuel Vadot pinctrl-names = "default"; 27*ae5de77eSEmmanuel Vadot pinctrl-0 = <&pinctrl_pck0_as_isi_mck &pinctrl_sensor_power &pinctrl_sensor_reset>; 28*ae5de77eSEmmanuel Vadot resetb-gpios = <&pioE 11 GPIO_ACTIVE_LOW>; 29*ae5de77eSEmmanuel Vadot pwdn-gpios = <&pioE 13 GPIO_ACTIVE_HIGH>; 30*ae5de77eSEmmanuel Vadot clocks = <&pck0>; 31*ae5de77eSEmmanuel Vadot clock-names = "xvclk"; 32*ae5de77eSEmmanuel Vadot assigned-clocks = <&pck0>; 33*ae5de77eSEmmanuel Vadot assigned-clock-rates = <25000000>; 34*ae5de77eSEmmanuel Vadot 35*ae5de77eSEmmanuel Vadot port { 36*ae5de77eSEmmanuel Vadot ov2640_0: endpoint { 37*ae5de77eSEmmanuel Vadot remote-endpoint = <&isi_0>; 38*ae5de77eSEmmanuel Vadot }; 39*ae5de77eSEmmanuel Vadot }; 40*ae5de77eSEmmanuel Vadot }; 41*ae5de77eSEmmanuel Vadot }; 42