summaryrefslogtreecommitdiff
path: root/zephyr/test/skyrim/boards/native_posix.overlay
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/test/skyrim/boards/native_posix.overlay')
-rw-r--r--zephyr/test/skyrim/boards/native_posix.overlay10
1 files changed, 10 insertions, 0 deletions
diff --git a/zephyr/test/skyrim/boards/native_posix.overlay b/zephyr/test/skyrim/boards/native_posix.overlay
index aa3b9118b4..84a9698770 100644
--- a/zephyr/test/skyrim/boards/native_posix.overlay
+++ b/zephyr/test/skyrim/boards/native_posix.overlay
@@ -59,6 +59,10 @@
gpios = <&gpio0 9 GPIO_INPUT>;
};
+ gpio_lid_accel_int_l: lid_accel_int_l {
+ gpios = <&gpio0 10 GPIO_INPUT>;
+ };
+
tablet_mode_l: tablet_mode_l {
gpios = <&gpio0 11 GPIO_INPUT>;
enum-name = "GPIO_TABLET_MODE_L";
@@ -176,6 +180,12 @@
handler = "bmi3xx_interrupt";
};
+ int_lid_accel: lid_accel {
+ irq-pin = <&gpio_lid_accel_int_l>;
+ flags = <GPIO_INT_EDGE_FALLING>;
+ handler = "bma4xx_interrupt";
+ };
+
int_pg_groupc_s0: pg_groupc_s0 {
irq-pin = <&gpio_pg_groupc_s0_od>;
flags = <GPIO_INT_EDGE_BOTH>;