board: silabs: slstk3701a: add i2c2 node

Enable the I2C2 node on the EFM32GG11 SLSTK3701A board

Signed-off-by: Tarang Raval <tarang.raval@siliconsignals.io>
This commit is contained in:
Tarang Raval 2024-11-10 19:27:40 +05:30 committed by Anas Nashif
parent 7918c921d5
commit 532c775787
2 changed files with 15 additions and 0 deletions

View File

@ -43,4 +43,13 @@
<GECKO_LOC(I2C_SCL, 0)>; <GECKO_LOC(I2C_SCL, 0)>;
}; };
}; };
i2c2_default: i2c2_default {
group1 {
psels = <GECKO_PSEL(I2C_SDA, I, 4)>,
<GECKO_PSEL(I2C_SCL, I, 5)>,
<GECKO_LOC(I2C_SDA, 7)>,
<GECKO_LOC(I2C_SCL, 7)>;
};
};
}; };

View File

@ -92,6 +92,12 @@
status = "okay"; status = "okay";
}; };
&i2c2 {
pinctrl-0 = <&i2c2_default>;
pinctrl-names = "default";
status = "okay";
};
&rtcc0 { &rtcc0 {
prescaler = <1>; prescaler = <1>;
status = "okay"; status = "okay";