From: Imre Kaloz Date: Sun, 10 Nov 2013 09:55:17 +0000 (+0000) Subject: add pushbutton GPIO for GW2380/82/83 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b0fe7d1ec6d50862141d16b5dbe9ee41aa0f0c32;p=openwrt%2Fstaging%2Frobimarko.git add pushbutton GPIO for GW2380/82/83 Signed-off-by: Tim Harvey SVN-Revision: 38702 --- diff --git a/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c b/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c index 9c835f3010..267b4c1caa 100644 --- a/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c +++ b/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c @@ -723,6 +723,7 @@ static struct gpio laguna_gpio_gw2383[] = { { 8, GPIOF_IN , "GPIO1" }, { 100, GPIOF_IN , "DIO0" }, { 101, GPIOF_IN , "DIO1" }, + { 108, GPIOF_IN , "*USER_PB#" }, }; static struct gpio laguna_gpio_gw2382[] = { @@ -735,6 +736,7 @@ static struct gpio laguna_gpio_gw2382[] = { { 10, GPIOF_OUT_INIT_HIGH, "*USB_PCI_SEL#" }, { 100, GPIOF_IN , "DIO0" }, { 101, GPIOF_IN , "DIO1" }, + { 108, GPIOF_IN , "*USER_PB#" }, }; static struct gpio laguna_gpio_gw2380[] = { @@ -746,6 +748,7 @@ static struct gpio laguna_gpio_gw2380[] = { { 101, GPIOF_IN , "DIO1" }, { 102, GPIOF_IN , "DIO2" }, { 103, GPIOF_IN , "DIO3" }, + { 108, GPIOF_IN , "*USER_PB#" }, }; /*