11b5071afSJacopo Mondi# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 21b5071afSJacopo Mondi%YAML 1.2 31b5071afSJacopo Mondi--- 435cb6aa8SJacopo Mondi$id: http://devicetree.org/schemas/media/i2c/ovti,ov5647.yaml# 51b5071afSJacopo Mondi$schema: http://devicetree.org/meta-schemas/core.yaml# 61b5071afSJacopo Mondi 71b5071afSJacopo Mondititle: Omnivision OV5647 raw image sensor 81b5071afSJacopo Mondi 91b5071afSJacopo Mondimaintainers: 101b5071afSJacopo Mondi - Dave Stevenson <dave.stevenson@raspberrypi.com> 111b5071afSJacopo Mondi - Jacopo Mondi <jacopo@jmondi.org> 121b5071afSJacopo Mondi 131b5071afSJacopo Mondidescription: |- 141b5071afSJacopo Mondi The OV5647 is a raw image sensor with MIPI CSI-2 and CCP2 image data 151b5071afSJacopo Mondi interfaces and CCI (I2C compatible) control bus. 161b5071afSJacopo Mondi 171b5071afSJacopo Mondiproperties: 181b5071afSJacopo Mondi compatible: 191b5071afSJacopo Mondi const: ovti,ov5647 201b5071afSJacopo Mondi 211b5071afSJacopo Mondi reg: 221b5071afSJacopo Mondi description: I2C device address. 231b5071afSJacopo Mondi maxItems: 1 241b5071afSJacopo Mondi 251b5071afSJacopo Mondi clocks: 261b5071afSJacopo Mondi description: Reference to the xclk clock. 271b5071afSJacopo Mondi maxItems: 1 281b5071afSJacopo Mondi 291b5071afSJacopo Mondi pwdn-gpios: 301b5071afSJacopo Mondi description: Reference to the GPIO connected to the pwdn pin. Active high. 311b5071afSJacopo Mondi maxItems: 1 321b5071afSJacopo Mondi 331b5071afSJacopo Mondi port: 34*918b866eSSakari Ailus $ref: /schemas/graph.yaml#/$defs/port-base 351b5071afSJacopo Mondi 361b5071afSJacopo Mondi properties: 371b5071afSJacopo Mondi endpoint: 38*918b866eSSakari Ailus $ref: /schemas/media/video-interfaces.yaml# 39*918b866eSSakari Ailus unevaluatedProperties: false 401b5071afSJacopo Mondi 411b5071afSJacopo Mondi properties: 42*918b866eSSakari Ailus clock-noncontinuous: true 431b5071afSJacopo Mondi 441b5071afSJacopo Mondi additionalProperties: false 451b5071afSJacopo Mondi 461b5071afSJacopo Mondirequired: 471b5071afSJacopo Mondi - compatible 481b5071afSJacopo Mondi - reg 491b5071afSJacopo Mondi - clocks 501b5071afSJacopo Mondi - port 511b5071afSJacopo Mondi 521b5071afSJacopo MondiadditionalProperties: false 531b5071afSJacopo Mondi 541b5071afSJacopo Mondiexamples: 551b5071afSJacopo Mondi - | 561b5071afSJacopo Mondi #include <dt-bindings/gpio/gpio.h> 571b5071afSJacopo Mondi 581b5071afSJacopo Mondi i2c { 591b5071afSJacopo Mondi #address-cells = <1>; 601b5071afSJacopo Mondi #size-cells = <0>; 611b5071afSJacopo Mondi 621b5071afSJacopo Mondi ov5647: camera@36 { 631b5071afSJacopo Mondi compatible = "ovti,ov5647"; 641b5071afSJacopo Mondi reg = <0x36>; 651b5071afSJacopo Mondi clocks = <&camera_clk>; 661b5071afSJacopo Mondi pwdn-gpios = <&pioE 29 GPIO_ACTIVE_HIGH>; 671b5071afSJacopo Mondi 681b5071afSJacopo Mondi port { 691b5071afSJacopo Mondi camera_out: endpoint { 701b5071afSJacopo Mondi remote-endpoint = <&csi1_ep1>; 711b5071afSJacopo Mondi }; 721b5071afSJacopo Mondi }; 731b5071afSJacopo Mondi }; 741b5071afSJacopo Mondi }; 751b5071afSJacopo Mondi 761b5071afSJacopo Mondi... 77