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 / BMA25x / 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
38 Type should be either IRQ_TYPE_LEVEL_HIGH or IRQ_TYPE_EDGE_RISING.
39 For the bma250 the first interrupt listed must be the one
40 connected to the INT1 pin, the second (optional) interrupt
41 listed must be the one connected to the INT2 pin.
47 additionalProperties: false
51 #include <dt-bindings/interrupt-controller/irq.h>
56 compatible = "bosch,bma180";
58 interrupt-parent = <&gpio6>;
59 interrupts = <18 (IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_EDGE_RISING)>;