From: Gaël PORTAY Date: Thu, 30 Apr 2015 07:33:35 +0000 (+0200) Subject: ARM: at91/dt: at91-kizbox: gpio-keys related changes X-Git-Tag: v4.2-rc1~99^2~50^2~7 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d1b063aba81320cabdb093739b54dd4b3c92d159;p=karo-tx-linux.git 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 Acked-by: Boris Brezillon Acked-by: Alexandre Belloni Signed-off-by: Nicolas Ferre --- 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; };