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

Commit 172ff6c6 authored by Beomho Seo's avatar Beomho Seo Committed by Kukjin Kim
Browse files

ARM: dts: fixed gpio key node for exynos4412-trats2



This patch fixed gpio key device node.
First, fix incorrect gpio property.
And then, add ok-key node where locate bottom center.
I have tested on exynos4412-trats2 board.

Signed-off-by: default avatarBeomho Seo <beomho.seo@samsung.com>
Signed-off-by: default avatarMyungJoo Ham <myungjoo.ham@samsung.com>
Reviewed-by: default avatarTomasz Figa <t.figa@samsung.com>
Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
parent 85cb4e0b
Loading
Loading
Loading
Loading
+10 −8
Original line number Diff line number Diff line
@@ -114,32 +114,34 @@
		compatible = "gpio-keys";

		key-down {
			interrupt-parent = <&gpj1>;
			interrupts = <2 0>;
			gpios = <&gpj1 2 1>;
			gpios = <&gpx3 3 1>;
			linux,code = <114>;
			label = "volume down";
			debounce-interval = <10>;
		};

		key-up {
			interrupt-parent = <&gpj1>;
			interrupts = <1 0>;
			gpios = <&gpj1 1 1>;
			gpios = <&gpx2 2 1>;
			linux,code = <115>;
			label = "volume up";
			debounce-interval = <10>;
		};

		key-power {
			interrupt-parent = <&gpx2>;
			interrupts = <7 0>;
			gpios = <&gpx2 7 1>;
			linux,code = <116>;
			label = "power";
			debounce-interval = <10>;
			gpio-key,wakeup;
		};

		key-ok {
			gpios = <&gpx0 1 1>;
			linux,code = <139>;
			label = "ok";
			debounce-inteval = <10>;
			gpio-key,wakeup;
		};
	};

	adc: adc@126C0000 {