mediatek: mt7623: Disable power button reset for U7623-02 board
authorDavid Woodhouse <dwmw2@infradead.org>
Mon, 10 Jan 2022 09:46:22 +0000 (09:46 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 10 Jan 2022 13:45:41 +0000 (13:45 +0000)
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@infradead.org>
Fixes: 0d3f3323a2 ("mediatek: mt7623: enable more hardware features")
target/linux/mediatek/dts/mt7623a-unielec-u7623-02-emmc.dtsi

index aa1e82b58acfcc7096c63e17c5019a978b9554f3..0a2972e23b190f0cf3e86d80a7565322a3ab9400 100644 (file)
        };
 };
 
+&mt6323keys {
+       mediatek,long-press-mode = <0>;
+};
+
 &uart2 {
        pinctrl-names = "default";
        pinctrl-0 = <&uart2_pins_b>;