[openwrt/openwrt] mediatek: mt7623: Disable power button reset for U7623-02 board
LEDE Commits
lede-commits at lists.infradead.org
Mon Jan 10 05:46:01 PST 2022
dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/4648a60058eeb5c841ba7bc2f78480d957c692ab
commit 4648a60058eeb5c841ba7bc2f78480d957c692ab
Author: David Woodhouse <dwmw2 at infradead.org>
AuthorDate: Mon Jan 10 09:46:22 2022 +0000
mediatek: mt7623: Disable power button reset for U7623-02 board
The Unielec U7623 doesn't have a physical power button; I think it's hard
wired so that it turns on automatically when power is applied (unlike the
Banana Pi R2 which is a pain).
So the 'reset on long press of power button' behaviour that we get when
we enable the PMIC keyboard driver is kind of unhelpful. Disable it.
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
Fixes: 0d3f3323a2 ("mediatek: mt7623: enable more hardware features")
---
target/linux/mediatek/dts/mt7623a-unielec-u7623-02-emmc.dtsi | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/target/linux/mediatek/dts/mt7623a-unielec-u7623-02-emmc.dtsi b/target/linux/mediatek/dts/mt7623a-unielec-u7623-02-emmc.dtsi
index aa1e82b58a..0a2972e23b 100644
--- a/target/linux/mediatek/dts/mt7623a-unielec-u7623-02-emmc.dtsi
+++ b/target/linux/mediatek/dts/mt7623a-unielec-u7623-02-emmc.dtsi
@@ -298,6 +298,10 @@
};
};
+&mt6323keys {
+ mediatek,long-press-mode = <0>;
+};
+
&uart2 {
pinctrl-names = "default";
pinctrl-0 = <&uart2_pins_b>;
More information about the lede-commits
mailing list