xref: /freebsd/sys/contrib/device-tree/src/arm/renesas/r8a7742-iwg21d-q7-dbcm-ov7725-single.dtsi (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * This include file ties a VIN interface with a single ov7725 sensor on
4*f126890aSEmmanuel Vadot * the iWave-RZ/G1H Qseven board development platform connected with the
5*f126890aSEmmanuel Vadot * camera daughter board.
6*f126890aSEmmanuel Vadot *
7*f126890aSEmmanuel Vadot * Copyright (C) 2020 Renesas Electronics Corp.
8*f126890aSEmmanuel Vadot */
9*f126890aSEmmanuel Vadot
10*f126890aSEmmanuel Vadot#include <dt-bindings/media/video-interfaces.h>
11*f126890aSEmmanuel Vadot
12*f126890aSEmmanuel Vadot#define CAM_ENABLED	1
13*f126890aSEmmanuel Vadot
14*f126890aSEmmanuel Vadot&CAM_PARENT_I2C {
15*f126890aSEmmanuel Vadot	status = "okay";
16*f126890aSEmmanuel Vadot
17*f126890aSEmmanuel Vadot	ov7725@21 {
18*f126890aSEmmanuel Vadot		compatible = "ovti,ov7725";
19*f126890aSEmmanuel Vadot		reg = <0x21>;
20*f126890aSEmmanuel Vadot		clocks = <&MCLK_CAM>;
21*f126890aSEmmanuel Vadot		status = "okay";
22*f126890aSEmmanuel Vadot
23*f126890aSEmmanuel Vadot		port {
24*f126890aSEmmanuel Vadot			CAM_EP: endpoint {
25*f126890aSEmmanuel Vadot				bus-width = <8>;
26*f126890aSEmmanuel Vadot				bus-type = <MEDIA_BUS_TYPE_BT656>;
27*f126890aSEmmanuel Vadot				remote-endpoint = <&VIN_EP>;
28*f126890aSEmmanuel Vadot			};
29*f126890aSEmmanuel Vadot		};
30*f126890aSEmmanuel Vadot	};
31*f126890aSEmmanuel Vadot};
32