Add reset button for wf194c and wf188n

Add reset button for wf194c and wf188n APs

Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
This commit is contained in:
Chaitanya Godavarthi
2021-09-15 18:19:49 -04:00
committed by Arif
parent 1e536a5d1a
commit 6128ac9ecc

View File

@@ -0,0 +1,54 @@
From 778f84ffd43f2cbb3a1ce0c8c033e4109715b6ab Mon Sep 17 00:00:00 2001
From: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
Date: Wed, 15 Sep 2021 18:06:18 -0400
Subject: [PATCH] Add reset button for wf194c and wf188n
Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
---
.../113-add_reset_button_wf194c_wf188n.patch | 34 +++++++++++++++++++
1 file changed, 34 insertions(+)
create mode 100644 target/linux/ipq807x/patches/113-add_reset_button_wf194c_wf188n.patch
diff --git a/target/linux/ipq807x/patches/113-add_reset_button_wf194c_wf188n.patch b/target/linux/ipq807x/patches/113-add_reset_button_wf194c_wf188n.patch
new file mode 100644
index 0000000000..5a1206aa93
--- /dev/null
+++ b/target/linux/ipq807x/patches/113-add_reset_button_wf194c_wf188n.patch
@@ -0,0 +1,34 @@
+Index: linux-4.4.60-qsdk-10fd7d14853b7020b804acae690c8acec5d954ce/arch/arm64/boot/dts/qcom/qcom-ipq807x-wf194c.dts
+===================================================================
+--- linux-4.4.60-qsdk-10fd7d14853b7020b804acae690c8acec5d954ce.orig/arch/arm64/boot/dts/qcom/qcom-ipq807x-wf194c.dts
++++ linux-4.4.60-qsdk-10fd7d14853b7020b804acae690c8acec5d954ce/arch/arm64/boot/dts/qcom/qcom-ipq807x-wf194c.dts
+@@ -229,6 +229,12 @@
+ drive-strength = <8>;
+ bias-pull-up;
+ };
++ reset_button {
++ pins = "gpio67";
++ function = "gpio";
++ drive-strength = <8>;
++ bias-pull-up;
++ };
+ };
+
+ uniphy_pins: uniphy_pinmux {
+Index: linux-4.4.60-qsdk-10fd7d14853b7020b804acae690c8acec5d954ce/arch/arm64/boot/dts/qcom/qcom-ipq6018-cig-wf188.dts
+===================================================================
+--- linux-4.4.60-qsdk-10fd7d14853b7020b804acae690c8acec5d954ce.orig/arch/arm64/boot/dts/qcom/qcom-ipq6018-cig-wf188.dts
++++ linux-4.4.60-qsdk-10fd7d14853b7020b804acae690c8acec5d954ce/arch/arm64/boot/dts/qcom/qcom-ipq6018-cig-wf188.dts
+@@ -171,6 +171,12 @@
+ drive-strength = <8>;
+ bias-pull-up;
+ };
++ reset_button {
++ pins = "gpio22";
++ function = "gpio";
++ drive-strength = <8>;
++ bias-pull-up;
++ };
+ };
+
+ mdio_pins: mdio_pinmux {
--
2.25.1