162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0-or-later 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Copyright (c) 2021 Rockchip Electronics Co., Ltd. 462306a36Sopenharmony_ci * Copyright (c) 2022 Collabora Ltd. 562306a36Sopenharmony_ci * Author: Sebastian Reichel <sebastian.reichel@collabora.com> 662306a36Sopenharmony_ci */ 762306a36Sopenharmony_ci 862306a36Sopenharmony_ci#include <linux/module.h> 962306a36Sopenharmony_ci#include <linux/of.h> 1062306a36Sopenharmony_ci#include <dt-bindings/reset/rockchip,rk3588-cru.h> 1162306a36Sopenharmony_ci#include "clk.h" 1262306a36Sopenharmony_ci 1362306a36Sopenharmony_ci/* 0xFD7C0000 + 0x0A00 */ 1462306a36Sopenharmony_ci#define RK3588_CRU_RESET_OFFSET(id, reg, bit) [id] = (0 + reg * 16 + bit) 1562306a36Sopenharmony_ci 1662306a36Sopenharmony_ci/* 0xFD7C8000 + 0x0A00 */ 1762306a36Sopenharmony_ci#define RK3588_PHPTOPCRU_RESET_OFFSET(id, reg, bit) [id] = (0x8000*4 + reg * 16 + bit) 1862306a36Sopenharmony_ci 1962306a36Sopenharmony_ci/* 0xFD7D0000 + 0x0A00 */ 2062306a36Sopenharmony_ci#define RK3588_SECURECRU_RESET_OFFSET(id, reg, bit) [id] = (0x10000*4 + reg * 16 + bit) 2162306a36Sopenharmony_ci 2262306a36Sopenharmony_ci/* 0xFD7F0000 + 0x0A00 */ 2362306a36Sopenharmony_ci#define RK3588_PMU1CRU_RESET_OFFSET(id, reg, bit) [id] = (0x30000*4 + reg * 16 + bit) 2462306a36Sopenharmony_ci 2562306a36Sopenharmony_ci/* mapping table for reset ID to register offset */ 2662306a36Sopenharmony_cistatic const int rk3588_register_offset[] = { 2762306a36Sopenharmony_ci /* SOFTRST_CON01 */ 2862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_TOP_BIU, 1, 3), 2962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_TOP_BIU, 1, 4), 3062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_CSIPHY0, 1, 6), 3162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_CSIPHY0, 1, 7), // missing in TRM 3262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_CSIPHY1, 1, 8), 3362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_CSIPHY1, 1, 9), // missing in TRM 3462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_TOP_M500_BIU, 1, 15), 3562306a36Sopenharmony_ci 3662306a36Sopenharmony_ci /* SOFTRST_CON02 */ 3762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_TOP_M400_BIU, 2, 0), 3862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_TOP_S200_BIU, 2, 1), 3962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_TOP_S400_BIU, 2, 2), 4062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_TOP_M300_BIU, 2, 3), 4162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_USBDP_COMBO_PHY0_INIT, 2, 8), 4262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_USBDP_COMBO_PHY0_CMN, 2, 9), 4362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_USBDP_COMBO_PHY0_LANE, 2, 10), 4462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_USBDP_COMBO_PHY0_PCS, 2, 11), 4562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_USBDP_COMBO_PHY1_INIT, 2, 15), 4662306a36Sopenharmony_ci 4762306a36Sopenharmony_ci /* SOFTRST_CON03 */ 4862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_USBDP_COMBO_PHY1_CMN, 3, 0), 4962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_USBDP_COMBO_PHY1_LANE, 3, 1), 5062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_USBDP_COMBO_PHY1_PCS, 3, 2), 5162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_DCPHY0, 3, 11), // missing in TRM 5262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_MIPI_DCPHY0, 3, 14), 5362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_MIPI_DCPHY0_GRF, 3, 15), 5462306a36Sopenharmony_ci 5562306a36Sopenharmony_ci /* SOFTRST_CON04 */ 5662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_DCPHY1, 4, 0), // missing in TRM 5762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_MIPI_DCPHY1, 4, 3), 5862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_MIPI_DCPHY1_GRF, 4, 4), 5962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_APB2ASB_SLV_CDPHY, 4, 5), 6062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_APB2ASB_SLV_CSIPHY, 4, 6), 6162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_APB2ASB_SLV_VCCIO3_5, 4, 7), 6262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_APB2ASB_SLV_VCCIO6, 4, 8), 6362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_APB2ASB_SLV_EMMCIO, 4, 9), 6462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_APB2ASB_SLV_IOC_TOP, 4, 10), 6562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_APB2ASB_SLV_IOC_RIGHT, 4, 11), 6662306a36Sopenharmony_ci 6762306a36Sopenharmony_ci /* SOFTRST_CON05 */ 6862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_CRU, 5, 0), 6962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_CHANNEL_SECURE2VO1USB, 5, 7), 7062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_CHANNEL_SECURE2CENTER, 5, 8), 7162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_CHANNEL_SECURE2VO1USB, 5, 14), 7262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_CHANNEL_SECURE2CENTER, 5, 15), 7362306a36Sopenharmony_ci 7462306a36Sopenharmony_ci /* SOFTRST_CON06 */ 7562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_CHANNEL_SECURE2VO1USB, 6, 0), 7662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_CHANNEL_SECURE2CENTER, 6, 1), 7762306a36Sopenharmony_ci 7862306a36Sopenharmony_ci /* SOFTRST_CON07 */ 7962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_AUDIO_BIU, 7, 2), 8062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_AUDIO_BIU, 7, 3), 8162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_I2S0_8CH, 7, 4), 8262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_M_I2S0_8CH_TX, 7, 7), 8362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_M_I2S0_8CH_RX, 7, 10), 8462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_ACDCDIG, 7, 11), 8562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_I2S2_2CH, 7, 12), 8662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_I2S3_2CH, 7, 13), 8762306a36Sopenharmony_ci 8862306a36Sopenharmony_ci /* SOFTRST_CON08 */ 8962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_M_I2S2_2CH, 8, 0), 9062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_M_I2S3_2CH, 8, 3), 9162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_DAC_ACDCDIG, 8, 4), 9262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_SPDIF0, 8, 14), 9362306a36Sopenharmony_ci 9462306a36Sopenharmony_ci /* SOFTRST_CON09 */ 9562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_M_SPDIF0, 9, 1), 9662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_SPDIF1, 9, 2), 9762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_M_SPDIF1, 9, 5), 9862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_PDM1, 9, 6), 9962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_PDM1, 9, 7), 10062306a36Sopenharmony_ci 10162306a36Sopenharmony_ci /* SOFTRST_CON10 */ 10262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_BUS_BIU, 10, 1), 10362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_BUS_BIU, 10, 2), 10462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_GIC, 10, 3), 10562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_GIC_DBG, 10, 4), 10662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_DMAC0, 10, 5), 10762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_DMAC1, 10, 6), 10862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_DMAC2, 10, 7), 10962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_I2C1, 10, 8), 11062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_I2C2, 10, 9), 11162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_I2C3, 10, 10), 11262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_I2C4, 10, 11), 11362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_I2C5, 10, 12), 11462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_I2C6, 10, 13), 11562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_I2C7, 10, 14), 11662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_I2C8, 10, 15), 11762306a36Sopenharmony_ci 11862306a36Sopenharmony_ci /* SOFTRST_CON11 */ 11962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_I2C1, 11, 0), 12062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_I2C2, 11, 1), 12162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_I2C3, 11, 2), 12262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_I2C4, 11, 3), 12362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_I2C5, 11, 4), 12462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_I2C6, 11, 5), 12562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_I2C7, 11, 6), 12662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_I2C8, 11, 7), 12762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_CAN0, 11, 8), 12862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_CAN0, 11, 9), 12962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_CAN1, 11, 10), 13062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_CAN1, 11, 11), 13162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_CAN2, 11, 12), 13262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_CAN2, 11, 13), 13362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_SARADC, 11, 14), 13462306a36Sopenharmony_ci 13562306a36Sopenharmony_ci /* SOFTRST_CON12 */ 13662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_TSADC, 12, 0), 13762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_TSADC, 12, 1), 13862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_UART1, 12, 2), 13962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_UART2, 12, 3), 14062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_UART3, 12, 4), 14162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_UART4, 12, 5), 14262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_UART5, 12, 6), 14362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_UART6, 12, 7), 14462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_UART7, 12, 8), 14562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_UART8, 12, 9), 14662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_UART9, 12, 10), 14762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_S_UART1, 12, 13), 14862306a36Sopenharmony_ci 14962306a36Sopenharmony_ci /* SOFTRST_CON13 */ 15062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_S_UART2, 13, 0), 15162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_S_UART3, 13, 3), 15262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_S_UART4, 13, 6), 15362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_S_UART5, 13, 9), 15462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_S_UART6, 13, 12), 15562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_S_UART7, 13, 15), 15662306a36Sopenharmony_ci 15762306a36Sopenharmony_ci /* SOFTRST_CON14 */ 15862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_S_UART8, 14, 2), 15962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_S_UART9, 14, 5), 16062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_SPI0, 14, 6), 16162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_SPI1, 14, 7), 16262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_SPI2, 14, 8), 16362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_SPI3, 14, 9), 16462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_SPI4, 14, 10), 16562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_SPI0, 14, 11), 16662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_SPI1, 14, 12), 16762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_SPI2, 14, 13), 16862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_SPI3, 14, 14), 16962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_SPI4, 14, 15), 17062306a36Sopenharmony_ci 17162306a36Sopenharmony_ci /* SOFTRST_CON15 */ 17262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_WDT0, 15, 0), 17362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_T_WDT0, 15, 1), 17462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_SYS_GRF, 15, 2), 17562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_PWM1, 15, 3), 17662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_PWM1, 15, 4), 17762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_PWM2, 15, 6), 17862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_PWM2, 15, 7), 17962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_PWM3, 15, 9), 18062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_PWM3, 15, 10), 18162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_BUSTIMER0, 15, 12), 18262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_BUSTIMER1, 15, 13), 18362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_BUSTIMER0, 15, 15), 18462306a36Sopenharmony_ci 18562306a36Sopenharmony_ci /* SOFTRST_CON16 */ 18662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_BUSTIMER1, 16, 0), 18762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_BUSTIMER2, 16, 1), 18862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_BUSTIMER3, 16, 2), 18962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_BUSTIMER4, 16, 3), 19062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_BUSTIMER5, 16, 4), 19162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_BUSTIMER6, 16, 5), 19262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_BUSTIMER7, 16, 6), 19362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_BUSTIMER8, 16, 7), 19462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_BUSTIMER9, 16, 8), 19562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_BUSTIMER10, 16, 9), 19662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_BUSTIMER11, 16, 10), 19762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_MAILBOX0, 16, 11), 19862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_MAILBOX1, 16, 12), 19962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_MAILBOX2, 16, 13), 20062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_GPIO1, 16, 14), 20162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_GPIO1, 16, 15), 20262306a36Sopenharmony_ci 20362306a36Sopenharmony_ci /* SOFTRST_CON17 */ 20462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_GPIO2, 17, 0), 20562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_GPIO2, 17, 1), 20662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_GPIO3, 17, 2), 20762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_GPIO3, 17, 3), 20862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_GPIO4, 17, 4), 20962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_GPIO4, 17, 5), 21062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_DECOM, 17, 6), 21162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_DECOM, 17, 7), 21262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_D_DECOM, 17, 8), 21362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_TOP, 17, 9), 21462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_GICADB_GIC2CORE_BUS, 17, 11), 21562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_DFT2APB, 17, 12), 21662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_APB2ASB_MST_TOP, 17, 13), 21762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_APB2ASB_MST_CDPHY, 17, 14), 21862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_APB2ASB_MST_BOT_RIGHT, 17, 15), 21962306a36Sopenharmony_ci 22062306a36Sopenharmony_ci /* SOFTRST_CON18 */ 22162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_APB2ASB_MST_IOC_TOP, 18, 0), 22262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_APB2ASB_MST_IOC_RIGHT, 18, 1), 22362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_APB2ASB_MST_CSIPHY, 18, 2), 22462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_APB2ASB_MST_VCCIO3_5, 18, 3), 22562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_APB2ASB_MST_VCCIO6, 18, 4), 22662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_APB2ASB_MST_EMMCIO, 18, 5), 22762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_SPINLOCK, 18, 6), 22862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_OTPC_NS, 18, 9), 22962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_OTPC_NS, 18, 10), 23062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_OTPC_ARB, 18, 11), 23162306a36Sopenharmony_ci 23262306a36Sopenharmony_ci /* SOFTRST_CON19 */ 23362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_BUSIOC, 19, 0), 23462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_PMUCM0_INTMUX, 19, 4), 23562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_DDRCM0_INTMUX, 19, 5), 23662306a36Sopenharmony_ci 23762306a36Sopenharmony_ci /* SOFTRST_CON20 */ 23862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_DDR_DFICTL_CH0, 20, 0), 23962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_DDR_MON_CH0, 20, 1), 24062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_DDR_STANDBY_CH0, 20, 2), 24162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_DDR_UPCTL_CH0, 20, 3), 24262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_TM_DDR_MON_CH0, 20, 4), 24362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_DDR_GRF_CH01, 20, 5), 24462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_DFI_CH0, 20, 6), 24562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_SBR_CH0, 20, 7), 24662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_DDR_UPCTL_CH0, 20, 8), 24762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_DDR_DFICTL_CH0, 20, 9), 24862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_DDR_MON_CH0, 20, 10), 24962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_DDR_STANDBY_CH0, 20, 11), 25062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_DDR_UPCTL_CH0, 20, 12), 25162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_DDR_DFICTL_CH1, 20, 13), 25262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_DDR_MON_CH1, 20, 14), 25362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_DDR_STANDBY_CH1, 20, 15), 25462306a36Sopenharmony_ci 25562306a36Sopenharmony_ci /* SOFTRST_CON21 */ 25662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_DDR_UPCTL_CH1, 21, 0), 25762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_TM_DDR_MON_CH1, 21, 1), 25862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_DFI_CH1, 21, 2), 25962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_SBR_CH1, 21, 3), 26062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_DDR_UPCTL_CH1, 21, 4), 26162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_DDR_DFICTL_CH1, 21, 5), 26262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_DDR_MON_CH1, 21, 6), 26362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_DDR_STANDBY_CH1, 21, 7), 26462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_DDR_UPCTL_CH1, 21, 8), 26562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_DDR01_MSCH0, 21, 13), 26662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_DDR01_RS_MSCH0, 21, 14), 26762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_DDR01_FRS_MSCH0, 21, 15), 26862306a36Sopenharmony_ci 26962306a36Sopenharmony_ci /* SOFTRST_CON22 */ 27062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_DDR01_SCRAMBLE0, 22, 0), 27162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_DDR01_FRS_SCRAMBLE0, 22, 1), 27262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_DDR01_MSCH1, 22, 2), 27362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_DDR01_RS_MSCH1, 22, 3), 27462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_DDR01_FRS_MSCH1, 22, 4), 27562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_DDR01_SCRAMBLE1, 22, 5), 27662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_DDR01_FRS_SCRAMBLE1, 22, 6), 27762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_DDR01_MSCH0, 22, 7), 27862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_DDR01_MSCH1, 22, 8), 27962306a36Sopenharmony_ci 28062306a36Sopenharmony_ci /* SOFTRST_CON23 */ 28162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_DDR_DFICTL_CH2, 23, 0), 28262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_DDR_MON_CH2, 23, 1), 28362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_DDR_STANDBY_CH2, 23, 2), 28462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_DDR_UPCTL_CH2, 23, 3), 28562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_TM_DDR_MON_CH2, 23, 4), 28662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_DDR_GRF_CH23, 23, 5), 28762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_DFI_CH2, 23, 6), 28862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_SBR_CH2, 23, 7), 28962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_DDR_UPCTL_CH2, 23, 8), 29062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_DDR_DFICTL_CH2, 23, 9), 29162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_DDR_MON_CH2, 23, 10), 29262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_DDR_STANDBY_CH2, 23, 11), 29362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_DDR_UPCTL_CH2, 23, 12), 29462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_DDR_DFICTL_CH3, 23, 13), 29562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_DDR_MON_CH3, 23, 14), 29662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_DDR_STANDBY_CH3, 23, 15), 29762306a36Sopenharmony_ci 29862306a36Sopenharmony_ci /* SOFTRST_CON24 */ 29962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_DDR_UPCTL_CH3, 24, 0), 30062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_TM_DDR_MON_CH3, 24, 1), 30162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_DFI_CH3, 24, 2), 30262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_SBR_CH3, 24, 3), 30362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_DDR_UPCTL_CH3, 24, 4), 30462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_DDR_DFICTL_CH3, 24, 5), 30562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_DDR_MON_CH3, 24, 6), 30662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_DDR_STANDBY_CH3, 24, 7), 30762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_DDR_UPCTL_CH3, 24, 8), 30862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_DDR23_MSCH2, 24, 13), 30962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_DDR23_RS_MSCH2, 24, 14), 31062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_DDR23_FRS_MSCH2, 24, 15), 31162306a36Sopenharmony_ci 31262306a36Sopenharmony_ci /* SOFTRST_CON25 */ 31362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_DDR23_SCRAMBLE2, 25, 0), 31462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_DDR23_FRS_SCRAMBLE2, 25, 1), 31562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_DDR23_MSCH3, 25, 2), 31662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_DDR23_RS_MSCH3, 25, 3), 31762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_DDR23_FRS_MSCH3, 25, 4), 31862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_DDR23_SCRAMBLE3, 25, 5), 31962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_DDR23_FRS_SCRAMBLE3, 25, 6), 32062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_DDR23_MSCH2, 25, 7), 32162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_DDR23_MSCH3, 25, 8), 32262306a36Sopenharmony_ci 32362306a36Sopenharmony_ci /* SOFTRST_CON26 */ 32462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_ISP1, 26, 3), 32562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_ISP1_VICAP, 26, 4), 32662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_ISP1_BIU, 26, 6), 32762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_ISP1_BIU, 26, 8), 32862306a36Sopenharmony_ci 32962306a36Sopenharmony_ci /* SOFTRST_CON27 */ 33062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_RKNN1, 27, 0), 33162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_RKNN1_BIU, 27, 1), 33262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_RKNN1, 27, 2), 33362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_RKNN1_BIU, 27, 3), 33462306a36Sopenharmony_ci 33562306a36Sopenharmony_ci /* SOFTRST_CON28 */ 33662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_RKNN2, 28, 0), 33762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_RKNN2_BIU, 28, 1), 33862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_RKNN2, 28, 2), 33962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_RKNN2_BIU, 28, 3), 34062306a36Sopenharmony_ci 34162306a36Sopenharmony_ci /* SOFTRST_CON29 */ 34262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_RKNN_DSU0, 29, 3), 34362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_NPUTOP_BIU, 29, 5), 34462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_NPU_TIMER, 29, 6), 34562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_NPUTIMER0, 29, 8), 34662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_NPUTIMER1, 29, 9), 34762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_NPU_WDT, 29, 10), 34862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_T_NPU_WDT, 29, 11), 34962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_NPU_PVTM, 29, 12), 35062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_NPU_GRF, 29, 13), 35162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_NPU_PVTM, 29, 14), 35262306a36Sopenharmony_ci 35362306a36Sopenharmony_ci /* SOFTRST_CON30 */ 35462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_NPU_PVTPLL, 30, 0), 35562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_NPU_CM0_BIU, 30, 2), 35662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_F_NPU_CM0_CORE, 30, 3), 35762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_T_NPU_CM0_JTAG, 30, 4), 35862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_RKNN0, 30, 6), 35962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_RKNN0_BIU, 30, 7), 36062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_RKNN0, 30, 8), 36162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_RKNN0_BIU, 30, 9), 36262306a36Sopenharmony_ci 36362306a36Sopenharmony_ci /* SOFTRST_CON31 */ 36462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_NVM_BIU, 31, 2), 36562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_NVM_BIU, 31, 3), 36662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_EMMC, 31, 4), 36762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_EMMC, 31, 5), 36862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_C_EMMC, 31, 6), 36962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_B_EMMC, 31, 7), 37062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_T_EMMC, 31, 8), 37162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_S_SFC, 31, 9), 37262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_SFC, 31, 10), 37362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_SFC_XIP, 31, 11), 37462306a36Sopenharmony_ci 37562306a36Sopenharmony_ci /* SOFTRST_CON32 */ 37662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_GRF, 32, 1), 37762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_DEC_BIU, 32, 2), 37862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_PHP_BIU, 32, 5), 37962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_PCIE_GRIDGE, 32, 8), 38062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_PHP_BIU, 32, 9), 38162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_GMAC0, 32, 10), 38262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_GMAC1, 32, 11), 38362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_PCIE_BIU, 32, 12), 38462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_PCIE0_POWER_UP, 32, 13), 38562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_PCIE1_POWER_UP, 32, 14), 38662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_PCIE2_POWER_UP, 32, 15), 38762306a36Sopenharmony_ci 38862306a36Sopenharmony_ci /* SOFTRST_CON33 */ 38962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_PCIE3_POWER_UP, 33, 0), 39062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_PCIE4_POWER_UP, 33, 1), 39162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_PCIE0, 33, 12), 39262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_PCIE1, 33, 13), 39362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_PCIE2, 33, 14), 39462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_PCIE3, 33, 15), 39562306a36Sopenharmony_ci 39662306a36Sopenharmony_ci /* SOFTRST_CON34 */ 39762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_PCIE4, 34, 0), 39862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_PHP_GIC_ITS, 34, 6), 39962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_MMU_PCIE, 34, 7), 40062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_MMU_PHP, 34, 8), 40162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_MMU_BIU, 34, 9), 40262306a36Sopenharmony_ci 40362306a36Sopenharmony_ci /* SOFTRST_CON35 */ 40462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_USB3OTG2, 35, 7), 40562306a36Sopenharmony_ci 40662306a36Sopenharmony_ci /* SOFTRST_CON37 */ 40762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_PMALIVE0, 37, 4), 40862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_PMALIVE1, 37, 5), 40962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_PMALIVE2, 37, 6), 41062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_SATA0, 37, 7), 41162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_SATA1, 37, 8), 41262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_SATA2, 37, 9), 41362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_RXOOB0, 37, 10), 41462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_RXOOB1, 37, 11), 41562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_RXOOB2, 37, 12), 41662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_ASIC0, 37, 13), 41762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_ASIC1, 37, 14), 41862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_ASIC2, 37, 15), 41962306a36Sopenharmony_ci 42062306a36Sopenharmony_ci /* SOFTRST_CON40 */ 42162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_RKVDEC_CCU, 40, 2), 42262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_RKVDEC0, 40, 3), 42362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_RKVDEC0, 40, 4), 42462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_RKVDEC0_BIU, 40, 5), 42562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_RKVDEC0_BIU, 40, 6), 42662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_RKVDEC0_CA, 40, 7), 42762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_RKVDEC0_HEVC_CA, 40, 8), 42862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_RKVDEC0_CORE, 40, 9), 42962306a36Sopenharmony_ci 43062306a36Sopenharmony_ci /* SOFTRST_CON41 */ 43162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_RKVDEC1, 41, 2), 43262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_RKVDEC1, 41, 3), 43362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_RKVDEC1_BIU, 41, 4), 43462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_RKVDEC1_BIU, 41, 5), 43562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_RKVDEC1_CA, 41, 6), 43662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_RKVDEC1_HEVC_CA, 41, 7), 43762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_RKVDEC1_CORE, 41, 8), 43862306a36Sopenharmony_ci 43962306a36Sopenharmony_ci /* SOFTRST_CON42 */ 44062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_USB_BIU, 42, 2), 44162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_USB_BIU, 42, 3), 44262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_USB3OTG0, 42, 4), 44362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_USB3OTG1, 42, 7), 44462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_HOST0, 42, 10), 44562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_HOST_ARB0, 42, 11), 44662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_HOST1, 42, 12), 44762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_HOST_ARB1, 42, 13), 44862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_USB_GRF, 42, 14), 44962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_C_USB2P0_HOST0, 42, 15), 45062306a36Sopenharmony_ci 45162306a36Sopenharmony_ci /* SOFTRST_CON43 */ 45262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_C_USB2P0_HOST1, 43, 0), 45362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_HOST_UTMI0, 43, 1), 45462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_HOST_UTMI1, 43, 2), 45562306a36Sopenharmony_ci 45662306a36Sopenharmony_ci /* SOFTRST_CON44 */ 45762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_VDPU_BIU, 44, 4), 45862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_VDPU_LOW_BIU, 44, 5), 45962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_VDPU_BIU, 44, 6), 46062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_JPEG_DECODER_BIU, 44, 7), 46162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_VPU, 44, 8), 46262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_VPU, 44, 9), 46362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_JPEG_ENCODER0, 44, 10), 46462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_JPEG_ENCODER0, 44, 11), 46562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_JPEG_ENCODER1, 44, 12), 46662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_JPEG_ENCODER1, 44, 13), 46762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_JPEG_ENCODER2, 44, 14), 46862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_JPEG_ENCODER2, 44, 15), 46962306a36Sopenharmony_ci 47062306a36Sopenharmony_ci /* SOFTRST_CON45 */ 47162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_JPEG_ENCODER3, 45, 0), 47262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_JPEG_ENCODER3, 45, 1), 47362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_JPEG_DECODER, 45, 2), 47462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_JPEG_DECODER, 45, 3), 47562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_IEP2P0, 45, 4), 47662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_IEP2P0, 45, 5), 47762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_IEP2P0_CORE, 45, 6), 47862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_RGA2, 45, 7), 47962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_RGA2, 45, 8), 48062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_RGA2_CORE, 45, 9), 48162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_RGA3_0, 45, 10), 48262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_RGA3_0, 45, 11), 48362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_RGA3_0_CORE, 45, 12), 48462306a36Sopenharmony_ci 48562306a36Sopenharmony_ci /* SOFTRST_CON47 */ 48662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_RKVENC0_BIU, 47, 2), 48762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_RKVENC0_BIU, 47, 3), 48862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_RKVENC0, 47, 4), 48962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_RKVENC0, 47, 5), 49062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_RKVENC0_CORE, 47, 6), 49162306a36Sopenharmony_ci 49262306a36Sopenharmony_ci /* SOFTRST_CON48 */ 49362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_RKVENC1_BIU, 48, 2), 49462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_RKVENC1_BIU, 48, 3), 49562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_RKVENC1, 48, 4), 49662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_RKVENC1, 48, 5), 49762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_RKVENC1_CORE, 48, 6), 49862306a36Sopenharmony_ci 49962306a36Sopenharmony_ci /* SOFTRST_CON49 */ 50062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_VI_BIU, 49, 3), 50162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_VI_BIU, 49, 4), 50262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_VI_BIU, 49, 5), 50362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_D_VICAP, 49, 6), 50462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_VICAP, 49, 7), 50562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_VICAP, 49, 8), 50662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_ISP0, 49, 10), 50762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_ISP0_VICAP, 49, 11), 50862306a36Sopenharmony_ci 50962306a36Sopenharmony_ci /* SOFTRST_CON50 */ 51062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_FISHEYE0, 50, 0), 51162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_FISHEYE1, 50, 3), 51262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_CSI_HOST_0, 50, 4), 51362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_CSI_HOST_1, 50, 5), 51462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_CSI_HOST_2, 50, 6), 51562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_CSI_HOST_3, 50, 7), 51662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_CSI_HOST_4, 50, 8), 51762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_CSI_HOST_5, 50, 9), 51862306a36Sopenharmony_ci 51962306a36Sopenharmony_ci /* SOFTRST_CON51 */ 52062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_CSIHOST0_VICAP, 51, 4), 52162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_CSIHOST1_VICAP, 51, 5), 52262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_CSIHOST2_VICAP, 51, 6), 52362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_CSIHOST3_VICAP, 51, 7), 52462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_CSIHOST4_VICAP, 51, 8), 52562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_CSIHOST5_VICAP, 51, 9), 52662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_CIFIN, 51, 13), 52762306a36Sopenharmony_ci 52862306a36Sopenharmony_ci /* SOFTRST_CON52 */ 52962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_VOP_BIU, 52, 4), 53062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_VOP_LOW_BIU, 52, 5), 53162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_VOP_BIU, 52, 6), 53262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_VOP_BIU, 52, 7), 53362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_VOP, 52, 8), 53462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_VOP, 52, 9), 53562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_D_VOP0, 52, 13), 53662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_D_VOP2HDMI_BRIDGE0, 52, 14), 53762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_D_VOP2HDMI_BRIDGE1, 52, 15), 53862306a36Sopenharmony_ci 53962306a36Sopenharmony_ci /* SOFTRST_CON53 */ 54062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_D_VOP1, 53, 0), 54162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_D_VOP2, 53, 1), 54262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_D_VOP3, 53, 2), 54362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_VOPGRF, 53, 3), 54462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_DSIHOST0, 53, 4), 54562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_DSIHOST1, 53, 5), 54662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_DSIHOST0, 53, 6), 54762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_DSIHOST1, 53, 7), 54862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_VOP_PMU, 53, 8), 54962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_VOP_CHANNEL_BIU, 53, 9), 55062306a36Sopenharmony_ci 55162306a36Sopenharmony_ci /* SOFTRST_CON55 */ 55262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_VO0_BIU, 55, 5), 55362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_VO0_S_BIU, 55, 6), 55462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_VO0_BIU, 55, 7), 55562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_VO0_S_BIU, 55, 8), 55662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_HDCP0_BIU, 55, 9), 55762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_VO0GRF, 55, 10), 55862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_HDCP_KEY0, 55, 11), 55962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_HDCP0, 55, 12), 56062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_HDCP0, 55, 13), 56162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_HDCP0, 55, 15), 56262306a36Sopenharmony_ci 56362306a36Sopenharmony_ci /* SOFTRST_CON56 */ 56462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_TRNG0, 56, 1), 56562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_DP0, 56, 8), 56662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_DP1, 56, 9), 56762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_I2S4_8CH, 56, 10), 56862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_M_I2S4_8CH_TX, 56, 13), 56962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_I2S8_8CH, 56, 14), 57062306a36Sopenharmony_ci 57162306a36Sopenharmony_ci /* SOFTRST_CON57 */ 57262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_M_I2S8_8CH_TX, 57, 1), 57362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_SPDIF2_DP0, 57, 2), 57462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_M_SPDIF2_DP0, 57, 6), 57562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_SPDIF5_DP1, 57, 7), 57662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_M_SPDIF5_DP1, 57, 11), 57762306a36Sopenharmony_ci 57862306a36Sopenharmony_ci /* SOFTRST_CON59 */ 57962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_HDCP1_BIU, 59, 6), 58062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_VO1_BIU, 59, 8), 58162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_VOP1_BIU, 59, 9), 58262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_VOP1_S_BIU, 59, 10), 58362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_VOP1_BIU, 59, 11), 58462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_VO1GRF, 59, 12), 58562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_VO1_S_BIU, 59, 13), 58662306a36Sopenharmony_ci 58762306a36Sopenharmony_ci /* SOFTRST_CON60 */ 58862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_I2S7_8CH, 60, 0), 58962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_M_I2S7_8CH_RX, 60, 3), 59062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_HDCP_KEY1, 60, 4), 59162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_HDCP1, 60, 5), 59262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_HDCP1, 60, 6), 59362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_HDCP1, 60, 8), 59462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_TRNG1, 60, 10), 59562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_HDMITX0, 60, 11), 59662306a36Sopenharmony_ci 59762306a36Sopenharmony_ci /* SOFTRST_CON61 */ 59862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_HDMITX0_REF, 61, 0), 59962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_HDMITX1, 61, 2), 60062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_HDMITX1_REF, 61, 7), 60162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_HDMIRX, 61, 9), 60262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_HDMIRX, 61, 10), 60362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_HDMIRX_REF, 61, 11), 60462306a36Sopenharmony_ci 60562306a36Sopenharmony_ci /* SOFTRST_CON62 */ 60662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_EDP0, 62, 0), 60762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_EDP0_24M, 62, 1), 60862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_EDP1, 62, 3), 60962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_EDP1_24M, 62, 4), 61062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_M_I2S5_8CH_TX, 62, 8), 61162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_I2S5_8CH, 62, 12), 61262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_M_I2S6_8CH_TX, 62, 15), 61362306a36Sopenharmony_ci 61462306a36Sopenharmony_ci /* SOFTRST_CON63 */ 61562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_M_I2S6_8CH_RX, 63, 2), 61662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_I2S6_8CH, 63, 3), 61762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_SPDIF3, 63, 4), 61862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_M_SPDIF3, 63, 7), 61962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_SPDIF4, 63, 8), 62062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_M_SPDIF4, 63, 11), 62162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_SPDIFRX0, 63, 12), 62262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_M_SPDIFRX0, 63, 13), 62362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_SPDIFRX1, 63, 14), 62462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_M_SPDIFRX1, 63, 15), 62562306a36Sopenharmony_ci 62662306a36Sopenharmony_ci /* SOFTRST_CON64 */ 62762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_SPDIFRX2, 64, 0), 62862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_M_SPDIFRX2, 64, 1), 62962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_LINKSYM_HDMITXPHY0, 64, 12), 63062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_LINKSYM_HDMITXPHY1, 64, 13), 63162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_VO1_BRIDGE0, 64, 14), 63262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_VO1_BRIDGE1, 64, 15), 63362306a36Sopenharmony_ci 63462306a36Sopenharmony_ci /* SOFTRST_CON65 */ 63562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_I2S9_8CH, 65, 0), 63662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_M_I2S9_8CH_RX, 65, 3), 63762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_I2S10_8CH, 65, 4), 63862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_M_I2S10_8CH_RX, 65, 7), 63962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_S_HDMIRX, 65, 8), 64062306a36Sopenharmony_ci 64162306a36Sopenharmony_ci /* SOFTRST_CON66 */ 64262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_GPU, 66, 4), 64362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_SYS_GPU, 66, 5), 64462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_S_GPU_BIU, 66, 8), 64562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_M0_GPU_BIU, 66, 9), 64662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_M1_GPU_BIU, 66, 10), 64762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_M2_GPU_BIU, 66, 11), 64862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_M3_GPU_BIU, 66, 12), 64962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_GPU_BIU, 66, 14), 65062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_GPU_PVTM, 66, 15), 65162306a36Sopenharmony_ci 65262306a36Sopenharmony_ci /* SOFTRST_CON67 */ 65362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_GPU_PVTM, 67, 0), 65462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_GPU_GRF, 67, 2), 65562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_GPU_PVTPLL, 67, 3), 65662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_GPU_JTAG, 67, 4), 65762306a36Sopenharmony_ci 65862306a36Sopenharmony_ci /* SOFTRST_CON68 */ 65962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_AV1_BIU, 68, 1), 66062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_AV1, 68, 2), 66162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_AV1_BIU, 68, 4), 66262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_AV1, 68, 5), 66362306a36Sopenharmony_ci 66462306a36Sopenharmony_ci /* SOFTRST_CON69 */ 66562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_DDR_BIU, 69, 4), 66662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_DMA2DDR, 69, 5), 66762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_DDR_SHAREMEM, 69, 6), 66862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_DDR_SHAREMEM_BIU, 69, 7), 66962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_CENTER_S200_BIU, 69, 10), 67062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_CENTER_S400_BIU, 69, 11), 67162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_AHB2APB, 69, 12), 67262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_CENTER_BIU, 69, 13), 67362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_F_DDR_CM0_CORE, 69, 14), 67462306a36Sopenharmony_ci 67562306a36Sopenharmony_ci /* SOFTRST_CON70 */ 67662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_DDR_TIMER0, 70, 0), 67762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_DDR_TIMER1, 70, 1), 67862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_T_WDT_DDR, 70, 2), 67962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_T_DDR_CM0_JTAG, 70, 3), 68062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_CENTER_GRF, 70, 5), 68162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_AHB2APB, 70, 6), 68262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_WDT, 70, 7), 68362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_TIMER, 70, 8), 68462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_DMA2DDR, 70, 9), 68562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_SHAREMEM, 70, 10), 68662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_CENTER_BIU, 70, 11), 68762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_CENTER_CHANNEL_BIU, 70, 12), 68862306a36Sopenharmony_ci 68962306a36Sopenharmony_ci /* SOFTRST_CON72 */ 69062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_USBDPGRF0, 72, 1), 69162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_USBDPPHY0, 72, 2), 69262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_USBDPGRF1, 72, 3), 69362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_USBDPPHY1, 72, 4), 69462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_HDPTX0, 72, 5), 69562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_HDPTX1, 72, 6), 69662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_APB2ASB_SLV_BOT_RIGHT, 72, 7), 69762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_USB2PHY_U3_0_GRF0, 72, 8), 69862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_USB2PHY_U3_1_GRF0, 72, 9), 69962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_USB2PHY_U2_0_GRF0, 72, 10), 70062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_P_USB2PHY_U2_1_GRF0, 72, 11), 70162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_HDPTX0_ROPLL, 72, 12), // missing in TRM 70262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_HDPTX0_LCPLL, 72, 13), // missing in TRM 70362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_HDPTX0, 72, 14), // missing in TRM 70462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_HDPTX1_ROPLL, 72, 15), // missing in TRM 70562306a36Sopenharmony_ci 70662306a36Sopenharmony_ci /* SOFTRST_CON73 */ 70762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_HDPTX1_LCPLL, 73, 0), // missing in TRM 70862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_HDPTX1, 73, 1), // missing in TRM 70962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_HDPTX0_HDMIRXPHY_SET, 73, 2), // missing in TRM 71062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_USBDP_COMBO_PHY0, 73, 3), // missing in TRM 71162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_USBDP_COMBO_PHY0_LCPLL, 73, 4), // missing in TRM 71262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_USBDP_COMBO_PHY0_ROPLL, 73, 5), // missing in TRM 71362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_USBDP_COMBO_PHY0_PCS_HS, 73, 6), // missing in TRM 71462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_USBDP_COMBO_PHY1, 73, 7), // missing in TRM 71562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_USBDP_COMBO_PHY1_LCPLL, 73, 8), // missing in TRM 71662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_USBDP_COMBO_PHY1_ROPLL, 73, 9), // missing in TRM 71762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_USBDP_COMBO_PHY1_PCS_HS, 73, 10), // missing in TRM 71862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_HDMIHDP0, 73, 12), 71962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_HDMIHDP1, 73, 13), 72062306a36Sopenharmony_ci 72162306a36Sopenharmony_ci /* SOFTRST_CON74 */ 72262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_VO1USB_TOP_BIU, 74, 1), 72362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_VO1USB_TOP_BIU, 74, 3), 72462306a36Sopenharmony_ci 72562306a36Sopenharmony_ci /* SOFTRST_CON75 */ 72662306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_SDIO_BIU, 75, 1), 72762306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_SDIO, 75, 2), 72862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_SDIO, 75, 3), 72962306a36Sopenharmony_ci 73062306a36Sopenharmony_ci /* SOFTRST_CON76 */ 73162306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_RGA3_BIU, 76, 2), 73262306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_RGA3_BIU, 76, 3), 73362306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_H_RGA3_1, 76, 4), 73462306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_A_RGA3_1, 76, 5), 73562306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_RGA3_1_CORE, 76, 6), 73662306a36Sopenharmony_ci 73762306a36Sopenharmony_ci /* SOFTRST_CON77 */ 73862306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_REF_PIPE_PHY0, 77, 6), 73962306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_REF_PIPE_PHY1, 77, 7), 74062306a36Sopenharmony_ci RK3588_CRU_RESET_OFFSET(SRST_REF_PIPE_PHY2, 77, 8), 74162306a36Sopenharmony_ci 74262306a36Sopenharmony_ci /* PHPTOPCRU_SOFTRST_CON00 */ 74362306a36Sopenharmony_ci RK3588_PHPTOPCRU_RESET_OFFSET(SRST_P_PHPTOP_CRU, 0, 1), 74462306a36Sopenharmony_ci RK3588_PHPTOPCRU_RESET_OFFSET(SRST_P_PCIE2_GRF0, 0, 2), 74562306a36Sopenharmony_ci RK3588_PHPTOPCRU_RESET_OFFSET(SRST_P_PCIE2_GRF1, 0, 3), 74662306a36Sopenharmony_ci RK3588_PHPTOPCRU_RESET_OFFSET(SRST_P_PCIE2_GRF2, 0, 4), 74762306a36Sopenharmony_ci RK3588_PHPTOPCRU_RESET_OFFSET(SRST_P_PCIE2_PHY0, 0, 5), 74862306a36Sopenharmony_ci RK3588_PHPTOPCRU_RESET_OFFSET(SRST_P_PCIE2_PHY1, 0, 6), 74962306a36Sopenharmony_ci RK3588_PHPTOPCRU_RESET_OFFSET(SRST_P_PCIE2_PHY2, 0, 7), 75062306a36Sopenharmony_ci RK3588_PHPTOPCRU_RESET_OFFSET(SRST_P_PCIE3_PHY, 0, 8), 75162306a36Sopenharmony_ci RK3588_PHPTOPCRU_RESET_OFFSET(SRST_P_APB2ASB_SLV_CHIP_TOP, 0, 9), 75262306a36Sopenharmony_ci RK3588_PHPTOPCRU_RESET_OFFSET(SRST_PCIE30_PHY, 0, 10), 75362306a36Sopenharmony_ci 75462306a36Sopenharmony_ci /* PMU1CRU_SOFTRST_CON00 */ 75562306a36Sopenharmony_ci RK3588_PMU1CRU_RESET_OFFSET(SRST_H_PMU1_BIU, 0, 10), 75662306a36Sopenharmony_ci RK3588_PMU1CRU_RESET_OFFSET(SRST_P_PMU1_BIU, 0, 11), 75762306a36Sopenharmony_ci RK3588_PMU1CRU_RESET_OFFSET(SRST_H_PMU_CM0_BIU, 0, 12), 75862306a36Sopenharmony_ci RK3588_PMU1CRU_RESET_OFFSET(SRST_F_PMU_CM0_CORE, 0, 13), 75962306a36Sopenharmony_ci RK3588_PMU1CRU_RESET_OFFSET(SRST_T_PMU1_CM0_JTAG, 0, 14), 76062306a36Sopenharmony_ci 76162306a36Sopenharmony_ci /* PMU1CRU_SOFTRST_CON01 */ 76262306a36Sopenharmony_ci RK3588_PMU1CRU_RESET_OFFSET(SRST_DDR_FAIL_SAFE, 1, 1), 76362306a36Sopenharmony_ci RK3588_PMU1CRU_RESET_OFFSET(SRST_P_CRU_PMU1, 1, 2), 76462306a36Sopenharmony_ci RK3588_PMU1CRU_RESET_OFFSET(SRST_P_PMU1_GRF, 1, 4), 76562306a36Sopenharmony_ci RK3588_PMU1CRU_RESET_OFFSET(SRST_P_PMU1_IOC, 1, 5), 76662306a36Sopenharmony_ci RK3588_PMU1CRU_RESET_OFFSET(SRST_P_PMU1WDT, 1, 6), 76762306a36Sopenharmony_ci RK3588_PMU1CRU_RESET_OFFSET(SRST_T_PMU1WDT, 1, 7), 76862306a36Sopenharmony_ci RK3588_PMU1CRU_RESET_OFFSET(SRST_P_PMU1TIMER, 1, 8), 76962306a36Sopenharmony_ci RK3588_PMU1CRU_RESET_OFFSET(SRST_PMU1TIMER0, 1, 10), 77062306a36Sopenharmony_ci RK3588_PMU1CRU_RESET_OFFSET(SRST_PMU1TIMER1, 1, 11), 77162306a36Sopenharmony_ci RK3588_PMU1CRU_RESET_OFFSET(SRST_P_PMU1PWM, 1, 12), 77262306a36Sopenharmony_ci RK3588_PMU1CRU_RESET_OFFSET(SRST_PMU1PWM, 1, 13), 77362306a36Sopenharmony_ci 77462306a36Sopenharmony_ci /* PMU1CRU_SOFTRST_CON02 */ 77562306a36Sopenharmony_ci RK3588_PMU1CRU_RESET_OFFSET(SRST_P_I2C0, 2, 1), 77662306a36Sopenharmony_ci RK3588_PMU1CRU_RESET_OFFSET(SRST_I2C0, 2, 2), 77762306a36Sopenharmony_ci RK3588_PMU1CRU_RESET_OFFSET(SRST_S_UART0, 2, 5), 77862306a36Sopenharmony_ci RK3588_PMU1CRU_RESET_OFFSET(SRST_P_UART0, 2, 6), 77962306a36Sopenharmony_ci RK3588_PMU1CRU_RESET_OFFSET(SRST_H_I2S1_8CH, 2, 7), 78062306a36Sopenharmony_ci RK3588_PMU1CRU_RESET_OFFSET(SRST_M_I2S1_8CH_TX, 2, 10), 78162306a36Sopenharmony_ci RK3588_PMU1CRU_RESET_OFFSET(SRST_M_I2S1_8CH_RX, 2, 13), 78262306a36Sopenharmony_ci RK3588_PMU1CRU_RESET_OFFSET(SRST_H_PDM0, 2, 14), 78362306a36Sopenharmony_ci RK3588_PMU1CRU_RESET_OFFSET(SRST_PDM0, 2, 15), 78462306a36Sopenharmony_ci 78562306a36Sopenharmony_ci /* PMU1CRU_SOFTRST_CON03 */ 78662306a36Sopenharmony_ci RK3588_PMU1CRU_RESET_OFFSET(SRST_H_VAD, 3, 0), 78762306a36Sopenharmony_ci RK3588_PMU1CRU_RESET_OFFSET(SRST_HDPTX0_INIT, 3, 11), 78862306a36Sopenharmony_ci RK3588_PMU1CRU_RESET_OFFSET(SRST_HDPTX0_CMN, 3, 12), 78962306a36Sopenharmony_ci RK3588_PMU1CRU_RESET_OFFSET(SRST_HDPTX0_LANE, 3, 13), 79062306a36Sopenharmony_ci RK3588_PMU1CRU_RESET_OFFSET(SRST_HDPTX1_INIT, 3, 15), 79162306a36Sopenharmony_ci 79262306a36Sopenharmony_ci /* PMU1CRU_SOFTRST_CON04 */ 79362306a36Sopenharmony_ci RK3588_PMU1CRU_RESET_OFFSET(SRST_HDPTX1_CMN, 4, 0), 79462306a36Sopenharmony_ci RK3588_PMU1CRU_RESET_OFFSET(SRST_HDPTX1_LANE, 4, 1), 79562306a36Sopenharmony_ci RK3588_PMU1CRU_RESET_OFFSET(SRST_M_MIPI_DCPHY0, 4, 3), 79662306a36Sopenharmony_ci RK3588_PMU1CRU_RESET_OFFSET(SRST_S_MIPI_DCPHY0, 4, 4), 79762306a36Sopenharmony_ci RK3588_PMU1CRU_RESET_OFFSET(SRST_M_MIPI_DCPHY1, 4, 5), 79862306a36Sopenharmony_ci RK3588_PMU1CRU_RESET_OFFSET(SRST_S_MIPI_DCPHY1, 4, 6), 79962306a36Sopenharmony_ci RK3588_PMU1CRU_RESET_OFFSET(SRST_OTGPHY_U3_0, 4, 7), 80062306a36Sopenharmony_ci RK3588_PMU1CRU_RESET_OFFSET(SRST_OTGPHY_U3_1, 4, 8), 80162306a36Sopenharmony_ci RK3588_PMU1CRU_RESET_OFFSET(SRST_OTGPHY_U2_0, 4, 9), 80262306a36Sopenharmony_ci RK3588_PMU1CRU_RESET_OFFSET(SRST_OTGPHY_U2_1, 4, 10), 80362306a36Sopenharmony_ci 80462306a36Sopenharmony_ci /* PMU1CRU_SOFTRST_CON05 */ 80562306a36Sopenharmony_ci RK3588_PMU1CRU_RESET_OFFSET(SRST_P_PMU0GRF, 5, 3), 80662306a36Sopenharmony_ci RK3588_PMU1CRU_RESET_OFFSET(SRST_P_PMU0IOC, 5, 4), 80762306a36Sopenharmony_ci RK3588_PMU1CRU_RESET_OFFSET(SRST_P_GPIO0, 5, 5), 80862306a36Sopenharmony_ci RK3588_PMU1CRU_RESET_OFFSET(SRST_GPIO0, 5, 6), 80962306a36Sopenharmony_ci 81062306a36Sopenharmony_ci /* SECURECRU_SOFTRST_CON00 */ 81162306a36Sopenharmony_ci RK3588_SECURECRU_RESET_OFFSET(SRST_A_SECURE_NS_BIU, 0, 10), 81262306a36Sopenharmony_ci RK3588_SECURECRU_RESET_OFFSET(SRST_H_SECURE_NS_BIU, 0, 11), 81362306a36Sopenharmony_ci RK3588_SECURECRU_RESET_OFFSET(SRST_A_SECURE_S_BIU, 0, 12), 81462306a36Sopenharmony_ci RK3588_SECURECRU_RESET_OFFSET(SRST_H_SECURE_S_BIU, 0, 13), 81562306a36Sopenharmony_ci RK3588_SECURECRU_RESET_OFFSET(SRST_P_SECURE_S_BIU, 0, 14), 81662306a36Sopenharmony_ci RK3588_SECURECRU_RESET_OFFSET(SRST_CRYPTO_CORE, 0, 15), 81762306a36Sopenharmony_ci 81862306a36Sopenharmony_ci /* SECURECRU_SOFTRST_CON01 */ 81962306a36Sopenharmony_ci RK3588_SECURECRU_RESET_OFFSET(SRST_CRYPTO_PKA, 1, 0), 82062306a36Sopenharmony_ci RK3588_SECURECRU_RESET_OFFSET(SRST_CRYPTO_RNG, 1, 1), 82162306a36Sopenharmony_ci RK3588_SECURECRU_RESET_OFFSET(SRST_A_CRYPTO, 1, 2), 82262306a36Sopenharmony_ci RK3588_SECURECRU_RESET_OFFSET(SRST_H_CRYPTO, 1, 3), 82362306a36Sopenharmony_ci RK3588_SECURECRU_RESET_OFFSET(SRST_KEYLADDER_CORE, 1, 9), 82462306a36Sopenharmony_ci RK3588_SECURECRU_RESET_OFFSET(SRST_KEYLADDER_RNG, 1, 10), 82562306a36Sopenharmony_ci RK3588_SECURECRU_RESET_OFFSET(SRST_A_KEYLADDER, 1, 11), 82662306a36Sopenharmony_ci RK3588_SECURECRU_RESET_OFFSET(SRST_H_KEYLADDER, 1, 12), 82762306a36Sopenharmony_ci RK3588_SECURECRU_RESET_OFFSET(SRST_P_OTPC_S, 1, 13), 82862306a36Sopenharmony_ci RK3588_SECURECRU_RESET_OFFSET(SRST_OTPC_S, 1, 14), 82962306a36Sopenharmony_ci RK3588_SECURECRU_RESET_OFFSET(SRST_WDT_S, 1, 15), 83062306a36Sopenharmony_ci 83162306a36Sopenharmony_ci /* SECURECRU_SOFTRST_CON02 */ 83262306a36Sopenharmony_ci RK3588_SECURECRU_RESET_OFFSET(SRST_T_WDT_S, 2, 0), 83362306a36Sopenharmony_ci RK3588_SECURECRU_RESET_OFFSET(SRST_H_BOOTROM, 2, 1), 83462306a36Sopenharmony_ci RK3588_SECURECRU_RESET_OFFSET(SRST_A_DCF, 2, 2), 83562306a36Sopenharmony_ci RK3588_SECURECRU_RESET_OFFSET(SRST_P_DCF, 2, 3), 83662306a36Sopenharmony_ci RK3588_SECURECRU_RESET_OFFSET(SRST_H_BOOTROM_NS, 2, 5), 83762306a36Sopenharmony_ci RK3588_SECURECRU_RESET_OFFSET(SRST_P_KEYLADDER, 2, 14), 83862306a36Sopenharmony_ci RK3588_SECURECRU_RESET_OFFSET(SRST_H_TRNG_S, 2, 15), 83962306a36Sopenharmony_ci 84062306a36Sopenharmony_ci /* SECURECRU_SOFTRST_CON03 */ 84162306a36Sopenharmony_ci RK3588_SECURECRU_RESET_OFFSET(SRST_H_TRNG_NS, 3, 0), 84262306a36Sopenharmony_ci RK3588_SECURECRU_RESET_OFFSET(SRST_D_SDMMC_BUFFER, 3, 1), 84362306a36Sopenharmony_ci RK3588_SECURECRU_RESET_OFFSET(SRST_H_SDMMC, 3, 2), 84462306a36Sopenharmony_ci RK3588_SECURECRU_RESET_OFFSET(SRST_H_SDMMC_BUFFER, 3, 3), 84562306a36Sopenharmony_ci RK3588_SECURECRU_RESET_OFFSET(SRST_SDMMC, 3, 4), 84662306a36Sopenharmony_ci RK3588_SECURECRU_RESET_OFFSET(SRST_P_TRNG_CHK, 3, 5), 84762306a36Sopenharmony_ci RK3588_SECURECRU_RESET_OFFSET(SRST_TRNG_S, 3, 6), 84862306a36Sopenharmony_ci}; 84962306a36Sopenharmony_ci 85062306a36Sopenharmony_civoid rk3588_rst_init(struct device_node *np, void __iomem *reg_base) 85162306a36Sopenharmony_ci{ 85262306a36Sopenharmony_ci rockchip_register_softrst_lut(np, 85362306a36Sopenharmony_ci rk3588_register_offset, 85462306a36Sopenharmony_ci ARRAY_SIZE(rk3588_register_offset), 85562306a36Sopenharmony_ci reg_base + RK3588_SOFTRST_CON(0), 85662306a36Sopenharmony_ci ROCKCHIP_SOFTRST_HIWORD_MASK); 85762306a36Sopenharmony_ci} 858