1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/media/i2c/ovti,ov5648.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: OmniVision OV5648 Image Sensor 8 9maintainers: 10 - Paul Kocialkowski <paul.kocialkowski@bootlin.com> 11 12properties: 13 compatible: 14 const: ovti,ov5648 15 16 reg: 17 maxItems: 1 18 19 clocks: 20 items: 21 - description: XVCLK Clock 22 23 dvdd-supply: 24 description: Digital Domain Power Supply 25 26 avdd-supply: 27 description: Analog Domain Power Supply (internal AVDD is used if missing) 28 29 dovdd-supply: 30 description: I/O Domain Power Supply 31 32 powerdown-gpios: 33 maxItems: 1 34 description: Power Down Pin GPIO Control (active low) 35 36 reset-gpios: 37 maxItems: 1 38 description: Reset Pin GPIO Control (active low) 39 40 port: 41 description: MIPI CSI-2 transmitter port 42 $ref: /schemas/graph.yaml#/$defs/port-base 43 additionalProperties: false 44 45 properties: 46 endpoint: 47 $ref: /schemas/media/video-interfaces.yaml# 48 unevaluatedProperties: false 49 50 properties: 51 link-frequencies: true 52 53 data-lanes: 54 minItems: 1 55 maxItems: 2 56 57 required: 58 - data-lanes 59 - link-frequencies 60 61required: 62 - compatible 63 - reg 64 - clocks 65 - dvdd-supply 66 - dovdd-supply 67 - port 68 69additionalProperties: false 70 71examples: 72 - | 73 #include <dt-bindings/clock/sun8i-v3s-ccu.h> 74 #include <dt-bindings/gpio/gpio.h> 75 76 i2c { 77 #address-cells = <1>; 78 #size-cells = <0>; 79 80 ov5648: camera@36 { 81 compatible = "ovti,ov5648"; 82 reg = <0x36>; 83 84 dvdd-supply = <&ov5648_dvdd>; 85 avdd-supply = <&ov5648_avdd>; 86 dovdd-supply = <&ov5648_dovdd>; 87 clocks = <&ov5648_xvclk 0>; 88 89 ov5648_out: port { 90 ov5648_out_mipi_csi2: endpoint { 91 data-lanes = <1 2>; 92 link-frequencies = /bits/ 64 <210000000 168000000>; 93 94 remote-endpoint = <&mipi_csi2_in_ov5648>; 95 }; 96 }; 97 }; 98 }; 99