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#define CAM_ENABLED	1
11
12&CAM_PARENT_I2C {
13	status = "okay";
14
15	ov5640@3c {
16		compatible = "ovti,ov5640";
17		reg = <0x3c>;
18		clocks = <&MCLK_CAM>;
19		clock-names = "xclk";
20		status = "okay";
21
22		port {
23			CAM_EP: endpoint {
24				bus-width = <8>;
25				data-shift = <2>;
26				bus-type = <6>;
27				pclk-sample = <1>;
28				remote-endpoint = <&VIN_EP>;
29			};
30		};
31	};
32};
33