From eda9751d86927672bb86f895e31a5b8bea76cdfc Mon Sep 17 00:00:00 2001 From: Phi Nguyen Date: Thu, 23 Jul 2020 11:03:52 +0800 Subject: ipq40xx: support reset button for WPJ419 Compex WPJ419 has a reset button on a GPIO pin. Signed-off-by: Phi Nguyen --- .../ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-wpj419.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-wpj419.dts b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-wpj419.dts index 3a0e0b8cfa..e8b7d3a89a 100644 --- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-wpj419.dts +++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-wpj419.dts @@ -348,6 +348,16 @@ status = "okay"; }; }; + + keys { + compatible = "gpio-keys"; + + reset { + label = "reset"; + gpios = <&tlmm 18 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + }; }; &gmac0 { -- cgit v1.2.3