Skip to content

Commit

Permalink
core: imx: add imx7ulp CRM registers
Browse files Browse the repository at this point in the history
Add imx7ulp CRM registers in a header file.

Signed-off-by: Clement Faure <[email protected]>
Acked-by: Etienne Carriere <[email protected]>
  • Loading branch information
clementfaure authored and jforissier committed Oct 3, 2019
1 parent 7815588 commit 0f68a8c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
17 changes: 17 additions & 0 deletions core/arch/arm/plat-imx/registers/imx7ulp-crm.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/* SPDX-License-Identifier: BSD-2-Clause */
/*
* Copyright 2017-2019 NXP
*/
#ifndef __MX7ULP_CRM_H__
#define __MX7ULP_CRM_H__

#include <util.h>

#define PCC_CGC_BIT_SHIFT 30

#define PCC_ENABLE_CLOCK BIT32(PCC_CGC_BIT_SHIFT)
#define PCC_DISABLE_CLOCK BIT32(0)

#define PCC_CAAM 0x90

#endif /* __MX7ULP_CRM_H__ */
2 changes: 2 additions & 0 deletions core/arch/arm/plat-imx/registers/imx7ulp.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
#ifndef __IMX7ULP_H__
#define __IMX7ULP_H__

#include <registers/imx7ulp-crm.h>

#define GIC_BASE 0x40020000
#define GIC_SIZE 0x8000
#define GICC_OFFSET 0x2000
Expand Down

0 comments on commit 0f68a8c

Please sign in to comment.