Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 23301190 authored by Andrew Lunn's avatar Andrew Lunn Committed by Jason Cooper
Browse files

ARM: DT: Kirkwood: Use symbolic names from input.h



Replace the numeric key value with a symbolic name from
<bt-bindings/input/input.h>

Signed-off-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarJason Cooper <jason@lakedaemon.net>
parent 46ca506c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -66,7 +66,7 @@

		button@1 {
			label = "Power push button";
			linux,code = <116>;
			linux,code = <KEY_POWER>;
			gpios = <&gpio0 16 1>;
		};
	};
+3 −3
Original line number Diff line number Diff line
@@ -15,17 +15,17 @@

		button@1 {
			label = "Power button";
			linux,code = <116>;
			linux,code = <KEY_POWER>;
			gpios = <&gpio1 2 1>;
		};
		button@2 {
			label = "USB unmount button";
			linux,code = <161>;
			linux,code = <KEY_EJECTCD>;
			gpios = <&gpio1 15 1>;
		};
		button@3 {
			label = "Reset button";
			linux,code = <0x198>;
			linux,code = <KEY_RESTART>;
			gpios = <&gpio1 16 1>;
		};
	};
+2 −2
Original line number Diff line number Diff line
@@ -63,12 +63,12 @@

		button@1 {
			label = "USB Copy";
			linux,code = <133>;
			linux,code = <KEY_COPY>;
			gpios = <&gpio0 29 1>;
		};
		button@2 {
			label = "Reset";
			linux,code = <0x198>;
			linux,code = <KEY_RESTART>;
			gpios = <&gpio0 28 1>;
		};
	};
+2 −2
Original line number Diff line number Diff line
@@ -137,13 +137,13 @@

		button@1 {
			label = "OTB Button";
			linux,code = <133>;
			linux,code = <KEY_COPY>;
			gpios = <&gpio1 3 1>;
			debounce-interval = <100>;
		};
		button@2 {
			label = "Reset";
			linux,code = <0x198>;
			linux,code = <KEY_RESTART>;
			gpios = <&gpio0 12 1>;
			debounce-interval = <100>;
		};
+3 −3
Original line number Diff line number Diff line
@@ -154,17 +154,17 @@

		Power {
			label = "Power Button";
			linux,code = <116>;
			linux,code = <KEY_POWER>;
			gpios = <&gpio0 14 1>;
		};
		Reset {
			label = "Reset Button";
			linux,code = <0x198>;
			linux,code = <KEY_RESTART>;
			gpios = <&gpio0 12 1>;
		};
		OTB {
			label = "OTB Button";
			linux,code = <133>;
			linux,code = <KEY_COPY>;
			gpios = <&gpio1 3 1>;
		};
	};
Loading