Skip to content

Commit d58189f

Browse files
msierszulskiMaureenHelm
authored andcommitted
drivers: i2c: Enable Gecko i2c driver for efr32bg_sltb010a
This commit enables the Gecko i2c driver on the efr32bg_sltb010a board. Signed-off-by: Mateusz Sierszulski <[email protected]>
1 parent 3bd9352 commit d58189f

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

boards/arm/efr32bg_sltb010a/efr32bg_sltb010a.dts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,3 +119,9 @@
119119
&trng {
120120
status = "okay";
121121
};
122+
123+
&i2c0 {
124+
location-sda = <GECKO_LOCATION(3) GECKO_PORT_D GECKO_PIN(2)>;
125+
location-scl = <GECKO_LOCATION(3) GECKO_PORT_D GECKO_PIN(3)>;
126+
status = "okay";
127+
};

dts/arm/silabs/efr32bg22.dtsi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@
8181
compatible = "silabs,gecko-i2c";
8282
clock-frequency = <I2C_BITRATE_STANDARD>;
8383
reg = <0x5a010000 0x3044>;
84+
#address-cells = <1>;
85+
#size-cells = <0>;
8486
interrupts = <27 0>;
8587
status = "disabled";
8688
};
@@ -89,6 +91,8 @@
8991
compatible = "silabs,gecko-i2c";
9092
clock-frequency = <I2C_BITRATE_STANDARD>;
9193
reg = <0x50068000 0x3044>;
94+
#address-cells = <1>;
95+
#size-cells = <0>;
9296
interrupts = <28 0>;
9397
status = "disabled";
9498
};

0 commit comments

Comments
 (0)