Path: blob/master/Documentation/devicetree/bindings/iio/imu/bosch,bmi323.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,bmi323.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Bosch BMI323 6-Axis IMU78maintainers:9- Jagath Jog J <jagathjog1996@gmail.com>1011description:12BMI323 is a 6-axis inertial measurement unit that supports acceleration and13gyroscopic measurements with hardware fifo buffering. Sensor also provides14events information such as motion, steps, orientation, single and double15tap detection.1617properties:18compatible:19const: bosch,bmi3232021reg:22maxItems: 12324vdd-supply: true25vddio-supply: true2627interrupts:28minItems: 129maxItems: 23031interrupt-names:32minItems: 133maxItems: 234items:35enum:36- INT137- INT23839drive-open-drain:40type: boolean41description:42set if the specified interrupt pin should be configured as43open drain. If not set, defaults to push-pull.4445mount-matrix:46description:47an optional 3x3 mounting rotation matrix.4849required:50- compatible51- reg52- vdd-supply53- vddio-supply5455allOf:56- $ref: /schemas/spi/spi-peripheral-props.yaml#5758unevaluatedProperties: false5960examples:61- |62// Example for I2C63#include <dt-bindings/interrupt-controller/irq.h>64i2c {65#address-cells = <1>;66#size-cells = <0>;6768imu@68 {69compatible = "bosch,bmi323";70reg = <0x68>;71vddio-supply = <&vddio>;72vdd-supply = <&vdd>;73interrupt-parent = <&gpio1>;74interrupts = <29 IRQ_TYPE_EDGE_RISING>;75interrupt-names = "INT1";76};77};787980