1# Copyright (c) 2020 TDK Invensense
2# SPDX-License-Identifier: Apache-2.0
3
4description: ICM-42605 motion tracking device
5
6# ICM-42605 is SPI.
7compatible: "invensense,icm42605"
8
9include: [sensor-device.yaml, spi-device.yaml]
10
11properties:
12  int-gpios:
13    type: phandle-array
14    required: true
15    description: |
16      The INT signal default configuration is active-high.  The
17      property value should ensure the flags properly describe the
18      signal that is presented to the driver.
19
20  accel-hz:
21    type: int
22    default: 12
23    description: |
24      Default frequency of accelerometer. (Unit - Hz)
25      Maps to ACCEL_ODR field in ACCEL_CONFIG0 setting
26    enum:
27      - 1
28      - 3
29      - 6
30      - 12
31      - 25
32      - 50
33      - 100
34      - 200
35      - 500
36      - 1000
37      - 2000
38      - 4000
39      - 8000
40
41  gyro-hz:
42    type: int
43    default: 12
44    description: |
45      Default frequency of gyroscope. (Unit - Hz)
46      Maps to GYRO_ODR field in GYRO_CONFIG0 setting
47    enum:
48      - 12
49      - 25
50      - 50
51      - 100
52      - 200
53      - 500
54      - 1000
55      - 2000
56      - 4000
57      - 8000
58
59  accel-fs:
60    type: int
61    default: 16
62    description: |
63      Default full scale of accelerometer. (Unit - g)
64      Maps to ACCEL_FS_SEL field in ACCEL_CONFIG0 setting
65    enum:
66      - 16
67      - 8
68      - 4
69      - 2
70
71  gyro-fs:
72    type: int
73    default: 2000
74    description: |
75      Default full scale of gyroscope. (Unit - DPS)
76      Maps to GYRO_FS_SEL field in GYRO_CONFIG0 setting
77    enum:
78      - 2000
79      - 1000
80      - 500
81      - 250
82      - 125
83      - 62.5
84      - 31.25
85      - 15.625
86