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:
parent
bcc737dc2c
commit
e86fc5fb75
1 changed files with 7 additions and 0 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue