1 From ca88aee39825dd81ef1e8306b5947c5ae3918d1a Mon Sep 17 00:00:00 2001
2 From: Willem Remie <w.remie@drebble.io>
3 Date: Thu, 9 Jan 2020 21:16:49 +0100
4 Subject: [PATCH] add BME680 to i2c-sensor overlay
7 arch/arm/boot/dts/overlays/README | 7 +++++--
8 .../boot/dts/overlays/i2c-sensor-overlay.dts | 19 ++++++++++++++++++-
9 2 files changed, 23 insertions(+), 3 deletions(-)
11 --- a/arch/arm/boot/dts/overlays/README
12 +++ b/arch/arm/boot/dts/overlays/README
13 @@ -1159,12 +1159,15 @@ Name: i2c-sensor
14 Info: Adds support for a number of I2C barometric pressure and temperature
16 Load: dtoverlay=i2c-sensor,<param>=<val>
17 -Params: addr Set the address for the BME280, BMP280, DS1621,
18 - HDC100X, LM75, SHT3x or TMP102
19 +Params: addr Set the address for the BME280, BME680, BMP280,
20 + DS1621, HDC100X, LM75, SHT3x or TMP102
22 bme280 Select the Bosch Sensortronic BME280
23 Valid addresses 0x76-0x77, default 0x76
25 + bme680 Select the Bosch Sensortronic BME680
26 + Valid addresses 0x76-0x77, default 0x76
28 bmp085 Select the Bosch Sensortronic BMP085
30 bmp180 Select the Bosch Sensortronic BMP180
31 --- a/arch/arm/boot/dts/overlays/i2c-sensor-overlay.dts
32 +++ b/arch/arm/boot/dts/overlays/i2c-sensor-overlay.dts
38 + target = <&i2c_arm>;
40 + #address-cells = <1>;
45 + compatible = "bosch,bme680";
54 addr = <&bme280>,"reg:0", <&bmp280>,"reg:0", <&tmp102>,"reg:0",
55 <&lm75>,"reg:0", <&hdc100x>,"reg:0", <&sht3x>,"reg:0",
57 + <&ds1621>,"reg:0", <&bme680>,"reg:0";