• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1* Bosch BMA023 / BMA150/ BMA180 / BMA25x / SMB380 triaxial acceleration sensor
2
3https://media.digikey.com/pdf/Data%20Sheets/Bosch/BMA150.pdf
4http://omapworld.com/BMA180_111_1002839.pdf
5http://ae-bst.resource.bosch.com/media/products/dokumente/bma250/bst-bma250-ds002-05.pdf
6
7Required properties:
8
9  - compatible : should be one of:
10    "bosch,bma023"
11    "bosch,bma150"
12    "bosch,bma180"
13    "bosch,bma250"
14    "bosch,bma254"
15    "bosch,smb380"
16  - reg : the I2C address of the sensor
17  - vdd-supply : regulator phandle connected to the VDD pin
18  - vddio-supply : regulator phandle connected to the VDDIO pin
19
20Optional properties:
21
22  - interrupts : interrupt mapping for GPIO IRQ, it should by configured with
23		flags IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_EDGE_RISING
24		For the bma250 the first interrupt listed must be the one
25		connected to the INT1 pin, the second (optional) interrupt
26		listed must be the one connected to the INT2 pin.
27
28Example:
29
30bma180@40 {
31	compatible = "bosch,bma180";
32	reg = <0x40>;
33	interrupt-parent = <&gpio6>;
34	interrupts = <18 (IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_EDGE_RISING)>;
35};
36