RealView.py (8872:9f1c4729d89d) | RealView.py (8906:b04b87b6ad84) |
---|---|
1# Copyright (c) 2009-2012 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 --- 176 unchanged lines hidden (view full) --- 185 watchdog_fake = AmbaFake(pio_addr=0x10010000) 186 gpio0_fake = AmbaFake(pio_addr=0x10013000) 187 gpio1_fake = AmbaFake(pio_addr=0x10014000) 188 gpio2_fake = AmbaFake(pio_addr=0x10015000) 189 ssp_fake = AmbaFake(pio_addr=0x1000d000) 190 sci_fake = AmbaFake(pio_addr=0x1000e000) 191 aaci_fake = AmbaFake(pio_addr=0x10004000) 192 mmc_fake = AmbaFake(pio_addr=0x10005000) | 1# Copyright (c) 2009-2012 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 --- 176 unchanged lines hidden (view full) --- 185 watchdog_fake = AmbaFake(pio_addr=0x10010000) 186 gpio0_fake = AmbaFake(pio_addr=0x10013000) 187 gpio1_fake = AmbaFake(pio_addr=0x10014000) 188 gpio2_fake = AmbaFake(pio_addr=0x10015000) 189 ssp_fake = AmbaFake(pio_addr=0x1000d000) 190 sci_fake = AmbaFake(pio_addr=0x1000e000) 191 aaci_fake = AmbaFake(pio_addr=0x10004000) 192 mmc_fake = AmbaFake(pio_addr=0x10005000) |
193 rtc_fake = AmbaFake(pio_addr=0x10017000, amba_id=0x41031) | 193 rtc = PL031(pio_addr=0x10017000, int_num=42) |
194 195 196 # Attach I/O devices that are on chip and also set the appropriate 197 # ranges for the bridge 198 def attachOnChipIO(self, bus, bridge): 199 self.gic.pio = bus.master 200 self.l2x0_fake.pio = bus.master 201 self.a9scu.pio = bus.master --- 30 unchanged lines hidden (view full) --- 232 self.watchdog_fake.pio = bus.master 233 self.gpio0_fake.pio = bus.master 234 self.gpio1_fake.pio = bus.master 235 self.gpio2_fake.pio = bus.master 236 self.ssp_fake.pio = bus.master 237 self.sci_fake.pio = bus.master 238 self.aaci_fake.pio = bus.master 239 self.mmc_fake.pio = bus.master | 194 195 196 # Attach I/O devices that are on chip and also set the appropriate 197 # ranges for the bridge 198 def attachOnChipIO(self, bus, bridge): 199 self.gic.pio = bus.master 200 self.l2x0_fake.pio = bus.master 201 self.a9scu.pio = bus.master --- 30 unchanged lines hidden (view full) --- 232 self.watchdog_fake.pio = bus.master 233 self.gpio0_fake.pio = bus.master 234 self.gpio1_fake.pio = bus.master 235 self.gpio2_fake.pio = bus.master 236 self.ssp_fake.pio = bus.master 237 self.sci_fake.pio = bus.master 238 self.aaci_fake.pio = bus.master 239 self.mmc_fake.pio = bus.master |
240 self.rtc_fake.pio = bus.master | 240 self.rtc.pio = bus.master |
241 self.flash_fake.pio = bus.master 242 243# Reference for memory map and interrupt number 244# RealView Emulation Baseboard User Guide (ARM DUI 0143B) 245# Chapter 4: Programmer's Reference 246class RealViewEB(RealView): 247 uart = Pl011(pio_addr=0x10009000, int_num=44) 248 realview_io = RealViewCtrl(pio_addr=0x10000000) --- 256 unchanged lines hidden --- | 241 self.flash_fake.pio = bus.master 242 243# Reference for memory map and interrupt number 244# RealView Emulation Baseboard User Guide (ARM DUI 0143B) 245# Chapter 4: Programmer's Reference 246class RealViewEB(RealView): 247 uart = Pl011(pio_addr=0x10009000, int_num=44) 248 realview_io = RealViewCtrl(pio_addr=0x10000000) --- 256 unchanged lines hidden --- |