diff options
author | Jan-Niklas Burfeind <git@aiyionpri.me> | 2023-03-26 22:50:42 +0200 |
---|---|---|
committer | David Bauer <mail@david-bauer.net> | 2023-03-31 19:39:24 +0200 |
commit | 791550b94fc791866e486e52d3c4d1d0378966ff (patch) | |
tree | 767344f81f2587128586e002600fa4f71b1d1ef8 /target | |
parent | 967520800a8aa45003c1899157309dddbd0317b5 (diff) | |
download | upstream-791550b94fc791866e486e52d3c4d1d0378966ff.tar.gz upstream-791550b94fc791866e486e52d3c4d1d0378966ff.tar.bz2 upstream-791550b94fc791866e486e52d3c4d1d0378966ff.zip |
ipq40xx: add reset button for Google WiFi (Gale)
Add the external reset button for use with OpenWrt.
Co-authored-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Jan-Niklas Burfeind <git@aiyionpri.me>
Reviewed-by: Brian Norris <computersforpeace@gmail.com>
Tested-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-wifi.dts | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-wifi.dts b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-wifi.dts index 65f5933305..e4f47431e5 100644 --- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-wifi.dts +++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-wifi.dts @@ -49,16 +49,29 @@ }; }; }; + + keys { + compatible = "gpio-keys"; + pinctrl-0 = <&fw_pinmux>; + pinctrl-names = "default"; + + reset { + label = "reset"; + gpios = <&tlmm 57 GPIO_ACTIVE_LOW>; + linux,code = <KEY_RESTART>; + }; + }; }; &tlmm { - fw_pinmux { + fw_pinmux: fw_pinmux { wp { pins = "gpio53"; output-low; }; recovery { pins = "gpio57"; + function = "gpio"; bias-none; }; developer { |