From 532c775787d0dc010f102df99d5f912c37999c5a Mon Sep 17 00:00:00 2001 From: Tarang Raval Date: Sun, 10 Nov 2024 19:27:40 +0530 Subject: [PATCH] board: silabs: slstk3701a: add i2c2 node Enable the I2C2 node on the EFM32GG11 SLSTK3701A board Signed-off-by: Tarang Raval --- .../starter_kits/slstk3701a/slstk3701a-pinctrl.dtsi | 9 +++++++++ boards/silabs/starter_kits/slstk3701a/slstk3701a.dts | 6 ++++++ 2 files changed, 15 insertions(+) diff --git a/boards/silabs/starter_kits/slstk3701a/slstk3701a-pinctrl.dtsi b/boards/silabs/starter_kits/slstk3701a/slstk3701a-pinctrl.dtsi index 4540922dd2f..a8731a39368 100644 --- a/boards/silabs/starter_kits/slstk3701a/slstk3701a-pinctrl.dtsi +++ b/boards/silabs/starter_kits/slstk3701a/slstk3701a-pinctrl.dtsi @@ -43,4 +43,13 @@ ; }; }; + + i2c2_default: i2c2_default { + group1 { + psels = , + , + , + ; + }; + }; }; diff --git a/boards/silabs/starter_kits/slstk3701a/slstk3701a.dts b/boards/silabs/starter_kits/slstk3701a/slstk3701a.dts index 1e67f024d7f..331a2163718 100644 --- a/boards/silabs/starter_kits/slstk3701a/slstk3701a.dts +++ b/boards/silabs/starter_kits/slstk3701a/slstk3701a.dts @@ -92,6 +92,12 @@ status = "okay"; }; +&i2c2 { + pinctrl-0 = <&i2c2_default>; + pinctrl-names = "default"; + status = "okay"; +}; + &rtcc0 { prescaler = <1>; status = "okay";