diff options
author | Wenyou Yang <wenyou.yang@atmel.com> | 2014-08-13 12:58:21 +0800 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2015-03-04 18:36:10 +0100 |
commit | 6d39bb019f5ac1e48d8bdc4e88cef290a14058a5 (patch) | |
tree | 9b61a2814c7837ec675ac038bd471fb66030bd24 /arch/arm/boot/dts/at91-sama5d3_xplained.dts | |
parent | 8dafaa1f28e9113c19ead7d7e118669aace538af (diff) | |
download | blackbird-op-linux-6d39bb019f5ac1e48d8bdc4e88cef290a14058a5.tar.gz blackbird-op-linux-6d39bb019f5ac1e48d8bdc4e88cef290a14058a5.zip |
ARM: at91/dt: at91-sama5d3_xplained: add gpio-key pinctrl property
Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/boot/dts/at91-sama5d3_xplained.dts')
-rw-r--r-- | arch/arm/boot/dts/at91-sama5d3_xplained.dts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts b/arch/arm/boot/dts/at91-sama5d3_xplained.dts index fec1fca2ad66..225c63d003d1 100644 --- a/arch/arm/boot/dts/at91-sama5d3_xplained.dts +++ b/arch/arm/boot/dts/at91-sama5d3_xplained.dts @@ -188,6 +188,11 @@ <AT91_PIOA 19 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; }; + pinctrl_key_gpio: key_gpio_0 { + atmel,pins = + <AT91_PIOE 29 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; + }; + pinctrl_mmc0_cd: mmc0_cd { atmel,pins = <AT91_PIOE 0 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; @@ -276,6 +281,9 @@ gpio_keys { compatible = "gpio-keys"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_key_gpio>; + bp3 { label = "PB_USER"; gpios = <&pioE 29 GPIO_ACTIVE_LOW>; |