提交 d1b063ab 编写于 作者: G Gaël PORTAY 提交者: 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: NGaël PORTAY <g.portay@overkiz.com>
Acked-by: NBoris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: NAlexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: NNicolas Ferre <nicolas.ferre@atmel.com>
上级 e9942d1f
...@@ -89,15 +89,15 @@ ...@@ -89,15 +89,15 @@
#size-cells = <0>; #size-cells = <0>;
reset { reset {
label = "reset"; label = "PB_RST";
gpios = <&pioB 30 GPIO_ACTIVE_LOW>; gpios = <&pioB 30 GPIO_ACTIVE_HIGH>;
linux,code = <0x100>; linux,code = <0x100>;
gpio-key,wakeup; gpio-key,wakeup;
}; };
mode { user {
label = "mode"; label = "PB_USER";
gpios = <&pioB 31 GPIO_ACTIVE_LOW>; gpios = <&pioB 31 GPIO_ACTIVE_HIGH>;
linux,code = <0x101>; linux,code = <0x101>;
gpio-key,wakeup; gpio-key,wakeup;
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册