-
Notifications
You must be signed in to change notification settings - Fork 7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <hake.huang@oss.nxp.com>
- Loading branch information
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
* | ||
* Copyright 2025 NXP | ||
*/ | ||
|
||
|
||
&fxls8974 { | ||
status = "okay"; | ||
int1-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; | ||
int2-gpios = <&gpio1 12 GPIO_ACTIVE_LOW>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
* | ||
* Copyright 2025 NXP | ||
*/ | ||
|
||
&fxos8700 { | ||
status = "okay"; | ||
int1-gpios = <&gpioa 14 GPIO_ACTIVE_LOW>; | ||
int2-gpios = <&gpioa 17 GPIO_ACTIVE_LOW>; | ||
}; |