diff --git a/utils/regtools/desc/regs-vsoc2000.xml b/utils/regtools/desc/regs-vsoc2000.xml
index 858c13254c..db51e8eb98 100644
--- a/utils/regtools/desc/regs-vsoc2000.xml
+++ b/utils/regtools/desc/regs-vsoc2000.xml
@@ -66,16 +66,30 @@
0x10
+ read-only
STATUS
- Bit is set to 1 is the interrupt is pending, write a 1 to the clear variant to clear it. Secured interrupts can only be cleared or polled by secured processors (non-secure will always read 0 for those).
+ Bit is set to 1 is the interrupt is pending. Secured interrupts can only be polled by secured processors (non-secure will always read 0 for those).
+ 0
+ 32
+
+
+
+
+ clear
+ Interrupt clear register
+
+ CLEAR
+ 0x14
+
+
+ write-only
+
+ CLEAR
+ Write 1 to clear a pending interrupt. Secured interrupts can only be cleared by secured processors.
0
32
-
- clr
- 8
-
@@ -335,7 +349,7 @@
8
- mask
+ tog
12
@@ -391,11 +405,6 @@
8
read-only
-
- debug
- 4
- write-only
-
diff --git a/utils/regtools/headergen_v2.cpp b/utils/regtools/headergen_v2.cpp
new file mode 100644
index 0000000000..bc056aaeb5
--- /dev/null
+++ b/utils/regtools/headergen_v2.cpp
@@ -0,0 +1,1991 @@
+/***************************************************************************
+ * __________ __ ___.
+ * Open \______ \ ____ ____ | | _\_ |__ _______ ___
+ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+ * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+ * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+ * \/ \/ \/ \/ \/
+ * $Id$
+ *
+ * Copyright (C) 2015 by Amaury Pouly
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ****************************************************************************/
+#include "soc_desc.hpp"
+#include
+#include
+#include
+#include