aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/oxnas/files/arch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/oxnas/files/arch')
-rw-r--r--target/linux/oxnas/files/arch/arm/boot/dts/ox820-akitio.dts6
-rw-r--r--target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts8
-rw-r--r--target/linux/oxnas/files/arch/arm/boot/dts/ox820-stg212.dts6
3 files changed, 13 insertions, 7 deletions
diff --git a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-akitio.dts b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-akitio.dts
index 4dc969c1fd..712c03e425 100644
--- a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-akitio.dts
+++ b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-akitio.dts
@@ -9,6 +9,8 @@
/dts-v1/;
#include "ox820.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
model = "Akitio MyCloud mini";
@@ -75,12 +77,12 @@
power {
label = "power";
gpios = <&GPIOA 11 1>;
- linux,code = <116>;
+ linux,code = <KEY_POWER>;
};
reset {
label = "reset";
gpios = <&GPIOB 6 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
};
diff --git a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts
index b5c79dede3..1312fd63b5 100644
--- a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts
+++ b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts
@@ -9,6 +9,8 @@
/dts-v1/;
#include "ox820.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
model = "Shuttle KD20";
@@ -91,17 +93,17 @@
power {
label = "power";
gpios = <&GPIOA 10 1>;
- linux,code = <116>;
+ linux,code = <KEY_POWER>;
};
reset {
label = "reset";
gpios = <&GPIOA 11 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
eject1 {
label = "eject1";
gpios = <&GPIOA 5 1>;
- linux,code = <161>;
+ linux,code = <KEY_EJECTCD>;
};
eject2 {
label = "eject2";
diff --git a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-stg212.dts b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-stg212.dts
index a0704bb348..a8112c947c 100644
--- a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-stg212.dts
+++ b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-stg212.dts
@@ -10,6 +10,8 @@
#include "ox820.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
model = "MitraStar Technology Corp. STG-212";
@@ -57,12 +59,12 @@
reset {
label = "reset";
gpios = <&GPIOB 11 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
copy {
label = "copy";
gpios = <&GPIOB 13 1>;
- linux,code = <0x85>;
+ linux,code = <KEY_COPY>;
};
};