summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGaël PORTAY <g.portay@overkiz.com>2015-04-30 09:33:35 +0200
committerNicolas Ferre <nicolas.ferre@atmel.com>2015-04-30 09:53:17 +0200
commitd1b063aba81320cabdb093739b54dd4b3c92d159 (patch)
tree847031f995f790f5ab28c499aa49519c1ebfe8af
parente9942d1f99934fe6c5651e758baf311589fbc72d (diff)
downloadlinux-d1b063aba81320cabdb093739b54dd4b3c92d159.tar.bz2
ARM: at91/dt: at91-kizbox: gpio-keys related changes
This: * fixes active level of GPIO (active high) and * renames buttons: - reset (PB_RST), and - mode to user (PB_USER). Signed-off-by: Gaël PORTAY <g.portay@overkiz.com> Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com> Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
-rw-r--r--arch/arm/boot/dts/at91-kizbox.dts10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/boot/dts/at91-kizbox.dts b/arch/arm/boot/dts/at91-kizbox.dts
index 72d5de807826..73e4559862d3 100644
--- a/arch/arm/boot/dts/at91-kizbox.dts
+++ b/arch/arm/boot/dts/at91-kizbox.dts
@@ -89,15 +89,15 @@
#size-cells = <0>;
reset {
- label = "reset";
- gpios = <&pioB 30 GPIO_ACTIVE_LOW>;
+ label = "PB_RST";
+ gpios = <&pioB 30 GPIO_ACTIVE_HIGH>;
linux,code = <0x100>;
gpio-key,wakeup;
};
- mode {
- label = "mode";
- gpios = <&pioB 31 GPIO_ACTIVE_LOW>;
+ user {
+ label = "PB_USER";
+ gpios = <&pioB 31 GPIO_ACTIVE_HIGH>;
linux,code = <0x101>;
gpio-key,wakeup;
};