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 <marcus.folkesson@gmail.com>
This commit is contained in:
parent
73dbd3c1fa
commit
46cdec8dc6
1 changed files with 18 additions and 0 deletions
|
@ -82,6 +82,24 @@
|
|||
location-sda = <GECKO_LOCATION(5) GECKO_PORT_C GECKO_PIN(5)>;
|
||||
location-scl = <GECKO_LOCATION(5) GECKO_PORT_C GECKO_PIN(4)>;
|
||||
status = "okay";
|
||||
|
||||
veml6035: veml6035@29 {
|
||||
compatible = "vishay,veml7700";
|
||||
reg = <0x29>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
si7210: si7210@30 {
|
||||
compatible = "silabs,si7210";
|
||||
reg = <0x30>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
si7021: si7021@40 {
|
||||
compatible = "silabs,si7006";
|
||||
reg = <0x40>;
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
&gpio {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue