Path: blob/main/sys/contrib/device-tree/Bindings/iio/imu/invensense,icm42600.yaml
48523 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 <jmaneyrol@invensense.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:41maxItems: 14243drive-open-drain:44type: boolean4546vdd-supply:47description: Regulator that provides power to the sensor4849vddio-supply:50description: Regulator that provides power to the bus5152spi-cpha: true53spi-cpol: true5455required:56- compatible57- reg58- interrupts5960allOf:61- $ref: /schemas/spi/spi-peripheral-props.yaml#6263unevaluatedProperties: false6465examples:66- |67#include <dt-bindings/gpio/gpio.h>68#include <dt-bindings/interrupt-controller/irq.h>69i2c {70#address-cells = <1>;71#size-cells = <0>;7273icm42605@68 {74compatible = "invensense,icm42605";75reg = <0x68>;76interrupt-parent = <&gpio2>;77interrupts = <7 IRQ_TYPE_EDGE_FALLING>;78vdd-supply = <&vdd>;79vddio-supply = <&vddio>;80};81};82- |83#include <dt-bindings/gpio/gpio.h>84#include <dt-bindings/interrupt-controller/irq.h>85spi {86#address-cells = <1>;87#size-cells = <0>;8889icm42602@0 {90compatible = "invensense,icm42602";91reg = <0>;92spi-max-frequency = <24000000>;93spi-cpha;94spi-cpol;95interrupt-parent = <&gpio1>;96interrupts = <2 IRQ_TYPE_EDGE_FALLING>;97vdd-supply = <&vdd>;98vddio-supply = <&vddio>;99};100};101102103