summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/iio/pressure/bmp085.txt
blob: abcab02504fbeaa9ff7c8969b8b7419a4da9b7a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
BMP085/BMP18x/BMP28x digital pressure sensors

Required properties:
- compatible: must be one of:
  "bosch,bmp085"
  "bosch,bmp180"
  "bosch,bmp280"
  "bosch,bme280"

Optional properties:
- interrupt-parent: should be the phandle for the interrupt controller
- interrupts: interrupt mapping for IRQ
- reset-gpios: a GPIO line handling reset of the sensor: as the line is
  active low, it should be marked GPIO_ACTIVE_LOW (see gpio/gpio.txt)
- vddd-supply: digital voltage regulator (see regulator/regulator.txt)
- vdda-supply: analog voltage regulator (see regulator/regulator.txt)

Example:

pressure@77 {
	compatible = "bosch,bmp085";
	reg = <0x77>;
	interrupt-parent = <&gpio0>;
	interrupts = <25 IRQ_TYPE_EDGE_RISING>;
	reset-gpios = <&gpio0 26 GPIO_ACTIVE_LOW>;
	vddd-supply = <&foo>;
	vdda-supply = <&bar>;
};