1# Copyright (c) 2022 Intel Corporation
2# Copyright (c) 2022 Esco Medical ApS
3# Copyright (c) 2020 TDK Invensense
4# SPDX-License-Identifier: Apache-2.0
5
6description: ICM-42688 motion tracking device
7
8compatible: "invensense,icm42688"
9
10include: [sensor-device.yaml, spi-device.yaml]
11
12properties:
13  int-gpios:
14    type: phandle-array
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    description: |
23      Default frequency of accelerometer. (Unit - Hz)
24      Maps to ACCEL_ODR field in ACCEL_CONFIG0 setting
25      Power-on reset value is 1000.
26    default: 1000
27    enum:
28      - 1
29      - 3
30      - 6
31      - 12
32      - 25
33      - 50
34      - 100
35      - 200
36      - 500
37      - 1000
38      - 2000
39      - 4000
40      - 8000
41      - 16000
42      - 32000
43
44  gyro-hz:
45    type: int
46    description: |
47      Default frequency of gyroscope. (Unit - Hz)
48      Maps to GYRO_ODR field in GYRO_CONFIG0 setting
49      Power-on reset value is 1000.
50    default: 1000
51    enum:
52      - 1
53      - 3
54      - 6
55      - 12
56      - 25
57      - 50
58      - 100
59      - 200
60      - 500
61      - 1000
62      - 2000
63      - 4000
64      - 8000
65      - 16000
66      - 32000
67
68  accel-fs:
69    type: int
70    description: |
71      Default full scale of accelerometer. (Unit - g)
72      Maps to ACCEL_FS_SEL field in ACCEL_CONFIG0 setting
73      Power-on reset value is 16
74    default: 16
75    enum:
76      - 16
77      - 8
78      - 4
79      - 2
80
81  gyro-fs:
82    type: int
83    description: |
84      Default full scale of gyroscope. (Unit - DPS)
85      Maps to GYRO_FS_SEL field in GYRO_CONFIG0 setting
86      Power-on reset value is 2000
87    default: 2000
88    enum:
89      - 2000
90      - 1000
91      - 500
92      - 250
93      - 125
94      - 63
95      - 31
96      - 16
97