aboutsummaryrefslogtreecommitdiff
path: root/hw/xilinx_zynq.c
diff options
context:
space:
mode:
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>2012-10-29 11:34:38 +1000
committerGerd Hoffmann <kraxel@redhat.com>2012-11-01 15:17:57 +0100
commit892776ce02e3915b8db9d85935ea144ee5a1a41a (patch)
tree771b30fe2cd1227349f69a79f37715565f535182 /hw/xilinx_zynq.c
parente433785a768391795e88fbbdd75bbd34859666d3 (diff)
xilinx_zynq: add USB controllers
Add the two usb controllers in Zynq. Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/xilinx_zynq.c')
-rw-r--r--hw/xilinx_zynq.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/xilinx_zynq.c b/hw/xilinx_zynq.c
index 00262350b6..1f12a3d1ad 100644
--- a/hw/xilinx_zynq.c
+++ b/hw/xilinx_zynq.c
@@ -166,6 +166,9 @@ static void zynq_init(QEMUMachineInitArgs *args)
zynq_init_spi_flashes(0xE0007000, pic[81-IRQ_OFFSET], false);
zynq_init_spi_flashes(0xE000D000, pic[51-IRQ_OFFSET], true);
+ sysbus_create_simple("xlnx,ps7-usb", 0xE0002000, pic[53-IRQ_OFFSET]);
+ sysbus_create_simple("xlnx,ps7-usb", 0xE0003000, pic[75-IRQ_OFFSET]);
+
sysbus_create_simple("cadence_uart", 0xE0000000, pic[59-IRQ_OFFSET]);
sysbus_create_simple("cadence_uart", 0xE0001000, pic[82-IRQ_OFFSET]);