mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 18:47:06 +00:00
3626444c6d
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
151 lines
4.1 KiB
Groff
151 lines
4.1 KiB
Groff
CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE=y
|
|
CONFIG_ARCH_DISCARD_MEMBLOCK=y
|
|
# CONFIG_ARCH_DMA_ADDR_T_64BIT is not set
|
|
# CONFIG_ARCH_HAS_ILOG2_U32 is not set
|
|
# CONFIG_ARCH_HAS_ILOG2_U64 is not set
|
|
CONFIG_ARCH_HIBERNATION_POSSIBLE=y
|
|
# CONFIG_ARCH_PHYS_ADDR_T_64BIT is not set
|
|
CONFIG_ARCH_REQUIRE_GPIOLIB=y
|
|
# CONFIG_ARCH_SUPPORTS_MSI is not set
|
|
CONFIG_ARCH_SUSPEND_POSSIBLE=y
|
|
CONFIG_BCMA_POSSIBLE=y
|
|
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
|
|
CONFIG_CEVT_R4K=y
|
|
CONFIG_CEVT_R4K_LIB=y
|
|
CONFIG_CMDLINE="rootfstype=squashfs,jffs2"
|
|
CONFIG_CMDLINE_BOOL=y
|
|
# CONFIG_CMDLINE_OVERRIDE is not set
|
|
CONFIG_CPU_HAS_PREFETCH=y
|
|
CONFIG_CPU_HAS_SYNC=y
|
|
CONFIG_CPU_LITTLE_ENDIAN=y
|
|
CONFIG_CPU_MIPS32=y
|
|
# CONFIG_CPU_MIPS32_R1 is not set
|
|
CONFIG_CPU_MIPS32_R2=y
|
|
CONFIG_CPU_MIPSR2=y
|
|
CONFIG_CPU_SUPPORTS_32BIT_KERNEL=y
|
|
CONFIG_CPU_SUPPORTS_HIGHMEM=y
|
|
CONFIG_CSRC_R4K=y
|
|
CONFIG_CSRC_R4K_LIB=y
|
|
CONFIG_DECOMPRESS_LZMA=y
|
|
CONFIG_DMA_NONCOHERENT=y
|
|
# CONFIG_DWC_OTG is not set
|
|
CONFIG_EARLY_PRINTK=y
|
|
CONFIG_GENERIC_ATOMIC64=y
|
|
CONFIG_GENERIC_CLOCKEVENTS=y
|
|
CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
|
|
CONFIG_GENERIC_CMOS_UPDATE=y
|
|
# CONFIG_GENERIC_CPU_DEVICES is not set
|
|
CONFIG_GENERIC_GPIO=y
|
|
CONFIG_GENERIC_IRQ_SHOW=y
|
|
CONFIG_GPIOLIB=y
|
|
CONFIG_GPIO_SYSFS=y
|
|
CONFIG_HARDWARE_WATCHPOINTS=y
|
|
CONFIG_HAS_DMA=y
|
|
CONFIG_HAS_IOMEM=y
|
|
CONFIG_HAS_IOPORT=y
|
|
CONFIG_HAVE_ARCH_JUMP_LABEL=y
|
|
CONFIG_HAVE_ARCH_KGDB=y
|
|
CONFIG_HAVE_C_RECORDMCOUNT=y
|
|
CONFIG_HAVE_DMA_API_DEBUG=y
|
|
CONFIG_HAVE_DMA_ATTRS=y
|
|
CONFIG_HAVE_DYNAMIC_FTRACE=y
|
|
CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y
|
|
CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y
|
|
CONFIG_HAVE_FUNCTION_TRACER=y
|
|
CONFIG_HAVE_FUNCTION_TRACE_MCOUNT_TEST=y
|
|
CONFIG_HAVE_GENERIC_DMA_COHERENT=y
|
|
CONFIG_HAVE_GENERIC_HARDIRQS=y
|
|
CONFIG_HAVE_IDE=y
|
|
CONFIG_HAVE_IRQ_WORK=y
|
|
CONFIG_HAVE_MEMBLOCK=y
|
|
CONFIG_HAVE_MEMBLOCK_NODE_MAP=y
|
|
CONFIG_HAVE_OPROFILE=y
|
|
CONFIG_HAVE_PERF_EVENTS=y
|
|
CONFIG_HW_RANDOM=m
|
|
CONFIG_IMAGE_CMDLINE_HACK=y
|
|
CONFIG_INITRAMFS_SOURCE=""
|
|
CONFIG_IRQ_CPU=y
|
|
CONFIG_IRQ_FORCED_THREADING=y
|
|
# CONFIG_LEDS_GPIO is not set
|
|
CONFIG_M25PXX_USE_FAST_READ=y
|
|
CONFIG_MDIO_BOARDINFO=y
|
|
# CONFIG_MII is not set
|
|
# CONFIG_MINIX_FS_NATIVE_ENDIAN is not set
|
|
CONFIG_MIPS=y
|
|
CONFIG_MIPS_L1_CACHE_SHIFT=5
|
|
CONFIG_MIPS_MACHINE=y
|
|
CONFIG_MIPS_MT_DISABLED=y
|
|
CONFIG_MIPS_RALINK=y
|
|
# CONFIG_MTD_CFI_INTELEXT is not set
|
|
CONFIG_MTD_CMDLINE_PARTS=y
|
|
CONFIG_MTD_M25P80=y
|
|
CONFIG_MTD_PHYSMAP=y
|
|
CONFIG_NEED_DMA_MAP_STATE=y
|
|
CONFIG_NEED_PER_CPU_KM=y
|
|
CONFIG_NET_RAMIPS=y
|
|
# CONFIG_NET_RAMIPS_DEBUG is not set
|
|
# CONFIG_NET_RAMIPS_DEBUG_FS is not set
|
|
CONFIG_PAGEFLAGS_EXTENDED=y
|
|
CONFIG_PERF_USE_VMALLOC=y
|
|
CONFIG_PHYLIB=y
|
|
# CONFIG_PREEMPT_RCU is not set
|
|
# CONFIG_QUOTACTL is not set
|
|
CONFIG_RALINK_DEV_GPIO_BUTTONS=y
|
|
CONFIG_RALINK_DEV_GPIO_LEDS=y
|
|
# CONFIG_RALINK_RT288X is not set
|
|
CONFIG_RALINK_RT305X=y
|
|
# CONFIG_RALINK_RT3883 is not set
|
|
CONFIG_RAMIPS_WDT=y
|
|
CONFIG_RT305X_MACH_ALL0256N=y
|
|
CONFIG_RT305X_MACH_ARGUS_ATP52B=y
|
|
CONFIG_RT305X_MACH_BC2=y
|
|
CONFIG_RT305X_MACH_DIR_300_REVB=y
|
|
CONFIG_RT305X_MACH_ESR_9753=y
|
|
CONFIG_RT305X_MACH_F5D8235_V2=y
|
|
CONFIG_RT305X_MACH_FONERA20N=y
|
|
CONFIG_RT305X_MACH_FREESTATION5=y
|
|
CONFIG_RT305X_MACH_HW550_3G=y
|
|
CONFIG_RT305X_MACH_MOFI3500_3GN=y
|
|
CONFIG_RT305X_MACH_NBG_419N=y
|
|
CONFIG_RT305X_MACH_NW718=y
|
|
CONFIG_RT305X_MACH_OMNI_EMB=y
|
|
CONFIG_RT305X_MACH_PWH2004=y
|
|
CONFIG_RT305X_MACH_RT_G32_REVB=y
|
|
CONFIG_RT305X_MACH_RT_N10_PLUS=y
|
|
CONFIG_RT305X_MACH_SL_R7205=y
|
|
CONFIG_RT305X_MACH_V22RW_2X2=y
|
|
CONFIG_RT305X_MACH_W306R_V20=y
|
|
CONFIG_RT305X_MACH_W502U=y
|
|
CONFIG_RT305X_MACH_WCR150GN=y
|
|
CONFIG_RT305X_MACH_WHR_G300N=y
|
|
CONFIG_RT305X_MACH_WL341V3=y
|
|
CONFIG_RT305X_MACH_WL351=y
|
|
CONFIG_RT305X_MACH_WL_330N=y
|
|
CONFIG_RT305X_MACH_WL_330N3G=y
|
|
CONFIG_RT305X_MACH_WR512_3GN=y
|
|
CONFIG_RT305X_MACH_WR6202=y
|
|
CONFIG_RT305X_MACH_XDX_RN502J=y
|
|
# CONFIG_SCSI_DMA is not set
|
|
CONFIG_SERIAL_8250_NR_UARTS=4
|
|
CONFIG_SERIAL_8250_RT288X=y
|
|
# CONFIG_SLAB is not set
|
|
CONFIG_SLUB=y
|
|
CONFIG_SOC_RT305X=y
|
|
CONFIG_SPI=y
|
|
# CONFIG_SPI_BITBANG is not set
|
|
# CONFIG_SPI_GPIO is not set
|
|
CONFIG_SPI_MASTER=y
|
|
CONFIG_SPI_RAMIPS=y
|
|
CONFIG_SYS_HAS_CPU_MIPS32_R1=y
|
|
CONFIG_SYS_HAS_CPU_MIPS32_R2=y
|
|
CONFIG_SYS_HAS_EARLY_PRINTK=y
|
|
CONFIG_SYS_SUPPORTS_32BIT_KERNEL=y
|
|
CONFIG_SYS_SUPPORTS_ARBIT_HZ=y
|
|
CONFIG_SYS_SUPPORTS_LITTLE_ENDIAN=y
|
|
# CONFIG_USB_ARCH_HAS_EHCI is not set
|
|
# CONFIG_USB_ARCH_HAS_OHCI is not set
|
|
# CONFIG_USB_ARCH_HAS_XHCI is not set
|
|
CONFIG_USB_SUPPORT=y
|
|
CONFIG_XZ_DEC=y
|
|
CONFIG_ZONE_DMA_FLAG=0
|