Line data Source code
1 1 : /*
2 : * Copyright (c) 2025 tinyVision.ai Inc.
3 : * SPDX-License-Identifier: Apache-2.0
4 : */
5 :
6 : /**
7 : * @file
8 : * @brief Arducam DVP 20-pin connector pin constants
9 : * @ingroup dvp-20pin-connector
10 : */
11 :
12 : #ifndef INCLUDE_ZEPHYR_DT_BINDINGS_GPIO_DVP_20PIN_CONNECTOR_H_
13 : #define INCLUDE_ZEPHYR_DT_BINDINGS_GPIO_DVP_20PIN_CONNECTOR_H_
14 :
15 : /**
16 : * @defgroup dvp-20pin-connector Arducam DVP 20-pin connector
17 : * @brief Constants for pins exposed on Arducam DVP 20-pin or 18-pin connector
18 : * @ingroup devicetree-gpio-pin-headers
19 : * @{
20 : */
21 1 : #define DVP_20PIN_SCL 3 /**< I2C clock pin */
22 1 : #define DVP_20PIN_SDA 4 /**< I2C data pin */
23 1 : #define DVP_20PIN_VS 5 /**< Vertical sync */
24 1 : #define DVP_20PIN_HS 6 /**< Horizontal sync */
25 1 : #define DVP_20PIN_PCLK 7 /**< Pixel clock used to transmit the data */
26 1 : #define DVP_20PIN_XCLK 8 /**< System clock often needed for I2C communication */
27 1 : #define DVP_20PIN_D7 9 /**< Parallel port data */
28 1 : #define DVP_20PIN_D6 10 /**< Parallel port data */
29 1 : #define DVP_20PIN_D5 11 /**< Parallel port data */
30 1 : #define DVP_20PIN_D4 12 /**< Parallel port data */
31 1 : #define DVP_20PIN_D3 13 /**< Parallel port data */
32 1 : #define DVP_20PIN_D2 14 /**< Parallel port data */
33 1 : #define DVP_20PIN_D1 15 /**< Parallel port data */
34 1 : #define DVP_20PIN_D0 16 /**< Parallel port data */
35 1 : #define DVP_20PIN_PEN 17 /**< Power Enable */
36 1 : #define DVP_20PIN_PDN 18 /**< Power Down */
37 1 : #define DVP_20PIN_GPIO0 19 /**< Extra GPIO pin present on some modules */
38 1 : #define DVP_20PIN_GPIO1 20 /**< Extra GPIO pin present on some modules */
39 : /** @} */
40 :
41 : #endif /* INCLUDE_ZEPHYR_DT_BINDINGS_GPIO_DVP_20PIN_CONNECTOR_H_ */
|