From: Peng Fan <peng....@nxp.com>

Add CAAM clock entry in PCC3

Signed-off-by: Peng Fan <peng....@nxp.com>
---
 arch/arm/include/asm/arch-imx8ulp/pcc.h | 1 +
 arch/arm/mach-imx/imx8ulp/pcc.c         | 1 +
 2 files changed, 2 insertions(+)

diff --git a/arch/arm/include/asm/arch-imx8ulp/pcc.h 
b/arch/arm/include/asm/arch-imx8ulp/pcc.h
index 46386f1aba4..d9b2d7c2998 100644
--- a/arch/arm/include/asm/arch-imx8ulp/pcc.h
+++ b/arch/arm/include/asm/arch-imx8ulp/pcc.h
@@ -52,6 +52,7 @@ enum pcc3_entry {
        UPOWER_PCC3_SLOT = 40,
        WDOG3_PCC3_SLOT = 42,
        WDOG4_PCC3_SLOT = 43,
+       CAAM_PCC3_SLOT = 46,
        XRDC_MGR_PCC3_SLOT = 47,
        SEMA42_1_PCC3_SLOT = 48,
        ROMCP1_PCC3_SLOT = 49,
diff --git a/arch/arm/mach-imx/imx8ulp/pcc.c b/arch/arm/mach-imx/imx8ulp/pcc.c
index 7909d770afe..e3c6d6760be 100644
--- a/arch/arm/mach-imx/imx8ulp/pcc.c
+++ b/arch/arm/mach-imx/imx8ulp/pcc.c
@@ -135,6 +135,7 @@ static struct pcc_entry pcc3_arrays[] = {
        {PCC3_RBASE, UPOWER_PCC3_SLOT,          CLKSRC_NO_PCS, PCC_NO_DIV, 
PCC_NO_RST_B},
        {PCC3_RBASE, WDOG3_PCC3_SLOT,           CLKSRC_PER_BUS, PCC_HAS_DIV, 
PCC_HAS_RST_B},
        {PCC3_RBASE, WDOG4_PCC3_SLOT,           CLKSRC_PER_BUS, PCC_HAS_DIV, 
PCC_HAS_RST_B},
+       {PCC3_RBASE, CAAM_PCC3_SLOT,            CLKSRC_NO_PCS, PCC_NO_DIV, 
PCC_HAS_RST_B},
        {PCC3_RBASE, XRDC_MGR_PCC3_SLOT,        CLKSRC_NO_PCS, PCC_NO_DIV, 
PCC_NO_RST_B},
        {PCC3_RBASE, SEMA42_1_PCC3_SLOT,        CLKSRC_PER_BUS, PCC_NO_DIV, 
PCC_NO_RST_B},
        {PCC3_RBASE, ROMCP1_PCC3_SLOT,          CLKSRC_NO_PCS, PCC_NO_DIV, 
PCC_NO_RST_B},
-- 
2.35.1

Reply via email to