From 5f73d4ac9741f58fd00ccd03eac92c0c60817658 Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Wed, 4 May 2011 20:38:27 -0500 Subject: ARM: Add snoop control unit device. --- src/dev/arm/RealView.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/dev/arm/RealView.py') diff --git a/src/dev/arm/RealView.py b/src/dev/arm/RealView.py index 8a43c5b8d..dd694cd45 100644 --- a/src/dev/arm/RealView.py +++ b/src/dev/arm/RealView.py @@ -70,6 +70,9 @@ class AmbaDmaDevice(DmaDevice): int_num = Param.UInt32("Interrupt number that connects to GIC") amba_id = Param.UInt32("ID of AMBA device for kernel detection") +class A9SCU(BasicPioDevice): + type = 'A9SCU' + class RealViewCtrl(BasicPioDevice): type = 'RealViewCtrl' proc_id = Param.UInt32(0x0C000000, "Platform ID") @@ -132,6 +135,7 @@ class RealViewPBX(RealView): clcd = Pl111(pio_addr=0x10020000, int_num=55) kmi0 = Pl050(pio_addr=0x10006000, int_num=52) kmi1 = Pl050(pio_addr=0x10007000, int_num=53, is_mouse=True) + a9scu = A9SCU(pio_addr=0x1f000000) cf_ctrl = IdeController(disks=[], pci_func=0, pci_dev=0, pci_bus=0, io_shift = 1, ctrl_offset = 2, Command = 0x1, BAR0 = 0x18000000, BAR0Size = '16B', @@ -162,6 +166,7 @@ class RealViewPBX(RealView): def attachOnChipIO(self, bus): self.gic.pio = bus.port self.l2x0_fake.pio = bus.port + self.a9scu.pio = bus.port # Attach I/O devices to specified bus object. Can't do this # earlier, since the bus object itself is typically defined at the -- cgit v1.2.3