0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003 * This include file ties a VIN interface with a single ov5640 sensor on
0004 * the iWave-RZ/G1H Qseven board development platform connected with the
0005 * camera daughter board.
0006 *
0007 * Copyright (C) 2020 Renesas Electronics Corp.
0008 */
0009
0010 #define CAM_ENABLED 1
0011
0012 &CAM_PARENT_I2C {
0013 status = "okay";
0014
0015 ov5640@3c {
0016 compatible = "ovti,ov5640";
0017 reg = <0x3c>;
0018 clocks = <&MCLK_CAM>;
0019 clock-names = "xclk";
0020 AVDD-supply = <®_2p8v>;
0021 DOVDD-supply = <®_2p8v>;
0022 DVDD-supply = <®_1p8v>;
0023 status = "okay";
0024
0025 port {
0026 CAM_EP: endpoint {
0027 bus-width = <8>;
0028 data-shift = <2>;
0029 bus-type = <6>;
0030 pclk-sample = <1>;
0031 remote-endpoint = <&VIN_EP>;
0032 };
0033 };
0034 };
0035 };