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
7 changes: 5 additions & 2 deletions arch/arm/boot/dts/overlays/README
Original file line number Diff line number Diff line change
Expand Up @@ -1159,12 +1159,15 @@ Name: i2c-sensor
Info: Adds support for a number of I2C barometric pressure and temperature
sensors on i2c_arm
Load: dtoverlay=i2c-sensor,<param>=<val>
Params: addr Set the address for the BME280, BMP280, DS1621,
HDC100X, LM75, SHT3x or TMP102
Params: addr Set the address for the BME280, BME680, BMP280,
DS1621, HDC100X, LM75, SHT3x or TMP102

bme280 Select the Bosch Sensortronic BME280
Valid addresses 0x76-0x77, default 0x76

bme680 Select the Bosch Sensortronic BME680
Valid addresses 0x76-0x77, default 0x76

bmp085 Select the Bosch Sensortronic BMP085

bmp180 Select the Bosch Sensortronic BMP180
Expand Down
19 changes: 18 additions & 1 deletion arch/arm/boot/dts/overlays/i2c-sensor-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -216,10 +216,26 @@
};
};

fragment@14 {
target = <&i2c_arm>;
__dormant__ {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";

bme680: bme680@76 {
compatible = "bosch,bme680";
reg = <0x76>;
status = "okay";
};
};
};


__overrides__ {
addr = <&bme280>,"reg:0", <&bmp280>,"reg:0", <&tmp102>,"reg:0",
<&lm75>,"reg:0", <&hdc100x>,"reg:0", <&sht3x>,"reg:0",
<&ds1621>,"reg:0";
<&ds1621>,"reg:0", <&bme680>,"reg:0";
bme280 = <0>,"+0";
bmp085 = <0>,"+1";
bmp180 = <0>,"+2";
Expand All @@ -235,5 +251,6 @@
sht3x = <0>,"+11";
ds1621 = <0>,"+12";
max17040 = <0>,"+13";
bme680 = <0>,"+14";
};
};
1 change: 1 addition & 0 deletions arch/arm/configs/bcm2709_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1312,6 +1312,7 @@ CONFIG_IIO_BUFFER_CB=m
CONFIG_MCP320X=m
CONFIG_MCP3422=m
CONFIG_TI_ADS1015=m
CONFIG_BME680=m
CONFIG_DHT11=m
CONFIG_HDC100X=m
CONFIG_HTU21=m
Expand Down
1 change: 1 addition & 0 deletions arch/arm/configs/bcm2711_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1349,6 +1349,7 @@ CONFIG_IIO_BUFFER_CB=m
CONFIG_MCP320X=m
CONFIG_MCP3422=m
CONFIG_TI_ADS1015=m
CONFIG_BME680=m
CONFIG_DHT11=m
CONFIG_HDC100X=m
CONFIG_HTU21=m
Expand Down
1 change: 1 addition & 0 deletions arch/arm/configs/bcmrpi_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1322,6 +1322,7 @@ CONFIG_IIO_BUFFER_CB=m
CONFIG_MCP320X=m
CONFIG_MCP3422=m
CONFIG_TI_ADS1015=m
CONFIG_BME680=m
CONFIG_DHT11=m
CONFIG_HDC100X=m
CONFIG_HTU21=m
Expand Down
1 change: 1 addition & 0 deletions arch/arm64/configs/bcm2711_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1338,6 +1338,7 @@ CONFIG_IIO_BUFFER_CB=m
CONFIG_MCP320X=m
CONFIG_MCP3422=m
CONFIG_TI_ADS1015=m
CONFIG_BME680=m
CONFIG_DHT11=m
CONFIG_HDC100X=m
CONFIG_HTU21=m
Expand Down
1 change: 1 addition & 0 deletions arch/arm64/configs/bcmrpi3_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1112,6 +1112,7 @@ CONFIG_IIO=m
CONFIG_IIO_BUFFER_CB=m
CONFIG_MCP320X=m
CONFIG_MCP3422=m
CONFIG_BME680=m
CONFIG_DHT11=m
CONFIG_HTU21=m
CONFIG_APDS9960=m
Expand Down