ipq40xx: support reset button for WPJ419

Compex WPJ419 has a reset button on a GPIO pin.

Signed-off-by: Phi Nguyen <phind.uet@gmail.com>
master
Phi Nguyen 2020-07-23 11:03:52 +08:00 committed by Adrian Schmutzler
parent fca3bf4f4c
commit eda9751d86
1 changed files with 10 additions and 0 deletions

View File

@ -348,6 +348,16 @@
status = "okay"; status = "okay";
}; };
}; };
keys {
compatible = "gpio-keys";
reset {
label = "reset";
gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
};
}; };
&gmac0 { &gmac0 {