bma180.txt 587 B

123456789101112131415161718192021222324
  1. * Bosch BMA180 triaxial acceleration sensor
  2. http://omapworld.com/BMA180_111_1002839.pdf
  3. Required properties:
  4. - compatible : should be "bosch,bma180"
  5. - reg : the I2C address of the sensor
  6. Optional properties:
  7. - interrupt-parent : should be the phandle for the interrupt controller
  8. - interrupts : interrupt mapping for GPIO IRQ, it should by configured with
  9. flags IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_EDGE_RISING
  10. Example:
  11. bma180@40 {
  12. compatible = "bosch,bma180";
  13. reg = <0x40>;
  14. interrupt-parent = <&gpio6>;
  15. interrupts = <18 (IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_EDGE_RISING)>;
  16. };