[0] = DEFINE_RES_MEM_NAMED(S3C64XX_PA_XM0CSN4, 1, "dat"),
 };
 
-static struct platform_device crag6410_mmgpio = {
+static const struct property_entry crag6410_mmgpio_props[] = {
+       PROPERTY_ENTRY_U32("gpio-mmio,base", MMGPIO_GPIO_BASE),
+       { }
+};
+
+static struct platform_device_info crag6410_mmgpio_devinfo = {
        .name           = "basic-mmio-gpio",
        .id             = -1,
-       .resource       = crag6410_mmgpio_resource,
-       .num_resources  = ARRAY_SIZE(crag6410_mmgpio_resource),
-       .dev.platform_data = &(struct bgpio_pdata) {
-               .base   = MMGPIO_GPIO_BASE,
-       },
+       .res            = crag6410_mmgpio_resource,
+       .num_res        = ARRAY_SIZE(crag6410_mmgpio_resource),
+       .properties     = crag6410_mmgpio_props,
 };
 
 static struct platform_device speyside_device = {
        &crag6410_gpio_keydev,
        &crag6410_dm9k_device,
        &s3c64xx_device_spi0,
-       &crag6410_mmgpio,
        &crag6410_lcd_powerdev,
        &crag6410_backlight_device,
        &speyside_device,
 
        pwm_add_table(crag6410_pwm_lookup, ARRAY_SIZE(crag6410_pwm_lookup));
        platform_add_devices(crag6410_devices, ARRAY_SIZE(crag6410_devices));
+       platform_device_register_full(&crag6410_mmgpio_devinfo);
 
        gpio_led_register_device(-1, &gpio_leds_pdata);