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_instr_cm1.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_instr_cm1 msbfirst ( addr base ) "" {
29    
30    
31    register cmi1_identication ro addr(base, 0x0) "CM profiling identification register" type(uint32);
32    
33    register cmi1_sys_config addr(base, 0x10) "CM profiling system configuartion register" {
34        _ 26 mbz;
35        _ 2 mbz;
36        idlemode 2 rw "Configuration of the local tartget state management mode";
37        _ 1 mbz;
38        softreset 1 rw "Software reset";
39    };
40    
41    register cmi1_status addr(base, 0x14) "CM profiling status register" {
42        _ 23 mbz;
43        fifoempty 1 ro "PM Profiling buffer empty";
44        _ 8 mbz;
45    };
46    
47    register cmi1_configuration addr(base, 0x24) "CM profiling configuration register" {
48        claim_3 2 rw "Ownership";
49        claim_2 1 rw "Debugger override qualifier";
50        claim_1 1 ro "Current owner";
51        _ 4 mbz;
52        _ 1 mbz;
53        _ 7 mbz;
54        _ 1 mbz;
55        _ 7 mbz;
56        evt_capt_en 1 rw "When HIGH the PM events capture is enabled";
57        _ 7 mbz;
58    };
59    
60    register cmi1_class_filtering addr(base, 0x28) "CM profiling class filtering register" {
61        _ 28 mbz;
62        snap_capt_en_03 1 rw "Snapshot capture enable - Class-ID = 0x03";
63        snap_capt_en_02 1 rw "Snapshot capture enable - Class-ID = 0x02";
64        snap_capt_en_01 1 rw "Snapshot capture enable - Class-ID = 0x01";
65        snap_capt_en_00 1 rw "Snapshot capture enable - Class-ID = 0x00";
66    };
67    
68    register cmi1_triggering addr(base, 0x2C) "CM profiling triggering control register" {
69        _ 30 mbz;
70        trig_stop_en 1 rw "Enable stop capturing PM events from external trigger detection";
71        trig_start_en 1 rw "Enable start capturing PM events from external trigger detection";
72    };
73    
74    register cmi1_sampling addr(base, 0x30) "CM profiling sampling window register" {
75        _ 12 mbz;
76        fclk_div_facor 4 rw "FunClk divide factor ranging from 1 to 16";
77        _ 8 mbz;
78        samp_wind_size 8 rw "PM events sampling window size";
79    };
80};