|
|
|
@ -1,6 +1,6 @@ |
|
|
|
|
--- a/arch/mips/ar7/platform.c
|
|
|
|
|
+++ b/arch/mips/ar7/platform.c
|
|
|
|
|
@@ -131,6 +131,36 @@ static struct resource cpmac_high_res[]
|
|
|
|
|
@@ -131,6 +131,36 @@ static struct resource cpmac_high_res[]
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
@ -37,7 +37,7 @@ |
|
|
|
|
static struct resource vlynq_low_res[] = {
|
|
|
|
|
{
|
|
|
|
|
.name = "regs",
|
|
|
|
|
@@ -185,6 +215,60 @@ static struct resource vlynq_high_res[]
|
|
|
|
|
@@ -185,6 +215,60 @@ static struct resource vlynq_high_res[]
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
@ -192,7 +192,7 @@ |
|
|
|
|
|
|
|
|
|
static struct gpio_led default_leds[] = {
|
|
|
|
|
{
|
|
|
|
|
@@ -300,6 +450,11 @@ static struct gpio_led default_leds[] =
|
|
|
|
|
@@ -300,6 +450,11 @@ static struct gpio_led default_leds[] =
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
@ -329,9 +329,9 @@ |
|
|
|
|
|
|
|
|
|
/* Interrupts */
|
|
|
|
|
#define AR7_IRQ_UART0 15
|
|
|
|
|
@@ -95,14 +115,22 @@ struct plat_dsl_data {
|
|
|
|
|
@@ -97,14 +117,22 @@ extern int ar7_cpu_clock, ar7_bus_clock,
|
|
|
|
|
|
|
|
|
|
extern int ar7_cpu_clock, ar7_bus_clock, ar7_dsp_clock;
|
|
|
|
|
extern void __init ar7_init_clocks(void);
|
|
|
|
|
|
|
|
|
|
+static inline int ar7_is_titan(void)
|
|
|
|
|
+{
|
|
|
|
|