From 0eafa68cd6b472fc812c372b2b6073552e06be97 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 3 Sep 2025 10:46:28 +0100 Subject: [PATCH] dtoverlays: Add BMP580 family to i2c-sensor They're supported by the standard BMP280 driver, so only needed the overlay configuration. Signed-off-by: Dave Stevenson --- arch/arm/boot/dts/overlays/README | 6 +++++- .../boot/dts/overlays/i2c-sensor-common.dtsi | 18 +++++++++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/overlays/README b/arch/arm/boot/dts/overlays/README index 566669410331..8b8a2312503d 100644 --- a/arch/arm/boot/dts/overlays/README +++ b/arch/arm/boot/dts/overlays/README @@ -2423,7 +2423,7 @@ Info: Adds support for a number of I2C barometric pressure, temperature, Load: dtoverlay=i2c-sensor,= Params: addr Set the address for the ADS7828, ADS7830, ADT7410, AS73211, AS7331, BH1750, BME280, - BME680, BMP280, BMP380, CCS811, DS1621, + BME680, BMP280, BMP380, BMP58x, CCS811, DS1621, HDC100X, HDC3020, JC42, LM75, MCP980x, MPU6050, MPU9250, MS5637, MS5803, MS5805, MS5837, MS8607, SHT3x or TMP102 @@ -2478,6 +2478,10 @@ Params: addr Set the address for the ADS7828, ADS7830, bmp380 Select the Bosch Sensortronic BMP380 Valid addresses 0x76-0x77, default 0x76 + bmp58x Select the Bosch Sensortronic BMP580, BMP581, + or BMP585 + Valid addresses 0x46-0x47, default 0x46 + bno055 Select the Bosch Sensortronic BNO055 IMU Valid address 0x28-0x29, default 0x29 diff --git a/arch/arm/boot/dts/overlays/i2c-sensor-common.dtsi b/arch/arm/boot/dts/overlays/i2c-sensor-common.dtsi index a02117f4eed9..789ae444bd55 100755 --- a/arch/arm/boot/dts/overlays/i2c-sensor-common.dtsi +++ b/arch/arm/boot/dts/overlays/i2c-sensor-common.dtsi @@ -756,6 +756,21 @@ }; }; + fragment@49 { + target = <&i2cbus>; + __dormant__ { + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + bmp58x: bmp58x@46 { + compatible = "bosch,bmp580"; + reg = <0x46>; + status = "okay"; + }; + }; + }; + fragment@99 { target = <&gpio>; __dormant__ { @@ -817,6 +832,7 @@ ads7828 = <0>,"+46"; ads7830 = <0>,"+47"; adxl355 = <0>,"+48"; + bmp58x = <0>,"+49"; addr = <&bme280>,"reg:0", <&bmp280>,"reg:0", <&tmp102>,"reg:0", <&lm75>,"reg:0", <&hdc100x>,"reg:0", <&sht3x>,"reg:0", @@ -830,7 +846,7 @@ <&hdc3020>,"reg:0", <&as73211>,"reg:0", <&as7331>,"reg:0", <&adxl345>,"reg:0", <&ads7828>,"reg:0", <&ads7830>,"reg:0", - <&adxl355>,"reg:0"; + <&adxl355>,"reg:0", <&bmp58x>,"reg:0"; int_pin = <&int_pins>, "brcm,pins:0", <&int_pins>, "reg:0", <&max30102>, "interrupts:0",