RealView.py (11297:d1f8610cdffd) RealView.py (11421:74c1e6513bd0)
1# Copyright (c) 2009-2015 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

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

124 # about the site/position/dcc/device allocation.
125 site = Param.UInt8("Board Site")
126 position = Param.UInt8("Position in device stack")
127 dcc = Param.UInt8("Daughterboard Configuration Controller")
128 device = Param.UInt8("Device ID")
129
130 freq = Param.Clock("Default frequency")
131
1# Copyright (c) 2009-2015 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

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

124 # about the site/position/dcc/device allocation.
125 site = Param.UInt8("Board Site")
126 position = Param.UInt8("Position in device stack")
127 dcc = Param.UInt8("Daughterboard Configuration Controller")
128 device = Param.UInt8("Device ID")
129
130 freq = Param.Clock("Default frequency")
131
132class RealViewTemperatureSensor(SimObject):
133 type = 'RealViewTemperatureSensor'
134 cxx_header = "dev/arm/rv_ctrl.hh"
135
136 parent = Param.RealViewCtrl(Parent.any, "RealView controller")
137
138 system = Param.System(Parent.any, "system")
139
140 # See ARM DUI 0447J (ARM Motherboard Express uATX -- V2M-P1) and
141 # the individual core/logic tile reference manuals for details
142 # about the site/position/dcc/device allocation.
143 site = Param.UInt8("Board Site")
144 position = Param.UInt8("Position in device stack")
145 dcc = Param.UInt8("Daughterboard Configuration Controller")
146 device = Param.UInt8("Device ID")
147
132class VExpressMCC(SubSystem):
133 """ARM V2M-P1 Motherboard Configuration Controller
134
135This subsystem describes a subset of the devices that sit behind the
136motherboard configuration controller on the the ARM Motherboard
137Express (V2M-P1) motherboard. See ARM DUI 0447J for details.
138 """
139
140 class Osc(RealViewOsc):
141 site, position, dcc = (0, 0, 0)
142
148class VExpressMCC(SubSystem):
149 """ARM V2M-P1 Motherboard Configuration Controller
150
151This subsystem describes a subset of the devices that sit behind the
152motherboard configuration controller on the the ARM Motherboard
153Express (V2M-P1) motherboard. See ARM DUI 0447J for details.
154 """
155
156 class Osc(RealViewOsc):
157 site, position, dcc = (0, 0, 0)
158
159 class Temperature(RealViewTemperatureSensor):
160 site, position, dcc = (0, 0, 0)
161
143 osc_mcc = Osc(device=0, freq="50MHz")
144 osc_clcd = Osc(device=1, freq="23.75MHz")
145 osc_peripheral = Osc(device=2, freq="24MHz")
146 osc_system_bus = Osc(device=4, freq="24MHz")
147
162 osc_mcc = Osc(device=0, freq="50MHz")
163 osc_clcd = Osc(device=1, freq="23.75MHz")
164 osc_peripheral = Osc(device=2, freq="24MHz")
165 osc_system_bus = Osc(device=4, freq="24MHz")
166
167 # See Table 4.19 in ARM DUI 0447J (Motherboard Express uATX TRM).
168 temp_crtl = Temperature(device=0)
169
148class CoreTile2A15DCC(SubSystem):
149 """ARM CoreTile Express A15x2 Daughterboard Configuration Controller
150
151This subsystem describes a subset of the devices that sit behind the
152daughterboard configuration controller on a CoreTile Express A15x2. See
153ARM DUI 0604E for details.
154 """
155

--- 759 unchanged lines hidden ---
170class CoreTile2A15DCC(SubSystem):
171 """ARM CoreTile Express A15x2 Daughterboard Configuration Controller
172
173This subsystem describes a subset of the devices that sit behind the
174daughterboard configuration controller on a CoreTile Express A15x2. See
175ARM DUI 0604E for details.
176 """
177

--- 759 unchanged lines hidden ---