aboutsummaryrefslogtreecommitdiff
path: root/hw/versatilepb.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-10-12 11:54:39 +0100
committerPeter Maydell <peter.maydell@linaro.org>2012-10-12 11:54:39 +0100
commit853e65e0b45403477c8a89afdb4c0abd4c3f97da (patch)
tree576f92c75eaa715b1a45d508e5419b00b81fbb0f /hw/versatilepb.c
parentf4741402ab8afe9014b6a54aed4cb0423041dbcb (diff)
versatilepb: add gpio pl061 support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/versatilepb.c')
-rw-r--r--hw/versatilepb.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/versatilepb.c b/hw/versatilepb.c
index b3f8077146..7b1b0256aa 100644
--- a/hw/versatilepb.c
+++ b/hw/versatilepb.c
@@ -266,6 +266,11 @@ static void versatile_init(ram_addr_t ram_size,
sysbus_create_simple("sp804", 0x101e2000, pic[4]);
sysbus_create_simple("sp804", 0x101e3000, pic[5]);
+ sysbus_create_simple("pl061", 0x101e4000, pic[6]);
+ sysbus_create_simple("pl061", 0x101e5000, pic[7]);
+ sysbus_create_simple("pl061", 0x101e6000, pic[8]);
+ sysbus_create_simple("pl061", 0x101e7000, pic[9]);
+
/* The versatile/PB actually has a modified Color LCD controller
that includes hardware cursor support from the PL111. */
dev = sysbus_create_simple("pl110_versatile", 0x10120000, pic[16]);