Path: blob/master/Documentation/devicetree/bindings/iio/imu/bosch,bmi270.yaml
26309 views
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/iio/imu/bosch,bmi270.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Bosch BMI270 6-Axis IMU78maintainers:9- Alex Lanzano <lanzano.alex@gmail.com>1011description: |12BMI270 is a 6-axis inertial measurement unit that can measure acceleration and13angular velocity. The sensor also supports configurable interrupt events such14as motion, step counter, and wrist motion gestures. The sensor can communicate15I2C or SPI.16https://www.bosch-sensortec.com/products/motion-sensors/imus/bmi270/1718properties:19compatible:20enum:21- bosch,bmi26022- bosch,bmi2702324reg:25maxItems: 12627vdd-supply: true28vddio-supply: true2930interrupts:31minItems: 132maxItems: 23334interrupt-names:35minItems: 136maxItems: 237items:38enum:39- INT140- INT24142drive-open-drain:43type: boolean44description:45set if the specified interrupt pins should be configured as46open drain. If not set, defaults to push-pull.4748mount-matrix:49description:50an optional 3x3 mounting rotation matrix.5152required:53- compatible54- reg55- vdd-supply56- vddio-supply5758allOf:59- $ref: /schemas/spi/spi-peripheral-props.yaml#6061unevaluatedProperties: false6263examples:64- |65#include <dt-bindings/interrupt-controller/irq.h>66i2c {67#address-cells = <1>;68#size-cells = <0>;6970imu@68 {71compatible = "bosch,bmi270";72reg = <0x68>;73vdd-supply = <&vdd>;74vddio-supply = <&vddio>;75interrupt-parent = <&gpio1>;76interrupts = <16 IRQ_TYPE_EDGE_RISING>;77interrupt-names = "INT1";78};79};808182