arm64: dts: Revert "specify console via command line"
[linux/fpc-iii.git] / arch / arm / mach-omap2 / ctrl_module_wkup_44xx.h
blob414f14d1e0a0e1223b6e7ad4e7f36eb2fb03fc1f
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * OMAP44xx CTRL_MODULE_WKUP registers and bitfields
5 * Copyright (C) 2009-2010 Texas Instruments, Inc.
7 * Benoit Cousson (b-cousson@ti.com)
8 * Santosh Shilimkar (santosh.shilimkar@ti.com)
10 * This file is automatically generated from the OMAP hardware databases.
11 * We respectfully ask that any modifications to this file be coordinated
12 * with the public linux-omap@vger.kernel.org mailing list and the
13 * authors above to ensure that the autogeneration scripts are kept
14 * up-to-date with the file contents.
17 #ifndef __ARCH_ARM_MACH_OMAP2_CTRL_MODULE_WKUP_44XX_H
18 #define __ARCH_ARM_MACH_OMAP2_CTRL_MODULE_WKUP_44XX_H
21 /* Base address */
22 #define OMAP4_CTRL_MODULE_WKUP 0x4a30c000
24 /* Registers offset */
25 #define OMAP4_CTRL_MODULE_WKUP_IP_REVISION 0x0000
26 #define OMAP4_CTRL_MODULE_WKUP_IP_HWINFO 0x0004
27 #define OMAP4_CTRL_MODULE_WKUP_IP_SYSCONFIG 0x0010
28 #define OMAP4_CTRL_MODULE_WKUP_CONF_DEBUG_SEL_TST_0 0x0460
29 #define OMAP4_CTRL_MODULE_WKUP_CONF_DEBUG_SEL_TST_1 0x0464
30 #define OMAP4_CTRL_MODULE_WKUP_CONF_DEBUG_SEL_TST_2 0x0468
31 #define OMAP4_CTRL_MODULE_WKUP_CONF_DEBUG_SEL_TST_3 0x046c
32 #define OMAP4_CTRL_MODULE_WKUP_CONF_DEBUG_SEL_TST_4 0x0470
33 #define OMAP4_CTRL_MODULE_WKUP_CONF_DEBUG_SEL_TST_5 0x0474
34 #define OMAP4_CTRL_MODULE_WKUP_CONF_DEBUG_SEL_TST_6 0x0478
35 #define OMAP4_CTRL_MODULE_WKUP_CONF_DEBUG_SEL_TST_7 0x047c
36 #define OMAP4_CTRL_MODULE_WKUP_CONF_DEBUG_SEL_TST_8 0x0480
37 #define OMAP4_CTRL_MODULE_WKUP_CONF_DEBUG_SEL_TST_9 0x0484
38 #define OMAP4_CTRL_MODULE_WKUP_CONF_DEBUG_SEL_TST_10 0x0488
39 #define OMAP4_CTRL_MODULE_WKUP_CONF_DEBUG_SEL_TST_11 0x048c
40 #define OMAP4_CTRL_MODULE_WKUP_CONF_DEBUG_SEL_TST_12 0x0490
41 #define OMAP4_CTRL_MODULE_WKUP_CONF_DEBUG_SEL_TST_13 0x0494
42 #define OMAP4_CTRL_MODULE_WKUP_CONF_DEBUG_SEL_TST_14 0x0498
43 #define OMAP4_CTRL_MODULE_WKUP_CONF_DEBUG_SEL_TST_15 0x049c
44 #define OMAP4_CTRL_MODULE_WKUP_CONF_DEBUG_SEL_TST_16 0x04a0
45 #define OMAP4_CTRL_MODULE_WKUP_CONF_DEBUG_SEL_TST_17 0x04a4
46 #define OMAP4_CTRL_MODULE_WKUP_CONF_DEBUG_SEL_TST_18 0x04a8
47 #define OMAP4_CTRL_MODULE_WKUP_CONF_DEBUG_SEL_TST_19 0x04ac
48 #define OMAP4_CTRL_MODULE_WKUP_CONF_DEBUG_SEL_TST_20 0x04b0
49 #define OMAP4_CTRL_MODULE_WKUP_CONF_DEBUG_SEL_TST_21 0x04b4
50 #define OMAP4_CTRL_MODULE_WKUP_CONF_DEBUG_SEL_TST_22 0x04b8
51 #define OMAP4_CTRL_MODULE_WKUP_CONF_DEBUG_SEL_TST_23 0x04bc
52 #define OMAP4_CTRL_MODULE_WKUP_CONF_DEBUG_SEL_TST_24 0x04c0
53 #define OMAP4_CTRL_MODULE_WKUP_CONF_DEBUG_SEL_TST_25 0x04c4
54 #define OMAP4_CTRL_MODULE_WKUP_CONF_DEBUG_SEL_TST_26 0x04c8
55 #define OMAP4_CTRL_MODULE_WKUP_CONF_DEBUG_SEL_TST_27 0x04cc
56 #define OMAP4_CTRL_MODULE_WKUP_CONF_DEBUG_SEL_TST_28 0x04d0
57 #define OMAP4_CTRL_MODULE_WKUP_CONF_DEBUG_SEL_TST_29 0x04d4
58 #define OMAP4_CTRL_MODULE_WKUP_CONF_DEBUG_SEL_TST_30 0x04d8
59 #define OMAP4_CTRL_MODULE_WKUP_CONF_DEBUG_SEL_TST_31 0x04dc
61 /* Registers shifts and masks */
63 /* IP_REVISION */
64 #define OMAP4_IP_REV_SCHEME_SHIFT 30
65 #define OMAP4_IP_REV_SCHEME_MASK (0x3 << 30)
66 #define OMAP4_IP_REV_FUNC_SHIFT 16
67 #define OMAP4_IP_REV_FUNC_MASK (0xfff << 16)
68 #define OMAP4_IP_REV_RTL_SHIFT 11
69 #define OMAP4_IP_REV_RTL_MASK (0x1f << 11)
70 #define OMAP4_IP_REV_MAJOR_SHIFT 8
71 #define OMAP4_IP_REV_MAJOR_MASK (0x7 << 8)
72 #define OMAP4_IP_REV_CUSTOM_SHIFT 6
73 #define OMAP4_IP_REV_CUSTOM_MASK (0x3 << 6)
74 #define OMAP4_IP_REV_MINOR_SHIFT 0
75 #define OMAP4_IP_REV_MINOR_MASK (0x3f << 0)
77 /* IP_HWINFO */
78 #define OMAP4_IP_HWINFO_SHIFT 0
79 #define OMAP4_IP_HWINFO_MASK (0xffffffff << 0)
81 /* IP_SYSCONFIG */
82 #define OMAP4_IP_SYSCONFIG_IDLEMODE_SHIFT 2
83 #define OMAP4_IP_SYSCONFIG_IDLEMODE_MASK (0x3 << 2)
85 /* CONF_DEBUG_SEL_TST_0 */
86 #define OMAP4_WKUP_MODE_SHIFT 0
87 #define OMAP4_WKUP_MODE_MASK (1 << 0)
89 #endif