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*55442e6aSRob Herring $ref: /schemas/graph.yaml#/$defs/port-base 35b5a95bb1SRob Herring additionalProperties: false 361b5071afSJacopo Mondi 371b5071afSJacopo Mondi properties: 381b5071afSJacopo Mondi endpoint: 39918b866eSSakari Ailus $ref: /schemas/media/video-interfaces.yaml# 40918b866eSSakari Ailus unevaluatedProperties: false 411b5071afSJacopo Mondi 421b5071afSJacopo Mondi properties: 43918b866eSSakari Ailus clock-noncontinuous: true 441b5071afSJacopo Mondi 451b5071afSJacopo Mondirequired: 461b5071afSJacopo Mondi - compatible 471b5071afSJacopo Mondi - reg 481b5071afSJacopo Mondi - clocks 491b5071afSJacopo Mondi - port 501b5071afSJacopo Mondi 511b5071afSJacopo MondiadditionalProperties: false 521b5071afSJacopo Mondi 531b5071afSJacopo Mondiexamples: 541b5071afSJacopo Mondi - | 551b5071afSJacopo Mondi #include <dt-bindings/gpio/gpio.h> 561b5071afSJacopo Mondi 571b5071afSJacopo Mondi i2c { 581b5071afSJacopo Mondi #address-cells = <1>; 591b5071afSJacopo Mondi #size-cells = <0>; 601b5071afSJacopo Mondi 611b5071afSJacopo Mondi ov5647: camera@36 { 621b5071afSJacopo Mondi compatible = "ovti,ov5647"; 631b5071afSJacopo Mondi reg = <0x36>; 641b5071afSJacopo Mondi clocks = <&camera_clk>; 651b5071afSJacopo Mondi pwdn-gpios = <&pioE 29 GPIO_ACTIVE_HIGH>; 661b5071afSJacopo Mondi 671b5071afSJacopo Mondi port { 681b5071afSJacopo Mondi camera_out: endpoint { 691b5071afSJacopo Mondi remote-endpoint = <&csi1_ep1>; 701b5071afSJacopo Mondi }; 711b5071afSJacopo Mondi }; 721b5071afSJacopo Mondi }; 731b5071afSJacopo Mondi }; 741b5071afSJacopo Mondi 751b5071afSJacopo Mondi... 76