Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /* |
| 3 | * This include file ties a VIN interface with a single ov7725 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 | #include <dt-bindings/media/video-interfaces.h> |
| 11 | |
| 12 | #define CAM_ENABLED 1 |
| 13 | |
| 14 | &CAM_PARENT_I2C { |
| 15 | status = "okay"; |
| 16 | |
| 17 | ov7725@21 { |
| 18 | compatible = "ovti,ov7725"; |
| 19 | reg = <0x21>; |
| 20 | clocks = <&MCLK_CAM>; |
| 21 | status = "okay"; |
| 22 | |
| 23 | port { |
| 24 | CAM_EP: endpoint { |
| 25 | bus-width = <8>; |
| 26 | bus-type = <MEDIA_BUS_TYPE_BT656>; |
| 27 | remote-endpoint = <&VIN_EP>; |
| 28 | }; |
| 29 | }; |
| 30 | }; |
| 31 | }; |