Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/sys/contrib/device-tree/Bindings/iio/gyroscope/bmg160.txt
48525 views
1
* Bosch BMG160 triaxial rotation sensor (gyroscope)
2
3
Required properties:
4
5
- compatible : should be "bosch,bmg160", "bosch,bmi055_gyro" or "bosch,bmi088_gyro"
6
- reg : the I2C address of the sensor (0x69)
7
8
Optional properties:
9
10
- interrupts : interrupt mapping for GPIO IRQ, it should by configured with
11
flags IRQ_TYPE_EDGE_RISING
12
13
Example:
14
15
bmg160@69 {
16
compatible = "bosch,bmg160";
17
reg = <0x69>;
18
interrupt-parent = <&gpio6>;
19
interrupts = <18 (IRQ_TYPE_EDGE_RISING)>;
20
};
21
22