RealView.py (13805:f6d331fa1303) RealView.py (13814:90cdf66cca54)
1# Copyright (c) 2009-2018 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 714 unchanged lines hidden (view full) ---

723 realview_io = RealViewCtrl(proc_id0=0x14000000, proc_id1=0x14000000,
724 idreg=0x02250000, pio_addr=0x1C010000)
725
726 mcc = VExpressMCC()
727 dcc = CoreTile2A15DCC()
728
729 ### On-chip devices ###
730 gic = Gic400(dist_addr=0x2C001000, cpu_addr=0x2C002000)
1# Copyright (c) 2009-2018 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 714 unchanged lines hidden (view full) ---

723 realview_io = RealViewCtrl(proc_id0=0x14000000, proc_id1=0x14000000,
724 idreg=0x02250000, pio_addr=0x1C010000)
725
726 mcc = VExpressMCC()
727 dcc = CoreTile2A15DCC()
728
729 ### On-chip devices ###
730 gic = Gic400(dist_addr=0x2C001000, cpu_addr=0x2C002000)
731 vgic = VGic(vcpu_addr=0x2c006000, hv_addr=0x2c004000, ppint=25)
731 vgic = VGic(vcpu_addr=0x2c006000, hv_addr=0x2c004000, maint_int=25)
732
733 local_cpu_timer = CpuLocalTimer(int_timer=ArmPPI(num=29),
734 int_watchdog=ArmPPI(num=30),
735 pio_addr=0x2C080000)
736
737 hdlcd = HDLcd(pxl_clk=dcc.osc_pxl,
738 pio_addr=0x2b000000, int_num=117,
739 workaround_swap_rb=True)

--- 317 unchanged lines hidden (view full) ---

1057 node.append(FdtPropertyWords("arm,hbi", [0x0]))
1058 node.append(FdtPropertyWords("arm,vexpress,site", [0xf]))
1059
1060 yield node
1061
1062class VExpress_GEM5_V1_Base(VExpress_GEM5_Base):
1063 gic = kvm_gicv2_class(dist_addr=0x2c001000, cpu_addr=0x2c002000,
1064 it_lines=512)
732
733 local_cpu_timer = CpuLocalTimer(int_timer=ArmPPI(num=29),
734 int_watchdog=ArmPPI(num=30),
735 pio_addr=0x2C080000)
736
737 hdlcd = HDLcd(pxl_clk=dcc.osc_pxl,
738 pio_addr=0x2b000000, int_num=117,
739 workaround_swap_rb=True)

--- 317 unchanged lines hidden (view full) ---

1057 node.append(FdtPropertyWords("arm,hbi", [0x0]))
1058 node.append(FdtPropertyWords("arm,vexpress,site", [0xf]))
1059
1060 yield node
1061
1062class VExpress_GEM5_V1_Base(VExpress_GEM5_Base):
1063 gic = kvm_gicv2_class(dist_addr=0x2c001000, cpu_addr=0x2c002000,
1064 it_lines=512)
1065 vgic = VGic(vcpu_addr=0x2c006000, hv_addr=0x2c004000, ppint=25)
1065 vgic = VGic(vcpu_addr=0x2c006000, hv_addr=0x2c004000, maint_int=25)
1066 gicv2m = Gicv2m()
1067 gicv2m.frames = [
1068 Gicv2mFrame(spi_base=256, spi_len=64, addr=0x2c1c0000),
1069 ]
1070
1071 def _on_chip_devices(self):
1072 return super(VExpress_GEM5_V1_Base,self)._on_chip_devices() + [
1073 self.gic, self.vgic, self.gicv2m,

--- 32 unchanged lines hidden ---
1066 gicv2m = Gicv2m()
1067 gicv2m.frames = [
1068 Gicv2mFrame(spi_base=256, spi_len=64, addr=0x2c1c0000),
1069 ]
1070
1071 def _on_chip_devices(self):
1072 return super(VExpress_GEM5_V1_Base,self)._on_chip_devices() + [
1073 self.gic, self.vgic, self.gicv2m,

--- 32 unchanged lines hidden ---