|
@@ -1,6 +1,7 @@
|
|
// SPDX-License-Identifier: GPL-2.0-or-later or MIT
|
|
// SPDX-License-Identifier: GPL-2.0-or-later or MIT
|
|
|
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
|
|
+#include <dt-bindings/input/input.h>
|
|
|
|
|
|
/include/ "fsl/p1010si-pre.dtsi"
|
|
/include/ "fsl/p1010si-pre.dtsi"
|
|
|
|
|
|
@@ -70,6 +71,16 @@
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+ keys {
|
|
|
|
+ compatible = "gpio-keys";
|
|
|
|
+
|
|
|
|
+ reset {
|
|
|
|
+ label = "Reset button";
|
|
|
|
+ gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
|
|
|
|
+ linux,code = <KEY_RESTART>;
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
+
|
|
soc: soc@ffe00000 {
|
|
soc: soc@ffe00000 {
|
|
ranges = <0x0 0x0 0xffe00000 0x100000>;
|
|
ranges = <0x0 0x0 0xffe00000 0x100000>;
|
|
|
|
|