aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/setup-r8a7740.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-shmobile/setup-r8a7740.c')
-rw-r--r--arch/arm/mach-shmobile/setup-r8a7740.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/arch/arm/mach-shmobile/setup-r8a7740.c b/arch/arm/mach-shmobile/setup-r8a7740.c
index e16860f04934..986dca6b3fad 100644
--- a/arch/arm/mach-shmobile/setup-r8a7740.c
+++ b/arch/arm/mach-shmobile/setup-r8a7740.c
@@ -35,7 +35,7 @@ static struct plat_sci_port scif0_platform_data = {
35 .scscr = SCSCR_RE | SCSCR_TE, 35 .scscr = SCSCR_RE | SCSCR_TE,
36 .scbrr_algo_id = SCBRR_ALGO_4, 36 .scbrr_algo_id = SCBRR_ALGO_4,
37 .type = PORT_SCIFA, 37 .type = PORT_SCIFA,
38 .irqs = SCIx_IRQ_MUXED(gic_spi(100)), 38 .irqs = SCIx_IRQ_MUXED(evt2irq(0x0c00)),
39}; 39};
40 40
41static struct platform_device scif0_device = { 41static struct platform_device scif0_device = {
@@ -53,7 +53,7 @@ static struct plat_sci_port scif1_platform_data = {
53 .scscr = SCSCR_RE | SCSCR_TE, 53 .scscr = SCSCR_RE | SCSCR_TE,
54 .scbrr_algo_id = SCBRR_ALGO_4, 54 .scbrr_algo_id = SCBRR_ALGO_4,
55 .type = PORT_SCIFA, 55 .type = PORT_SCIFA,
56 .irqs = SCIx_IRQ_MUXED(gic_spi(101)), 56 .irqs = SCIx_IRQ_MUXED(evt2irq(0x0c20)),
57}; 57};
58 58
59static struct platform_device scif1_device = { 59static struct platform_device scif1_device = {
@@ -71,7 +71,7 @@ static struct plat_sci_port scif2_platform_data = {
71 .scscr = SCSCR_RE | SCSCR_TE, 71 .scscr = SCSCR_RE | SCSCR_TE,
72 .scbrr_algo_id = SCBRR_ALGO_4, 72 .scbrr_algo_id = SCBRR_ALGO_4,
73 .type = PORT_SCIFA, 73 .type = PORT_SCIFA,
74 .irqs = SCIx_IRQ_MUXED(gic_spi(102)), 74 .irqs = SCIx_IRQ_MUXED(evt2irq(0x0c40)),
75}; 75};
76 76
77static struct platform_device scif2_device = { 77static struct platform_device scif2_device = {
@@ -89,7 +89,7 @@ static struct plat_sci_port scif3_platform_data = {
89 .scscr = SCSCR_RE | SCSCR_TE, 89 .scscr = SCSCR_RE | SCSCR_TE,
90 .scbrr_algo_id = SCBRR_ALGO_4, 90 .scbrr_algo_id = SCBRR_ALGO_4,
91 .type = PORT_SCIFA, 91 .type = PORT_SCIFA,
92 .irqs = SCIx_IRQ_MUXED(gic_spi(103)), 92 .irqs = SCIx_IRQ_MUXED(evt2irq(0x0c60)),
93}; 93};
94 94
95static struct platform_device scif3_device = { 95static struct platform_device scif3_device = {
@@ -107,7 +107,7 @@ static struct plat_sci_port scif4_platform_data = {
107 .scscr = SCSCR_RE | SCSCR_TE, 107 .scscr = SCSCR_RE | SCSCR_TE,
108 .scbrr_algo_id = SCBRR_ALGO_4, 108 .scbrr_algo_id = SCBRR_ALGO_4,
109 .type = PORT_SCIFA, 109 .type = PORT_SCIFA,
110 .irqs = SCIx_IRQ_MUXED(gic_spi(104)), 110 .irqs = SCIx_IRQ_MUXED(evt2irq(0x0d20)),
111}; 111};
112 112
113static struct platform_device scif4_device = { 113static struct platform_device scif4_device = {
@@ -125,7 +125,7 @@ static struct plat_sci_port scif5_platform_data = {
125 .scscr = SCSCR_RE | SCSCR_TE, 125 .scscr = SCSCR_RE | SCSCR_TE,
126 .scbrr_algo_id = SCBRR_ALGO_4, 126 .scbrr_algo_id = SCBRR_ALGO_4,
127 .type = PORT_SCIFA, 127 .type = PORT_SCIFA,
128 .irqs = SCIx_IRQ_MUXED(gic_spi(105)), 128 .irqs = SCIx_IRQ_MUXED(evt2irq(0x0d40)),
129}; 129};
130 130
131static struct platform_device scif5_device = { 131static struct platform_device scif5_device = {
@@ -143,7 +143,7 @@ static struct plat_sci_port scif6_platform_data = {
143 .scscr = SCSCR_RE | SCSCR_TE, 143 .scscr = SCSCR_RE | SCSCR_TE,
144 .scbrr_algo_id = SCBRR_ALGO_4, 144 .scbrr_algo_id = SCBRR_ALGO_4,
145 .type = PORT_SCIFA, 145 .type = PORT_SCIFA,
146 .irqs = SCIx_IRQ_MUXED(gic_spi(106)), 146 .irqs = SCIx_IRQ_MUXED(evt2irq(0x04c0)),
147}; 147};
148 148
149static struct platform_device scif6_device = { 149static struct platform_device scif6_device = {
@@ -161,7 +161,7 @@ static struct plat_sci_port scif7_platform_data = {
161 .scscr = SCSCR_RE | SCSCR_TE, 161 .scscr = SCSCR_RE | SCSCR_TE,
162 .scbrr_algo_id = SCBRR_ALGO_4, 162 .scbrr_algo_id = SCBRR_ALGO_4,
163 .type = PORT_SCIFA, 163 .type = PORT_SCIFA,
164 .irqs = SCIx_IRQ_MUXED(gic_spi(107)), 164 .irqs = SCIx_IRQ_MUXED(evt2irq(0x04e0)),
165}; 165};
166 166
167static struct platform_device scif7_device = { 167static struct platform_device scif7_device = {
@@ -179,7 +179,7 @@ static struct plat_sci_port scifb_platform_data = {
179 .scscr = SCSCR_RE | SCSCR_TE, 179 .scscr = SCSCR_RE | SCSCR_TE,
180 .scbrr_algo_id = SCBRR_ALGO_4, 180 .scbrr_algo_id = SCBRR_ALGO_4,
181 .type = PORT_SCIFB, 181 .type = PORT_SCIFB,
182 .irqs = SCIx_IRQ_MUXED(gic_spi(108)), 182 .irqs = SCIx_IRQ_MUXED(evt2irq(0x0d60)),
183}; 183};
184 184
185static struct platform_device scifb_device = { 185static struct platform_device scifb_device = {
@@ -207,7 +207,7 @@ static struct resource cmt10_resources[] = {
207 .flags = IORESOURCE_MEM, 207 .flags = IORESOURCE_MEM,
208 }, 208 },
209 [1] = { 209 [1] = {
210 .start = gic_spi(58), 210 .start = evt2irq(0x0b00),
211 .flags = IORESOURCE_IRQ, 211 .flags = IORESOURCE_IRQ,
212 }, 212 },
213}; 213};
@@ -244,8 +244,8 @@ static struct resource i2c0_resources[] = {
244 .flags = IORESOURCE_MEM, 244 .flags = IORESOURCE_MEM,
245 }, 245 },
246 [1] = { 246 [1] = {
247 .start = gic_spi(201), 247 .start = intcs_evt2irq(0xe00),
248 .end = gic_spi(204), 248 .end = intcs_evt2irq(0xe60),
249 .flags = IORESOURCE_IRQ, 249 .flags = IORESOURCE_IRQ,
250 }, 250 },
251}; 251};
@@ -258,8 +258,8 @@ static struct resource i2c1_resources[] = {
258 .flags = IORESOURCE_MEM, 258 .flags = IORESOURCE_MEM,
259 }, 259 },
260 [1] = { 260 [1] = {
261 .start = gic_spi(70), 261 .start = evt2irq(0x780), /* IIC1_ALI1 */
262 .end = gic_spi(73), 262 .end = evt2irq(0x7e0), /* IIC1_DTEI1 */
263 .flags = IORESOURCE_IRQ, 263 .flags = IORESOURCE_IRQ,
264 }, 264 },
265}; 265};