openwrt/target/linux/ath79/dts/qca9557_sophos_ap15c.dts
Christoph Krapp 22899e77a9 ath79: Unify Sophos AP15/AP15C dts files
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>
2024-11-30 18:19:52 +01:00

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>;
};
};
};