Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > core-updates > by-pkgid > 9d419742b9681cde2b82b5fb15e025ab > files > 1411

kernel-doc-4.1.12-1.mga5.noarch.rpm

* Bosch BMA180 triaxial acceleration sensor

http://omapworld.com/BMA180_111_1002839.pdf

Required properties:

  - compatible : should be "bosch,bma180"
  - reg : the I2C address of the sensor

Optional properties:

  - interrupt-parent : should be the phandle for the interrupt controller

  - interrupts : interrupt mapping for GPIO IRQ, it should by configured with
		flags IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_EDGE_RISING

Example:

bma180@40 {
	compatible = "bosch,bma180";
	reg = <0x40>;
	interrupt-parent = <&gpio6>;
	interrupts = <18 (IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_EDGE_RISING)>;
};