Path: blob/master/Documentation/devicetree/bindings/iio/accel/bosch,bmi088.yaml
26309 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/iio/accel/bosch,bmi088.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Bosch BMI088 IMU accelerometer part78maintainers:9- Mike Looijmans <mike.looijmans@topic.nl>1011description: |12Acceleration part of the IMU sensor with an SPI interface13Specifications about the sensor can be found at:14https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bmi088-ds001.pdf1516properties:17compatible:18enum:19- bosch,bmi085-accel20- bosch,bmi088-accel21- bosch,bmi090l-accel2223reg:24maxItems: 12526vdd-supply: true2728vddio-supply: true2930interrupts:31minItems: 132maxItems: 233description: |34Type should be either IRQ_TYPE_LEVEL_HIGH or IRQ_TYPE_LEVEL_LOW.35Two configurable interrupt lines exist.3637interrupt-names:38description: Specify which interrupt line is in use.39items:40enum:41- INT142- INT243minItems: 144maxItems: 24546required:47- compatible48- reg4950allOf:51- $ref: /schemas/spi/spi-peripheral-props.yaml#5253unevaluatedProperties: false5455examples:56- |57#include <dt-bindings/interrupt-controller/irq.h>58spi {59#address-cells = <1>;60#size-cells = <0>;61bmi088-accel@1 {62compatible = "bosch,bmi088-accel";63reg = <1>;64spi-max-frequency = <10000000>;65interrupt-parent = <&gpio6>;66interrupts = <19 IRQ_TYPE_LEVEL_LOW>;67interrupt-names = "INT2";68};69};70...717273