Commit d1b063ab authored by Gaël PORTAY's avatar Gaël PORTAY Committed by Nicolas Ferre

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: default avatarGaël PORTAY <g.portay@overkiz.com>
Acked-by: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
parent e9942d1f
......@@ -89,15 +89,15 @@ gpio_keys {
#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;
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment