aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-mediatek
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2022-09-09 20:44:46 +0100
committerDaniel Golle <daniel@makrotopia.org>2022-09-10 19:20:26 +0100
commitf7dbdcfa54adf474880be2e90e772f93fadae3b7 (patch)
treedd27bebd0bf03a2c12312fba784e5b98be8f105d /package/boot/uboot-mediatek
parent964b82218057989d1143d04216d4dfe2a101d8dd (diff)
downloadupstream-f7dbdcfa54adf474880be2e90e772f93fadae3b7.tar.gz
upstream-f7dbdcfa54adf474880be2e90e772f93fadae3b7.tar.bz2
upstream-f7dbdcfa54adf474880be2e90e772f93fadae3b7.zip
mediatek: filogic: use WPS button instead of RST on BPi-R3
The GPIO used for the RST button is also used for PCIe-CLKREQ signal. Hence it cannot be used as button signal if PCIe is also used. Wire up WPS button to serve as KEY_RESTART in Linux and "reset" button in U-Boot. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'package/boot/uboot-mediatek')
-rw-r--r--package/boot/uboot-mediatek/patches/430-add-bpi-r3.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/boot/uboot-mediatek/patches/430-add-bpi-r3.patch b/package/boot/uboot-mediatek/patches/430-add-bpi-r3.patch
index d48de66064..834fc730b0 100644
--- a/package/boot/uboot-mediatek/patches/430-add-bpi-r3.patch
+++ b/package/boot/uboot-mediatek/patches/430-add-bpi-r3.patch
@@ -866,14 +866,14 @@
+
+ keys {
+ compatible = "gpio-keys";
-+
++/*
+ factory {
+ label = "reset";
+ gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
+ };
-+
++*/
+ wps {
-+ label = "wps";
++ label = "reset";
+ gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
+ };
+ };