ARM: at91/dt: at91-kizbox: gpio-keys related changes
authorGaël PORTAY <g.portay@overkiz.com>
Thu, 30 Apr 2015 07:33:35 +0000 (09:33 +0200)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Thu, 30 Apr 2015 07:53:17 +0000 (09:53 +0200)
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>
arch/arm/boot/dts/at91-kizbox.dts

index 72d5de8..73e4559 100644 (file)
                #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;
                };