1Bosch BMI160 - Inertial Measurement Unit with Accelerometer, Gyroscope 2and externally connectable Magnetometer 3 4https://www.bosch-sensortec.com/bst/products/all_products/bmi160 5 6Required properties: 7 - compatible : should be "bosch,bmi160" 8 - reg : the I2C address or SPI chip select number of the sensor 9 - spi-max-frequency : set maximum clock frequency (only for SPI) 10 11Optional properties: 12 - interrupts : interrupt mapping for IRQ 13 - interrupt-names : set to "INT1" if INT1 pin should be used as interrupt 14 input, set to "INT2" if INT2 pin should be used instead 15 - drive-open-drain : set if the specified interrupt pin should be configured as 16 open drain. If not set, defaults to push-pull. 17 18Examples: 19 20bmi160@68 { 21 compatible = "bosch,bmi160"; 22 reg = <0x68>; 23 24 interrupt-parent = <&gpio4>; 25 interrupts = <12 IRQ_TYPE_EDGE_RISING>; 26 interrupt-names = "INT1"; 27}; 28 29bmi160@0 { 30 compatible = "bosch,bmi160"; 31 reg = <0>; 32 spi-max-frequency = <10000000>; 33 34 interrupt-parent = <&gpio2>; 35 interrupts = <12 IRQ_TYPE_LEVEL_LOW>; 36 interrupt-names = "INT2"; 37}; 38