mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 10:08:59 +00:00
22899e77a9
The recently added AP15C dts file only differs by the definition of the reset button. Unify the shared definition into a dtsi to reduce code duplication. Signed-off-by: Christoph Krapp <achterin@gmail.com> Tested-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Link: https://github.com/openwrt/openwrt/pull/16998 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
20 lines
343 B
Plaintext
20 lines
343 B
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
#include "qca9557_sophos_ap15.dtsi"
|
|
|
|
/ {
|
|
compatible = "sophos,ap15c", "qca,qca9557";
|
|
model = "Sophos AP15C";
|
|
|
|
keys {
|
|
compatible = "gpio-keys";
|
|
|
|
reset {
|
|
label = "reset";
|
|
linux,code = <KEY_RESTART>;
|
|
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
|
|
debounce-interval = <60>;
|
|
};
|
|
};
|
|
};
|