179cdc56cSStanislaw Gruszka /* SPDX-License-Identifier: GPL-2.0-only */ 279cdc56cSStanislaw Gruszka /* 379cdc56cSStanislaw Gruszka * Copyright (C) 2020-2023 Intel Corporation 479cdc56cSStanislaw Gruszka */ 579cdc56cSStanislaw Gruszka 679cdc56cSStanislaw Gruszka #ifndef __IVPU_HW_40XX_REG_H__ 779cdc56cSStanislaw Gruszka #define __IVPU_HW_40XX_REG_H__ 879cdc56cSStanislaw Gruszka 979cdc56cSStanislaw Gruszka #include <linux/bits.h> 1079cdc56cSStanislaw Gruszka 1179cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_INTERRUPT_STAT 0x00000000u 1279cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_INTERRUPT_STAT_FREQ_CHANGE_MASK BIT_MASK(0) 1379cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_INTERRUPT_STAT_ATS_ERR_MASK BIT_MASK(1) 1479cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_INTERRUPT_STAT_CFI0_ERR_MASK BIT_MASK(2) 1579cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_INTERRUPT_STAT_CFI1_ERR_MASK BIT_MASK(3) 1679cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_INTERRUPT_STAT_IMR0_ERR_MASK BIT_MASK(4) 1779cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_INTERRUPT_STAT_IMR1_ERR_MASK BIT_MASK(5) 1879cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_INTERRUPT_STAT_SURV_ERR_MASK BIT_MASK(6) 1979cdc56cSStanislaw Gruszka 2079cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_LOCAL_INT_MASK 0x00000004u 2179cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_GLOBAL_INT_MASK 0x00000008u 2279cdc56cSStanislaw Gruszka 2379cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_HM_ATS 0x0000000cu 2479cdc56cSStanislaw Gruszka 2579cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_ATS_ERR_LOG1 0x00000010u 2679cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_ATS_ERR_LOG2 0x00000014u 2779cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_ATS_ERR_CLEAR 0x00000018u 2879cdc56cSStanislaw Gruszka 2979cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_CFI0_ERR_LOG 0x0000001cu 3079cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_CFI0_ERR_CLEAR 0x00000020u 3179cdc56cSStanislaw Gruszka 3279cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_PORT_ARBITRATION_WEIGHTS_ATS 0x00000024u 3379cdc56cSStanislaw Gruszka 3479cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_CFI1_ERR_LOG 0x00000040u 3579cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_CFI1_ERR_CLEAR 0x00000044u 3679cdc56cSStanislaw Gruszka 3779cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_IMR_ERR_CFI0_LOW 0x00000048u 3879cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_IMR_ERR_CFI0_HIGH 0x0000004cu 3979cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_IMR_ERR_CFI0_CLEAR 0x00000050u 4079cdc56cSStanislaw Gruszka 4179cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_PORT_ARBITRATION_WEIGHTS 0x00000054u 4279cdc56cSStanislaw Gruszka 4379cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_IMR_ERR_CFI1_LOW 0x00000058u 4479cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_IMR_ERR_CFI1_HIGH 0x0000005cu 4579cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_IMR_ERR_CFI1_CLEAR 0x00000060u 4679cdc56cSStanislaw Gruszka 4779cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_WP_REQ_PAYLOAD0 0x00000130u 4879cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_WP_REQ_PAYLOAD0_MIN_RATIO_MASK GENMASK(15, 0) 4979cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_WP_REQ_PAYLOAD0_MAX_RATIO_MASK GENMASK(31, 16) 5079cdc56cSStanislaw Gruszka 5179cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_WP_REQ_PAYLOAD1 0x00000134u 5279cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_WP_REQ_PAYLOAD1_TARGET_RATIO_MASK GENMASK(15, 0) 5379cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_WP_REQ_PAYLOAD1_EPP_MASK GENMASK(31, 16) 5479cdc56cSStanislaw Gruszka 5579cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_WP_REQ_PAYLOAD2 0x00000138u 5679cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_WP_REQ_PAYLOAD2_CONFIG_MASK GENMASK(15, 0) 5779cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_WP_REQ_PAYLOAD2_CDYN_MASK GENMASK(31, 16) 5879cdc56cSStanislaw Gruszka 5979cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_WP_REQ_CMD 0x0000013cu 6079cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_WP_REQ_CMD_SEND_MASK BIT_MASK(0) 6179cdc56cSStanislaw Gruszka 6279cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_PLL_FREQ 0x00000148u 6379cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_PLL_FREQ_RATIO_MASK GENMASK(15, 0) 6479cdc56cSStanislaw Gruszka 6579cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_TILE_FUSE 0x00000150u 6679cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_TILE_FUSE_VALID_MASK BIT_MASK(0) 6779cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_TILE_FUSE_CONFIG_MASK GENMASK(6, 1) 6879cdc56cSStanislaw Gruszka 6979cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_VPU_STATUS 0x00000154u 7079cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_VPU_STATUS_READY_MASK BIT_MASK(0) 7179cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_VPU_STATUS_IDLE_MASK BIT_MASK(1) 7279cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_VPU_STATUS_DUP_IDLE_MASK BIT_MASK(2) 73*6c3f2f90SKarol Wachowski #define VPU_40XX_BUTTRESS_VPU_STATUS_CLOCK_RESOURCE_OWN_ACK_MASK BIT_MASK(6) 74*6c3f2f90SKarol Wachowski #define VPU_40XX_BUTTRESS_VPU_STATUS_POWER_RESOURCE_OWN_ACK_MASK BIT_MASK(7) 7579cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_VPU_STATUS_PERF_CLK_MASK BIT_MASK(11) 7679cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_VPU_STATUS_DISABLE_CLK_RELINQUISH_MASK BIT_MASK(12) 7779cdc56cSStanislaw Gruszka 7879cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_IP_RESET 0x00000160u 7979cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_IP_RESET_TRIGGER_MASK BIT_MASK(0) 8079cdc56cSStanislaw Gruszka 8179cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_D0I3_CONTROL 0x00000164u 8279cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_D0I3_CONTROL_INPROGRESS_MASK BIT_MASK(0) 8379cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_D0I3_CONTROL_I3_MASK BIT_MASK(2) 8479cdc56cSStanislaw Gruszka 8579cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_VPU_TELEMETRY_OFFSET 0x00000168u 8679cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_VPU_TELEMETRY_SIZE 0x0000016cu 8779cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_VPU_TELEMETRY_ENABLE 0x00000170u 8879cdc56cSStanislaw Gruszka 8979cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_FMIN_FUSE 0x00000174u 9079cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_FMIN_FUSE_MIN_RATIO_MASK GENMASK(7, 0) 9179cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_FMIN_FUSE_PN_RATIO_MASK GENMASK(15, 8) 9279cdc56cSStanislaw Gruszka 9379cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_FMAX_FUSE 0x00000178u 9479cdc56cSStanislaw Gruszka #define VPU_40XX_BUTTRESS_FMAX_FUSE_MAX_RATIO_MASK GENMASK(7, 0) 9579cdc56cSStanislaw Gruszka 9679cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_CPR_CLK_EN 0x00000080u 9779cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_CPR_CLK_EN_TOP_NOC_MASK BIT_MASK(1) 9879cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_CPR_CLK_EN_DSS_MAS_MASK BIT_MASK(10) 9979cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_CPR_CLK_EN_CSS_MAS_MASK BIT_MASK(11) 10079cdc56cSStanislaw Gruszka 10179cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_CPR_CLK_SET 0x00000084u 10279cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_CPR_CLK_SET_TOP_NOC_MASK BIT_MASK(1) 10379cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_CPR_CLK_SET_DSS_MAS_MASK BIT_MASK(10) 10479cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_CPR_CLK_SET_MSS_MAS_MASK BIT_MASK(11) 10579cdc56cSStanislaw Gruszka 10679cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_CPR_RST_EN 0x00000090u 10779cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_CPR_RST_EN_TOP_NOC_MASK BIT_MASK(1) 10879cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_CPR_RST_EN_DSS_MAS_MASK BIT_MASK(10) 10979cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_CPR_RST_EN_CSS_MAS_MASK BIT_MASK(11) 11079cdc56cSStanislaw Gruszka 11179cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_CPR_RST_SET 0x00000094u 11279cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_CPR_RST_SET_TOP_NOC_MASK BIT_MASK(1) 11379cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_CPR_RST_SET_DSS_MAS_MASK BIT_MASK(10) 11479cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_CPR_RST_SET_MSS_MAS_MASK BIT_MASK(11) 11579cdc56cSStanislaw Gruszka 11679cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_CPR_RST_CLR 0x00000098u 11779cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_CPR_RST_CLR_TOP_NOC_MASK BIT_MASK(1) 11879cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_CPR_RST_CLR_DSS_MAS_MASK BIT_MASK(10) 11979cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_CPR_RST_CLR_MSS_MAS_MASK BIT_MASK(11) 12079cdc56cSStanislaw Gruszka 12179cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_HW_VERSION 0x00000108u 12279cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_HW_VERSION_SOC_REVISION_MASK GENMASK(7, 0) 12379cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_HW_VERSION_SOC_NUMBER_MASK GENMASK(15, 8) 12479cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_HW_VERSION_VPU_GENERATION_MASK GENMASK(23, 16) 12579cdc56cSStanislaw Gruszka 12679cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_SW_VERSION 0x0000010cu 12779cdc56cSStanislaw Gruszka 12879cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_GEN_CTRL 0x00000118u 12979cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_GEN_CTRL_PS_MASK GENMASK(31, 29) 13079cdc56cSStanislaw Gruszka 13179cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_NOC_QREQN 0x00000154u 13279cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_NOC_QREQN_TOP_SOCMMIO_MASK BIT_MASK(0) 13379cdc56cSStanislaw Gruszka 13479cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_NOC_QACCEPTN 0x00000158u 13579cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_NOC_QACCEPTN_TOP_SOCMMIO_MASK BIT_MASK(0) 13679cdc56cSStanislaw Gruszka 13779cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_NOC_QDENY 0x0000015cu 13879cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_NOC_QDENY_TOP_SOCMMIO_MASK BIT_MASK(0) 13979cdc56cSStanislaw Gruszka 14079cdc56cSStanislaw Gruszka #define VPU_40XX_TOP_NOC_QREQN 0x00000160u 14179cdc56cSStanislaw Gruszka #define VPU_40XX_TOP_NOC_QREQN_CPU_CTRL_MASK BIT_MASK(0) 14279cdc56cSStanislaw Gruszka #define VPU_40XX_TOP_NOC_QREQN_HOSTIF_L2CACHE_MASK BIT_MASK(2) 14379cdc56cSStanislaw Gruszka 14479cdc56cSStanislaw Gruszka #define VPU_40XX_TOP_NOC_QACCEPTN 0x00000164u 14579cdc56cSStanislaw Gruszka #define VPU_40XX_TOP_NOC_QACCEPTN_CPU_CTRL_MASK BIT_MASK(0) 14679cdc56cSStanislaw Gruszka #define VPU_40XX_TOP_NOC_QACCEPTN_HOSTIF_L2CACHE_MASK BIT_MASK(2) 14779cdc56cSStanislaw Gruszka 14879cdc56cSStanislaw Gruszka #define VPU_40XX_TOP_NOC_QDENY 0x00000168u 14979cdc56cSStanislaw Gruszka #define VPU_40XX_TOP_NOC_QDENY_CPU_CTRL_MASK BIT_MASK(0) 15079cdc56cSStanislaw Gruszka #define VPU_40XX_TOP_NOC_QDENY_HOSTIF_L2CACHE_MASK BIT_MASK(2) 15179cdc56cSStanislaw Gruszka 15279cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_FW_SOC_IRQ_EN 0x00000170u 15379cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_FW_SOC_IRQ_EN_CSS_ROM_CMX_MASK BIT_MASK(0) 15479cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_FW_SOC_IRQ_EN_CSS_DBG_MASK BIT_MASK(1) 15579cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_FW_SOC_IRQ_EN_CSS_CTRL_MASK BIT_MASK(2) 15679cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_FW_SOC_IRQ_EN_DEC400_MASK BIT_MASK(3) 15779cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_FW_SOC_IRQ_EN_MSS_NCE_MASK BIT_MASK(4) 15879cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_FW_SOC_IRQ_EN_MSS_MBI_MASK BIT_MASK(5) 15979cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_FW_SOC_IRQ_EN_MSS_MBI_CMX_MASK BIT_MASK(6) 16079cdc56cSStanislaw Gruszka 16179cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_ICB_STATUS_0 0x00010210u 16279cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_ICB_STATUS_0_TIMER_0_INT_MASK BIT_MASK(0) 16379cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_ICB_STATUS_0_TIMER_1_INT_MASK BIT_MASK(1) 16479cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_ICB_STATUS_0_TIMER_2_INT_MASK BIT_MASK(2) 16579cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_ICB_STATUS_0_TIMER_3_INT_MASK BIT_MASK(3) 16679cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_ICB_STATUS_0_HOST_IPC_FIFO_INT_MASK BIT_MASK(4) 16779cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_ICB_STATUS_0_MMU_IRQ_0_INT_MASK BIT_MASK(5) 16879cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_ICB_STATUS_0_MMU_IRQ_1_INT_MASK BIT_MASK(6) 16979cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_ICB_STATUS_0_MMU_IRQ_2_INT_MASK BIT_MASK(7) 17079cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_ICB_STATUS_0_NOC_FIREWALL_INT_MASK BIT_MASK(8) 17179cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_ICB_STATUS_0_CPU_INT_REDIRECT_0_INT_MASK BIT_MASK(30) 17279cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_ICB_STATUS_0_CPU_INT_REDIRECT_1_INT_MASK BIT_MASK(31) 17379cdc56cSStanislaw Gruszka 17479cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_ICB_STATUS_1 0x00010214u 17579cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_ICB_STATUS_1_CPU_INT_REDIRECT_2_INT_MASK BIT_MASK(0) 17679cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_ICB_STATUS_1_CPU_INT_REDIRECT_3_INT_MASK BIT_MASK(1) 17779cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_ICB_STATUS_1_CPU_INT_REDIRECT_4_INT_MASK BIT_MASK(2) 17879cdc56cSStanislaw Gruszka 17979cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_ICB_CLEAR_0 0x00010220u 18079cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_ICB_CLEAR_1 0x00010224u 18179cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_ICB_ENABLE_0 0x00010240u 18279cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_ICB_ENABLE_1 0x00010244u 18379cdc56cSStanislaw Gruszka 18479cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_TIM_IPC_FIFO_ATM 0x000200f4u 18579cdc56cSStanislaw Gruszka 18679cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_TIM_IPC_FIFO_STAT 0x000200fcu 18779cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_TIM_IPC_FIFO_STAT_FILL_LEVEL_MASK GENMASK(23, 16) 18879cdc56cSStanislaw Gruszka 18979cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_AON_PWR_ISO_EN0 0x00030020u 19079cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_AON_PWR_ISO_EN0_CSS_CPU_MASK BIT_MASK(3) 19179cdc56cSStanislaw Gruszka 19279cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_AON_PWR_ISLAND_EN0 0x00030024u 19379cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_AON_PWR_ISLAND_EN0_CSS_CPU_MASK BIT_MASK(3) 19479cdc56cSStanislaw Gruszka 19579cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_AON_PWR_ISLAND_TRICKLE_EN0 0x00030028u 19679cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_AON_PWR_ISLAND_TRICKLE_EN0_CSS_CPU_MASK BIT_MASK(3) 19779cdc56cSStanislaw Gruszka 19879cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_AON_PWR_ISLAND_STATUS0 0x0003002cu 19979cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_AON_PWR_ISLAND_STATUS0_CSS_CPU_MASK BIT_MASK(3) 20079cdc56cSStanislaw Gruszka 20179cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_AON_IDLE_GEN 0x00030200u 20279cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_AON_IDLE_GEN_EN_MASK BIT_MASK(0) 20379cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_AON_IDLE_GEN_HW_PG_EN_MASK BIT_MASK(1) 20479cdc56cSStanislaw Gruszka 20579cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_AON_DPU_ACTIVE 0x00030204u 20679cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_AON_DPU_ACTIVE_DPU_ACTIVE_MASK BIT_MASK(0) 20779cdc56cSStanislaw Gruszka 20879cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_VERIFICATION_ADDRESS_LO 0x00040040u 20979cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_VERIFICATION_ADDRESS_LO_DONE_MASK BIT_MASK(0) 21079cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_VERIFICATION_ADDRESS_LO_IOSF_RS_ID_MASK GENMASK(2, 1) 21179cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_VERIFICATION_ADDRESS_LO_IMAGE_LOCATION_MASK GENMASK(31, 3) 21279cdc56cSStanislaw Gruszka 21379cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_WORKPOINT_CONFIG_MIRROR 0x00082020u 21479cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_WORKPOINT_CONFIG_MIRROR_FINAL_PLL_FREQ_MASK GENMASK(15, 0) 21579cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_SS_WORKPOINT_CONFIG_MIRROR_CONFIG_ID_MASK GENMASK(31, 16) 21679cdc56cSStanislaw Gruszka 21779cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_IF_TCU_PTW_OVERRIDES 0x00360000u 21879cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_IF_TCU_PTW_OVERRIDES_CACHE_OVERRIDE_EN_MASK BIT_MASK(0) 21979cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_IF_TCU_PTW_OVERRIDES_AWCACHE_OVERRIDE_MASK BIT_MASK(1) 22079cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_IF_TCU_PTW_OVERRIDES_ARCACHE_OVERRIDE_MASK BIT_MASK(2) 22179cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_IF_TCU_PTW_OVERRIDES_SNOOP_OVERRIDE_EN_MASK BIT_MASK(3) 22279cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_IF_TCU_PTW_OVERRIDES_AW_SNOOP_OVERRIDE_MASK BIT_MASK(4) 22379cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_IF_TCU_PTW_OVERRIDES_AR_SNOOP_OVERRIDE_MASK BIT_MASK(5) 22479cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_IF_TCU_PTW_OVERRIDES_PTW_AW_CONTEXT_FLAG_MASK GENMASK(10, 6) 22579cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_IF_TCU_PTW_OVERRIDES_PTW_AR_CONTEXT_FLAG_MASK GENMASK(15, 11) 22679cdc56cSStanislaw Gruszka 22779cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_IF_TBU_MMUSSIDV 0x00360004u 22879cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_IF_TBU_MMUSSIDV_TBU0_AWMMUSSIDV_MASK BIT_MASK(0) 22979cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_IF_TBU_MMUSSIDV_TBU0_ARMMUSSIDV_MASK BIT_MASK(1) 23079cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_IF_TBU_MMUSSIDV_TBU1_AWMMUSSIDV_MASK BIT_MASK(2) 23179cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_IF_TBU_MMUSSIDV_TBU1_ARMMUSSIDV_MASK BIT_MASK(3) 23279cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_IF_TBU_MMUSSIDV_TBU2_AWMMUSSIDV_MASK BIT_MASK(4) 23379cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_IF_TBU_MMUSSIDV_TBU2_ARMMUSSIDV_MASK BIT_MASK(5) 23479cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_IF_TBU_MMUSSIDV_TBU3_AWMMUSSIDV_MASK BIT_MASK(6) 23579cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_IF_TBU_MMUSSIDV_TBU3_ARMMUSSIDV_MASK BIT_MASK(7) 23679cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_IF_TBU_MMUSSIDV_TBU4_AWMMUSSIDV_MASK BIT_MASK(8) 23779cdc56cSStanislaw Gruszka #define VPU_40XX_HOST_IF_TBU_MMUSSIDV_TBU4_ARMMUSSIDV_MASK BIT_MASK(9) 23879cdc56cSStanislaw Gruszka 23979cdc56cSStanislaw Gruszka #define VPU_40XX_CPU_SS_DSU_LEON_RT_BASE 0x04000000u 24079cdc56cSStanislaw Gruszka #define VPU_40XX_CPU_SS_DSU_LEON_RT_DSU_CTRL 0x04000000u 24179cdc56cSStanislaw Gruszka #define VPU_40XX_CPU_SS_DSU_LEON_RT_PC_REG 0x04400010u 24279cdc56cSStanislaw Gruszka #define VPU_40XX_CPU_SS_DSU_LEON_RT_NPC_REG 0x04400014u 24379cdc56cSStanislaw Gruszka #define VPU_40XX_CPU_SS_DSU_LEON_RT_DSU_TRAP_REG 0x04400020u 24479cdc56cSStanislaw Gruszka 24579cdc56cSStanislaw Gruszka #define VPU_40XX_CPU_SS_TIM_WATCHDOG 0x0102009cu 24679cdc56cSStanislaw Gruszka #define VPU_40XX_CPU_SS_TIM_WDOG_EN 0x010200a4u 24779cdc56cSStanislaw Gruszka #define VPU_40XX_CPU_SS_TIM_SAFE 0x010200a8u 24879cdc56cSStanislaw Gruszka 24979cdc56cSStanislaw Gruszka #define VPU_40XX_CPU_SS_TIM_GEN_CONFIG 0x01021008u 25079cdc56cSStanislaw Gruszka #define VPU_40XX_CPU_SS_TIM_GEN_CONFIG_WDOG_TO_INT_CLR_MASK BIT_MASK(9) 25179cdc56cSStanislaw Gruszka 25279cdc56cSStanislaw Gruszka #define VPU_40XX_CPU_SS_CPR_NOC_QREQN 0x01010030u 25379cdc56cSStanislaw Gruszka #define VPU_40XX_CPU_SS_CPR_NOC_QREQN_TOP_MMIO_MASK BIT_MASK(0) 25479cdc56cSStanislaw Gruszka 25579cdc56cSStanislaw Gruszka #define VPU_40XX_CPU_SS_CPR_NOC_QACCEPTN 0x01010034u 25679cdc56cSStanislaw Gruszka #define VPU_40XX_CPU_SS_CPR_NOC_QACCEPTN_TOP_MMIO_MASK BIT_MASK(0) 25779cdc56cSStanislaw Gruszka 25879cdc56cSStanislaw Gruszka #define VPU_40XX_CPU_SS_CPR_NOC_QDENY 0x01010038u 25979cdc56cSStanislaw Gruszka #define VPU_40XX_CPU_SS_CPR_NOC_QDENY_TOP_MMIO_MASK BIT_MASK(0) 26079cdc56cSStanislaw Gruszka 26179cdc56cSStanislaw Gruszka #define VPU_40XX_CPU_SS_TIM_IPC_FIFO 0x010200f0u 26279cdc56cSStanislaw Gruszka #define VPU_40XX_CPU_SS_TIM_PERF_EXT_FREE_CNT 0x01029008u 26379cdc56cSStanislaw Gruszka 26479cdc56cSStanislaw Gruszka #define VPU_40XX_CPU_SS_DOORBELL_0 0x01300000u 26579cdc56cSStanislaw Gruszka #define VPU_40XX_CPU_SS_DOORBELL_0_SET_MASK BIT_MASK(0) 26679cdc56cSStanislaw Gruszka 26779cdc56cSStanislaw Gruszka #define VPU_40XX_CPU_SS_DOORBELL_1 0x01301000u 26879cdc56cSStanislaw Gruszka 26979cdc56cSStanislaw Gruszka #endif /* __IVPU_HW_40XX_REG_H__ */ 270