Skip to content

Commit 532c775

Browse files
SiliconSignalsnashif
authored andcommitted
board: silabs: slstk3701a: add i2c2 node
Enable the I2C2 node on the EFM32GG11 SLSTK3701A board Signed-off-by: Tarang Raval <[email protected]>
1 parent 7918c92 commit 532c775

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

boards/silabs/starter_kits/slstk3701a/slstk3701a-pinctrl.dtsi

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,13 @@
4343
<GECKO_LOC(I2C_SCL, 0)>;
4444
};
4545
};
46+
47+
i2c2_default: i2c2_default {
48+
group1 {
49+
psels = <GECKO_PSEL(I2C_SDA, I, 4)>,
50+
<GECKO_PSEL(I2C_SCL, I, 5)>,
51+
<GECKO_LOC(I2C_SDA, 7)>,
52+
<GECKO_LOC(I2C_SCL, 7)>;
53+
};
54+
};
4655
};

boards/silabs/starter_kits/slstk3701a/slstk3701a.dts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,12 @@
9292
status = "okay";
9393
};
9494

95+
&i2c2 {
96+
pinctrl-0 = <&i2c2_default>;
97+
pinctrl-names = "default";
98+
status = "okay";
99+
};
100+
95101
&rtcc0 {
96102
prescaler = <1>;
97103
status = "okay";

0 commit comments

Comments
 (0)