openwrtv4/target/linux/ramips/files/arch/mips/ralink/rt305x/Kconfig
Gabor Juhos 3626444c6d ramips: rt305x: add support for the Asus WL-330N3G board
This patch adds support for the ASUS WL-330N3G

Comparing to the WL-330N, It have 32MB ram, usb support and a bicolor led.

The bi-color led is driven by 2 gpio.
I don't know how to handle this, so I simply made 2 leds : one red, one blue.
But the red light takes precedence over the blue one according to the chart below.

r = led is red
b = led is blue
0 = led is off

xy= x->r for red, b for blue led, y->value of brightness in /sys/class/leds/x/brughtness

initial state	action	 led	gpio state

r0	b0	r0->r1	 r  	r0	b0
r0	b0	b0->b1   b	r0	b1

r1	b0	r1->r0	 0	r0	b0
r1	b0	b0->b1	 r	r1	*b1*

r1	b1	r1->r0   b	r0	b1
r1	b1	b1->b0   r	r1	b0

r0	b1	r0->r1   r	r1	*b1*
r0	b1	b1->b0   0	r0	r0

Signed-off-by: Frédéric Leroy <fredo@starox.org>

SVN-Revision: 31450
2012-04-23 16:56:05 +00:00

149 lines
3.6 KiB
Text

if RALINK_RT305X
menu "Ralink RT350x machine selection"
config RT305X_MACH_WR6202
bool "Accton WR6202"
select RALINK_DEV_GPIO_BUTTONS
select RALINK_DEV_GPIO_LEDS
config RT305X_MACH_ALL0256N
bool "Allnet ALL0256N support"
select RALINK_DEV_GPIO_BUTTONS
select RALINK_DEV_GPIO_LEDS
config RT305X_MACH_W502U
bool "ALFA Networks W502U board support"
select RALINK_DEV_GPIO_BUTTONS
select RALINK_DEV_GPIO_LEDS
config RT305X_MACH_ARGUS_ATP52B
bool "Argus ATP-52B support"
select RALINK_DEV_GPIO_BUTTONS
select RALINK_DEV_GPIO_LEDS
config RT305X_MACH_RT_G32_REVB
bool "Asus RT-G32 revB board support"
select RALINK_DEV_GPIO_BUTTONS
config RT305X_MACH_RT_N10_PLUS
bool "Asus RT-N10+ board support"
select RALINK_DEV_GPIO_BUTTONS
select RALINK_DEV_GPIO_LEDS
config RT305X_MACH_WL_330N
bool "Asus WL-330N board support"
select RALINK_DEV_GPIO_BUTTONS
select RALINK_DEV_GPIO_LEDS
config RT305X_MACH_WL_330N3G
bool "Asus WL-330N3G board support"
select RALINK_DEV_GPIO_BUTTONS
select RALINK_DEV_GPIO_LEDS
config RT305X_MACH_HW550_3G
bool "Aztech HW550-3G support"
select RALINK_DEV_GPIO_BUTTONS
select RALINK_DEV_GPIO_LEDS
config RT305X_MACH_F5D8235_V2
bool "Belkin F5D8235 v2 support"
select RALINK_DEV_GPIO_BUTTONS
select RALINK_DEV_GPIO_LEDS
config RT305X_MACH_WHR_G300N
bool "Buffalo WHR-G300N support"
select RALINK_DEV_GPIO_BUTTONS
select RALINK_DEV_GPIO_LEDS
config RT305X_MACH_DIR_300_REVB
bool "D-Link DIR-300 revB board support"
select RALINK_DEV_GPIO_BUTTONS
select RALINK_DEV_GPIO_LEDS
config RT305X_MACH_ESR_9753
bool "EnGenius ESR-9753 support"
select RALINK_DEV_GPIO_BUTTONS
select RALINK_DEV_GPIO_LEDS
config RT305X_MACH_FONERA20N
bool "La Fonera20N board support"
select RALINK_DEV_GPIO_BUTTONS
select RALINK_DEV_GPIO_LEDS
config RT305X_MACH_FREESTATION5
bool "ARC FreeStation5"
config RT305X_MACH_MOFI3500_3GN
bool "MoFi Network MOFI3500-3GN support"
select RALINK_DEV_GPIO_BUTTONS
select RALINK_DEV_GPIO_LEDS
config RT305X_MACH_WR512_3GN
bool "SH-WR512NU/WS-WR512N1-like 3GN router"
select RALINK_DEV_GPIO_BUTTONS
select RALINK_DEV_GPIO_LEDS
config RT305X_MACH_NW718
bool "Netcore NW718"
select RALINK_DEV_GPIO_BUTTONS
select RALINK_DEV_GPIO_LEDS
config RT305X_MACH_BC2
bool "NexAira BC2"
select RALINK_DEV_GPIO_BUTTONS
select RALINK_DEV_GPIO_LEDS
config RT305X_MACH_OMNI_EMB
bool "Omnima MiniEMBWiFi"
select RALINK_DEV_GPIO_BUTTONS
select RALINK_DEV_GPIO_LEDS
config RT305X_MACH_PWH2004
bool "Prolink PWH2004 / Abocom WR5205 support (32M RAM, 8M flash)"
select RALINK_DEV_GPIO_BUTTONS
select RALINK_DEV_GPIO_LEDS
config RT305X_MACH_V22RW_2X2
bool "Ralink AP-RT3052-V22RW-2X2 board support"
select RALINK_DEV_GPIO_BUTTONS
select RALINK_DEV_GPIO_LEDS
config RT305X_MACH_W306R_V20
bool "Tenda W306R V2.0 board support"
select RALINK_DEV_GPIO_BUTTONS
select RALINK_DEV_GPIO_LEDS
config RT305X_MACH_WL341V3
bool "Sitecom WL-341 v3 board support"
select RALINK_DEV_GPIO_BUTTONS
select RALINK_DEV_GPIO_LEDS
config RT305X_MACH_WL351
bool "Sitecom WL-351 support"
select RALINK_DEV_GPIO_BUTTONS
select RALINK_DEV_GPIO_LEDS
config RT305X_MACH_SL_R7205
bool "Skyline SL-R7205 Wireless 3G Router support"
select RALINK_DEV_GPIO_BUTTONS
select RALINK_DEV_GPIO_LEDS
config RT305X_MACH_WCR150GN
bool "Sparklan WCR-150GN support"
select RALINK_DEV_GPIO_BUTTONS
select RALINK_DEV_GPIO_LEDS
config RT305X_MACH_NBG_419N
bool "ZyXEL NBG-419N support"
select RALINK_DEV_GPIO_BUTTONS
select RALINK_DEV_GPIO_LEDS
config RT305X_MACH_XDX_RN502J
bool "Unknown board XDX-RN502J"
select RALINK_DEV_GPIO_BUTTONS
select RALINK_DEV_GPIO_LEDS
endmenu
endif