summaryrefslogtreecommitdiff
path: root/src/dev/arm/RealView.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev/arm/RealView.py')
-rw-r--r--src/dev/arm/RealView.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/dev/arm/RealView.py b/src/dev/arm/RealView.py
index 6e8630a96..37cf72ede 100644
--- a/src/dev/arm/RealView.py
+++ b/src/dev/arm/RealView.py
@@ -404,6 +404,10 @@ class GenericTimer(ClockedObject):
int_virt = Param.ArmPPI("Virtual timer interrupt")
int_hyp = Param.ArmPPI("Hypervisor timer interrupt")
+ freqs = VectorParam.UInt32([0x01800000], "Frequencies available for the "
+ "system counter (in Hz). First element is the base frequency, "
+ "following are alternative lower ones which must be exact divisors")
+
def generateDeviceTree(self, state):
node = FdtNode("timer")
@@ -430,6 +434,10 @@ class GenericTimerMem(PioDevice):
int_phys = Param.ArmSPI("Physical Interrupt")
int_virt = Param.ArmSPI("Virtual Interrupt")
+ freqs = VectorParam.UInt32([0x01800000], "Frequencies available for the "
+ "system counter (in Hz). First element is the base frequency, "
+ "following are alternative lower ones which must be exact divisors")
+
class PL031(AmbaIntDevice):
type = 'PL031'
cxx_header = "dev/arm/rtc_pl031.hh"