ov2640.txt 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. * Omnivision OV2640 CMOS sensor
  2. The Omnivision OV2640 sensor support multiple resolutions output, such as
  3. CIF, SVGA, UXGA. It also can support YUV422/420, RGB565/555 or raw RGB
  4. output format.
  5. Required Properties:
  6. - compatible: should be "ovti,ov2640"
  7. - clocks: reference to the xvclk input clock.
  8. - clock-names: should be "xvclk".
  9. Optional Properties:
  10. - resetb-gpios: reference to the GPIO connected to the resetb pin, if any.
  11. - pwdn-gpios: reference to the GPIO connected to the pwdn pin, if any.
  12. The device node must contain one 'port' child node for its digital output
  13. video port, in accordance with the video interface bindings defined in
  14. Documentation/devicetree/bindings/media/video-interfaces.txt.
  15. Example:
  16. i2c1: i2c@f0018000 {
  17. ov2640: camera@0x30 {
  18. compatible = "ovti,ov2640";
  19. reg = <0x30>;
  20. pinctrl-names = "default";
  21. pinctrl-0 = <&pinctrl_pck1 &pinctrl_ov2640_pwdn &pinctrl_ov2640_resetb>;
  22. resetb-gpios = <&pioE 24 GPIO_ACTIVE_LOW>;
  23. pwdn-gpios = <&pioE 29 GPIO_ACTIVE_HIGH>;
  24. clocks = <&pck1>;
  25. clock-names = "xvclk";
  26. assigned-clocks = <&pck1>;
  27. assigned-clock-rates = <25000000>;
  28. port {
  29. ov2640_0: endpoint {
  30. remote-endpoint = <&isi_0>;
  31. bus-width = <8>;
  32. };
  33. };
  34. };
  35. };