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>
13 3 axis accelerometers with varying range and I2C or SPI
39 The first interrupt listed must be the one connected to the INT1 pin,
40 the second (optional) interrupt listed must be the one connected to the
41 INT2 pin (if available).
44 description: an optional 3x3 mounting rotation matrix.
53 additionalProperties: false
57 #include <dt-bindings/interrupt-controller/irq.h>
62 compatible = "bosch,bma222";
64 vddio-supply = <&vddio>;
66 interrupts = <57 IRQ_TYPE_EDGE_FALLING>;
70 # include <dt-bindings/interrupt-controller/irq.h>
75 compatible = "bosch,bma222";
77 spi-max-frequency = <10000000>;