aboutsummaryrefslogtreecommitdiff
path: root/hw/arm/iotkit.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/arm/iotkit.c')
-rw-r--r--hw/arm/iotkit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm/iotkit.c b/hw/arm/iotkit.c
index c76d3ed743..8cadc8b160 100644
--- a/hw/arm/iotkit.c
+++ b/hw/arm/iotkit.c
@@ -382,7 +382,7 @@ static void iotkit_realize(DeviceState *dev, Error **errp)
return;
}
sysbus_connect_irq(SYS_BUS_DEVICE(&s->timer1), 0,
- qdev_get_gpio_in(DEVICE(&s->armv7m), 3));
+ qdev_get_gpio_in(DEVICE(&s->armv7m), 4));
mr = sysbus_mmio_get_region(SYS_BUS_DEVICE(&s->timer1), 0);
object_property_set_link(OBJECT(&s->apb_ppc0), OBJECT(mr), "port[1]", &err);
if (err) {