mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00:00
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 <dave.stevenson@raspberrypi.com>
This commit is contained in:
committed by
Dom Cobley
parent
a56973a504
commit
0eafa68cd6
@@ -2423,7 +2423,7 @@ Info: Adds support for a number of I2C barometric pressure, temperature,
|
||||
Load: dtoverlay=i2c-sensor,<param>=<val>
|
||||
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
|
||||
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user