From 4648a60058eeb5c841ba7bc2f78480d957c692ab Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Mon, 10 Jan 2022 09:46:22 +0000 Subject: [PATCH] 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 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 aa1e82b58ac..0a2972e23b1 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>; -- 2.30.2