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/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 type: object 35 description: |- 36 Should contain one endpoint sub-node used to model connection to the 37 video receiver according to the specification defined in 38 Documentation/devicetree/bindings/media/video-interfaces.txt. 39 40 properties: 41 endpoint: 42 type: object 43 44 properties: 45 remote-endpoint: 46 description: |- 47 phandle to the video receiver input port. 48 49 clock-noncontinuous: 50 type: boolean 51 description: |- 52 Set to true to allow MIPI CSI-2 non-continuous clock operations. 53 54 additionalProperties: false 55 56 additionalProperties: false 57 58required: 59 - compatible 60 - reg 61 - clocks 62 - port 63 64additionalProperties: false 65 66examples: 67 - | 68 #include <dt-bindings/gpio/gpio.h> 69 70 i2c { 71 #address-cells = <1>; 72 #size-cells = <0>; 73 74 ov5647: camera@36 { 75 compatible = "ovti,ov5647"; 76 reg = <0x36>; 77 clocks = <&camera_clk>; 78 pwdn-gpios = <&pioE 29 GPIO_ACTIVE_HIGH>; 79 80 port { 81 camera_out: endpoint { 82 remote-endpoint = <&csi1_ep1>; 83 }; 84 }; 85 }; 86 }; 87 88... 89