1/*
2 * Copyright (c) 2024, TDK Invensense
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/*
8 * Get a node identifier for TDK IMU sensor supporting APEX feature.
9 */
10/ {
11	aliases {
12		tdk-apex-sensor0 = &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&arduino_i2c {
23	status = "okay";
24	icm42670p: icm42670p@68 {
25		compatible = "invensense,icm42670p";
26		reg = <0x68>;
27		int-gpios = <&arduino_header 8 GPIO_ACTIVE_HIGH>; /* D2 */
28		accel-hz = <50>;
29		gyro-hz = <50>;
30		accel-fs = <16>;
31		gyro-fs = <2000>;
32		apex = "pedometer";
33	};
34};
35