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 AVDD-supply = <®_2p8v>; 21 DOVDD-supply = <®_2p8v>; 22 DVDD-supply = <®_1p8v>; 23 status = "okay"; 24 25 port { 26 CAM_EP: endpoint { 27 bus-width = <8>; 28 data-shift = <2>; 29 bus-type = <6>; 30 pclk-sample = <1>; 31 remote-endpoint = <&VIN_EP>; 32 }; 33 }; 34 }; 35}; 36