mirror of https://gitee.com/openkylin/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 <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>
This commit is contained in:
parent
e9942d1f99
commit
d1b063aba8
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue