1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/iio/accel/bosch,bma180.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Bosch BMA023 / BMA150/ BMA180 / BMA250 / SMB380 triaxial accelerometers
10 - Jonathan Cameron <jic23@kernel.org>
13 https://media.digikey.com/pdf/Data%20Sheets/Bosch/BMA150.pdf
14 http://omapworld.com/BMA180_111_1002839.pdf
15 http://ae-bst.resource.bosch.com/media/products/dokumente/bma250/bst-bma250-ds002-05.pdf
37 Type should be either IRQ_TYPE_LEVEL_HIGH or IRQ_TYPE_EDGE_RISING.
38 For the bma250 the first interrupt listed must be the one
39 connected to the INT1 pin, the second (optional) interrupt
40 listed must be the one connected to the INT2 pin.
46 additionalProperties: false
50 #include <dt-bindings/interrupt-controller/irq.h>
55 compatible = "bosch,bma180";
57 interrupt-parent = <&gpio6>;
58 interrupts = <18 (IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_EDGE_RISING)>;