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_cortexa9_prm.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_cortexa9_prm msbfirst ( addr base ) "" {
29    
30
31    constants global_warm_rst_status width(1) "" {
32        GLOBAL_WARM_RST_0 = 0 "No global warm reset.";
33        GLOBAL_WARM_RST_1 = 1 "Global external warm reset has occurred.";
34    };
35
36    constants global_cold_rst_status width(1) "" {
37        GLOBAL_COLD_RST_0 = 0 "No power-on reset.";
38        GLOBAL_COLD_RST_1 = 1 "Power-on reset has occurred.";
39    };
40    
41    register prm_rstst addr(base, 0x0) "This register logs the global reset sources, thus contains information regarding the cold/warm reset events generated by global PRCM. Each bit is set upon release of the domain reset signal. Must be cleared by software." {
42        _ 30 mbz;
43        global_warm_rst 1 rw1c type(global_warm_rst_status) "Global warm reset event generated by Global PRCM";
44        global_cold_rst 1 rw1c type(global_cold_rst_status) "Power-on (cold) reset event generated by global PRCM";
45    };
46    
47    register prm_pscon_count addr(base, 0x4) "Programmable Precharge count for L1Cache. This register is useful to ensure the correct delay between toggles of pscon lines and therefore to avoid Any problem of power switch transitions. The register corresponds to the number of device system clock cycles for the SRAM precharge duration. It means that the local PRCM module waits for PCHARGE_TIME cycles of system clock. The pscon modules belongs to the local PRCM modules and are used to control the power of the CPUx." {
48        spareused 4 ro "4 bits consumed for Last Power State Entered";
49        spare 20 rw "Spare programmable bits";
50        pcharge_time 8 rw "Programmable Precharge count during retention";
51    };
52};