diff options
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/dts/black-swift.dts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/mips/dts/black-swift.dts b/arch/mips/dts/black-swift.dts index b0fa3b0c84..d19c381df9 100644 --- a/arch/mips/dts/black-swift.dts +++ b/arch/mips/dts/black-swift.dts @@ -2,6 +2,7 @@ #include "ar9331.dtsi" #include <dt-bindings/gpio/gpio.h> +#include <dt-bindings/input/input.h> / { model = "Black Swift"; @@ -15,6 +16,16 @@ spiflash = &spiflash; }; + buttons { + compatible = "gpio-keys"; + + s1 { + label = "S1"; + gpios = <&gpio 11 GPIO_ACTIVE_LOW>; + linux,code = <KEY_RESTART>; + }; + }; + leds { compatible = "gpio-leds"; |