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