1 // SPDX-License-Identifier: GPL-2.0 1 // SPDX-License-Identifier: GPL-2.0 2 /* 2 /* 3 * This include file ties a VIN interface with 3 * This include file ties a VIN interface with a single ov5640 sensor on 4 * the iWave-RZ/G1H Qseven board development p 4 * the iWave-RZ/G1H Qseven board development platform connected with the 5 * camera daughter board. 5 * camera daughter board. 6 * 6 * 7 * Copyright (C) 2020 Renesas Electronics Corp 7 * Copyright (C) 2020 Renesas Electronics Corp. 8 */ 8 */ 9 9 10 #include <dt-bindings/media/video-interfaces.h 10 #include <dt-bindings/media/video-interfaces.h> 11 11 12 #define CAM_ENABLED 1 12 #define CAM_ENABLED 1 13 13 14 &CAM_PARENT_I2C { 14 &CAM_PARENT_I2C { 15 status = "okay"; 15 status = "okay"; 16 16 17 ov5640@3c { 17 ov5640@3c { 18 compatible = "ovti,ov5640"; 18 compatible = "ovti,ov5640"; 19 reg = <0x3c>; 19 reg = <0x3c>; 20 clocks = <&MCLK_CAM>; 20 clocks = <&MCLK_CAM>; 21 clock-names = "xclk"; 21 clock-names = "xclk"; 22 AVDD-supply = <®_2p8v>; 22 AVDD-supply = <®_2p8v>; 23 DOVDD-supply = <®_2p8v>; 23 DOVDD-supply = <®_2p8v>; 24 DVDD-supply = <®_1p8v>; 24 DVDD-supply = <®_1p8v>; 25 status = "okay"; 25 status = "okay"; 26 26 27 port { 27 port { 28 CAM_EP: endpoint { 28 CAM_EP: endpoint { 29 bus-width = <8 29 bus-width = <8>; 30 data-shift = < 30 data-shift = <2>; 31 bus-type = <ME 31 bus-type = <MEDIA_BUS_TYPE_BT656>; 32 pclk-sample = 32 pclk-sample = <1>; 33 remote-endpoin 33 remote-endpoint = <&VIN_EP>; 34 }; 34 }; 35 }; 35 }; 36 }; 36 }; 37 }; 37 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.