aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/setup-r8a73a4.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-shmobile/setup-r8a73a4.c')
-rw-r--r--arch/arm/mach-shmobile/setup-r8a73a4.c22
1 files changed, 12 insertions, 10 deletions
diff --git a/arch/arm/mach-shmobile/setup-r8a73a4.c b/arch/arm/mach-shmobile/setup-r8a73a4.c
index aaaaf6e8b706..6683072a9d98 100644
--- a/arch/arm/mach-shmobile/setup-r8a73a4.c
+++ b/arch/arm/mach-shmobile/setup-r8a73a4.c
@@ -24,12 +24,14 @@
24#include <linux/serial_sci.h> 24#include <linux/serial_sci.h>
25#include <linux/sh_dma.h> 25#include <linux/sh_dma.h>
26#include <linux/sh_timer.h> 26#include <linux/sh_timer.h>
27#include <mach/common.h> 27
28#include <mach/dma-register.h>
29#include <mach/irqs.h>
30#include <mach/r8a73a4.h>
31#include <asm/mach/arch.h> 28#include <asm/mach/arch.h>
32 29
30#include "common.h"
31#include "dma-register.h"
32#include "irqs.h"
33#include "r8a73a4.h"
34
33static const struct resource pfc_resources[] = { 35static const struct resource pfc_resources[] = {
34 DEFINE_RES_MEM(0xe6050000, 0x9000), 36 DEFINE_RES_MEM(0xe6050000, 0x9000),
35}; 37};
@@ -187,12 +189,6 @@ static struct resource cmt1_resources[] = {
187 189
188void __init r8a73a4_add_dt_devices(void) 190void __init r8a73a4_add_dt_devices(void)
189{ 191{
190 r8a73a4_register_scif(0);
191 r8a73a4_register_scif(1);
192 r8a73a4_register_scif(2);
193 r8a73a4_register_scif(3);
194 r8a73a4_register_scif(4);
195 r8a73a4_register_scif(5);
196 r8a7790_register_cmt(1); 192 r8a7790_register_cmt(1);
197} 193}
198 194
@@ -287,6 +283,12 @@ static struct resource dma_resources[] = {
287void __init r8a73a4_add_standard_devices(void) 283void __init r8a73a4_add_standard_devices(void)
288{ 284{
289 r8a73a4_add_dt_devices(); 285 r8a73a4_add_dt_devices();
286 r8a73a4_register_scif(0);
287 r8a73a4_register_scif(1);
288 r8a73a4_register_scif(2);
289 r8a73a4_register_scif(3);
290 r8a73a4_register_scif(4);
291 r8a73a4_register_scif(5);
290 r8a73a4_register_irqc(0); 292 r8a73a4_register_irqc(0);
291 r8a73a4_register_irqc(1); 293 r8a73a4_register_irqc(1);
292 r8a73a4_register_thermal(); 294 r8a73a4_register_thermal();