From: David Woodhouse Date: Mon, 10 Jan 2022 09:46:22 +0000 (+0000) Subject: mediatek: mt7623: Disable power button reset for U7623-02 board X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4648a60058eeb5c841ba7bc2f78480d957c692ab;p=openwrt%2Fstaging%2Fynezz.git 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") --- 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>;