From f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Wed, 31 Jan 2024 01:04:47 +0000
Subject: [PATCH] add driver 5G

---
 kernel/arch/arm/boot/dts/at91-wb50n.dts |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/arch/arm/boot/dts/at91-wb50n.dts b/kernel/arch/arm/boot/dts/at91-wb50n.dts
index 8cecc70..a5e45bb 100644
--- a/kernel/arch/arm/boot/dts/at91-wb50n.dts
+++ b/kernel/arch/arm/boot/dts/at91-wb50n.dts
@@ -23,7 +23,7 @@
 			label = "BTNESC";
 			linux,code = <1>; /* ESC button */
 			gpios = <&pioA 10 GPIO_ACTIVE_LOW>;
-			gpio-key,wakeup = <1>;
+			wakeup-source;
 		};
 
 		irqbtn@31 {
@@ -31,7 +31,7 @@
 			label = "IRQBTN";
 			linux,code = <99>; /* SysReq button */
 			gpios = <&pioE 31 GPIO_ACTIVE_LOW>;
-			gpio-key,wakeup = <1>;
+			wakeup-source;
 		};
 	};
 

--
Gitblit v1.6.2