|
@@ -12,6 +12,7 @@
|
|
/dts-v1/;
|
|
/dts-v1/;
|
|
#include "r8a7796.dtsi"
|
|
#include "r8a7796.dtsi"
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
|
|
+#include <dt-bindings/input/input.h>
|
|
|
|
|
|
/ {
|
|
/ {
|
|
model = "Renesas M3ULCB board based on r8a7796";
|
|
model = "Renesas M3ULCB board based on r8a7796";
|
|
@@ -41,6 +42,18 @@
|
|
gpios = <&gpio6 13 GPIO_ACTIVE_HIGH>;
|
|
gpios = <&gpio6 13 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
+
|
|
|
|
+ keyboard {
|
|
|
|
+ compatible = "gpio-keys";
|
|
|
|
+
|
|
|
|
+ key-1 {
|
|
|
|
+ linux,code = <KEY_1>;
|
|
|
|
+ label = "SW3";
|
|
|
|
+ wakeup-source;
|
|
|
|
+ debounce-interval = <20>;
|
|
|
|
+ gpios = <&gpio6 11 GPIO_ACTIVE_LOW>;
|
|
|
|
+ };
|
|
|
|
+ };
|
|
};
|
|
};
|
|
|
|
|
|
&extal_clk {
|
|
&extal_clk {
|