From: Phi Nguyen Date: Thu, 23 Jul 2020 03:03:52 +0000 (+0800) Subject: ipq40xx: support reset button for WPJ419 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=eda9751d86927672bb86f895e31a5b8bea76cdfc;p=openwrt%2Fstaging%2Fstintel.git ipq40xx: support reset button for WPJ419 Compex WPJ419 has a reset button on a GPIO pin. Signed-off-by: Phi Nguyen --- 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 {