1/*
2 * Copyright (c) 2024, TDK Invensense
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/*
8 * Get a node identifier for 6-axis IMU sensor.
9 */
10/ {
11	aliases {
12		6dof-motion-drdy0 = &icm42670p;
13	};
14};
15
16/*
17 * Example configuration of a ICM42670-P device on i2c0 compatible with an Arduino I2C bus.
18 *
19 * Device address 0x68 is assumed. Your device may have a different
20 * address; check your device documentation if unsure.
21 *
22 * Configure 100Hz IMU data reporting
23 */
24&arduino_i2c {
25	status = "okay";
26	icm42670p: icm42670p@68 {
27		compatible = "invensense,icm42670p";
28		reg = <0x68>;
29		int-gpios = <&arduino_header 8 GPIO_ACTIVE_HIGH>; /* D2 */
30		accel-hz = <100>;
31		gyro-hz = <100>;
32		accel-fs = <16>;
33		gyro-fs = <2000>;
34	};
35};
36
37/*
38 * Increase native UART speed to report all IMU data at 100Hz.
39 */
40&uart0 {
41	compatible = "nordic,nrf-uarte";
42	current-speed = <1000000>;
43};
44