Skip to content

Commit 7822b7b

Browse files
committed
boards: vmu_rt1170: Update dts to reflect the second IMU being ICM42686
Additionally, remove overlay from sensor-shell sample, which is redundant. Signed-off-by: Luis Ubieda <luisf@croxel.com>
1 parent 48ad637 commit 7822b7b

File tree

2 files changed

+12
-39
lines changed

2 files changed

+12
-39
lines changed

boards/nxp/vmu_rt1170/vmu_rt1170_mimxrt1176_cm7.dts

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -243,35 +243,37 @@
243243
};
244244
};
245245

246-
#include <zephyr/dt-bindings/sensor/icm42688.h>
246+
#include <zephyr/dt-bindings/sensor/icm42686.h>
247247

248248
&lpspi1 {
249249
status = "okay";
250250
cs-gpios =<&gpio2 11 GPIO_ACTIVE_LOW>;
251251

252-
icm42688_0: icm42688p0@0 {
253-
compatible = "invensense,icm42688", "invensense,icm4268x";
252+
icm42686_0: icm42686p0@0 {
253+
compatible = "invensense,icm42686", "invensense,icm4268x";
254254
reg = <0>;
255255
int-gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>;
256256
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>;
263263
axis-align-x = <SENSOR_AXIS_ALIGN_DT_Y>;
264264
axis-align-y = <SENSOR_AXIS_ALIGN_DT_X>;
265265
axis-align-z = <SENSOR_AXIS_ALIGN_DT_Z>;
266266
fifo-hires;
267267
};
268268
};
269269

270+
#include <zephyr/dt-bindings/sensor/icm42688.h>
271+
270272
&lpspi2 {
271273
status = "okay";
272274
cs-gpios =<&gpio3 24 GPIO_ACTIVE_LOW>;
273275

274-
icm42688_1: icm42688p1@0 {
276+
icm42688_0: icm42688p0@0 {
275277
compatible = "invensense,icm42688", "invensense,icm4268x";
276278
reg = <0>;
277279
int-gpios = <&gpio2 7 GPIO_ACTIVE_HIGH>;

samples/sensor/sensor_shell/boards/vmu_rt1170_mimxrt1176_cm7.overlay

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)