aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c2440
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-s3c2440')
-rw-r--r--arch/arm/mach-s3c2440/mach-anubis.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2440/mach-anubis.c b/arch/arm/mach-s3c2440/mach-anubis.c
index 334379bdfc6e..f151f8939929 100644
--- a/arch/arm/mach-s3c2440/mach-anubis.c
+++ b/arch/arm/mach-s3c2440/mach-anubis.c
@@ -366,6 +366,8 @@ static struct sm501_initdata anubis_sm501_initdata = {
366 .mask = 0, 366 .mask = 0,
367 }, 367 },
368 368
369 .devices = SM501_USE_GPIO,
370
369 /* set the SDRAM and bus clocks */ 371 /* set the SDRAM and bus clocks */
370 .mclk = 72 * MHZ, 372 .mclk = 72 * MHZ,
371 .m1xclk = 144 * MHZ, 373 .m1xclk = 144 * MHZ,
@@ -373,10 +375,12 @@ static struct sm501_initdata anubis_sm501_initdata = {
373 375
374static struct sm501_platdata_gpio_i2c anubis_sm501_gpio_i2c[] = { 376static struct sm501_platdata_gpio_i2c anubis_sm501_gpio_i2c[] = {
375 [0] = { 377 [0] = {
378 .bus_num = 1,
376 .pin_scl = 44, 379 .pin_scl = 44,
377 .pin_sda = 45, 380 .pin_sda = 45,
378 }, 381 },
379 [1] = { 382 [1] = {
383 .bus_num = 2,
380 .pin_scl = 40, 384 .pin_scl = 40,
381 .pin_sda = 41, 385 .pin_sda = 41,
382 }, 386 },
@@ -384,6 +388,7 @@ static struct sm501_platdata_gpio_i2c anubis_sm501_gpio_i2c[] = {
384 388
385static struct sm501_platdata anubis_sm501_platdata = { 389static struct sm501_platdata anubis_sm501_platdata = {
386 .init = &anubis_sm501_initdata, 390 .init = &anubis_sm501_initdata,
391 .gpio_base = -1,
387 .gpio_i2c = anubis_sm501_gpio_i2c, 392 .gpio_i2c = anubis_sm501_gpio_i2c,
388 .gpio_i2c_nr = ARRAY_SIZE(anubis_sm501_gpio_i2c), 393 .gpio_i2c_nr = ARRAY_SIZE(anubis_sm501_gpio_i2c),
389}; 394};