76 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---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 sensor8 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 data15 interfaces and CCI (I2C compatible) control bus.16 17properties:18 compatible:19 const: ovti,ov564720 21 reg:22 description: I2C device address.23 maxItems: 124 25 clocks:26 description: Reference to the xclk clock.27 maxItems: 128 29 pwdn-gpios:30 description: Reference to the GPIO connected to the pwdn pin. Active high.31 maxItems: 132 33 port:34 $ref: /schemas/graph.yaml#/$defs/port-base35 additionalProperties: false36 37 properties:38 endpoint:39 $ref: /schemas/media/video-interfaces.yaml#40 unevaluatedProperties: false41 42 properties:43 clock-noncontinuous: true44 45required:46 - compatible47 - reg48 - clocks49 - port50 51additionalProperties: false52 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