bmi160.txt 953 B

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