RealView.py (7587:177151a54462) RealView.py (7696:1e789578729e)
1# Copyright (c) 2009 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

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

96class RealViewPBX(RealView):
97 uart = Pl011(pio_addr=0x10009000, int_num=44)
98 realview_io = RealViewCtrl(pio_addr=0x10000000)
99 gic = Gic()
100 timer0 = Sp804(int_num0=36, int_num1=36, pio_addr=0x10011000)
101 timer1 = Sp804(int_num0=37, int_num1=37, pio_addr=0x10012000)
102
103 l2x0_fake = IsaFake(pio_addr=0x1f002000, pio_size=0xfff, warn_access="1")
1# Copyright (c) 2009 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

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

96class RealViewPBX(RealView):
97 uart = Pl011(pio_addr=0x10009000, int_num=44)
98 realview_io = RealViewCtrl(pio_addr=0x10000000)
99 gic = Gic()
100 timer0 = Sp804(int_num0=36, int_num1=36, pio_addr=0x10011000)
101 timer1 = Sp804(int_num0=37, int_num1=37, pio_addr=0x10012000)
102
103 l2x0_fake = IsaFake(pio_addr=0x1f002000, pio_size=0xfff, warn_access="1")
104 flash_fake = IsaFake(pio_addr=0x40000000, pio_size=0x4000000)
104 dmac_fake = AmbaFake(pio_addr=0x10030000)
105 uart1_fake = AmbaFake(pio_addr=0x1000a000)
106 uart2_fake = AmbaFake(pio_addr=0x1000b000)
107 uart3_fake = AmbaFake(pio_addr=0x1000c000)
108 smc_fake = AmbaFake(pio_addr=0x100e1000)
109 clcd_fake = AmbaFake(pio_addr=0x10020000)
110 sp810_fake = AmbaFake(pio_addr=0x10001000, ignore_access=True)
111 watchdog_fake = AmbaFake(pio_addr=0x10010000)

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

148 self.gpio2_fake.pio = bus.port
149 self.ssp_fake.pio = bus.port
150 self.sci_fake.pio = bus.port
151 self.aaci_fake.pio = bus.port
152 self.mmc_fake.pio = bus.port
153 self.kmi0_fake.pio = bus.port
154 self.kmi1_fake.pio = bus.port
155 self.rtc_fake.pio = bus.port
105 dmac_fake = AmbaFake(pio_addr=0x10030000)
106 uart1_fake = AmbaFake(pio_addr=0x1000a000)
107 uart2_fake = AmbaFake(pio_addr=0x1000b000)
108 uart3_fake = AmbaFake(pio_addr=0x1000c000)
109 smc_fake = AmbaFake(pio_addr=0x100e1000)
110 clcd_fake = AmbaFake(pio_addr=0x10020000)
111 sp810_fake = AmbaFake(pio_addr=0x10001000, ignore_access=True)
112 watchdog_fake = AmbaFake(pio_addr=0x10010000)

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

149 self.gpio2_fake.pio = bus.port
150 self.ssp_fake.pio = bus.port
151 self.sci_fake.pio = bus.port
152 self.aaci_fake.pio = bus.port
153 self.mmc_fake.pio = bus.port
154 self.kmi0_fake.pio = bus.port
155 self.kmi1_fake.pio = bus.port
156 self.rtc_fake.pio = bus.port
157 self.flash_fake.pio = bus.port
156
157class RealViewEB(RealView):
158 uart = Pl011(pio_addr=0x10009000, int_num=44)
159 realview_io = RealViewCtrl(pio_addr=0x10000000)
160 gic = Gic(dist_addr=0x10041000, cpu_addr=0x10040000)
161 timer0 = Sp804(int_num0=36, int_num1=36, pio_addr=0x10011000)
162 timer1 = Sp804(int_num0=37, int_num1=37, pio_addr=0x10012000)
163

--- 54 unchanged lines hidden ---
158
159class RealViewEB(RealView):
160 uart = Pl011(pio_addr=0x10009000, int_num=44)
161 realview_io = RealViewCtrl(pio_addr=0x10000000)
162 gic = Gic(dist_addr=0x10041000, cpu_addr=0x10040000)
163 timer0 = Sp804(int_num0=36, int_num1=36, pio_addr=0x10011000)
164 timer1 = Sp804(int_num0=37, int_num1=37, pio_addr=0x10012000)
165

--- 54 unchanged lines hidden ---