diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2013-05-24 11:44:58 +0200 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2013-05-27 15:35:04 +0000 |
commit | 9196024a989ace933d6b17e0a56c847d02d81240 (patch) | |
tree | dfdeb66a659b23c05970bbd8a67b01176a59988a /arch/arm/boot/dts/kirkwood-openblocks_a6.dts | |
parent | a24ac20db33d21ccadfd17ddfd3c19f7d8e7df98 (diff) | |
download | blackbird-op-linux-9196024a989ace933d6b17e0a56c847d02d81240.tar.gz blackbird-op-linux-9196024a989ace933d6b17e0a56c847d02d81240.zip |
arm: kirkwood: openblocks-a6: add support for Init button
The Kirkwood-based PlatHome OpenBlocks A6 board has an Init button
connected to MPP pin 38. This commit adds support for this button.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Atsushi Yamagata <yamagata@plathome.co.jp>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/boot/dts/kirkwood-openblocks_a6.dts')
-rw-r--r-- | arch/arm/boot/dts/kirkwood-openblocks_a6.dts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/kirkwood-openblocks_a6.dts b/arch/arm/boot/dts/kirkwood-openblocks_a6.dts index 56e3161c568e..38dc8517d777 100644 --- a/arch/arm/boot/dts/kirkwood-openblocks_a6.dts +++ b/arch/arm/boot/dts/kirkwood-openblocks_a6.dts @@ -151,4 +151,18 @@ gpios = <&gpio1 11 1>; }; }; + + gpio_keys { + compatible = "gpio-keys"; + pinctrl-0 = <&pmx_gpio_init>; + pinctrl-names = "default"; + #address-cells = <1>; + #size-cells = <0>; + + button@1 { + label = "Init Button"; + linux,code = <116>; + gpios = <&gpio1 6 0>; + }; + }; }; |