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#/$defs/port-base 35 36 properties: 37 endpoint: 38 $ref: /schemas/media/video-interfaces.yaml# 39 unevaluatedProperties: false 40 41 properties: 42 clock-noncontinuous: true 43 44 additionalProperties: false 45 46required: 47 - compatible 48 - reg 49 - clocks 50 - port 51 52additionalProperties: false 53 54examples: 55 - | 56 #include <dt-bindings/gpio/gpio.h> 57 58 i2c { 59 #address-cells = <1>; 60 #size-cells = <0>; 61 62 ov5647: camera@36 { 63 compatible = "ovti,ov5647"; 64 reg = <0x36>; 65 clocks = <&camera_clk>; 66 pwdn-gpios = <&pioE 29 GPIO_ACTIVE_HIGH>; 67 68 port { 69 camera_out: endpoint { 70 remote-endpoint = <&csi1_ep1>; 71 }; 72 }; 73 }; 74 }; 75 76... 77