Skip to content

Commit 46cdec8

Browse files
marcusfolkessoncarlescufi
authored andcommitted
oards/arm/efr32xg24_dk2601b: add support for sensors attached to I2C
Zephyr already have support for a couple of sensors on the board: - Silicon Labs Si7210 hall effect sensor - Silicon Labs Si7021 relative humidity & temperature sensor - Vishay VEML6035 ambient light sensor Add support for those in device tree. Signed-off-by: Marcus Folkesson <[email protected]>
1 parent 73dbd3c commit 46cdec8

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

boards/arm/efr32xg24_dk2601b/efr32xg24_dk2601b.dts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,24 @@
8282
location-sda = <GECKO_LOCATION(5) GECKO_PORT_C GECKO_PIN(5)>;
8383
location-scl = <GECKO_LOCATION(5) GECKO_PORT_C GECKO_PIN(4)>;
8484
status = "okay";
85+
86+
veml6035: veml6035@29 {
87+
compatible = "vishay,veml7700";
88+
reg = <0x29>;
89+
status = "okay";
90+
};
91+
92+
si7210: si7210@30 {
93+
compatible = "silabs,si7210";
94+
reg = <0x30>;
95+
status = "okay";
96+
};
97+
98+
si7021: si7021@40 {
99+
compatible = "silabs,si7006";
100+
reg = <0x40>;
101+
status = "okay";
102+
};
85103
};
86104

87105
&gpio {

0 commit comments

Comments
 (0)