Skip to content

Commit da3fb47

Browse files
author
Alain Volmat
committed
boards: st: stm32n6570_dk: add st_i2c_cam / csi_connector entries
Add st_i2c_cam label and csi_connector node in order to be able to make reference to them from board shields using the camera interface. Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
1 parent 16b49e2 commit da3fb47

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

boards/st/stm32n6570_dk/stm32n6570_dk_common.dtsi

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,21 @@
4646
label = "User LD2";
4747
};
4848
};
49+
50+
csi_camera_connector: connector_csi_camera {
51+
compatible = "st,stm32-csi-camera";
52+
#gpio-cells = <2>;
53+
gpio-map-mask = <0xffffffff 0xffffffc0>;
54+
gpio-map-pass-thru = <0 0x3f>;
55+
gpio-map = <11 0 &gpioq 5 0>, /* TOF_LPn */
56+
<12 0 &gpioq 0 0>, /* TOF_INT */
57+
<14 0 &gpioq 1 0>, /* IMU_INT1 */
58+
<15 0 &gpioq 2 0>, /* IMU_INT2 */
59+
<17 0 &gpioc 8 0>, /* NRST_CAM */
60+
<18 0 &gpiod 2 0>, /* EN_MODULE */
61+
<20 0 &gpioh 9 0>, /* I2C1_SCL */
62+
<21 0 &gpioc 1 0>; /* I2C1_SDA */
63+
};
4964
};
5065

5166
&clk_hse {
@@ -185,7 +200,7 @@
185200
status = "okay";
186201
};
187202

188-
&i2c1 {
203+
st_cam_i2c: &i2c1 {
189204
clocks = <&rcc STM32_CLOCK(APB1, 21)>,
190205
<&rcc STM32_SRC_CKPER I2C1_SEL(1)>;
191206
pinctrl-0 = <&i2c1_scl_ph9 &i2c1_sda_pc1>;

0 commit comments

Comments
 (0)