18c2ecf20Sopenharmony_ci* Bosch BMA023 / BMA150/ BMA180 / BMA25x / SMB380 triaxial acceleration sensor 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_cihttps://media.digikey.com/pdf/Data%20Sheets/Bosch/BMA150.pdf 48c2ecf20Sopenharmony_cihttp://omapworld.com/BMA180_111_1002839.pdf 58c2ecf20Sopenharmony_cihttp://ae-bst.resource.bosch.com/media/products/dokumente/bma250/bst-bma250-ds002-05.pdf 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ciRequired properties: 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci - compatible : should be one of: 108c2ecf20Sopenharmony_ci "bosch,bma023" 118c2ecf20Sopenharmony_ci "bosch,bma150" 128c2ecf20Sopenharmony_ci "bosch,bma180" 138c2ecf20Sopenharmony_ci "bosch,bma250" 148c2ecf20Sopenharmony_ci "bosch,bma254" 158c2ecf20Sopenharmony_ci "bosch,smb380" 168c2ecf20Sopenharmony_ci - reg : the I2C address of the sensor 178c2ecf20Sopenharmony_ci - vdd-supply : regulator phandle connected to the VDD pin 188c2ecf20Sopenharmony_ci - vddio-supply : regulator phandle connected to the VDDIO pin 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ciOptional properties: 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ci - interrupts : interrupt mapping for GPIO IRQ, it should by configured with 238c2ecf20Sopenharmony_ci flags IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_EDGE_RISING 248c2ecf20Sopenharmony_ci For the bma250 the first interrupt listed must be the one 258c2ecf20Sopenharmony_ci connected to the INT1 pin, the second (optional) interrupt 268c2ecf20Sopenharmony_ci listed must be the one connected to the INT2 pin. 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ciExample: 298c2ecf20Sopenharmony_ci 308c2ecf20Sopenharmony_cibma180@40 { 318c2ecf20Sopenharmony_ci compatible = "bosch,bma180"; 328c2ecf20Sopenharmony_ci reg = <0x40>; 338c2ecf20Sopenharmony_ci interrupt-parent = <&gpio6>; 348c2ecf20Sopenharmony_ci interrupts = <18 (IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_EDGE_RISING)>; 358c2ecf20Sopenharmony_ci}; 36