Path: blob/main/sys/contrib/device-tree/Bindings/iio/accel/bma180.txt
48523 views
* Bosch BMA023 / BMA150/ BMA180 / BMA25x / SMB380 triaxial acceleration sensor12https://media.digikey.com/pdf/Data%20Sheets/Bosch/BMA150.pdf3http://omapworld.com/BMA180_111_1002839.pdf4http://ae-bst.resource.bosch.com/media/products/dokumente/bma250/bst-bma250-ds002-05.pdf56Required properties:78- compatible : should be one of:9"bosch,bma023"10"bosch,bma150"11"bosch,bma180"12"bosch,bma250"13"bosch,bma254"14"bosch,smb380"15- reg : the I2C address of the sensor16- vdd-supply : regulator phandle connected to the VDD pin17- vddio-supply : regulator phandle connected to the VDDIO pin1819Optional properties:2021- interrupts : interrupt mapping for GPIO IRQ, it should by configured with22flags IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_EDGE_RISING23For the bma250 the first interrupt listed must be the one24connected to the INT1 pin, the second (optional) interrupt25listed must be the one connected to the INT2 pin.2627Example:2829bma180@40 {30compatible = "bosch,bma180";31reg = <0x40>;32interrupt-parent = <&gpio6>;33interrupts = <18 (IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_EDGE_RISING)>;34};353637