RealView.py (9073:f75ee4849c40) RealView.py (9157:e0bad9d7bbd6)
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

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

113 clock1 = Param.Clock('1MHz', "Clock speed of the input")
114 amba_id = 0x00141804
115
116class CpuLocalTimer(BasicPioDevice):
117 type = 'CpuLocalTimer'
118 gic = Param.Gic(Parent.any, "Gic to use for interrupting")
119 int_num_timer = Param.UInt32("Interrrupt number used per-cpu to GIC")
120 int_num_watchdog = Param.UInt32("Interrupt number for per-cpu watchdog to GIC")
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

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

113 clock1 = Param.Clock('1MHz', "Clock speed of the input")
114 amba_id = 0x00141804
115
116class CpuLocalTimer(BasicPioDevice):
117 type = 'CpuLocalTimer'
118 gic = Param.Gic(Parent.any, "Gic to use for interrupting")
119 int_num_timer = Param.UInt32("Interrrupt number used per-cpu to GIC")
120 int_num_watchdog = Param.UInt32("Interrupt number for per-cpu watchdog to GIC")
121 clock = Param.Clock('1GHz', "Clock speed at which the timer counts")
121 # Override the default clock
122 clock = '1GHz'
122
123class PL031(AmbaIntDevice):
124 type = 'PL031'
125 time = Param.Time('01/01/2009', "System time to use ('Now' for actual time)")
126 amba_id = 0x00341031
127
128class Pl050(AmbaIntDevice):
129 type = 'Pl050'
130 vnc = Param.VncServer(Parent.any, "Vnc server for remote frame buffer display")
131 is_mouse = Param.Bool(False, "Is this interface a mouse, if not a keyboard")
132 int_delay = '1us'
133 amba_id = 0x00141050
134
135class Pl111(AmbaDmaDevice):
136 type = 'Pl111'
123
124class PL031(AmbaIntDevice):
125 type = 'PL031'
126 time = Param.Time('01/01/2009', "System time to use ('Now' for actual time)")
127 amba_id = 0x00341031
128
129class Pl050(AmbaIntDevice):
130 type = 'Pl050'
131 vnc = Param.VncServer(Parent.any, "Vnc server for remote frame buffer display")
132 is_mouse = Param.Bool(False, "Is this interface a mouse, if not a keyboard")
133 int_delay = '1us'
134 amba_id = 0x00141050
135
136class Pl111(AmbaDmaDevice):
137 type = 'Pl111'
137 clock = Param.Clock('24MHz', "Clock speed of the input")
138 # Override the default clock
139 clock = '24MHz'
138 vnc = Param.VncServer(Parent.any, "Vnc server for remote frame buffer display")
139 amba_id = 0x00141111
140
141class RealView(Platform):
142 type = 'RealView'
143 system = Param.System(Parent.any, "system")
144 pci_cfg_base = Param.Addr(0, "Base address of PCI Configuraiton Space")
145 mem_start_addr = Param.Addr(0, "Start address of main memory")

--- 273 unchanged lines hidden ---
140 vnc = Param.VncServer(Parent.any, "Vnc server for remote frame buffer display")
141 amba_id = 0x00141111
142
143class RealView(Platform):
144 type = 'RealView'
145 system = Param.System(Parent.any, "system")
146 pci_cfg_base = Param.Addr(0, "Base address of PCI Configuraiton Space")
147 mem_start_addr = Param.Addr(0, "Start address of main memory")

--- 273 unchanged lines hidden ---