mirror of
https://github.com/linux-msm/decodepurr.git
synced 2026-08-13 13:14:57 -07:00
Code dump with a few minor improvements. Let's develop here in the open and keep register maps in a private repo. Signed-off-by: Casey Connolly <casey.connolly@linaro.org>
50 lines
2.1 KiB
Plaintext
50 lines
2.1 KiB
Plaintext
config 16. 8.
|
|
width 6.
|
|
tree "DEMO_BLOCK"
|
|
base ad:0x0100000
|
|
tree "DEMO_BLOCK_REGS"
|
|
tree "DEMO_REGXY"
|
|
group.long 0x0--0x3 "DEMO_REGXY (at 0x0100000, Read)"
|
|
line.long 0x0 "VALUE"
|
|
textline "BITS"
|
|
textline ""
|
|
hexmask.long.byte 0x0 0x10--0x17 1 " [23:16] Y = "
|
|
textline ""
|
|
hexmask.long.word 0x0 0x0--0xf 1 " [15: 0] X = "
|
|
tree.end
|
|
tree "DEMO_BLOCK_ID"
|
|
group.long 0x4--0x7 "DEMO_BLOCK_ID (at 0x0100004, Read)"
|
|
line.long 0x0 "VALUE"
|
|
textline "BITS"
|
|
textline ""
|
|
hexmask.long.long 0x0 0x0--0x1f 1 " [31: 0] ID = "
|
|
tree.end
|
|
tree "DEMO_BLOCK_CFG"
|
|
group.long 0x20--0x23 "DEMO_BLOCK_CFG (at 0x0100020, Read)"
|
|
line.long 0x0 "VALUE"
|
|
textline "BITS"
|
|
textline ""
|
|
hexmask.long.word 0x0 0x16--0x1f 1 " [31:22] FIELD0 = "
|
|
textline ""
|
|
hexmask.long.byte 0x0 0x10--0x15 1 " [21:16] ADDRSPACE = "
|
|
textline ""
|
|
bitfld.long 0x0 0xe--0xf " [15:14] CFG1 = " "0, 1, 2, 3"
|
|
textline ""
|
|
bitfld.long 0x0 0xb--0xd " [13:11] CFG2 = " "0, 1, 2, 3, 4, 5, 6, 7"
|
|
textline ""
|
|
bitfld.long 0x0 0x8--0xa " [10: 8] ERRCODE = " "0, 1, 2, 3, 4, 5, 6, 7"
|
|
textline ""
|
|
bitfld.long 0x0 0x7--0x7 " [ 7] RSV0 = " "0, 1"
|
|
textline ""
|
|
bitfld.long 0x0 0x4--0x6 " [ 6: 4] OPCODE = " "0, 1, 2, 3, 4, 5, 6, 7"
|
|
textline ""
|
|
bitfld.long 0x0 0x3--0x3 " [ 3] DEVICE = " "0, 1"
|
|
textline ""
|
|
bitfld.long 0x0 0x2--0x2 " [ 2] SECURE = " "0, 1"
|
|
textline ""
|
|
bitfld.long 0x0 0x1--0x1 " [ 1] ERRSTATUS = " "0, 1"
|
|
textline ""
|
|
bitfld.long 0x0 0x0--0x0 " [ 0] ENABLE = " "0, 1"
|
|
tree.end
|
|
tree.end
|