1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/iio/accel/bosch,bma255.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Bosch BMA255 and Similar Accelerometers
10 - Linus Walleij <linus.walleij@linaro.org>
11 - Stephan Gerhold <stephan@gerhold.net>
14 3 axis accelerometers with varying range and I2C or SPI
20 # bmc150-accel driver in Linux
31 # bma180 driver in Linux
48 Without interrupt-names, the first interrupt listed must be the one
49 connected to the INT1 pin, the second (optional) interrupt listed must be
50 the one connected to the INT2 pin (if available). The type should be
62 description: an optional 3x3 mounting rotation matrix.
71 additionalProperties: false
75 #include <dt-bindings/interrupt-controller/irq.h>
80 compatible = "bosch,bma222";
82 vddio-supply = <&vddio>;
84 interrupts = <57 IRQ_TYPE_EDGE_RISING>;
85 interrupt-names = "INT1";
89 # include <dt-bindings/interrupt-controller/irq.h>
94 compatible = "bosch,bma222";
96 spi-max-frequency = <10000000>;