Skip to content

Commit a9d496d

Browse files
author
Alain Volmat
committed
shields: st_b_cams_omv_mb1683: remove i2c/dcmi node config from overlay
The i2c bus configuration and dcmi pins alternate function settings are already done within the board dts since this is fixed for each board so remove then from the shield overlay. In the shield main overlay file, ensure that the i2c bus is properly enabled. Signed-off-by: Alain Volmat <[email protected]>
1 parent 6d1543f commit a9d496d

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

boards/shields/st_b_cams_omv_mb1683/boards/stm32h7b3i_dk.overlay

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,6 @@
55
*
66
*/
77

8-
&st_cam_i2c {
9-
pinctrl-0 = <&i2c4_scl_pd12 &i2c4_sda_pd13>;
10-
pinctrl-names = "default";
11-
status = "okay";
12-
clock-frequency = <I2C_BITRATE_FAST>;
13-
};
14-
15-
&st_cam_dvp {
16-
pinctrl-0 = <&dcmi_hsync_pa4 &dcmi_pixclk_pa6 &dcmi_vsync_pb7
17-
&dcmi_d0_pc6 &dcmi_d1_pc7 &dcmi_d2_pg10 &dcmi_d3_pc9
18-
&dcmi_d4_pc11 &dcmi_d5_pd3 &dcmi_d6_pb8 &dcmi_d7_pb9>;
19-
pinctrl-names = "default";
20-
};
21-
228
&dma1 {
239
status = "okay";
2410
};

boards/shields/st_b_cams_omv_mb1683/st_b_cams_omv_mb1683.overlay

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
};
1515

1616
&st_cam_i2c {
17+
status = "okay";
18+
1719
ov5640: ov5640@3c {
1820
compatible = "ovti,ov5640";
1921
reg = <0x3c>;

0 commit comments

Comments
 (0)