boards: add zephyr,code properties to the various gpio-keys nodes
Add gpio-keys codes for all boards. These are mostly INPUT_KEY_0 and so on but I've used some more specific ones where it was obvious that there's something else on the boards. Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
This commit is contained in:
parent
b8e27297fa
commit
57e0da4d80
306 changed files with 930 additions and 88 deletions
|
@ -9,6 +9,7 @@
|
|||
#include <nxp/nxp_rt1064.dtsi>
|
||||
#include "mimxrt1064_evk-pinctrl.dtsi"
|
||||
#include <zephyr/dt-bindings/display/panel.h>
|
||||
#include <zephyr/dt-bindings/input/input-event-codes.h>
|
||||
|
||||
/ {
|
||||
model = "NXP MIMXRT1064-EVK board";
|
||||
|
@ -64,6 +65,7 @@
|
|||
user_button: button-1 {
|
||||
label = "User SW8";
|
||||
gpios = <&gpio5 0 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
|
||||
zephyr,code = <INPUT_KEY_0>;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue