18d13bc63SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 28d13bc63SEmmanuel Vadot%YAML 1.2 38d13bc63SEmmanuel Vadot--- 48d13bc63SEmmanuel Vadot$id: http://devicetree.org/schemas/iio/imu/bosch,bmi323.yaml# 58d13bc63SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 68d13bc63SEmmanuel Vadot 78d13bc63SEmmanuel Vadottitle: Bosch BMI323 6-Axis IMU 88d13bc63SEmmanuel Vadot 98d13bc63SEmmanuel Vadotmaintainers: 108d13bc63SEmmanuel Vadot - Jagath Jog J <jagathjog1996@gmail.com> 118d13bc63SEmmanuel Vadot 128d13bc63SEmmanuel Vadotdescription: 138d13bc63SEmmanuel Vadot BMI323 is a 6-axis inertial measurement unit that supports acceleration and 148d13bc63SEmmanuel Vadot gyroscopic measurements with hardware fifo buffering. Sensor also provides 158d13bc63SEmmanuel Vadot events information such as motion, steps, orientation, single and double 168d13bc63SEmmanuel Vadot tap detection. 178d13bc63SEmmanuel Vadot 188d13bc63SEmmanuel Vadotproperties: 198d13bc63SEmmanuel Vadot compatible: 208d13bc63SEmmanuel Vadot const: bosch,bmi323 218d13bc63SEmmanuel Vadot 228d13bc63SEmmanuel Vadot reg: 238d13bc63SEmmanuel Vadot maxItems: 1 248d13bc63SEmmanuel Vadot 258d13bc63SEmmanuel Vadot vdd-supply: true 268d13bc63SEmmanuel Vadot vddio-supply: true 278d13bc63SEmmanuel Vadot 288d13bc63SEmmanuel Vadot interrupts: 298d13bc63SEmmanuel Vadot minItems: 1 308d13bc63SEmmanuel Vadot maxItems: 2 318d13bc63SEmmanuel Vadot 328d13bc63SEmmanuel Vadot interrupt-names: 338d13bc63SEmmanuel Vadot minItems: 1 348d13bc63SEmmanuel Vadot maxItems: 2 358d13bc63SEmmanuel Vadot items: 368d13bc63SEmmanuel Vadot enum: 378d13bc63SEmmanuel Vadot - INT1 388d13bc63SEmmanuel Vadot - INT2 398d13bc63SEmmanuel Vadot 408d13bc63SEmmanuel Vadot drive-open-drain: 41*2846c905SEmmanuel Vadot type: boolean 428d13bc63SEmmanuel Vadot description: 438d13bc63SEmmanuel Vadot set if the specified interrupt pin should be configured as 448d13bc63SEmmanuel Vadot open drain. If not set, defaults to push-pull. 458d13bc63SEmmanuel Vadot 468d13bc63SEmmanuel Vadot mount-matrix: 478d13bc63SEmmanuel Vadot description: 488d13bc63SEmmanuel Vadot an optional 3x3 mounting rotation matrix. 498d13bc63SEmmanuel Vadot 508d13bc63SEmmanuel Vadotrequired: 518d13bc63SEmmanuel Vadot - compatible 528d13bc63SEmmanuel Vadot - reg 538d13bc63SEmmanuel Vadot - vdd-supply 548d13bc63SEmmanuel Vadot - vddio-supply 558d13bc63SEmmanuel Vadot 568d13bc63SEmmanuel VadotallOf: 578d13bc63SEmmanuel Vadot - $ref: /schemas/spi/spi-peripheral-props.yaml# 588d13bc63SEmmanuel Vadot 598d13bc63SEmmanuel VadotunevaluatedProperties: false 608d13bc63SEmmanuel Vadot 618d13bc63SEmmanuel Vadotexamples: 628d13bc63SEmmanuel Vadot - | 638d13bc63SEmmanuel Vadot // Example for I2C 648d13bc63SEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h> 658d13bc63SEmmanuel Vadot i2c { 668d13bc63SEmmanuel Vadot #address-cells = <1>; 678d13bc63SEmmanuel Vadot #size-cells = <0>; 688d13bc63SEmmanuel Vadot 698d13bc63SEmmanuel Vadot imu@68 { 708d13bc63SEmmanuel Vadot compatible = "bosch,bmi323"; 718d13bc63SEmmanuel Vadot reg = <0x68>; 728d13bc63SEmmanuel Vadot vddio-supply = <&vddio>; 738d13bc63SEmmanuel Vadot vdd-supply = <&vdd>; 748d13bc63SEmmanuel Vadot interrupt-parent = <&gpio1>; 758d13bc63SEmmanuel Vadot interrupts = <29 IRQ_TYPE_EDGE_RISING>; 768d13bc63SEmmanuel Vadot interrupt-names = "INT1"; 778d13bc63SEmmanuel Vadot }; 788d13bc63SEmmanuel Vadot }; 79