1/* 2 * Copyright (c) 2013 ETH Zurich. All rights reserved. 3 * 4 * This file is distributed under the terms in the attached LICENSE file. 5 * If you do not find this file, copies can be found by writing to: 6 * ETH Zurich D-INFK, CAB F.78, Universitaetstrasse 6, CH-8092 Zurich, 7 * Attn: Systems Group. 8 */ 9 10/* 11 * omap44xx_clk1_dmm1_targ.dev 12 * 13 * DESCRIPTION: 14 * 15 * NOTE: This file has been automatically generated based on the 16 * XML files extracted from the TI RDT v1.0.0.4p Tool. 17 * Download from here: http://www.ti.com/product/omap4460 18 * This means that the file might not be optimal in terms of naming 19 * conventions for constants and registers (duplicated 20 * namespaces in register and device name etc.). 21 * Also, because of the underlying structure from the original XML 22 * it's possible that some constants appear multiple times (if they 23 * have slightly different descriptions for example). 24 * 25 * You want to clean that up before using the files for the first time! 26 */ 27 28device omap44xx_clk1_dmm1_targ msbfirst ( addr base ) "" { 29 30 31 constants stdhosthdr_corereg_vendorcode_status width(1) "" { 32 STDHOSTHDR_COREREG_VENDORCODE_0_r = 0 "Third-party vendor."; 33 STDHOSTHDR_COREREG_VENDORCODE_1_r = 1 ""; 34 }; 35 36 register l3_targ_stdhosthdr_corereg addr(base, 0x0) "" { 37 _ 10 mbz; 38 stdhosthdr_corereg_corecode 6 ro "The Core Code field is a constant reporting a vendor-specific core generator code. Type: Constant. Reset value: 0x13."; 39 _ 15 mbz; 40 stdhosthdr_corereg_vendorcode 1 ro type(stdhosthdr_corereg_vendorcode_status) "The Vendor Code field is a constant reporting the core generator vendor code. Type: Constant. Reset value: 0x1."; 41 }; 42 43 register l3_targ_stdhosthdr_versionreg addr(base, 0x4) "" { 44 stdhosthdr_versionreg_revisionid 8 ro "The Revision Identifier field is a constant reporting the core generator revision number. Type: Constant. Reset value: 0x0."; 45 stdhosthdr_versionreg_coreparamschecksum 24 ro "Reserved. Type: Reserved. Reset value: Reserved."; 46 }; 47 48 register l3_targ_stdhosthdr_mainctlreg addr(base, 0x8) "" { 49 _ 27 mbz; 50 _ 1 mbz; 51 stdhosthdr_mainctlreg_cm 1 ro "Reserved for internal testing. Must be set to 0. Type: Control. Reset value: 0x0."; 52 stdhosthdr_mainctlreg_flt 1 ro "Asserted when a Fault condition is detected: if the unit includes Error Logging, Flt is asserted when the FltCnt register field indicates a Fault, and deasserted when FltCnt is reset. If no Error Logging is implemented, this bit becomes unit-dependent. In all cases, Flt bit and Flt pin (service network) have the same logical level. Type: Status. Reset value: X."; 53 _ 1 mbz; 54 stdhosthdr_mainctlreg_en 1 rw "Sets the global core enable. Note: A disabled master does not generate any NTTP requests, and a disabled slave replies with an error packet to any request it receives. Type: Control. Reset value: 0x1."; 55 }; 56 57 register l3_targ_stdhosthdr_nttpaddr_0 addr(base, 0x10) "" { 58 _ 27 mbz; 59 stdhosthdr_nttpaddr_0 5 ro "Sets the RX port address. Type: Control. Reset value: 0x15."; 60 }; 61 62 constants stderrlog_svrtstdlvl_0_status width(2) "" { 63 STDERRLOG_SVRTSTDLVL_0_0 = 0 "Error logging is disabled."; 64 STDERRLOG_SVRTSTDLVL_0_1 = 1 "Errors are logged with severity level Error."; 65 STDERRLOG_SVRTSTDLVL_0_2 = 2 "Errors are logged with severity level Fault."; 66 }; 67 68 register l3_targ_stderrlog_svrtstdlvl addr(base, 0x40) "" { 69 _ 30 mbz; 70 stderrlog_svrtstdlvl_0 2 rw type(stderrlog_svrtstdlvl_0_status) "Severity level parameters Type: Control. Reset value: 0x2."; 71 }; 72 73 register l3_targ_stderrlog_svrtcustomlvl addr(base, 0x44) "" { 74 _ 30 mbz; 75 stderrlog_svrtcustomlvl_0 2 rw type(stderrlog_svrtstdlvl_0_status) "Severity level parameters Type: Control. Reset value: 0x2."; 76 }; 77 78 constants stderrlog_main_errtype_status width(1) "" { 79 STDERRLOG_MAIN_ERRTYPE_0_r = 0 "Logged Error format is standard (header and necker recorded)."; 80 STDERRLOG_MAIN_ERRTYPE_1_r = 1 "Logged Error format is module dependent. CustomInfo register(s) may be implemented to store additional information."; 81 }; 82 83 register l3_targ_stderrlog_main addr(base, 0x48) "" { 84 stderrlog_main_clrlog 1 rw "Clears Error Logging Valid bit when written to 1. Type: Give_AutoCleared. Reset value: 0x0."; 85 _ 11 mbz; 86 stderrlog_main_fltcnt 1 rw "Asserted when at least one error with severity level FAULT is detected. Reset when written to 1. Type: Take. Reset value: 0x0."; 87 stderrlog_main_errcnt 1 rw "Asserted when at least one error with severity level ERROR is detected. Reset when written to 1. Type: Take. Reset value: 0x0."; 88 _ 16 mbz; 89 stderrlog_main_errtype 1 ro type(stderrlog_main_errtype_status) "Indicates logging type. Type: Status. Reset value: X."; 90 stderrlog_main_errlogvld 1 ro "Error Logging Valid. Asserted when logging information is valid(indicates that an error has been logged). Type: Status. Reset value: X."; 91 }; 92 93 register l3_targ_stderrlog_hdr addr(base, 0x4C) "" { 94 _ 8 mbz; 95 stderrlog_hdr_len1 6 ro "This field contains the number of payload cell(s) minus one of the logged packet. Type: Status. Reset value: X."; 96 _ 2 mbz; 97 stderrlog_hdr_stopofswrpsz 4 ro "StopOfs or WrapSize field of the logged packet (meaning depends on Wrp bit of logged opcode). Type: Status. Reset value: X."; 98 stderrlog_hdr_err 1 ro "Err bit of the logged packet. Type: Status. Reset value: X."; 99 _ 4 mbz; 100 stderrlog_hdr_pressure 1 ro "Pressure field of the logged packet. Type: Status. Reset value: X."; 101 _ 2 mbz; 102 stderrlog_hdr_opcode 4 ro "Opcode of the logged packet. Type: Status. Reset value: X."; 103 }; 104 105 register l3_targ_stderrlog_mstaddr addr(base, 0x50) "" { 106 _ 24 mbz; 107 stderrlog_mstaddr 8 ro "Master Address field of the logged packet. (see) Type: Status. Reset value: X."; 108 }; 109 110 register l3_targ_stderrlog_slvaddr addr(base, 0x54) "" { 111 _ 27 mbz; 112 stderrlog_slvaddr 5 ro "Slave Address field of the logged packet. Type: Status. Reset value: X."; 113 }; 114 115 register l3_targ_stderrlog_info addr(base, 0x58) "" { 116 _ 24 mbz; 117 stderrlog_info 8 ro "Info field of the logged packet. Type: Status. Reset value: X."; 118 }; 119 120 register l3_targ_stderrlog_slvofslsb ro addr(base, 0x5C) "" type(uint32); 121 122 register l3_targ_stderrlog_slvofsmsb addr(base, 0x60) "" { 123 _ 31 mbz; 124 stderrlog_slvofsmsb 1 ro "MSB of the slave offset field of the logged packet (according to NTTP packet format, this register field may exceed the actual slave offset size. Unused bits are stuck at 0, if any). Type: Status. Reset value: X."; 125 }; 126 127 register l3_targ_stderrlog_custominfo_info addr(base, 0x64) "" { 128 _ 24 mbz; 129 stderrlog_custominfo_info 8 ro "Info field of the response packet. Type: Status. Reset value: X."; 130 }; 131 132 register l3_targ_stderrlog_custominfo_mstaddr addr(base, 0x68) "" { 133 _ 24 mbz; 134 stderrlog_custominfo_mstaddr 8 ro "MstAddr field of the response packet. (see) Type: Status. Reset value: X."; 135 }; 136 137 register l3_targ_stderrlog_custominfo_opcode addr(base, 0x6C) "" { 138 _ 30 mbz; 139 stderrlog_custominfo_opcode 2 ro "Opcode of the response packet. Type: Status. Reset value: X."; 140 }; 141 142 register l3_targ_addrspacesizelog addr(base, 0x80) "" { 143 _ 27 mbz; 144 addrspacesizelog 5 rw "The address space size is equal to 2**AddrSpaceSizeLog * 4K in bytes. Type: Control. Reset value: 0x1F."; 145 }; 146};