1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 $id: http://devicetree.org/schemas/media/i2c/ovti,ov5642.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: OmniVision OV5642 Image Sensor
10 - Fabio Estevam <festevam@gmail.com>
13 - $ref: /schemas/media/video-interface-devices.yaml#
23 description: XCLK Input Clock
26 description: Analog voltage supply, 2.8V.
29 description: Digital core voltage supply, 1.5V.
32 description: Digital I/O voltage supply, 1.8V.
36 description: Reference to the GPIO connected to the powerdown pin, if any.
40 description: Reference to the GPIO connected to the reset pin, if any.
43 $ref: /schemas/graph.yaml#/$defs/port-base
49 $ref: /schemas/media/video-interfaces.yaml#
50 unevaluatedProperties: false
98 additionalProperties: false
106 additionalProperties: false
110 #include <dt-bindings/gpio/gpio.h>
111 #include <dt-bindings/media/video-interfaces.h>
114 #address-cells = <1>;
118 compatible = "ovti,ov5642";
120 pinctrl-names = "default";
121 pinctrl-0 = <&pinctrl_ov5642>;
122 clocks = <&clk_ext_camera>;
123 DOVDD-supply = <&vgen4_reg>;
124 AVDD-supply = <&vgen3_reg>;
125 DVDD-supply = <&vgen2_reg>;
126 powerdown-gpios = <&gpio1 19 GPIO_ACTIVE_HIGH>;
127 reset-gpios = <&gpio1 20 GPIO_ACTIVE_LOW>;
130 ov5642_to_parallel: endpoint {
131 bus-type = <MEDIA_BUS_TYPE_PARALLEL>;
132 remote-endpoint = <¶llel_from_ov5642>;
134 data-shift = <2>; /* lines 9:2 are used */