summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/iio/gyroscope/bmg160.txt
blob: 78e18a1e9c1da130cccd32361ef40f3816473c3d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
* Bosch BMG160 triaxial rotation sensor (gyroscope)

Required properties:

  - compatible : should be "bosch,bmg160" or "bosch,bmi055_gyro"
  - reg : the I2C address of the sensor (0x69)

Optional properties:

  - interrupts : interrupt mapping for GPIO IRQ, it should by configured with
		flags IRQ_TYPE_EDGE_RISING

Example:

bmg160@69 {
	compatible = "bosch,bmg160";
	reg = <0x69>;
	interrupt-parent = <&gpio6>;
	interrupts = <18 (IRQ_TYPE_EDGE_RISING)>;
};