diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2013-11-10 09:55:17 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2013-11-10 09:55:17 +0000 |
commit | f7ebac19d49396d2fca9ec54bd3636576e3f2504 (patch) | |
tree | 7af66a1ab83ca821f3e4530d0d1cf8a20ed50057 /target/linux/cns3xxx | |
parent | d873659882d68d8676b19dab5bf8ec7728cfa306 (diff) | |
download | upstream-f7ebac19d49396d2fca9ec54bd3636576e3f2504.tar.gz upstream-f7ebac19d49396d2fca9ec54bd3636576e3f2504.tar.bz2 upstream-f7ebac19d49396d2fca9ec54bd3636576e3f2504.zip |
[cns3xxx]: add pushbutton GPIO for GW2380/82/83
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38702 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/cns3xxx')
-rw-r--r-- | target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c | 3 |
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 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#" }, }; /* |