Bosch BMI088 IMU accelerometer part

Schema identifier ($id): "http://devicetree.org/schemas/iio/accel/bosch,bmi088.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Mike Looijmans <mike.looijmans@topic.nl>"

Acceleration part of the IMU sensor with an SPI interface
Specifications about the sensor can be found at:
  https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bmi088-ds001.pdf

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "bosch,bmi085-accel", "bosch,bmi088-accel", "bosch,bmi090l-accel"

reg — required here #

Maximum number of items (maxItems): 1

vdd-supply — not listed as required here #

true — No constraints added by this property rule.

vddio-supply — not listed as required here #

true — No constraints added by this property rule.

interrupts — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

Type should be either IRQ_TYPE_LEVEL_HIGH or IRQ_TYPE_LEVEL_LOW. Two configurable interrupt lines exist.

interrupt-names — not listed as required here #

Specify which interrupt line is in use.

Array item rules (items) #

Allowed values (enum): "INT1", "INT2"

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

Required in this object (required): "compatible", "reg"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
spi {
  #address-cells = <1>;
  #size-cells = <0>;
  bmi088-accel@1 {
    compatible = "bosch,bmi088-accel";
    reg = <1>;
    spi-max-frequency = <10000000>;
    interrupt-parent = <&gpio6>;
    interrupts = <19 IRQ_TYPE_LEVEL_LOW>;
    interrupt-names = "INT2";
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page