1*6be33864SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*6be33864SEmmanuel Vadot%YAML 1.2 3*6be33864SEmmanuel Vadot--- 4*6be33864SEmmanuel Vadot$id: http://devicetree.org/schemas/media/i2c/ov5647.yaml# 5*6be33864SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*6be33864SEmmanuel Vadot 7*6be33864SEmmanuel Vadottitle: Omnivision OV5647 raw image sensor 8*6be33864SEmmanuel Vadot 9*6be33864SEmmanuel Vadotmaintainers: 10*6be33864SEmmanuel Vadot - Dave Stevenson <dave.stevenson@raspberrypi.com> 11*6be33864SEmmanuel Vadot - Jacopo Mondi <jacopo@jmondi.org> 12*6be33864SEmmanuel Vadot 13*6be33864SEmmanuel Vadotdescription: |- 14*6be33864SEmmanuel Vadot The OV5647 is a raw image sensor with MIPI CSI-2 and CCP2 image data 15*6be33864SEmmanuel Vadot interfaces and CCI (I2C compatible) control bus. 16*6be33864SEmmanuel Vadot 17*6be33864SEmmanuel Vadotproperties: 18*6be33864SEmmanuel Vadot compatible: 19*6be33864SEmmanuel Vadot const: ovti,ov5647 20*6be33864SEmmanuel Vadot 21*6be33864SEmmanuel Vadot reg: 22*6be33864SEmmanuel Vadot description: I2C device address. 23*6be33864SEmmanuel Vadot maxItems: 1 24*6be33864SEmmanuel Vadot 25*6be33864SEmmanuel Vadot clocks: 26*6be33864SEmmanuel Vadot description: Reference to the xclk clock. 27*6be33864SEmmanuel Vadot maxItems: 1 28*6be33864SEmmanuel Vadot 29*6be33864SEmmanuel Vadot pwdn-gpios: 30*6be33864SEmmanuel Vadot description: Reference to the GPIO connected to the pwdn pin. Active high. 31*6be33864SEmmanuel Vadot maxItems: 1 32*6be33864SEmmanuel Vadot 33*6be33864SEmmanuel Vadot port: 34*6be33864SEmmanuel Vadot type: object 35*6be33864SEmmanuel Vadot description: |- 36*6be33864SEmmanuel Vadot Should contain one endpoint sub-node used to model connection to the 37*6be33864SEmmanuel Vadot video receiver according to the specification defined in 38*6be33864SEmmanuel Vadot Documentation/devicetree/bindings/media/video-interfaces.txt. 39*6be33864SEmmanuel Vadot 40*6be33864SEmmanuel Vadot properties: 41*6be33864SEmmanuel Vadot endpoint: 42*6be33864SEmmanuel Vadot type: object 43*6be33864SEmmanuel Vadot 44*6be33864SEmmanuel Vadot properties: 45*6be33864SEmmanuel Vadot remote-endpoint: 46*6be33864SEmmanuel Vadot description: |- 47*6be33864SEmmanuel Vadot phandle to the video receiver input port. 48*6be33864SEmmanuel Vadot 49*6be33864SEmmanuel Vadot clock-noncontinuous: 50*6be33864SEmmanuel Vadot type: boolean 51*6be33864SEmmanuel Vadot description: |- 52*6be33864SEmmanuel Vadot Set to true to allow MIPI CSI-2 non-continuous clock operations. 53*6be33864SEmmanuel Vadot 54*6be33864SEmmanuel Vadot additionalProperties: false 55*6be33864SEmmanuel Vadot 56*6be33864SEmmanuel Vadot additionalProperties: false 57*6be33864SEmmanuel Vadot 58*6be33864SEmmanuel Vadotrequired: 59*6be33864SEmmanuel Vadot - compatible 60*6be33864SEmmanuel Vadot - reg 61*6be33864SEmmanuel Vadot - clocks 62*6be33864SEmmanuel Vadot - port 63*6be33864SEmmanuel Vadot 64*6be33864SEmmanuel VadotadditionalProperties: false 65*6be33864SEmmanuel Vadot 66*6be33864SEmmanuel Vadotexamples: 67*6be33864SEmmanuel Vadot - | 68*6be33864SEmmanuel Vadot #include <dt-bindings/gpio/gpio.h> 69*6be33864SEmmanuel Vadot 70*6be33864SEmmanuel Vadot i2c { 71*6be33864SEmmanuel Vadot #address-cells = <1>; 72*6be33864SEmmanuel Vadot #size-cells = <0>; 73*6be33864SEmmanuel Vadot 74*6be33864SEmmanuel Vadot ov5647: camera@36 { 75*6be33864SEmmanuel Vadot compatible = "ovti,ov5647"; 76*6be33864SEmmanuel Vadot reg = <0x36>; 77*6be33864SEmmanuel Vadot clocks = <&camera_clk>; 78*6be33864SEmmanuel Vadot pwdn-gpios = <&pioE 29 GPIO_ACTIVE_HIGH>; 79*6be33864SEmmanuel Vadot 80*6be33864SEmmanuel Vadot port { 81*6be33864SEmmanuel Vadot camera_out: endpoint { 82*6be33864SEmmanuel Vadot remote-endpoint = <&csi1_ep1>; 83*6be33864SEmmanuel Vadot }; 84*6be33864SEmmanuel Vadot }; 85*6be33864SEmmanuel Vadot }; 86*6be33864SEmmanuel Vadot }; 87*6be33864SEmmanuel Vadot 88*6be33864SEmmanuel Vadot... 89