summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2021-07-06 20:52:21 +0100
committerAidan MacDonald <amachronic@protonmail.com>2021-07-08 16:01:38 +0000
commit65aa9ce57067f810d6a8f9417ec7d0a5741b404a (patch)
tree76c1e670943375998a0508ce3a6d2f42faeae7c2 /utils
parenta952cf52d5015e4389c12840aad6837c67dfed6a (diff)
x1000: more CPM register definitions
Change-Id: Ie6fa343a65a6bd19e578664b10bac771289ed0b3
Diffstat (limited to 'utils')
-rw-r--r--utils/reggen-ng/x1000.reggen9
1 files changed, 9 insertions, 0 deletions
diff --git a/utils/reggen-ng/x1000.reggen b/utils/reggen-ng/x1000.reggen
index 339deef483..d34a0eb7bc 100644
--- a/utils/reggen-ng/x1000.reggen
+++ b/utils/reggen-ng/x1000.reggen
@@ -612,6 +612,8 @@ node CPM {
}
reg DRCG 0xd0
+ reg SCRATCH_PROT 0x38
+ reg SCRATCH 0x34
reg USBPCR 0x3c {
bit 31 USB_MODE { enum USB 0; enum OTG 1; }
@@ -757,6 +759,13 @@ node CPM {
bit 2 ERCS
bit 1 BUS_MODE
}
+
+ reg RSR 0x08 {
+ bit 3 HR
+ bit 2 P0R
+ bit 1 WR
+ bit 0 PR
+ }
}
node TCU {