Skip to content

Commit 76a0608

Browse files
hakehuangkartben
authored andcommitted
samples: accel_trig: add dts trigger mode for unsupport platform
mimxrt1040_evk and twr_ke18f need board rework for trigger mode so dts need changed to add gpio trigger fixes: #85444 Signed-off-by: Hake Huang <[email protected]>
1 parent 03cfd0b commit 76a0608

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/*
2+
* SPDX-License-Identifier: Apache-2.0
3+
*
4+
* Copyright 2025 NXP
5+
*/
6+
7+
8+
&fxls8974 {
9+
status = "okay";
10+
int1-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
11+
int2-gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
12+
};
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/*
2+
* SPDX-License-Identifier: Apache-2.0
3+
*
4+
* Copyright 2025 NXP
5+
*/
6+
7+
&fxos8700 {
8+
status = "okay";
9+
int1-gpios = <&gpioa 14 GPIO_ACTIVE_LOW>;
10+
int2-gpios = <&gpioa 17 GPIO_ACTIVE_LOW>;
11+
};

0 commit comments

Comments
 (0)