We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7095608 commit 2a7ffe5Copy full SHA for 2a7ffe5
boards/nuvoton/numaker_m55m1/numaker_m55m1.dts
@@ -17,6 +17,8 @@
17
aliases {
18
led0 = &green_led;
19
led1 = &yellow_led;
20
+ sw0 = &btn0;
21
+ sw1 = &btn1;
22
};
23
24
chosen {
@@ -43,6 +45,20 @@
43
45
label = "User LD1";
44
46
47
48
+
49
+ gpio_keys {
50
+ compatible = "gpio-keys";
51
+ btn0: btn0 {
52
+ label = "BTN0";
53
+ gpios = <&gpioi 11 GPIO_ACTIVE_LOW>;
54
+ zephyr,code = <INPUT_KEY_0>;
55
+ };
56
+ btn1: btn1 {
57
+ label = "BTN1";
58
+ gpios = <&gpioh 1 GPIO_ACTIVE_LOW>;
59
+ zephyr,code = <INPUT_KEY_1>;
60
61
62
63
64
&gpiod {
0 commit comments