summaryrefslogtreecommitdiff
path: root/target/linux/cns3xxx/files/arch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2013-11-10 09:55:17 +0000
committerImre Kaloz <kaloz@openwrt.org>2013-11-10 09:55:17 +0000
commitb0fe7d1ec6d50862141d16b5dbe9ee41aa0f0c32 (patch)
treea74ed4409e3aa971d4ee85a616dd203e207f9d43 /target/linux/cns3xxx/files/arch
parent80eb837491dc1d6a1851ea14fc5c0b3c03b126e5 (diff)
downloadmtk-20170518-b0fe7d1ec6d50862141d16b5dbe9ee41aa0f0c32.zip
mtk-20170518-b0fe7d1ec6d50862141d16b5dbe9ee41aa0f0c32.tar.gz
mtk-20170518-b0fe7d1ec6d50862141d16b5dbe9ee41aa0f0c32.tar.bz2
add pushbutton GPIO for GW2380/82/83
Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 38702
Diffstat (limited to 'target/linux/cns3xxx/files/arch')
-rw-r--r--target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c3
1 files changed, 3 insertions, 0 deletions
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 9c835f3..267b4c1 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#" },
};
/*