xref: /freebsd/sys/contrib/device-tree/Bindings/iio/gyroscope/bmg160.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* Bosch BMG160 triaxial rotation sensor (gyroscope)
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot
5*c66ec88fSEmmanuel Vadot  - compatible : should be "bosch,bmg160", "bosch,bmi055_gyro" or "bosch,bmi088_gyro"
6*c66ec88fSEmmanuel Vadot  - reg : the I2C address of the sensor (0x69)
7*c66ec88fSEmmanuel Vadot
8*c66ec88fSEmmanuel VadotOptional properties:
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel Vadot  - interrupts : interrupt mapping for GPIO IRQ, it should by configured with
11*c66ec88fSEmmanuel Vadot		flags IRQ_TYPE_EDGE_RISING
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel VadotExample:
14*c66ec88fSEmmanuel Vadot
15*c66ec88fSEmmanuel Vadotbmg160@69 {
16*c66ec88fSEmmanuel Vadot	compatible = "bosch,bmg160";
17*c66ec88fSEmmanuel Vadot	reg = <0x69>;
18*c66ec88fSEmmanuel Vadot	interrupt-parent = <&gpio6>;
19*c66ec88fSEmmanuel Vadot	interrupts = <18 (IRQ_TYPE_EDGE_RISING)>;
20*c66ec88fSEmmanuel Vadot};
21