From 4c977c5df697ee2f8438136fa744f9733177146f Mon Sep 17 00:00:00 2001 From: Marc Desvaux Date: Fri, 9 Jun 2023 14:44:03 +0200 Subject: [PATCH] boards: arm: nucleo_f429zi: add i2c2 Adds i2c2 on nucleo_f429zi to use the i2c_target_api test case to enables the board. Signed-off-by: Marc Desvaux --- boards/arm/nucleo_f429zi/nucleo_f429zi.dts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/boards/arm/nucleo_f429zi/nucleo_f429zi.dts b/boards/arm/nucleo_f429zi/nucleo_f429zi.dts index 8014a839e6c..9fce1d895f0 100644 --- a/boards/arm/nucleo_f429zi/nucleo_f429zi.dts +++ b/boards/arm/nucleo_f429zi/nucleo_f429zi.dts @@ -108,6 +108,13 @@ clock-frequency = ; }; +&i2c2 { + pinctrl-0 = <&i2c2_scl_pb10 &i2c2_sda_pb11>; + pinctrl-names = "default"; + status = "okay"; + clock-frequency = ; +}; + &spi1 { pinctrl-0 = <&spi1_sck_pa5 &spi1_miso_pa6 &spi1_mosi_pa7>; pinctrl-names = "default";