xref: /linux/arch/arm/boot/dts/renesas/r8a7742-iwg21d-q7-dbcm-ov5640-single.dtsi (revision fd7d598270724cc787982ea48bbe17ad383a8b7f)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * This include file ties a VIN interface with a single ov5640 sensor on
4 * the iWave-RZ/G1H Qseven board development platform connected with the
5 * camera daughter board.
6 *
7 * Copyright (C) 2020 Renesas Electronics Corp.
8 */
9
10#include <dt-bindings/media/video-interfaces.h>
11
12#define CAM_ENABLED	1
13
14&CAM_PARENT_I2C {
15	status = "okay";
16
17	ov5640@3c {
18		compatible = "ovti,ov5640";
19		reg = <0x3c>;
20		clocks = <&MCLK_CAM>;
21		clock-names = "xclk";
22		AVDD-supply = <&reg_2p8v>;
23		DOVDD-supply = <&reg_2p8v>;
24		DVDD-supply = <&reg_1p8v>;
25		status = "okay";
26
27		port {
28			CAM_EP: endpoint {
29				bus-width = <8>;
30				data-shift = <2>;
31				bus-type = <MEDIA_BUS_TYPE_BT656>;
32				pclk-sample = <1>;
33				remote-endpoint = <&VIN_EP>;
34			};
35		};
36	};
37};
38