Giacomo Travaglini has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/25432 )
Change subject: dev-arm: PL031, fix AMBA ID and clock names
......................................................................
dev-arm: PL031, fix AMBA ID and clock names
This patch fixes the AMBA ID of the PL031 RTC. It also adds the
"clock-names" property to its auto-DTB generation. This fixes and
enables correct probing from Linux.
Change-Id: I331bfa81664f57a35f21f35d658772eb40380e35
---
M src/dev/arm/RealView.py
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/dev/arm/RealView.py b/src/dev/arm/RealView.py
index 2de99ca..3d87be8 100644
--- a/src/dev/arm/RealView.py
+++ b/src/dev/arm/RealView.py
@@ -489,7 +489,7 @@
type = 'PL031'
cxx_header = "dev/arm/rtc_pl031.hh"
time = Param.Time('01/01/2009', "System time to use ('Now' for actual
time)")
- amba_id = 0x00341031
+ amba_id = 0x00041031
def generateDeviceTree(self, state):
node = self.generateBasicPioDeviceNode(state, 'rtc', self.pio_addr,
@@ -498,6 +498,7 @@
node.appendCompatible(["arm,pl031", "arm,primecell"])
clock = state.phandle(self.clk_domain.unproxy(self))
node.append(FdtPropertyWords("clocks", clock))
+ node.append(FdtPropertyStrings("clock-names", ["apb_pclk"]))
yield node
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/25432
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I331bfa81664f57a35f21f35d658772eb40380e35
Gerrit-Change-Number: 25432
Gerrit-PatchSet: 1
Gerrit-Owner: Giacomo Travaglini <giacomo.travagl...@arm.com>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list
gem5-dev@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev