projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[target] ixp4xx: add missing config symbol for 2.6.30
[openwrt.git]
/
target
/
linux
/
ramips
/
files
/
arch
/
mips
/
ralink
/
rt288x
/
mach-rt-n15.c
diff --git
a/target/linux/ramips/files/arch/mips/ralink/rt288x/mach-rt-n15.c
b/target/linux/ramips/files/arch/mips/ralink/rt288x/mach-rt-n15.c
index
be5c815
..
26f0884
100644
(file)
--- a/
target/linux/ramips/files/arch/mips/ralink/rt288x/mach-rt-n15.c
+++ b/
target/linux/ramips/files/arch/mips/ralink/rt288x/mach-rt-n15.c
@@
-18,10
+18,14
@@
#include <asm/mips_machine.h>
#include <asm/mach-ralink/machine.h>
#include <asm/mach-ralink/dev_gpio_leds.h>
#include <asm/mips_machine.h>
#include <asm/mach-ralink/machine.h>
#include <asm/mach-ralink/dev_gpio_leds.h>
+#include <asm/mach-ralink/rt288x.h>
+#include <asm/mach-ralink/rt288x_regs.h>
#include "devices.h"
#define RT_N15_GPIO_LED_POWER 11
#include "devices.h"
#define RT_N15_GPIO_LED_POWER 11
+#define RT_N15_GPIO_BUTTON_WPS 0
+#define RT_N15_GPIO_BUTTON_RESET 12
#ifdef CONFIG_MTD_PARTITIONS
static struct mtd_partition rt_n15_partitions[] = {
#ifdef CONFIG_MTD_PARTITIONS
static struct mtd_partition rt_n15_partitions[] = {
@@
-73,6
+77,8
@@
static struct gpio_led rt_n15_leds_gpio[] __initdata = {
static void __init rt_n15_init(void)
{
static void __init rt_n15_init(void)
{
+ rt288x_gpio_init(RT2880_GPIO_MODE_UART0);
+
rt288x_register_flash(0, &rt_n15_flash_data);
ramips_register_gpio_leds(-1, ARRAY_SIZE(rt_n15_leds_gpio),
rt288x_register_flash(0, &rt_n15_flash_data);
ramips_register_gpio_leds(-1, ARRAY_SIZE(rt_n15_leds_gpio),
This page took
0.025637 seconds
and
4
git commands to generate.