|
243 | 243 | };
|
244 | 244 | };
|
245 | 245 |
|
246 |
| -#include <zephyr/dt-bindings/sensor/icm42688.h> |
| 246 | +#include <zephyr/dt-bindings/sensor/icm42686.h> |
247 | 247 |
|
248 | 248 | &lpspi1 {
|
249 | 249 | status = "okay";
|
250 | 250 | cs-gpios =<&gpio2 11 GPIO_ACTIVE_LOW>;
|
251 | 251 |
|
252 |
| - icm42688_0: icm42688p0@0 { |
253 |
| - compatible = "invensense,icm42688", "invensense,icm4268x"; |
| 252 | + icm42686_0: icm42686p0@0 { |
| 253 | + compatible = "invensense,icm42686", "invensense,icm4268x"; |
254 | 254 | reg = <0>;
|
255 | 255 | int-gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>;
|
256 | 256 | spi-max-frequency = <24000000>;
|
257 |
| - accel-pwr-mode = <ICM42688_DT_ACCEL_LN>; |
258 |
| - accel-odr = <ICM42688_DT_ACCEL_ODR_1000>; |
259 |
| - accel-fs = <ICM42688_DT_ACCEL_FS_16>; |
260 |
| - gyro-pwr-mode = <ICM42688_DT_GYRO_LN>; |
261 |
| - gyro-odr = <ICM42688_DT_GYRO_ODR_1000>; |
262 |
| - gyro-fs = <ICM42688_DT_GYRO_FS_2000>; |
| 257 | + accel-pwr-mode = <ICM42686_DT_ACCEL_LN>; |
| 258 | + accel-odr = <ICM42686_DT_ACCEL_ODR_1000>; |
| 259 | + accel-fs = <ICM42686_DT_ACCEL_FS_16>; |
| 260 | + gyro-pwr-mode = <ICM42686_DT_GYRO_LN>; |
| 261 | + gyro-odr = <ICM42686_DT_GYRO_ODR_1000>; |
| 262 | + gyro-fs = <ICM42686_DT_GYRO_FS_2000>; |
263 | 263 | axis-align-x = <SENSOR_AXIS_ALIGN_DT_Y>;
|
264 | 264 | axis-align-y = <SENSOR_AXIS_ALIGN_DT_X>;
|
265 | 265 | axis-align-z = <SENSOR_AXIS_ALIGN_DT_Z>;
|
266 | 266 | fifo-hires;
|
267 | 267 | };
|
268 | 268 | };
|
269 | 269 |
|
| 270 | +#include <zephyr/dt-bindings/sensor/icm42688.h> |
| 271 | + |
270 | 272 | &lpspi2 {
|
271 | 273 | status = "okay";
|
272 | 274 | cs-gpios =<&gpio3 24 GPIO_ACTIVE_LOW>;
|
273 | 275 |
|
274 |
| - icm42688_1: icm42688p1@0 { |
| 276 | + icm42688_0: icm42688p0@0 { |
275 | 277 | compatible = "invensense,icm42688", "invensense,icm4268x";
|
276 | 278 | reg = <0>;
|
277 | 279 | int-gpios = <&gpio2 7 GPIO_ACTIVE_HIGH>;
|
|
0 commit comments