187838addSJosh Wu* Omnivision OV2640 CMOS sensor 287838addSJosh Wu 387838addSJosh WuThe Omnivision OV2640 sensor support multiple resolutions output, such as 487838addSJosh WuCIF, SVGA, UXGA. It also can support YUV422/420, RGB565/555 or raw RGB 587838addSJosh Wuoutput format. 687838addSJosh Wu 787838addSJosh WuRequired Properties: 887838addSJosh Wu- compatible: should be "ovti,ov2640" 987838addSJosh Wu- clocks: reference to the xvclk input clock. 1087838addSJosh Wu- clock-names: should be "xvclk". 1187838addSJosh Wu 1287838addSJosh WuOptional Properties: 1387838addSJosh Wu- resetb-gpios: reference to the GPIO connected to the resetb pin, if any. 1487838addSJosh Wu- pwdn-gpios: reference to the GPIO connected to the pwdn pin, if any. 1587838addSJosh Wu 1687838addSJosh WuThe device node must contain one 'port' child node for its digital output 1787838addSJosh Wuvideo port, in accordance with the video interface bindings defined in 1887838addSJosh WuDocumentation/devicetree/bindings/media/video-interfaces.txt. 1987838addSJosh Wu 2087838addSJosh WuExample: 2187838addSJosh Wu 2287838addSJosh Wu i2c1: i2c@f0018000 { 2387838addSJosh Wu ov2640: camera@0x30 { 2487838addSJosh Wu compatible = "ovti,ov2640"; 2587838addSJosh Wu reg = <0x30>; 2687838addSJosh Wu 2787838addSJosh Wu pinctrl-names = "default"; 2887838addSJosh Wu pinctrl-0 = <&pinctrl_pck1 &pinctrl_ov2640_pwdn &pinctrl_ov2640_resetb>; 2987838addSJosh Wu 3087838addSJosh Wu resetb-gpios = <&pioE 24 GPIO_ACTIVE_LOW>; 3187838addSJosh Wu pwdn-gpios = <&pioE 29 GPIO_ACTIVE_HIGH>; 3287838addSJosh Wu 3387838addSJosh Wu clocks = <&pck1>; 3487838addSJosh Wu clock-names = "xvclk"; 3587838addSJosh Wu 3687838addSJosh Wu assigned-clocks = <&pck1>; 3787838addSJosh Wu assigned-clock-rates = <25000000>; 3887838addSJosh Wu 3987838addSJosh Wu port { 4087838addSJosh Wu ov2640_0: endpoint { 4187838addSJosh Wu remote-endpoint = <&isi_0>; 4287838addSJosh Wu bus-width = <8>; 4387838addSJosh Wu }; 4487838addSJosh Wu }; 4587838addSJosh Wu }; 4687838addSJosh Wu }; 47