]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: at91/dt: at91-sama5d3_xplained: add gpio-key pinctrl property
authorWenyou Yang <wenyou.yang@atmel.com>
Wed, 13 Aug 2014 04:58:21 +0000 (12:58 +0800)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Wed, 4 Mar 2015 17:36:10 +0000 (18:36 +0100)
Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
arch/arm/boot/dts/at91-sama5d3_xplained.dts

index fec1fca2ad66c80ad3ce949d82741b235790c1ed..225c63d003d1fad4ed5abc161673c2aad9a13f10 100644 (file)
                                                        <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>;
        gpio_keys {
                compatible = "gpio-keys";
 
+               pinctrl-names = "default";
+               pinctrl-0 = <&pinctrl_key_gpio>;
+
                bp3 {
                        label = "PB_USER";
                        gpios = <&pioE 29 GPIO_ACTIVE_LOW>;