Skip to content

Commit 4482813

Browse files
author
Alain Volmat
committed
boards: st: stm32h7b3i_dk: add dcmi pinctrl and remove duplicated i2c4
The pin alternate function settings are boards related so configure the dcmi pinctrl within the board dts file in order to remove them from the shield board specific overlay. Signed-off-by: Alain Volmat <[email protected]>
1 parent a937002 commit 4482813

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

boards/st/stm32h7b3i_dk/stm32h7b3i_dk.dts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@
163163
status = "okay";
164164
};
165165

166-
&i2c4 {
166+
st_cam_i2c: &i2c4 {
167167
pinctrl-0 = <&i2c4_scl_pd12 &i2c4_sda_pd13>;
168168
pinctrl-names = "default";
169169
clock-frequency = <I2C_BITRATE_FAST>;
@@ -309,6 +309,9 @@
309309
};
310310
};
311311

312-
st_cam_i2c: &i2c4 {};
313-
314-
st_cam_dvp: &dcmi {};
312+
st_cam_dvp: &dcmi {
313+
pinctrl-0 = <&dcmi_hsync_pa4 &dcmi_pixclk_pa6 &dcmi_vsync_pb7
314+
&dcmi_d0_pc6 &dcmi_d1_pc7 &dcmi_d2_pg10 &dcmi_d3_pc9
315+
&dcmi_d4_pc11 &dcmi_d5_pd3 &dcmi_d6_pb8 &dcmi_d7_pb9>;
316+
pinctrl-names = "default";
317+
};

0 commit comments

Comments
 (0)