boards: arm: nucleo_f746zg: add i2c2

Adds i2c2 on nucleo_f746zg to use the i2c_target_api test case
to enables the board.

Signed-off-by: Marc Desvaux <marc.desvaux-ext@st.com>
This commit is contained in:
Marc Desvaux 2023-06-15 14:21:16 +02:00 committed by Fabio Baltieri
commit e86fc5fb75

View file

@ -126,6 +126,13 @@ zephyr_udc0: &usbotg_fs {
clock-frequency = <I2C_BITRATE_FAST>;
};
&i2c2 {
pinctrl-0 = <&i2c2_scl_pb10 &i2c2_sda_pb11>;
pinctrl-names = "default";
status = "okay";
clock-frequency = <I2C_BITRATE_FAST>;
};
&timers1 {
st,prescaler = <10000>;
status = "okay";