aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/cns3xxx
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-12-17 09:28:42 +0000
committerJohn Crispin <blogic@openwrt.org>2015-12-17 09:28:42 +0000
commit1b9092e02bfc01bf6166aa9c2fb3856a252e3744 (patch)
tree7c6681b788f3584cb35c86671eb3e355dc37fb4e /target/linux/cns3xxx
parent7757a19f413fa6e16f4c840fa1a9f05805937648 (diff)
downloadmaster-187ad058-1b9092e02bfc01bf6166aa9c2fb3856a252e3744.tar.gz
master-187ad058-1b9092e02bfc01bf6166aa9c2fb3856a252e3744.tar.bz2
master-187ad058-1b9092e02bfc01bf6166aa9c2fb3856a252e3744.zip
cns3xxx: add GW2393 Support
Based off of the GW2391-C, but with the following changes: * 4x4in to 4x5in pcb * flat panel connector for LED signals Signed-off-by: Tim Harvey <tharvey@gateworks.com> Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47920 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/cns3xxx')
-rw-r--r--target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c4
1 files changed, 3 insertions, 1 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 f0f1ec912e..6c779233e7 100644
--- a/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c
+++ b/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c
@@ -1054,7 +1054,9 @@ static int __init laguna_model_setup(void)
laguna_gpio_leds[0].gpio = 107;
laguna_gpio_leds[1].gpio = 106;
laguna_gpio_leds_data.num_leds = 2;
- } else if (strncmp(laguna_info.model, "GW2391", 6) == 0) {
+ } else if ( (strncmp(laguna_info.model, "GW2391", 6) == 0)
+ || (strncmp(laguna_info.model, "GW2393", 6) == 0) )
+ {
// configure GPIO's
laguna_register_gpio(ARRAY_AND_SIZE(laguna_gpio_gw2391));
// configure LED's