1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/media/i2c/ovti,ov5647.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Omnivision OV5647 raw image sensor 8 9maintainers: 10 - Dave Stevenson <dave.stevenson@raspberrypi.com> 11 - Jacopo Mondi <jacopo@jmondi.org> 12 13description: |- 14 The OV5647 is a raw image sensor with MIPI CSI-2 and CCP2 image data 15 interfaces and CCI (I2C compatible) control bus. 16 17properties: 18 compatible: 19 const: ovti,ov5647 20 21 reg: 22 description: I2C device address. 23 maxItems: 1 24 25 clocks: 26 description: Reference to the xclk clock. 27 maxItems: 1 28 29 pwdn-gpios: 30 description: Reference to the GPIO connected to the pwdn pin. Active high. 31 maxItems: 1 32 33 port: 34 $ref: /schemas/graph.yaml#/properties/port 35 additionalProperties: false 36 37 properties: 38 endpoint: 39 $ref: /schemas/media/video-interfaces.yaml# 40 unevaluatedProperties: false 41 42 properties: 43 clock-noncontinuous: true 44 45required: 46 - compatible 47 - reg 48 - clocks 49 - port 50 51additionalProperties: false 52 53examples: 54 - | 55 #include <dt-bindings/gpio/gpio.h> 56 57 i2c { 58 #address-cells = <1>; 59 #size-cells = <0>; 60 61 ov5647: camera@36 { 62 compatible = "ovti,ov5647"; 63 reg = <0x36>; 64 clocks = <&camera_clk>; 65 pwdn-gpios = <&pioE 29 GPIO_ACTIVE_HIGH>; 66 67 port { 68 camera_out: endpoint { 69 remote-endpoint = <&csi1_ep1>; 70 }; 71 }; 72 }; 73 }; 74 75... 76