From 72d12672de933274f6a0c54277e5621b0ea275e1 Mon Sep 17 00:00:00 2001
From: Andreas Eberlein <foodeas@aeberlein.de>
Date: Thu, 29 Sep 2016 18:22:23 +0200
Subject: [PATCH] lantiq: Fix buttons for ARV752DPW

The GPIO for reset switch is wrong in definition. Further the key codes for the two additional buttons are ineffective.

Both is fixed here.

Signed-off-by: Andreas Eberlein <foodeas@aeberlein.de>
---
 target/linux/lantiq/dts/ARV752DPW.dts | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/target/linux/lantiq/dts/ARV752DPW.dts b/target/linux/lantiq/dts/ARV752DPW.dts
index 743d3ece4a..a350daf257 100644
--- a/target/linux/lantiq/dts/ARV752DPW.dts
+++ b/target/linux/lantiq/dts/ARV752DPW.dts
@@ -157,24 +157,24 @@
 		#size-cells = <0>;
 		poll-interval = <100>;
 
-		/* wps {
+		wps {
 			label = "wps";
 			gpios = <&gpio 11 1>;
 			linux,code = <0x211>;
-		}; */
+		};
 		restart {
 			label = "restart";
 			gpios = <&gpio 12 1>;
-			linux,code = <0x110>;
+			linux,code = <0x100>;
 		};
 		dsl {
 			label = "dsl";
 			gpios = <&gpio 13 1>;
-			linux,code = <0x111>;
+			linux,code = <0x101>;
 		};
 		reset {
 			label = "reset";
-			gpios = <&gpio 28 1>;
+			gpios = <&gpio 30 1>;
 			linux,code = <0x198>;
 		};
 	};
-- 
GitLab