Path: blob/master/Documentation/devicetree/bindings/iio/imu/invensense,icm42600.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/imu/invensense,icm42600.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: InvenSense ICM-426xx Inertial Measurement Unit78maintainers:9- Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com>1011description: |126-axis MotionTracking device that combines a 3-axis gyroscope and a 3-axis13accelerometer.1415It has a configurable host interface that supports I3C, I2C and SPI serial16communication, features a 2kB FIFO and 2 programmable interrupts with17ultra-low-power wake-on-motion support to minimize system power consumption.1819Other industry-leading features include InvenSense on-chip APEX Motion20Processing engine for gesture recognition, activity classification, and21pedometer, along with programmable digital filters, and an embedded22temperature sensor.2324https://invensense.tdk.com/wp-content/uploads/2020/03/DS-000292-ICM-42605-v1.4.pdf2526properties:27compatible:28enum:29- invensense,icm4260030- invensense,icm4260231- invensense,icm4260532- invensense,icm4262233- invensense,icm4263134- invensense,icm4268635- invensense,icm426883637reg:38maxItems: 13940interrupts:41minItems: 142maxItems: 24344interrupt-names:45minItems: 146maxItems: 247items:48enum:49- INT150- INT25152drive-open-drain:53type: boolean5455vdd-supply:56description: Regulator that provides power to the sensor5758vddio-supply:59description: Regulator that provides power to the bus6061spi-cpha: true62spi-cpol: true6364required:65- compatible66- reg67- interrupts6869allOf:70- $ref: /schemas/spi/spi-peripheral-props.yaml#7172unevaluatedProperties: false7374examples:75- |76#include <dt-bindings/gpio/gpio.h>77#include <dt-bindings/interrupt-controller/irq.h>78i2c {79#address-cells = <1>;80#size-cells = <0>;8182icm42605@68 {83compatible = "invensense,icm42605";84reg = <0x68>;85interrupt-parent = <&gpio2>;86interrupts = <7 IRQ_TYPE_EDGE_FALLING>;87interrupt-names = "INT1";88vdd-supply = <&vdd>;89vddio-supply = <&vddio>;90};91};92- |93#include <dt-bindings/gpio/gpio.h>94#include <dt-bindings/interrupt-controller/irq.h>95spi {96#address-cells = <1>;97#size-cells = <0>;9899icm42602@0 {100compatible = "invensense,icm42602";101reg = <0>;102spi-max-frequency = <24000000>;103spi-cpha;104spi-cpol;105interrupt-parent = <&gpio1>;106interrupts = <2 IRQ_TYPE_EDGE_FALLING>;107interrupt-names = "INT1";108vdd-supply = <&vdd>;109vddio-supply = <&vddio>;110};111};112113114