~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm/mach-omap2/prcm_mpu44xx.h

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /* SPDX-License-Identifier: GPL-2.0-only */
  2 /*
  3  * OMAP44xx PRCM MPU instance offset macros
  4  *
  5  * Copyright (C) 2010, 2012 Texas Instruments, Inc.
  6  * Copyright (C) 2010 Nokia Corporation
  7  *
  8  * Paul Walmsley (paul@pwsan.com)
  9  * Rajendra Nayak (rnayak@ti.com)
 10  * Benoit Cousson (b-cousson@ti.com)
 11  *
 12  * This file is automatically generated from the OMAP hardware databases.
 13  * We respectfully ask that any modifications to this file be coordinated
 14  * with the public linux-omap@vger.kernel.org mailing list and the
 15  * authors above to ensure that the autogeneration scripts are kept
 16  * up-to-date with the file contents.
 17  *
 18  * XXX This file needs to be updated to align on one of "OMAP4", "OMAP44XX",
 19  *     or "OMAP4430".
 20  */
 21 
 22 #ifndef __ARCH_ARM_MACH_OMAP2_PRCM_MPU44XX_H
 23 #define __ARCH_ARM_MACH_OMAP2_PRCM_MPU44XX_H
 24 
 25 #include "prcm_mpu_44xx_54xx.h"
 26 
 27 #define OMAP4430_PRCM_MPU_BASE                  0x48243000
 28 
 29 #define OMAP44XX_PRCM_MPU_REGADDR(inst, reg)                            \
 30         OMAP2_L4_IO_ADDRESS(OMAP4430_PRCM_MPU_BASE + (inst) + (reg))
 31 
 32 /* PRCM_MPU instances */
 33 #define OMAP4430_PRCM_MPU_OCP_SOCKET_PRCM_INST  0x0000
 34 #define OMAP4430_PRCM_MPU_DEVICE_PRM_INST       0x0200
 35 #define OMAP4430_PRCM_MPU_CPU0_INST             0x0400
 36 #define OMAP4430_PRCM_MPU_CPU1_INST             0x0800
 37 
 38 /* PRCM_MPU clockdomain register offsets (from instance start) */
 39 #define OMAP4430_PRCM_MPU_CPU0_CPU0_CDOFFS      0x0018
 40 #define OMAP4430_PRCM_MPU_CPU1_CPU1_CDOFFS      0x0018
 41 
 42 
 43 /*
 44  * PRCM_MPU
 45  *
 46  * The PRCM_MPU is a local PRCM inside the MPU subsystem. For the PRCM (global)
 47  * point of view the PRCM_MPU is a single entity. It shares the same
 48  * programming model as the global PRCM and thus can be assimilate as two new
 49  * MOD inside the PRCM
 50  */
 51 
 52 /* PRCM_MPU.OCP_SOCKET_PRCM register offsets */
 53 #define OMAP4_REVISION_PRCM_OFFSET              0x0000
 54 #define OMAP4430_REVISION_PRCM                  OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_OCP_SOCKET_PRCM_INST, 0x0000)
 55 
 56 /* PRCM_MPU.DEVICE_PRM register offsets */
 57 #define OMAP4_PRCM_MPU_PRM_RSTST_OFFSET         0x0000
 58 #define OMAP4430_PRCM_MPU_PRM_RSTST             OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_DEVICE_PRM_INST, 0x0000)
 59 #define OMAP4_PRCM_MPU_PRM_PSCON_COUNT_OFFSET   0x0004
 60 #define OMAP4430_PRCM_MPU_PRM_PSCON_COUNT       OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_DEVICE_PRM_INST, 0x0004)
 61 
 62 /* PRCM_MPU.CPU0 register offsets */
 63 #define OMAP4_PM_CPU0_PWRSTCTRL_OFFSET          0x0000
 64 #define OMAP4430_PM_CPU0_PWRSTCTRL              OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_CPU0_INST, 0x0000)
 65 #define OMAP4_PM_CPU0_PWRSTST_OFFSET            0x0004
 66 #define OMAP4430_PM_CPU0_PWRSTST                OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_CPU0_INST, 0x0004)
 67 #define OMAP4_RM_CPU0_CPU0_CONTEXT_OFFSET       0x0008
 68 #define OMAP4430_RM_CPU0_CPU0_CONTEXT           OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_CPU0_INST, 0x0008)
 69 #define OMAP4_RM_CPU0_CPU0_RSTCTRL_OFFSET       0x000c
 70 #define OMAP4430_RM_CPU0_CPU0_RSTCTRL           OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_CPU0_INST, 0x000c)
 71 #define OMAP4_RM_CPU0_CPU0_RSTST_OFFSET         0x0010
 72 #define OMAP4430_RM_CPU0_CPU0_RSTST             OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_CPU0_INST, 0x0010)
 73 #define OMAP4_CM_CPU0_CPU0_CLKCTRL_OFFSET       0x0014
 74 #define OMAP4430_CM_CPU0_CPU0_CLKCTRL           OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_CPU0_INST, 0x0014)
 75 #define OMAP4_CM_CPU0_CLKSTCTRL_OFFSET          0x0018
 76 #define OMAP4430_CM_CPU0_CLKSTCTRL              OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_CPU0_INST, 0x0018)
 77 
 78 /* PRCM_MPU.CPU1 register offsets */
 79 #define OMAP4_PM_CPU1_PWRSTCTRL_OFFSET          0x0000
 80 #define OMAP4430_PM_CPU1_PWRSTCTRL              OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_CPU1_INST, 0x0000)
 81 #define OMAP4_PM_CPU1_PWRSTST_OFFSET            0x0004
 82 #define OMAP4430_PM_CPU1_PWRSTST                OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_CPU1_INST, 0x0004)
 83 #define OMAP4_RM_CPU1_CPU1_CONTEXT_OFFSET       0x0008
 84 #define OMAP4430_RM_CPU1_CPU1_CONTEXT           OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_CPU1_INST, 0x0008)
 85 #define OMAP4_RM_CPU1_CPU1_RSTCTRL_OFFSET       0x000c
 86 #define OMAP4430_RM_CPU1_CPU1_RSTCTRL           OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_CPU1_INST, 0x000c)
 87 #define OMAP4_RM_CPU1_CPU1_RSTST_OFFSET         0x0010
 88 #define OMAP4430_RM_CPU1_CPU1_RSTST             OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_CPU1_INST, 0x0010)
 89 #define OMAP4_CM_CPU1_CPU1_CLKCTRL_OFFSET       0x0014
 90 #define OMAP4430_CM_CPU1_CPU1_CLKCTRL           OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_CPU1_INST, 0x0014)
 91 #define OMAP4_CM_CPU1_CLKSTCTRL_OFFSET          0x0018
 92 #define OMAP4430_CM_CPU1_CLKSTCTRL              OMAP44XX_PRCM_MPU_REGADDR(OMAP4430_PRCM_MPU_CPU1_INST, 0x0018)
 93 
 94 #endif
 95 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php