File tree Expand file tree Collapse file tree 2 files changed +52
-0
lines changed
include/zephyr/dt-bindings/gpio Expand file tree Collapse file tree 2 files changed +52
-0
lines changed Original file line number Diff line number Diff line change 1+ # Copyright 2025 STMicroelectronics
2+ # SPDX-License-Identifier: Apache-2.0
3+
4+ description : |
5+ GPIO pins exposed on the CSI 22pins Camera connector found on
6+ various devices such as Raspberry Pi and STM32.
7+ Connector layout:
8+
9+ 1 GND
10+ 2 CSI_D0_N
11+ 3 CSI_D0_P
12+ 4 GND
13+ 5 CSI_D1_N
14+ 6 CSI_D1_P
15+ 7 GND
16+ 8 CSI_CK_N
17+ 9 CSI_CK_P
18+ 10 GND
19+ 11 CSI_D2_N
20+ 12 CSI_D2_P
21+ 13 GND
22+ 14 CSI_D3_N
23+ 15 CSI_D3_P
24+ 16 GND
25+ 17 IO0
26+ 18 IO1
27+ 19 GND
28+ 20 I2C_SCL
29+ 21 I2C_SDA
30+ 22 VCC (3v3)
31+
32+ compatible : " csi,cam-22pins-connector"
33+
34+ include : [gpio-nexus.yaml, base.yaml]
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) 2025 STMicroelectronics
3+ * SPDX-License-Identifier: Apache-2.0
4+ */
5+ #ifndef INCLUDE_ZEPHYR_DT_BINDINGS_GPIO_CSI_22PINS_CONNECTOR_H_
6+ #define INCLUDE_ZEPHYR_DT_BINDINGS_GPIO_CSI_22PINS_CONNECTOR_H_
7+
8+ /**
9+ * @name CSI 22 pins camera connector pinout
10+ * @{
11+ */
12+ #define CSI_22PINS_IO0 17 /**< GPIO0 */
13+ #define CSI_22PINS_IO1 18 /**< GPIO1 */
14+ #define CSI_22PINS_I2C_SCL 20 /**< I2C clock pin */
15+ #define CSI_22PINS_I2C_SDA 21 /**< I2C data pin */
16+ /** @} */
17+
18+ #endif /* INCLUDE_ZEPHYR_DT_BINDINGS_GPIO_CSI_22PINS_CONNECTOR_H_ */
You can’t perform that action at this time.
0 commit comments