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:
parent
7918c921d5
commit
532c775787
|
@ -43,4 +43,13 @@
|
|||
<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)>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -92,6 +92,12 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c2 {
|
||||
pinctrl-0 = <&i2c2_default>;
|
||||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&rtcc0 {
|
||||
prescaler = <1>;
|
||||
status = "okay";
|
||||
|
|
Loading…
Reference in New Issue