diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-05-08 10:28:54 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-05-08 10:28:54 -0400 |
commit | 3b226e15beb5ecf068738e796811afd1e5b3f81f (patch) | |
tree | 206dd4fd33151eff0885c26f5afd828b59850510 /arch/sh/kernel | |
parent | 501b825d01efb93766c87d29f299851152cf4eb0 (diff) |
sh: Add clock id to sh-sci platform data on SH-Mobile CPUs.
This adds the clock specifier to all of the SH-Mobile sh-sci ports.
Impacted CPUs are SH7343/SH7366/SH7722/SH7723/SH7724.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel')
-rw-r--r-- | arch/sh/kernel/cpu/sh4a/setup-sh7343.c | 4 | ||||
-rw-r--r-- | arch/sh/kernel/cpu/sh4a/setup-sh7366.c | 1 | ||||
-rw-r--r-- | arch/sh/kernel/cpu/sh4a/setup-sh7722.c | 3 | ||||
-rw-r--r-- | arch/sh/kernel/cpu/sh4a/setup-sh7723.c | 6 | ||||
-rw-r--r-- | arch/sh/kernel/cpu/sh4a/setup-sh7724.c | 6 |
5 files changed, 20 insertions, 0 deletions
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7343.c b/arch/sh/kernel/cpu/sh4a/setup-sh7343.c index f327b7eaf47c..b9c361e8cc82 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7343.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7343.c | |||
@@ -179,21 +179,25 @@ static struct plat_sci_port sci_platform_data[] = { | |||
179 | .flags = UPF_BOOT_AUTOCONF, | 179 | .flags = UPF_BOOT_AUTOCONF, |
180 | .type = PORT_SCIF, | 180 | .type = PORT_SCIF, |
181 | .irqs = { 80, 80, 80, 80 }, | 181 | .irqs = { 80, 80, 80, 80 }, |
182 | .clk = "scif0", | ||
182 | }, { | 183 | }, { |
183 | .mapbase = 0xffe10000, | 184 | .mapbase = 0xffe10000, |
184 | .flags = UPF_BOOT_AUTOCONF, | 185 | .flags = UPF_BOOT_AUTOCONF, |
185 | .type = PORT_SCIF, | 186 | .type = PORT_SCIF, |
186 | .irqs = { 81, 81, 81, 81 }, | 187 | .irqs = { 81, 81, 81, 81 }, |
188 | .clk = "scif1", | ||
187 | }, { | 189 | }, { |
188 | .mapbase = 0xffe20000, | 190 | .mapbase = 0xffe20000, |
189 | .flags = UPF_BOOT_AUTOCONF, | 191 | .flags = UPF_BOOT_AUTOCONF, |
190 | .type = PORT_SCIF, | 192 | .type = PORT_SCIF, |
191 | .irqs = { 82, 82, 82, 82 }, | 193 | .irqs = { 82, 82, 82, 82 }, |
194 | .clk = "scif2", | ||
192 | }, { | 195 | }, { |
193 | .mapbase = 0xffe30000, | 196 | .mapbase = 0xffe30000, |
194 | .flags = UPF_BOOT_AUTOCONF, | 197 | .flags = UPF_BOOT_AUTOCONF, |
195 | .type = PORT_SCIF, | 198 | .type = PORT_SCIF, |
196 | .irqs = { 83, 83, 83, 83 }, | 199 | .irqs = { 83, 83, 83, 83 }, |
200 | .clk = "scif3", | ||
197 | }, { | 201 | }, { |
198 | .flags = 0, | 202 | .flags = 0, |
199 | } | 203 | } |
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7366.c b/arch/sh/kernel/cpu/sh4a/setup-sh7366.c index 7361ea989b96..d4a994be4a7d 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7366.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7366.c | |||
@@ -186,6 +186,7 @@ static struct plat_sci_port sci_platform_data[] = { | |||
186 | .flags = UPF_BOOT_AUTOCONF, | 186 | .flags = UPF_BOOT_AUTOCONF, |
187 | .type = PORT_SCIF, | 187 | .type = PORT_SCIF, |
188 | .irqs = { 80, 80, 80, 80 }, | 188 | .irqs = { 80, 80, 80, 80 }, |
189 | .clk = "scif0", | ||
189 | }, { | 190 | }, { |
190 | .flags = 0, | 191 | .flags = 0, |
191 | } | 192 | } |
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7722.c b/arch/sh/kernel/cpu/sh4a/setup-sh7722.c index b1c3e7f9284a..5d6247fecd63 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7722.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7722.c | |||
@@ -307,18 +307,21 @@ static struct plat_sci_port sci_platform_data[] = { | |||
307 | .flags = UPF_BOOT_AUTOCONF, | 307 | .flags = UPF_BOOT_AUTOCONF, |
308 | .type = PORT_SCIF, | 308 | .type = PORT_SCIF, |
309 | .irqs = { 80, 80, 80, 80 }, | 309 | .irqs = { 80, 80, 80, 80 }, |
310 | .clk = "scif0", | ||
310 | }, | 311 | }, |
311 | { | 312 | { |
312 | .mapbase = 0xffe10000, | 313 | .mapbase = 0xffe10000, |
313 | .flags = UPF_BOOT_AUTOCONF, | 314 | .flags = UPF_BOOT_AUTOCONF, |
314 | .type = PORT_SCIF, | 315 | .type = PORT_SCIF, |
315 | .irqs = { 81, 81, 81, 81 }, | 316 | .irqs = { 81, 81, 81, 81 }, |
317 | .clk = "scif1", | ||
316 | }, | 318 | }, |
317 | { | 319 | { |
318 | .mapbase = 0xffe20000, | 320 | .mapbase = 0xffe20000, |
319 | .flags = UPF_BOOT_AUTOCONF, | 321 | .flags = UPF_BOOT_AUTOCONF, |
320 | .type = PORT_SCIF, | 322 | .type = PORT_SCIF, |
321 | .irqs = { 82, 82, 82, 82 }, | 323 | .irqs = { 82, 82, 82, 82 }, |
324 | .clk = "scif2", | ||
322 | }, | 325 | }, |
323 | { | 326 | { |
324 | .flags = 0, | 327 | .flags = 0, |
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7723.c b/arch/sh/kernel/cpu/sh4a/setup-sh7723.c index 484ca2dabdeb..1429fc5e4286 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7723.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7723.c | |||
@@ -321,31 +321,37 @@ static struct plat_sci_port sci_platform_data[] = { | |||
321 | .flags = UPF_BOOT_AUTOCONF, | 321 | .flags = UPF_BOOT_AUTOCONF, |
322 | .type = PORT_SCIF, | 322 | .type = PORT_SCIF, |
323 | .irqs = { 80, 80, 80, 80 }, | 323 | .irqs = { 80, 80, 80, 80 }, |
324 | .clk = "scif0", | ||
324 | },{ | 325 | },{ |
325 | .mapbase = 0xffe10000, | 326 | .mapbase = 0xffe10000, |
326 | .flags = UPF_BOOT_AUTOCONF, | 327 | .flags = UPF_BOOT_AUTOCONF, |
327 | .type = PORT_SCIF, | 328 | .type = PORT_SCIF, |
328 | .irqs = { 81, 81, 81, 81 }, | 329 | .irqs = { 81, 81, 81, 81 }, |
330 | .clk = "scif1", | ||
329 | },{ | 331 | },{ |
330 | .mapbase = 0xffe20000, | 332 | .mapbase = 0xffe20000, |
331 | .flags = UPF_BOOT_AUTOCONF, | 333 | .flags = UPF_BOOT_AUTOCONF, |
332 | .type = PORT_SCIF, | 334 | .type = PORT_SCIF, |
333 | .irqs = { 82, 82, 82, 82 }, | 335 | .irqs = { 82, 82, 82, 82 }, |
336 | .clk = "scif2", | ||
334 | },{ | 337 | },{ |
335 | .mapbase = 0xa4e30000, | 338 | .mapbase = 0xa4e30000, |
336 | .flags = UPF_BOOT_AUTOCONF, | 339 | .flags = UPF_BOOT_AUTOCONF, |
337 | .type = PORT_SCIFA, | 340 | .type = PORT_SCIFA, |
338 | .irqs = { 56, 56, 56, 56 }, | 341 | .irqs = { 56, 56, 56, 56 }, |
342 | .clk = "scif3", | ||
339 | },{ | 343 | },{ |
340 | .mapbase = 0xa4e40000, | 344 | .mapbase = 0xa4e40000, |
341 | .flags = UPF_BOOT_AUTOCONF, | 345 | .flags = UPF_BOOT_AUTOCONF, |
342 | .type = PORT_SCIFA, | 346 | .type = PORT_SCIFA, |
343 | .irqs = { 88, 88, 88, 88 }, | 347 | .irqs = { 88, 88, 88, 88 }, |
348 | .clk = "scif4", | ||
344 | },{ | 349 | },{ |
345 | .mapbase = 0xa4e50000, | 350 | .mapbase = 0xa4e50000, |
346 | .flags = UPF_BOOT_AUTOCONF, | 351 | .flags = UPF_BOOT_AUTOCONF, |
347 | .type = PORT_SCIFA, | 352 | .type = PORT_SCIFA, |
348 | .irqs = { 109, 109, 109, 109 }, | 353 | .irqs = { 109, 109, 109, 109 }, |
354 | .clk = "scif5", | ||
349 | }, { | 355 | }, { |
350 | .flags = 0, | 356 | .flags = 0, |
351 | } | 357 | } |
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7724.c b/arch/sh/kernel/cpu/sh4a/setup-sh7724.c index e074951b88b9..a3039ce1a6a5 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7724.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7724.c | |||
@@ -30,31 +30,37 @@ static struct plat_sci_port sci_platform_data[] = { | |||
30 | .flags = UPF_BOOT_AUTOCONF, | 30 | .flags = UPF_BOOT_AUTOCONF, |
31 | .type = PORT_SCIF, | 31 | .type = PORT_SCIF, |
32 | .irqs = { 80, 80, 80, 80 }, | 32 | .irqs = { 80, 80, 80, 80 }, |
33 | .clk = "scif0", | ||
33 | }, { | 34 | }, { |
34 | .mapbase = 0xffe10000, | 35 | .mapbase = 0xffe10000, |
35 | .flags = UPF_BOOT_AUTOCONF, | 36 | .flags = UPF_BOOT_AUTOCONF, |
36 | .type = PORT_SCIF, | 37 | .type = PORT_SCIF, |
37 | .irqs = { 81, 81, 81, 81 }, | 38 | .irqs = { 81, 81, 81, 81 }, |
39 | .clk = "scif1", | ||
38 | }, { | 40 | }, { |
39 | .mapbase = 0xffe20000, | 41 | .mapbase = 0xffe20000, |
40 | .flags = UPF_BOOT_AUTOCONF, | 42 | .flags = UPF_BOOT_AUTOCONF, |
41 | .type = PORT_SCIF, | 43 | .type = PORT_SCIF, |
42 | .irqs = { 82, 82, 82, 82 }, | 44 | .irqs = { 82, 82, 82, 82 }, |
45 | .clk = "scif2", | ||
43 | }, { | 46 | }, { |
44 | .mapbase = 0xa4e30000, | 47 | .mapbase = 0xa4e30000, |
45 | .flags = UPF_BOOT_AUTOCONF, | 48 | .flags = UPF_BOOT_AUTOCONF, |
46 | .type = PORT_SCIFA, | 49 | .type = PORT_SCIFA, |
47 | .irqs = { 56, 56, 56, 56 }, | 50 | .irqs = { 56, 56, 56, 56 }, |
51 | .clk = "scif3", | ||
48 | }, { | 52 | }, { |
49 | .mapbase = 0xa4e40000, | 53 | .mapbase = 0xa4e40000, |
50 | .flags = UPF_BOOT_AUTOCONF, | 54 | .flags = UPF_BOOT_AUTOCONF, |
51 | .type = PORT_SCIFA, | 55 | .type = PORT_SCIFA, |
52 | .irqs = { 88, 88, 88, 88 }, | 56 | .irqs = { 88, 88, 88, 88 }, |
57 | .clk = "scif4", | ||
53 | }, { | 58 | }, { |
54 | .mapbase = 0xa4e50000, | 59 | .mapbase = 0xa4e50000, |
55 | .flags = UPF_BOOT_AUTOCONF, | 60 | .flags = UPF_BOOT_AUTOCONF, |
56 | .type = PORT_SCIFA, | 61 | .type = PORT_SCIFA, |
57 | .irqs = { 109, 109, 109, 109 }, | 62 | .irqs = { 109, 109, 109, 109 }, |
63 | .clk = "scif5", | ||
58 | }, { | 64 | }, { |
59 | .flags = 0, | 65 | .flags = 0, |
60 | } | 66 | } |