RealView.py (13014:a4f71c3dc602) RealView.py (13015:9e48c6a83b85)
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

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

1136 self.gic, self.vgic, self.gicv2m,
1137 self.generic_timer,
1138 ]
1139
1140 ### Off-chip devices ###
1141 clock24MHz = SrcClockDomain(clock="24MHz",
1142 voltage_domain=VoltageDomain(voltage="3.3V"))
1143
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

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

1136 self.gic, self.vgic, self.gicv2m,
1137 self.generic_timer,
1138 ]
1139
1140 ### Off-chip devices ###
1141 clock24MHz = SrcClockDomain(clock="24MHz",
1142 voltage_domain=VoltageDomain(voltage="3.3V"))
1143
1144 uart0 = Pl011(pio_addr=0x1c090000, int_num=37)
1144 uart = [
1145 Pl011(pio_addr=0x1c090000, int_num=37),
1146 ]
1145
1146 kmi0 = Pl050(pio_addr=0x1c060000, int_num=44, ps2=PS2Keyboard())
1147 kmi1 = Pl050(pio_addr=0x1c070000, int_num=45, ps2=PS2TouchKit())
1148
1149 rtc = PL031(pio_addr=0x1c170000, int_num=36)
1150
1151 ### gem5-specific off-chip devices ###
1152 pci_host = GenericArmPciHost(

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

1161 interrupt=ArmSPI(num=74)),
1162 MmioVirtIO(pio_addr=0x1c140000, pio_size=0x1000,
1163 interrupt=ArmSPI(num=75)),
1164 ]
1165
1166 def _off_chip_devices(self):
1167 return [
1168 self.realview_io,
1147
1148 kmi0 = Pl050(pio_addr=0x1c060000, int_num=44, ps2=PS2Keyboard())
1149 kmi1 = Pl050(pio_addr=0x1c070000, int_num=45, ps2=PS2TouchKit())
1150
1151 rtc = PL031(pio_addr=0x1c170000, int_num=36)
1152
1153 ### gem5-specific off-chip devices ###
1154 pci_host = GenericArmPciHost(

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

1163 interrupt=ArmSPI(num=74)),
1164 MmioVirtIO(pio_addr=0x1c140000, pio_size=0x1000,
1165 interrupt=ArmSPI(num=75)),
1166 ]
1167
1168 def _off_chip_devices(self):
1169 return [
1170 self.realview_io,
1169 self.uart0,
1171 self.uart[0],
1170 self.kmi0,
1171 self.kmi1,
1172 self.rtc,
1173 self.pci_host,
1174 self.energy_ctrl,
1175 self.clock24MHz,
1176 self.vio[0],
1177 self.vio[1],

--- 44 unchanged lines hidden ---
1172 self.kmi0,
1173 self.kmi1,
1174 self.rtc,
1175 self.pci_host,
1176 self.energy_ctrl,
1177 self.clock24MHz,
1178 self.vio[0],
1179 self.vio[1],

--- 44 unchanged lines hidden ---