bmp085.txt 1.13 KB
Newer Older
1
BMP085/BMP18x/BMP28x digital pressure sensors
2
3

Required properties:
4
5
6
7
8
- compatible: must be one of:
  "bosch,bmp085"
  "bosch,bmp180"
  "bosch,bmp280"
  "bosch,bme280"
9
10
11
12
13
14

Optional properties:
- chip-id: configurable chip id for non-default chip revisions
- temp-measurement-period: temperature measurement period (milliseconds)
- default-oversampling: default oversampling value to be used at startup,
  value range is 0-3 with rising sensitivity.
15
16
- interrupt-parent: should be the phandle for the interrupt controller
- interrupts: interrupt mapping for IRQ
17
18
19
20
- 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)
21
22
23
24
25
26
27
28
29

Example:

pressure@77 {
	compatible = "bosch,bmp085";
	reg = <0x77>;
	chip-id = <10>;
	temp-measurement-period = <100>;
	default-oversampling = <2>;
30
31
	interrupt-parent = <&gpio0>;
	interrupts = <25 IRQ_TYPE_EDGE_RISING>;
32
33
34
	reset-gpios = <&gpio0 26 GPIO_ACTIVE_LOW>;
	vddd-supply = <&foo>;
	vdda-supply = <&bar>;
35
};