1* Bosch BMA180 / BMA250 triaxial acceleration sensor 2 3http://omapworld.com/BMA180_111_1002839.pdf 4http://ae-bst.resource.bosch.com/media/products/dokumente/bma250/bst-bma250-ds002-05.pdf 5 6Required properties: 7 8 - compatible : should be "bosch,bma180" or "bosch,bma250" 9 - reg : the I2C address of the sensor 10 11Optional properties: 12 13 - interrupt-parent : should be the phandle for the interrupt controller 14 15 - interrupts : interrupt mapping for GPIO IRQ, it should by configured with 16 flags IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_EDGE_RISING 17 For the bma250 the first interrupt listed must be the one 18 connected to the INT1 pin, the second (optional) interrupt 19 listed must be the one connected to the INT2 pin. 20 21Example: 22 23bma180@40 { 24 compatible = "bosch,bma180"; 25 reg = <0x40>; 26 interrupt-parent = <&gpio6>; 27 interrupts = <18 (IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_EDGE_RISING)>; 28}; 29