1# Copyright (c) 2021 Nordic Semiconductor
2# SPDX-License-Identifier: Apache-2.0
3
4description: |
5    InvenSense MPU-9250 Nine-Axis (Gyro + Accelerometer + Compass). See more
6    info at https://www.invensense.com/products/motion-tracking/9-axis/mpu-9250/
7
8compatible: "invensense,mpu9250"
9
10include: [sensor-device.yaml, i2c-device.yaml]
11
12properties:
13  irq-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      This property is required when the trigger mode is used.
20
21  gyro-sr-div:
22    type: int
23    required: true
24    description: |
25      Default gyrscope sample rate divider. This divider is only effective
26      when gyro-dlpf is in range 5-184.
27      rate = sample_rate / (1 + gyro-sr-div)
28      Valid range: 0 - 255
29
30  gyro-dlpf:
31    type: int
32    required: true
33    description: |
34      Default digital low pass filter frequency of gyroscope.
35      Maps to DLPF_CFG field in Configuration setting.
36    enum:
37      - 250
38      - 184
39      - 92
40      - 41
41      - 20
42      - 10
43      - 5
44      - 3600
45
46  gyro-fs:
47    type: int
48    required: true
49    description: |
50      Default full scale of gyroscope. (Unit - DPS).
51      Maps to GYRO_FS_SEL field in Gyroscope Configuration setting.
52    enum:
53      - 250
54      - 500
55      - 1000
56      - 2000
57
58  accel-fs:
59    type: int
60    required: true
61    description: |
62      Default full scale of accelerometer. (Unit - g)
63      Maps to ACCEL_FS_SEL field in Accelerometer Configuration setting
64    enum:
65      - 2
66      - 4
67      - 8
68      - 16
69
70  accel-dlpf:
71    type: string
72    required: true
73    description: |
74      Default digital low pass filter frequency of accelerometer.
75      Maps to DLPF_CFG field in Accelerometer Configuration 2 setting.
76    enum:
77      - "218.1"
78      - "218.1a"
79      - "99"
80      - "44.8"
81      - "21.2"
82      - "10.2"
83      - "5.05"
84      - "420"
85