15def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 25def4c47SEmmanuel Vadot%YAML 1.2 35def4c47SEmmanuel Vadot--- 45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/media/i2c/ovti,ov5647.yaml# 55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 65def4c47SEmmanuel Vadot 75def4c47SEmmanuel Vadottitle: Omnivision OV5647 raw image sensor 85def4c47SEmmanuel Vadot 95def4c47SEmmanuel Vadotmaintainers: 105def4c47SEmmanuel Vadot - Dave Stevenson <dave.stevenson@raspberrypi.com> 115def4c47SEmmanuel Vadot - Jacopo Mondi <jacopo@jmondi.org> 125def4c47SEmmanuel Vadot 135def4c47SEmmanuel Vadotdescription: |- 145def4c47SEmmanuel Vadot The OV5647 is a raw image sensor with MIPI CSI-2 and CCP2 image data 155def4c47SEmmanuel Vadot interfaces and CCI (I2C compatible) control bus. 165def4c47SEmmanuel Vadot 175def4c47SEmmanuel Vadotproperties: 185def4c47SEmmanuel Vadot compatible: 195def4c47SEmmanuel Vadot const: ovti,ov5647 205def4c47SEmmanuel Vadot 215def4c47SEmmanuel Vadot reg: 225def4c47SEmmanuel Vadot description: I2C device address. 235def4c47SEmmanuel Vadot maxItems: 1 245def4c47SEmmanuel Vadot 255def4c47SEmmanuel Vadot clocks: 265def4c47SEmmanuel Vadot description: Reference to the xclk clock. 275def4c47SEmmanuel Vadot maxItems: 1 285def4c47SEmmanuel Vadot 295def4c47SEmmanuel Vadot pwdn-gpios: 305def4c47SEmmanuel Vadot description: Reference to the GPIO connected to the pwdn pin. Active high. 315def4c47SEmmanuel Vadot maxItems: 1 325def4c47SEmmanuel Vadot 335def4c47SEmmanuel Vadot port: 34*354d7675SEmmanuel Vadot $ref: /schemas/graph.yaml#/$defs/port-base 355def4c47SEmmanuel Vadot additionalProperties: false 365def4c47SEmmanuel Vadot 375def4c47SEmmanuel Vadot properties: 385def4c47SEmmanuel Vadot endpoint: 395def4c47SEmmanuel Vadot $ref: /schemas/media/video-interfaces.yaml# 405def4c47SEmmanuel Vadot unevaluatedProperties: false 415def4c47SEmmanuel Vadot 425def4c47SEmmanuel Vadot properties: 435def4c47SEmmanuel Vadot clock-noncontinuous: true 445def4c47SEmmanuel Vadot 455def4c47SEmmanuel Vadotrequired: 465def4c47SEmmanuel Vadot - compatible 475def4c47SEmmanuel Vadot - reg 485def4c47SEmmanuel Vadot - clocks 495def4c47SEmmanuel Vadot - port 505def4c47SEmmanuel Vadot 515def4c47SEmmanuel VadotadditionalProperties: false 525def4c47SEmmanuel Vadot 535def4c47SEmmanuel Vadotexamples: 545def4c47SEmmanuel Vadot - | 555def4c47SEmmanuel Vadot #include <dt-bindings/gpio/gpio.h> 565def4c47SEmmanuel Vadot 575def4c47SEmmanuel Vadot i2c { 585def4c47SEmmanuel Vadot #address-cells = <1>; 595def4c47SEmmanuel Vadot #size-cells = <0>; 605def4c47SEmmanuel Vadot 615def4c47SEmmanuel Vadot ov5647: camera@36 { 625def4c47SEmmanuel Vadot compatible = "ovti,ov5647"; 635def4c47SEmmanuel Vadot reg = <0x36>; 645def4c47SEmmanuel Vadot clocks = <&camera_clk>; 655def4c47SEmmanuel Vadot pwdn-gpios = <&pioE 29 GPIO_ACTIVE_HIGH>; 665def4c47SEmmanuel Vadot 675def4c47SEmmanuel Vadot port { 685def4c47SEmmanuel Vadot camera_out: endpoint { 695def4c47SEmmanuel Vadot remote-endpoint = <&csi1_ep1>; 705def4c47SEmmanuel Vadot }; 715def4c47SEmmanuel Vadot }; 725def4c47SEmmanuel Vadot }; 735def4c47SEmmanuel Vadot }; 745def4c47SEmmanuel Vadot 755def4c47SEmmanuel Vadot... 76