Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions boards/silabs/starter_kits/slstk3701a/slstk3701a-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -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)>;
};
};
};
6 changes: 6 additions & 0 deletions boards/silabs/starter_kits/slstk3701a/slstk3701a.dts
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,12 @@
status = "okay";
};

&i2c2 {
pinctrl-0 = <&i2c2_default>;
pinctrl-names = "default";
status = "okay";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not super familiar with devices that must enabled by default, but I believe we have to keep i2c "disabled".

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's said, i2c0 and i2c1 are enable. So, I believe this patch is correct.

};

&rtcc0 {
prescaler = <1>;
status = "okay";
Expand Down
Loading