Path: blob/main/sys/contrib/device-tree/Bindings/iio/pressure/bmp085.yaml
48524 views
# SPDX-License-Identifier: GPL-2.01%YAML 1.22---3$id: http://devicetree.org/schemas/iio/pressure/bmp085.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: BMP085/BMP180/BMP280/BME280/BMP380 pressure iio sensors78maintainers:9- Andreas Klinger <ak@it-klinger.de>1011description: |12Pressure, temperature and humidity iio sensors with i2c and spi interfaces1314Specifications about the sensor can be found at:15https://www.bosch-sensortec.com/bst/products/all_products/bmp18016https://www.bosch-sensortec.com/bst/products/all_products/bmp28017https://www.bosch-sensortec.com/bst/products/all_products/bme28018https://www.bosch-sensortec.com/bst/products/all_products/bmp38019https://www.bosch-sensortec.com/bst/products/all_products/bmp5802021properties:22compatible:23enum:24- bosch,bmp08525- bosch,bmp18026- bosch,bmp28027- bosch,bme28028- bosch,bmp38029- bosch,bmp5803031reg:32maxItems: 13334vddd-supply:35description:36digital voltage regulator (see regulator/regulator.txt)3738vdda-supply:39description:40analog voltage regulator (see regulator/regulator.txt)4142reset-gpios:43description:44A GPIO line handling reset of the sensor. As the line is active low,45it should be marked GPIO_ACTIVE_LOW (see gpio/gpio.txt)46maxItems: 14748interrupts:49description:50interrupt mapping for IRQ (BMP085 only)51maxItems: 15253required:54- compatible55- vddd-supply56- vdda-supply5758additionalProperties: false5960examples:61- |62#include <dt-bindings/gpio/gpio.h>63#include <dt-bindings/interrupt-controller/irq.h>64i2c {65#address-cells = <1>;66#size-cells = <0>;67pressure@77 {68compatible = "bosch,bmp085";69reg = <0x77>;70interrupt-parent = <&gpio0>;71interrupts = <25 IRQ_TYPE_EDGE_RISING>;72reset-gpios = <&gpio0 26 GPIO_ACTIVE_LOW>;73vddd-supply = <&foo>;74vdda-supply = <&bar>;75};76};777879