overlays: i2c-sensor: Add the scd4x CO2 sensors

See: https://github.com/raspberrypi/linux/issues/7091

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
This commit is contained in:
Phil Elwell
2025-10-17 16:45:18 +01:00
parent b7373fd936
commit 026e6a824b
2 changed files with 17 additions and 0 deletions

View File

@@ -2576,6 +2576,8 @@ Params: addr Set the address for the ADS7828, ADS7830,
measurement in uOhms. (ina238 only, disabled
by default)
scd4x Select the Sensirion SCD40/41 CO2 sensors.
sht3x Select the Sensirion SHT3x temperature and
humidity sensors. Valid addresses 0x44-0x45,
default 0x44

View File

@@ -850,6 +850,20 @@
};
};
fragment@55 {
target = <&i2cbus>;
__dormant__ {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
scd4x: scd4x@62 {
compatible = "sensirion,scd40";
reg = <0x62>;
};
};
};
fragment@98 {
target-path = "/";
__dormant__ {
@@ -930,6 +944,7 @@
veml7700 = <0>,"+52";
veml3235 = <0>,"+53";
tmp117 = <0>,"+54+98";
scd4x = <0>,"+55";
addr = <&bme280>,"reg:0", <&bmp280>,"reg:0", <&tmp102>,"reg:0",
<&lm75>,"reg:0", <&hdc100x>,"reg:0", <&sht3x>,"reg:0",