xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/gyroscope/bmg160.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* Bosch BMG160 triaxial rotation sensor (gyroscope)
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun
5*4882a593Smuzhiyun  - compatible : should be "bosch,bmg160", "bosch,bmi055_gyro" or "bosch,bmi088_gyro"
6*4882a593Smuzhiyun  - reg : the I2C address of the sensor (0x69)
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunOptional properties:
9*4882a593Smuzhiyun
10*4882a593Smuzhiyun  - interrupts : interrupt mapping for GPIO IRQ, it should by configured with
11*4882a593Smuzhiyun		flags IRQ_TYPE_EDGE_RISING
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunExample:
14*4882a593Smuzhiyun
15*4882a593Smuzhiyunbmg160@69 {
16*4882a593Smuzhiyun	compatible = "bosch,bmg160";
17*4882a593Smuzhiyun	reg = <0x69>;
18*4882a593Smuzhiyun	interrupt-parent = <&gpio6>;
19*4882a593Smuzhiyun	interrupts = <18 (IRQ_TYPE_EDGE_RISING)>;
20*4882a593Smuzhiyun};
21