diff options
| author | David Bauer | 2023-09-27 14:43:54 +0000 |
|---|---|---|
| committer | David Bauer | 2023-09-27 21:13:36 +0000 |
| commit | 0e8641d3b08bf8b9eac8e3338faf11cc058a5124 (patch) | |
| tree | c2855e621d0fb7d351b1fcb3b49a376aaa086cf8 | |
| parent | 0c43a48735959245f18d79a6e908d3b45cff0a94 (diff) | |
mpc85xx: add Enterasys WS-AP3715i reset button
The reset button was missing from the Enterasys WS-AP3715i DTS.
Add the node required for making the reset button work.
Signed-off-by: David Bauer <mail@david-bauer.net>
| -rw-r--r-- | target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3715i.dts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3715i.dts b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3715i.dts index a8a4118b00..af8917ffe1 100644 --- a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3715i.dts +++ b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3715i.dts @@ -1,6 +1,7 @@ // SPDX-License-Identifier: GPL-2.0-or-later or MIT #include <dt-bindings/gpio/gpio.h> +#include <dt-bindings/input/input.h> /include/ "fsl/p1010si-pre.dtsi" @@ -70,6 +71,16 @@ }; }; + keys { + compatible = "gpio-keys"; + + reset { + label = "Reset button"; + gpios = <&gpio0 5 GPIO_ACTIVE_LOW>; + linux,code = <KEY_RESTART>; + }; + }; + soc: soc@ffe00000 { ranges = <0x0 0x0 0xffe00000 0x100000>; |