Tue Jun 18 23:39:44 2013 UTC ()
Add OMAP5_PRM_RSTCTRL definition


(matt)
diff -r1.21 -r1.22 src/sys/arch/arm/omap/omap2_reg.h

cvs diff -r1.21 -r1.22 src/sys/arch/arm/omap/Attic/omap2_reg.h (expand / switch to unified diff)

--- src/sys/arch/arm/omap/Attic/omap2_reg.h 2013/06/18 22:41:03 1.21
+++ src/sys/arch/arm/omap/Attic/omap2_reg.h 2013/06/18 23:39:44 1.22
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: omap2_reg.h,v 1.21 2013/06/18 22:41:03 matt Exp $ */ 1/* $NetBSD: omap2_reg.h,v 1.22 2013/06/18 23:39:44 matt Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2007 Microsoft 4 * Copyright (c) 2007 Microsoft
5 * All rights reserved. 5 * All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer. 11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright 12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the 13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution. 14 * documentation and/or other materials provided with the distribution.
@@ -425,26 +425,27 @@ @@ -425,26 +425,27 @@
425 425
426#define OMAP3_PRM_CLKSEL 0x40 // from PLL_MOD 426#define OMAP3_PRM_CLKSEL 0x40 // from PLL_MOD
427#define OMAP3_PRM_CLKSEL_CLKIN __BITS(2,0) 427#define OMAP3_PRM_CLKSEL_CLKIN __BITS(2,0)
428#define OMAP3_PRM_CLKSEL_CLKIN_12000KHZ 0 428#define OMAP3_PRM_CLKSEL_CLKIN_12000KHZ 0
429#define OMAP3_PRM_CLKSEL_CLKIN_13000KHZ 1 429#define OMAP3_PRM_CLKSEL_CLKIN_13000KHZ 1
430#define OMAP3_PRM_CLKSEL_CLKIN_19200KHZ 2 430#define OMAP3_PRM_CLKSEL_CLKIN_19200KHZ 2
431#define OMAP3_PRM_CLKSEL_CLKIN_26000KHZ 3 431#define OMAP3_PRM_CLKSEL_CLKIN_26000KHZ 3
432#define OMAP3_PRM_CLKSEL_CLKIN_38400KHZ 4 432#define OMAP3_PRM_CLKSEL_CLKIN_38400KHZ 4
433#define OMAP3_PRM_CLKSEL_CLKIN_16800KHZ 5 433#define OMAP3_PRM_CLKSEL_CLKIN_16800KHZ 5
434#define OMAP3_PRM_CLKSEL_FREQS { 12000, 13000, 19200, 26000, 38400, 16800, 0, 0 } 434#define OMAP3_PRM_CLKSEL_FREQS { 12000, 13000, 19200, 26000, 38400, 16800, 0, 0 }
435#define OMAP3_PRM_CLKSEL_MULT 1000 435#define OMAP3_PRM_CLKSEL_MULT 1000
436 436
437#define OMAP4_PRM_RSTCTRL 0x7b00 437#define OMAP4_PRM_RSTCTRL 0x7b00
 438#define OMAP5_PRM_RSTCTRL 0x7c00
438#define OMAP4_PRM_RSTCTRL_WARM 0x0001 439#define OMAP4_PRM_RSTCTRL_WARM 0x0001
439#define OMAP4_PRM_RSTCTRL_COLD 0x0002 440#define OMAP4_PRM_RSTCTRL_COLD 0x0002
440 441
441/* 442/*
442 * L3 Interconnect Target Agent Common Registers 443 * L3 Interconnect Target Agent Common Registers
443 */ 444 */
444#define OMAP2_TA_GPMC 0x68002400 445#define OMAP2_TA_GPMC 0x68002400
445#define OMAP2_TA_L4_CORE 0x68006800 446#define OMAP2_TA_L4_CORE 0x68006800
446 447
447/* 448/*
448 * L3 Interconnect Target Agent Common Register offsets 449 * L3 Interconnect Target Agent Common Register offsets
449 */ 450 */
450#define OMAP2_TA_COMPONENT 0x00 451#define OMAP2_TA_COMPONENT 0x00