File tree Expand file tree Collapse file tree 2 files changed +51
-0
lines changed
include/zephyr/dt-bindings/gpio Expand file tree Collapse file tree 2 files changed +51
-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 Raspberry Pi CSI 22pins Camera connector
6
+ Connector layout:
7
+
8
+ 1 GND
9
+ 2 CSI_D0_N
10
+ 3 CSI_D0_P
11
+ 4 GND
12
+ 5 CSI_D1_N
13
+ 6 CSI_D1_P
14
+ 7 GND
15
+ 8 CSI_CK_N
16
+ 9 CSI_CK_P
17
+ 10 GND
18
+ 11 CSI_D2_N
19
+ 12 CSI_D2_P
20
+ 13 GND
21
+ 14 CSI_D3_N
22
+ 15 CSI_D3_P
23
+ 16 GND
24
+ 17 IO0
25
+ 18 IO1
26
+ 19 GND
27
+ 20 I2C_SCL
28
+ 21 I2C_SDA
29
+ 22 VCC (3v3)
30
+
31
+ compatible : " raspberrypi,csi-22pins-connector"
32
+
33
+ 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_RASPBERRYPI_CSI_22PINS_CONNECTOR_H_
6
+ #define INCLUDE_ZEPHYR_DT_BINDINGS_GPIO_RASPBERRYPI_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_RASPBERRYPI_CSI_22PINS_CONNECTOR_H_ */
You can’t perform that action at this time.
0 commit comments