162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0+ */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * AMD ACP 6.3 Register Documentation
462306a36Sopenharmony_ci *
562306a36Sopenharmony_ci * Copyright 2022 Advanced Micro Devices, Inc.
662306a36Sopenharmony_ci */
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci#ifndef _acp_ip_OFFSET_HEADER
962306a36Sopenharmony_ci#define _acp_ip_OFFSET_HEADER
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ci/* Registers from ACP_DMA block */
1262306a36Sopenharmony_ci#define ACP_DMA_CNTL_0                                0x0000000
1362306a36Sopenharmony_ci#define ACP_DMA_CNTL_1                                0x0000004
1462306a36Sopenharmony_ci#define ACP_DMA_CNTL_2                                0x0000008
1562306a36Sopenharmony_ci#define ACP_DMA_CNTL_3                                0x000000C
1662306a36Sopenharmony_ci#define ACP_DMA_CNTL_4                                0x0000010
1762306a36Sopenharmony_ci#define ACP_DMA_CNTL_5                                0x0000014
1862306a36Sopenharmony_ci#define ACP_DMA_CNTL_6                                0x0000018
1962306a36Sopenharmony_ci#define ACP_DMA_CNTL_7                                0x000001C
2062306a36Sopenharmony_ci#define ACP_DMA_DSCR_STRT_IDX_0                       0x0000020
2162306a36Sopenharmony_ci#define ACP_DMA_DSCR_STRT_IDX_1                       0x0000024
2262306a36Sopenharmony_ci#define ACP_DMA_DSCR_STRT_IDX_2                       0x0000028
2362306a36Sopenharmony_ci#define ACP_DMA_DSCR_STRT_IDX_3                       0x000002C
2462306a36Sopenharmony_ci#define ACP_DMA_DSCR_STRT_IDX_4                       0x0000030
2562306a36Sopenharmony_ci#define ACP_DMA_DSCR_STRT_IDX_5                       0x0000034
2662306a36Sopenharmony_ci#define ACP_DMA_DSCR_STRT_IDX_6                       0x0000038
2762306a36Sopenharmony_ci#define ACP_DMA_DSCR_STRT_IDX_7                       0x000003C
2862306a36Sopenharmony_ci#define ACP_DMA_DSCR_CNT_0                            0x0000040
2962306a36Sopenharmony_ci#define ACP_DMA_DSCR_CNT_1                            0x0000044
3062306a36Sopenharmony_ci#define ACP_DMA_DSCR_CNT_2                            0x0000048
3162306a36Sopenharmony_ci#define ACP_DMA_DSCR_CNT_3                            0x000004C
3262306a36Sopenharmony_ci#define ACP_DMA_DSCR_CNT_4                            0x0000050
3362306a36Sopenharmony_ci#define ACP_DMA_DSCR_CNT_5                            0x0000054
3462306a36Sopenharmony_ci#define ACP_DMA_DSCR_CNT_6                            0x0000058
3562306a36Sopenharmony_ci#define ACP_DMA_DSCR_CNT_7                            0x000005C
3662306a36Sopenharmony_ci#define ACP_DMA_PRIO_0                                0x0000060
3762306a36Sopenharmony_ci#define ACP_DMA_PRIO_1                                0x0000064
3862306a36Sopenharmony_ci#define ACP_DMA_PRIO_2                                0x0000068
3962306a36Sopenharmony_ci#define ACP_DMA_PRIO_3                                0x000006C
4062306a36Sopenharmony_ci#define ACP_DMA_PRIO_4                                0x0000070
4162306a36Sopenharmony_ci#define ACP_DMA_PRIO_5                                0x0000074
4262306a36Sopenharmony_ci#define ACP_DMA_PRIO_6                                0x0000078
4362306a36Sopenharmony_ci#define ACP_DMA_PRIO_7                                0x000007C
4462306a36Sopenharmony_ci#define ACP_DMA_CUR_DSCR_0                            0x0000080
4562306a36Sopenharmony_ci#define ACP_DMA_CUR_DSCR_1                            0x0000084
4662306a36Sopenharmony_ci#define ACP_DMA_CUR_DSCR_2                            0x0000088
4762306a36Sopenharmony_ci#define ACP_DMA_CUR_DSCR_3                            0x000008C
4862306a36Sopenharmony_ci#define ACP_DMA_CUR_DSCR_4                            0x0000090
4962306a36Sopenharmony_ci#define ACP_DMA_CUR_DSCR_5                            0x0000094
5062306a36Sopenharmony_ci#define ACP_DMA_CUR_DSCR_6                            0x0000098
5162306a36Sopenharmony_ci#define ACP_DMA_CUR_DSCR_7                            0x000009C
5262306a36Sopenharmony_ci#define ACP_DMA_CUR_TRANS_CNT_0                       0x00000A0
5362306a36Sopenharmony_ci#define ACP_DMA_CUR_TRANS_CNT_1                       0x00000A4
5462306a36Sopenharmony_ci#define ACP_DMA_CUR_TRANS_CNT_2                       0x00000A8
5562306a36Sopenharmony_ci#define ACP_DMA_CUR_TRANS_CNT_3                       0x00000AC
5662306a36Sopenharmony_ci#define ACP_DMA_CUR_TRANS_CNT_4                       0x00000B0
5762306a36Sopenharmony_ci#define ACP_DMA_CUR_TRANS_CNT_5                       0x00000B4
5862306a36Sopenharmony_ci#define ACP_DMA_CUR_TRANS_CNT_6                       0x00000B8
5962306a36Sopenharmony_ci#define ACP_DMA_CUR_TRANS_CNT_7                       0x00000BC
6062306a36Sopenharmony_ci#define ACP_DMA_ERR_STS_0                             0x00000C0
6162306a36Sopenharmony_ci#define ACP_DMA_ERR_STS_1                             0x00000C4
6262306a36Sopenharmony_ci#define ACP_DMA_ERR_STS_2                             0x00000C8
6362306a36Sopenharmony_ci#define ACP_DMA_ERR_STS_3                             0x00000CC
6462306a36Sopenharmony_ci#define ACP_DMA_ERR_STS_4                             0x00000D0
6562306a36Sopenharmony_ci#define ACP_DMA_ERR_STS_5                             0x00000D4
6662306a36Sopenharmony_ci#define ACP_DMA_ERR_STS_6                             0x00000D8
6762306a36Sopenharmony_ci#define ACP_DMA_ERR_STS_7                             0x00000DC
6862306a36Sopenharmony_ci#define ACP_DMA_DESC_BASE_ADDR                        0x00000E0
6962306a36Sopenharmony_ci#define ACP_DMA_DESC_MAX_NUM_DSCR                     0x00000E4
7062306a36Sopenharmony_ci#define ACP_DMA_CH_STS                                0x00000E8
7162306a36Sopenharmony_ci#define ACP_DMA_CH_GROUP                              0x00000EC
7262306a36Sopenharmony_ci#define ACP_DMA_CH_RST_STS                            0x00000F0
7362306a36Sopenharmony_ci
7462306a36Sopenharmony_ci/* Registers from ACP_AXI2AXIATU block */
7562306a36Sopenharmony_ci#define ACPAXI2AXI_ATU_PAGE_SIZE_GRP_1                0x0000C00
7662306a36Sopenharmony_ci#define ACPAXI2AXI_ATU_BASE_ADDR_GRP_1                0x0000C04
7762306a36Sopenharmony_ci#define ACPAXI2AXI_ATU_PAGE_SIZE_GRP_2                0x0000C08
7862306a36Sopenharmony_ci#define ACPAXI2AXI_ATU_BASE_ADDR_GRP_2                0x0000C0C
7962306a36Sopenharmony_ci#define ACPAXI2AXI_ATU_PAGE_SIZE_GRP_3                0x0000C10
8062306a36Sopenharmony_ci#define ACPAXI2AXI_ATU_BASE_ADDR_GRP_3                0x0000C14
8162306a36Sopenharmony_ci#define ACPAXI2AXI_ATU_PAGE_SIZE_GRP_4                0x0000C18
8262306a36Sopenharmony_ci#define ACPAXI2AXI_ATU_BASE_ADDR_GRP_4                0x0000C1C
8362306a36Sopenharmony_ci#define ACPAXI2AXI_ATU_PAGE_SIZE_GRP_5                0x0000C20
8462306a36Sopenharmony_ci#define ACPAXI2AXI_ATU_BASE_ADDR_GRP_5                0x0000C24
8562306a36Sopenharmony_ci#define ACPAXI2AXI_ATU_PAGE_SIZE_GRP_6                0x0000C28
8662306a36Sopenharmony_ci#define ACPAXI2AXI_ATU_BASE_ADDR_GRP_6                0x0000C2C
8762306a36Sopenharmony_ci#define ACPAXI2AXI_ATU_PAGE_SIZE_GRP_7                0x0000C30
8862306a36Sopenharmony_ci#define ACPAXI2AXI_ATU_BASE_ADDR_GRP_7                0x0000C34
8962306a36Sopenharmony_ci#define ACPAXI2AXI_ATU_PAGE_SIZE_GRP_8                0x0000C38
9062306a36Sopenharmony_ci#define ACPAXI2AXI_ATU_BASE_ADDR_GRP_8                0x0000C3C
9162306a36Sopenharmony_ci#define ACPAXI2AXI_ATU_CTRL                           0x0000C40
9262306a36Sopenharmony_ci#define ACPAXI2AXI_ATU_PAGE_SIZE_GRP_9                0x0000C44
9362306a36Sopenharmony_ci#define ACPAXI2AXI_ATU_BASE_ADDR_GRP_9                0x0000C48
9462306a36Sopenharmony_ci#define ACPAXI2AXI_ATU_PAGE_SIZE_GRP_10               0x0000C4C
9562306a36Sopenharmony_ci#define ACPAXI2AXI_ATU_BASE_ADDR_GRP_10               0x0000C50
9662306a36Sopenharmony_ci#define ACPAXI2AXI_ATU_PAGE_SIZE_GRP_11               0x0000C54
9762306a36Sopenharmony_ci#define ACPAXI2AXI_ATU_BASE_ADDR_GRP_11               0x0000C58
9862306a36Sopenharmony_ci#define ACPAXI2AXI_ATU_PAGE_SIZE_GRP_12               0x0000C5C
9962306a36Sopenharmony_ci#define ACPAXI2AXI_ATU_BASE_ADDR_GRP_12               0x0000C60
10062306a36Sopenharmony_ci#define ACPAXI2AXI_ATU_PAGE_SIZE_GRP_13               0x0000C64
10162306a36Sopenharmony_ci#define ACPAXI2AXI_ATU_BASE_ADDR_GRP_13               0x0000C68
10262306a36Sopenharmony_ci#define ACPAXI2AXI_ATU_PAGE_SIZE_GRP_14               0x0000C6C
10362306a36Sopenharmony_ci#define ACPAXI2AXI_ATU_BASE_ADDR_GRP_14               0x0000C70
10462306a36Sopenharmony_ci#define ACPAXI2AXI_ATU_PAGE_SIZE_GRP_15               0x0000C74
10562306a36Sopenharmony_ci#define ACPAXI2AXI_ATU_BASE_ADDR_GRP_15               0x0000C78
10662306a36Sopenharmony_ci#define ACPAXI2AXI_ATU_PAGE_SIZE_GRP_16               0x0000C7C
10762306a36Sopenharmony_ci#define ACPAXI2AXI_ATU_BASE_ADDR_GRP_16               0x0000C80
10862306a36Sopenharmony_ci
10962306a36Sopenharmony_ci/* Registers from ACP_CLKRST block */
11062306a36Sopenharmony_ci#define ACP_SOFT_RESET                                0x0001000
11162306a36Sopenharmony_ci#define ACP_CONTROL                                   0x0001004
11262306a36Sopenharmony_ci#define ACP_STATUS                                    0x0001008
11362306a36Sopenharmony_ci#define ACP_DYNAMIC_CG_MASTER_CONTROL                 0x0001010
11462306a36Sopenharmony_ci#define ACP_ZSC_DSP_CTRL                              0x0001014
11562306a36Sopenharmony_ci#define ACP_ZSC_STS                                   0x0001018
11662306a36Sopenharmony_ci#define ACP_PGFSM_CONTROL                             0x0001024
11762306a36Sopenharmony_ci#define ACP_PGFSM_STATUS                              0x0001028
11862306a36Sopenharmony_ci#define ACP_CLKMUX_SEL                                0x000102C
11962306a36Sopenharmony_ci
12062306a36Sopenharmony_ci/* Registers from ACP_AON block */
12162306a36Sopenharmony_ci#define ACP_PME_EN                                    0x0001400
12262306a36Sopenharmony_ci#define ACP_DEVICE_STATE                              0x0001404
12362306a36Sopenharmony_ci#define AZ_DEVICE_STATE                               0x0001408
12462306a36Sopenharmony_ci#define ACP_PIN_CONFIG                                0x0001440
12562306a36Sopenharmony_ci#define ACP_PAD_PULLUP_CTRL                           0x0001444
12662306a36Sopenharmony_ci#define ACP_PAD_PULLDOWN_CTRL                         0x0001448
12762306a36Sopenharmony_ci#define ACP_PAD_DRIVE_STRENGTH_CTRL                   0x000144C
12862306a36Sopenharmony_ci#define ACP_PAD_SCHMEN_CTRL                           0x0001450
12962306a36Sopenharmony_ci#define ACP_SW0_PAD_KEEPER_EN                         0x0001454
13062306a36Sopenharmony_ci#define ACP_SW0_WAKE_EN                               0x0001458
13162306a36Sopenharmony_ci#define ACP_I2S_WAKE_EN                               0x000145C
13262306a36Sopenharmony_ci#define ACP_SW1_WAKE_EN                               0x0001460
13362306a36Sopenharmony_ci
13462306a36Sopenharmony_ci#define ACP_SW0_I2S_ERROR_REASON                      0x00018B4
13562306a36Sopenharmony_ci#define ACP_SW0_POS_TRACK_AUDIO0_TX_CTRL              0x00018B8
13662306a36Sopenharmony_ci#define ACP_SW0_AUDIO0_TX_DMA_POS                     0x00018BC
13762306a36Sopenharmony_ci#define ACP_SW0_POS_TRACK_AUDIO1_TX_CTRL              0x00018C0
13862306a36Sopenharmony_ci#define ACP_SW0_AUDIO1_TX_DMA_POS                     0x00018C4
13962306a36Sopenharmony_ci#define ACP_SW0_POS_TRACK_AUDIO2_TX_CTRL              0x00018C8
14062306a36Sopenharmony_ci#define ACP_SW0_AUDIO2_TX_DMA_POS                     0x00018CC
14162306a36Sopenharmony_ci#define ACP_SW0_POS_TRACK_AUDIO0_RX_CTRL              0x00018D0
14262306a36Sopenharmony_ci#define ACP_SW0_AUDIO0_DMA_POS                        0x00018D4
14362306a36Sopenharmony_ci#define ACP_SW0_POS_TRACK_AUDIO1_RX_CTRL              0x00018D8
14462306a36Sopenharmony_ci#define ACP_SW0_AUDIO1_RX_DMA_POS                     0x00018DC
14562306a36Sopenharmony_ci#define ACP_SW0_POS_TRACK_AUDIO2_RX_CTRL              0x00018E0
14662306a36Sopenharmony_ci#define ACP_SW0_AUDIO2_RX_DMA_POS                     0x00018E4
14762306a36Sopenharmony_ci#define ACP_ERROR_INTR_MASK1                          0X0001974
14862306a36Sopenharmony_ci#define ACP_ERROR_INTR_MASK2                          0X0001978
14962306a36Sopenharmony_ci#define ACP_ERROR_INTR_MASK3                          0X000197C
15062306a36Sopenharmony_ci
15162306a36Sopenharmony_ci/* Registers from ACP_P1_MISC block */
15262306a36Sopenharmony_ci#define ACP_EXTERNAL_INTR_ENB                         0x0001A00
15362306a36Sopenharmony_ci#define ACP_EXTERNAL_INTR_CNTL                        0x0001A04
15462306a36Sopenharmony_ci#define ACP_EXTERNAL_INTR_CNTL1                       0x0001A08
15562306a36Sopenharmony_ci#define ACP_EXTERNAL_INTR_STAT                        0x0001A0C
15662306a36Sopenharmony_ci#define ACP_EXTERNAL_INTR_STAT1                       0x0001A10
15762306a36Sopenharmony_ci#define ACP_ERROR_STATUS                              0x0001A4C
15862306a36Sopenharmony_ci#define ACP_SW1_I2S_ERROR_REASON                      0x0001A50
15962306a36Sopenharmony_ci#define ACP_SW1_POS_TRACK_AUDIO0_TX_CTRL              0x0001A6C
16062306a36Sopenharmony_ci#define ACP_SW1_AUDIO0_TX_DMA_POS                     0x0001A70
16162306a36Sopenharmony_ci#define ACP_SW1_POS_TRACK_AUDIO0_RX_CTRL              0x0001A74
16262306a36Sopenharmony_ci#define ACP_SW1_AUDIO0_RX_DMA_POS                     0x0001A78
16362306a36Sopenharmony_ci#define ACP_P1_DMIC_I2S_GPIO_INTR_CTRL                0x0001A7C
16462306a36Sopenharmony_ci#define ACP_P1_DMIC_I2S_GPIO_INTR_STATUS              0x0001A80
16562306a36Sopenharmony_ci#define ACP_SCRATCH_REG_BASE_ADDR                     0x0001A84
16662306a36Sopenharmony_ci#define ACP_SW1_POS_TRACK_AUDIO1_TX_CTRL              0x0001A88
16762306a36Sopenharmony_ci#define ACP_SW1_AUDIO1_TX_DMA_POS                     0x0001A8C
16862306a36Sopenharmony_ci#define ACP_SW1_POS_TRACK_AUDIO2_TX_CTRL              0x0001A90
16962306a36Sopenharmony_ci#define ACP_SW1_AUDIO2_TX_DMA_POS                     0x0001A94
17062306a36Sopenharmony_ci#define ACP_SW1_POS_TRACK_AUDIO1_RX_CTRL              0x0001A98
17162306a36Sopenharmony_ci#define ACP_SW1_AUDIO1_RX_DMA_POS                     0x0001A9C
17262306a36Sopenharmony_ci#define ACP_SW1_POS_TRACK_AUDIO2_RX_CTRL              0x0001AA0
17362306a36Sopenharmony_ci#define ACP_SW1_AUDIO2_RX_DMA_POS                     0x0001AA4
17462306a36Sopenharmony_ci#define ACP_ERROR_INTR_MASK4                          0X0001AEC
17562306a36Sopenharmony_ci#define ACP_ERROR_INTR_MASK5                          0X0001AF0
17662306a36Sopenharmony_ci
17762306a36Sopenharmony_ci/* Registers from ACP_AUDIO_BUFFERS block */
17862306a36Sopenharmony_ci#define ACP_AUDIO0_RX_RINGBUFADDR                        0x0002000
17962306a36Sopenharmony_ci#define ACP_AUDIO0_RX_RINGBUFSIZE                        0x0002004
18062306a36Sopenharmony_ci#define ACP_AUDIO0_RX_LINKPOSITIONCNTR                   0x0002008
18162306a36Sopenharmony_ci#define ACP_AUDIO0_RX_FIFOADDR                           0x000200C
18262306a36Sopenharmony_ci#define ACP_AUDIO0_RX_FIFOSIZE                           0x0002010
18362306a36Sopenharmony_ci#define ACP_AUDIO0_RX_DMA_SIZE                           0x0002014
18462306a36Sopenharmony_ci#define ACP_AUDIO0_RX_LINEARPOSITIONCNTR_HIGH            0x0002018
18562306a36Sopenharmony_ci#define ACP_AUDIO0_RX_LINEARPOSITIONCNTR_LOW             0x000201C
18662306a36Sopenharmony_ci#define ACP_AUDIO0_RX_INTR_WATERMARK_SIZE                0x0002020
18762306a36Sopenharmony_ci#define ACP_AUDIO0_TX_RINGBUFADDR                        0x0002024
18862306a36Sopenharmony_ci#define ACP_AUDIO0_TX_RINGBUFSIZE                        0x0002028
18962306a36Sopenharmony_ci#define ACP_AUDIO0_TX_LINKPOSITIONCNTR                   0x000202C
19062306a36Sopenharmony_ci#define ACP_AUDIO0_TX_FIFOADDR                           0x0002030
19162306a36Sopenharmony_ci#define ACP_AUDIO0_TX_FIFOSIZE                           0x0002034
19262306a36Sopenharmony_ci#define ACP_AUDIO0_TX_DMA_SIZE                           0x0002038
19362306a36Sopenharmony_ci#define ACP_AUDIO0_TX_LINEARPOSITIONCNTR_HIGH            0x000203C
19462306a36Sopenharmony_ci#define ACP_AUDIO0_TX_LINEARPOSITIONCNTR_LOW             0x0002040
19562306a36Sopenharmony_ci#define ACP_AUDIO0_TX_INTR_WATERMARK_SIZE                0x0002044
19662306a36Sopenharmony_ci#define ACP_AUDIO1_RX_RINGBUFADDR                        0x0002048
19762306a36Sopenharmony_ci#define ACP_AUDIO1_RX_RINGBUFSIZE                        0x000204C
19862306a36Sopenharmony_ci#define ACP_AUDIO1_RX_LINKPOSITIONCNTR                   0x0002050
19962306a36Sopenharmony_ci#define ACP_AUDIO1_RX_FIFOADDR                           0x0002054
20062306a36Sopenharmony_ci#define ACP_AUDIO1_RX_FIFOSIZE                           0x0002058
20162306a36Sopenharmony_ci#define ACP_AUDIO1_RX_DMA_SIZE                           0x000205C
20262306a36Sopenharmony_ci#define ACP_AUDIO1_RX_LINEARPOSITIONCNTR_HIGH            0x0002060
20362306a36Sopenharmony_ci#define ACP_AUDIO1_RX_LINEARPOSITIONCNTR_LOW             0x0002064
20462306a36Sopenharmony_ci#define ACP_AUDIO1_RX_INTR_WATERMARK_SIZE                0x0002068
20562306a36Sopenharmony_ci#define ACP_AUDIO1_TX_RINGBUFADDR                        0x000206C
20662306a36Sopenharmony_ci#define ACP_AUDIO1_TX_RINGBUFSIZE                        0x0002070
20762306a36Sopenharmony_ci#define ACP_AUDIO1_TX_LINKPOSITIONCNTR                   0x0002074
20862306a36Sopenharmony_ci#define ACP_AUDIO1_TX_FIFOADDR                           0x0002078
20962306a36Sopenharmony_ci#define ACP_AUDIO1_TX_FIFOSIZE                           0x000207C
21062306a36Sopenharmony_ci#define ACP_AUDIO1_TX_DMA_SIZE                           0x0002080
21162306a36Sopenharmony_ci#define ACP_AUDIO1_TX_LINEARPOSITIONCNTR_HIGH            0x0002084
21262306a36Sopenharmony_ci#define ACP_AUDIO1_TX_LINEARPOSITIONCNTR_LOW             0x0002088
21362306a36Sopenharmony_ci#define ACP_AUDIO1_TX_INTR_WATERMARK_SIZE                0x000208C
21462306a36Sopenharmony_ci#define ACP_AUDIO2_RX_RINGBUFADDR                        0x0002090
21562306a36Sopenharmony_ci#define ACP_AUDIO2_RX_RINGBUFSIZE                        0x0002094
21662306a36Sopenharmony_ci#define ACP_AUDIO2_RX_LINKPOSITIONCNTR                   0x0002098
21762306a36Sopenharmony_ci#define ACP_AUDIO2_RX_FIFOADDR                           0x000209C
21862306a36Sopenharmony_ci#define ACP_AUDIO2_RX_FIFOSIZE                           0x00020A0
21962306a36Sopenharmony_ci#define ACP_AUDIO2_RX_DMA_SIZE                           0x00020A4
22062306a36Sopenharmony_ci#define ACP_AUDIO2_RX_LINEARPOSITIONCNTR_HIGH            0x00020A8
22162306a36Sopenharmony_ci#define ACP_AUDIO2_RX_LINEARPOSITIONCNTR_LOW             0x00020AC
22262306a36Sopenharmony_ci#define ACP_AUDIO2_RX_INTR_WATERMARK_SIZE                0x00020B0
22362306a36Sopenharmony_ci#define ACP_AUDIO2_TX_RINGBUFADDR                        0x00020B4
22462306a36Sopenharmony_ci#define ACP_AUDIO2_TX_RINGBUFSIZE                        0x00020B8
22562306a36Sopenharmony_ci#define ACP_AUDIO2_TX_LINKPOSITIONCNTR                   0x00020BC
22662306a36Sopenharmony_ci#define ACP_AUDIO2_TX_FIFOADDR                           0x00020C0
22762306a36Sopenharmony_ci#define ACP_AUDIO2_TX_FIFOSIZE                           0x00020C4
22862306a36Sopenharmony_ci#define ACP_AUDIO2_TX_DMA_SIZE                           0x00020C8
22962306a36Sopenharmony_ci#define ACP_AUDIO2_TX_LINEARPOSITIONCNTR_HIGH            0x00020CC
23062306a36Sopenharmony_ci#define ACP_AUDIO2_TX_LINEARPOSITIONCNTR_LOW             0x00020D0
23162306a36Sopenharmony_ci#define ACP_AUDIO2_TX_INTR_WATERMARK_SIZE                0x00020D4
23262306a36Sopenharmony_ci
23362306a36Sopenharmony_ci/* Registers from ACP_I2S_TDM block */
23462306a36Sopenharmony_ci#define ACP_I2STDM_IER                                0x0002400
23562306a36Sopenharmony_ci#define ACP_I2STDM_IRER                               0x0002404
23662306a36Sopenharmony_ci#define ACP_I2STDM_RXFRMT                             0x0002408
23762306a36Sopenharmony_ci#define ACP_I2STDM_ITER                               0x000240C
23862306a36Sopenharmony_ci#define ACP_I2STDM_TXFRMT                             0x0002410
23962306a36Sopenharmony_ci#define ACP_I2STDM0_MSTRCLKGEN                        0x0002414
24062306a36Sopenharmony_ci#define ACP_I2STDM1_MSTRCLKGEN                        0x0002418
24162306a36Sopenharmony_ci#define ACP_I2STDM2_MSTRCLKGEN                        0x000241C
24262306a36Sopenharmony_ci#define ACP_I2STDM_REFCLKGEN                          0x0002420
24362306a36Sopenharmony_ci
24462306a36Sopenharmony_ci/* Registers from ACP_BT_TDM block */
24562306a36Sopenharmony_ci#define ACP_BTTDM_IER                                 0x0002800
24662306a36Sopenharmony_ci#define ACP_BTTDM_IRER                                0x0002804
24762306a36Sopenharmony_ci#define ACP_BTTDM_RXFRMT                              0x0002808
24862306a36Sopenharmony_ci#define ACP_BTTDM_ITER                                0x000280C
24962306a36Sopenharmony_ci#define ACP_BTTDM_TXFRMT                              0x0002810
25062306a36Sopenharmony_ci#define ACP_HSTDM_IER                                 0x0002814
25162306a36Sopenharmony_ci#define ACP_HSTDM_IRER                                0x0002818
25262306a36Sopenharmony_ci#define ACP_HSTDM_RXFRMT                              0x000281C
25362306a36Sopenharmony_ci#define ACP_HSTDM_ITER                                0x0002820
25462306a36Sopenharmony_ci#define ACP_HSTDM_TXFRMT                              0x0002824
25562306a36Sopenharmony_ci
25662306a36Sopenharmony_ci/* Registers from ACP_WOV block */
25762306a36Sopenharmony_ci#define ACP_WOV_PDM_ENABLE                            0x0002C04
25862306a36Sopenharmony_ci#define ACP_WOV_PDM_DMA_ENABLE                        0x0002C08
25962306a36Sopenharmony_ci#define ACP_WOV_RX_RINGBUFADDR                        0x0002C0C
26062306a36Sopenharmony_ci#define ACP_WOV_RX_RINGBUFSIZE                        0x0002C10
26162306a36Sopenharmony_ci#define ACP_WOV_RX_LINKPOSITIONCNTR                   0x0002C14
26262306a36Sopenharmony_ci#define ACP_WOV_RX_LINEARPOSITIONCNTR_HIGH            0x0002C18
26362306a36Sopenharmony_ci#define ACP_WOV_RX_LINEARPOSITIONCNTR_LOW             0x0002C1C
26462306a36Sopenharmony_ci#define ACP_WOV_RX_INTR_WATERMARK_SIZE                0x0002C20
26562306a36Sopenharmony_ci#define ACP_WOV_PDM_FIFO_FLUSH                        0x0002C24
26662306a36Sopenharmony_ci#define ACP_WOV_PDM_NO_OF_CHANNELS                    0x0002C28
26762306a36Sopenharmony_ci#define ACP_WOV_PDM_DECIMATION_FACTOR                 0x0002C2C
26862306a36Sopenharmony_ci#define ACP_WOV_PDM_VAD_CTRL                          0x0002C30
26962306a36Sopenharmony_ci#define ACP_WOV_WAKE                                  0x0002C54
27062306a36Sopenharmony_ci#define ACP_WOV_BUFFER_STATUS                         0x0002C58
27162306a36Sopenharmony_ci#define ACP_WOV_MISC_CTRL                             0x0002C5C
27262306a36Sopenharmony_ci#define ACP_WOV_CLK_CTRL                              0x0002C60
27362306a36Sopenharmony_ci#define ACP_PDM_VAD_DYNAMIC_CLK_GATING_EN             0x0002C64
27462306a36Sopenharmony_ci#define ACP_WOV_ERROR_STATUS_REGISTER                 0x0002C68
27562306a36Sopenharmony_ci#define ACP_PDM_CLKDIV                                0x0002C6C
27662306a36Sopenharmony_ci
27762306a36Sopenharmony_ci/* Registers from ACP_SW0_SWCLK block */
27862306a36Sopenharmony_ci#define ACP_SW0_EN                                     0x0003000
27962306a36Sopenharmony_ci#define ACP_SW0_EN_STATUS                              0x0003004
28062306a36Sopenharmony_ci#define ACP_SW0_FRAMESIZE                              0x0003008
28162306a36Sopenharmony_ci#define ACP_SW0_SSP_COUNTER                            0x000300C
28262306a36Sopenharmony_ci#define ACP_SW0_AUDIO0_TX_EN                           0x0003010
28362306a36Sopenharmony_ci#define ACP_SW0_AUDIO0_TX_EN_STATUS                    0x0003014
28462306a36Sopenharmony_ci#define ACP_SW0_AUDIO0_TX_FRAME_FORMAT                 0x0003018
28562306a36Sopenharmony_ci#define ACP_SW0_AUDIO0_TX_SAMPLEINTERVAL               0x000301C
28662306a36Sopenharmony_ci#define ACP_SW0_AUDIO0_TX_HCTRL_DP0                    0x0003020
28762306a36Sopenharmony_ci#define ACP_SW0_AUDIO0_TX_HCTRL_DP1                    0x0003024
28862306a36Sopenharmony_ci#define ACP_SW0_AUDIO0_TX_HCTRL_DP2                    0x0003028
28962306a36Sopenharmony_ci#define ACP_SW0_AUDIO0_TX_HCTRL_DP3                    0x000302C
29062306a36Sopenharmony_ci#define ACP_SW0_AUDIO0_TX_OFFSET_DP0                   0x0003030
29162306a36Sopenharmony_ci#define ACP_SW0_AUDIO0_TX_OFFSET_DP1                   0x0003034
29262306a36Sopenharmony_ci#define ACP_SW0_AUDIO0_TX_OFFSET_DP2                   0x0003038
29362306a36Sopenharmony_ci#define ACP_SW0_AUDIO0_TX_OFFSET_DP3                   0x000303C
29462306a36Sopenharmony_ci#define ACP_SW0_AUDIO0_TX_CHANNEL_ENABLE_DP0           0x0003040
29562306a36Sopenharmony_ci#define ACP_SW0_AUDIO0_TX_CHANNEL_ENABLE_DP1           0x0003044
29662306a36Sopenharmony_ci#define ACP_SW0_AUDIO0_TX_CHANNEL_ENABLE_DP2           0x0003048
29762306a36Sopenharmony_ci#define ACP_SW0_AUDIO0_TX_CHANNEL_ENABLE_DP3           0x000304C
29862306a36Sopenharmony_ci#define ACP_SW0_AUDIO1_TX_EN                           0x0003050
29962306a36Sopenharmony_ci#define ACP_SW0_AUDIO1_TX_EN_STATUS                    0x0003054
30062306a36Sopenharmony_ci#define ACP_SW0_AUDIO1_TX_FRAME_FORMAT                 0x0003058
30162306a36Sopenharmony_ci#define ACP_SW0_AUDIO1_TX_SAMPLEINTERVAL               0x000305C
30262306a36Sopenharmony_ci#define ACP_SW0_AUDIO1_TX_HCTRL                        0x0003060
30362306a36Sopenharmony_ci#define ACP_SW0_AUDIO1_TX_OFFSET                       0x0003064
30462306a36Sopenharmony_ci#define ACP_SW0_AUDIO1_TX_CHANNEL_ENABLE_DP0           0x0003068
30562306a36Sopenharmony_ci#define ACP_SW0_AUDIO2_TX_EN                           0x000306C
30662306a36Sopenharmony_ci#define ACP_SW0_AUDIO2_TX_EN_STATUS                    0x0003070
30762306a36Sopenharmony_ci#define ACP_SW0_AUDIO2_TX_FRAME_FORMAT                 0x0003074
30862306a36Sopenharmony_ci#define ACP_SW0_AUDIO2_TX_SAMPLEINTERVAL               0x0003078
30962306a36Sopenharmony_ci#define ACP_SW0_AUDIO2_TX_HCTRL                        0x000307C
31062306a36Sopenharmony_ci#define ACP_SW0_AUDIO2_TX_OFFSET                       0x0003080
31162306a36Sopenharmony_ci#define ACP_SW0_AUDIO2_TX_CHANNEL_ENABLE_DP0           0x0003084
31262306a36Sopenharmony_ci#define ACP_SW0_AUDIO0_RX_EN                           0x0003088
31362306a36Sopenharmony_ci#define ACP_SW0_AUDIO0_RX_EN_STATUS                    0x000308C
31462306a36Sopenharmony_ci#define ACP_SW0_AUDIO0_RX_FRAME_FORMAT                 0x0003090
31562306a36Sopenharmony_ci#define ACP_SW0_AUDIO0_RX_SAMPLEINTERVAL               0x0003094
31662306a36Sopenharmony_ci#define ACP_SW0_AUDIO0_RX_HCTRL_DP0                    0x0003098
31762306a36Sopenharmony_ci#define ACP_SW0_AUDIO0_RX_HCTRL_DP1                    0x000309C
31862306a36Sopenharmony_ci#define ACP_SW0_AUDIO0_RX_HCTRL_DP2                    0x0003100
31962306a36Sopenharmony_ci#define ACP_SW0_AUDIO0_RX_HCTRL_DP3                    0x0003104
32062306a36Sopenharmony_ci#define ACP_SW0_AUDIO0_RX_OFFSET_DP0                   0x0003108
32162306a36Sopenharmony_ci#define ACP_SW0_AUDIO0_RX_OFFSET_DP1                   0x000310C
32262306a36Sopenharmony_ci#define ACP_SW0_AUDIO0_RX_OFFSET_DP2                   0x0003110
32362306a36Sopenharmony_ci#define ACP_SW0_AUDIO0_RX_OFFSET_DP3                   0x0003114
32462306a36Sopenharmony_ci#define ACP_SW0_AUDIO0_RX_CHANNEL_ENABLE_DP0           0x0003118
32562306a36Sopenharmony_ci#define ACP_SW0_AUDIO0_RX_CHANNEL_ENABLE_DP1           0x000311C
32662306a36Sopenharmony_ci#define ACP_SW0_AUDIO0_RX_CHANNEL_ENABLE_DP2           0x0003120
32762306a36Sopenharmony_ci#define ACP_SW0_AUDIO0_RX_CHANNEL_ENABLE_DP3           0x0003124
32862306a36Sopenharmony_ci#define ACP_SW0_AUDIO1_RX_EN                           0x0003128
32962306a36Sopenharmony_ci#define ACP_SW0_AUDIO1_RX_EN_STATUS                    0x000312C
33062306a36Sopenharmony_ci#define ACP_SW0_AUDIO1_RX_FRAME_FORMAT                 0x0003130
33162306a36Sopenharmony_ci#define ACP_SW0_AUDIO1_RX_SAMPLEINTERVAL               0x0003134
33262306a36Sopenharmony_ci#define ACP_SW0_AUDIO1_RX_HCTRL                        0x0003138
33362306a36Sopenharmony_ci#define ACP_SW0_AUDIO1_RX_OFFSET                       0x000313C
33462306a36Sopenharmony_ci#define ACP_SW0_AUDIO1_RX_CHANNEL_ENABLE_DP0           0x0003140
33562306a36Sopenharmony_ci#define ACP_SW0_AUDIO2_RX_EN                           0x0003144
33662306a36Sopenharmony_ci#define ACP_SW0_AUDIO2_RX_EN_STATUS                    0x0003148
33762306a36Sopenharmony_ci#define ACP_SW0_AUDIO2_RX_FRAME_FORMAT                 0x000314C
33862306a36Sopenharmony_ci#define ACP_SW0_AUDIO2_RX_SAMPLEINTERVAL               0x0003150
33962306a36Sopenharmony_ci#define ACP_SW0_AUDIO2_RX_HCTRL                        0x0003154
34062306a36Sopenharmony_ci#define ACP_SW0_AUDIO2_RX_OFFSET                       0x0003158
34162306a36Sopenharmony_ci#define ACP_SW0_AUDIO2_RX_CHANNEL_ENABLE_DP0           0x000315C
34262306a36Sopenharmony_ci#define ACP_SW0_BPT_PORT_EN                            0x0003160
34362306a36Sopenharmony_ci#define ACP_SW0_BPT_PORT_EN_STATUS                     0x0003164
34462306a36Sopenharmony_ci#define ACP_SW0_BPT_PORT_FRAME_FORMAT                  0x0003168
34562306a36Sopenharmony_ci#define ACP_SW0_BPT_PORT_SAMPLEINTERVAL                0x000316C
34662306a36Sopenharmony_ci#define ACP_SW0_BPT_PORT_HCTRL                         0x0003170
34762306a36Sopenharmony_ci#define ACP_SW0_BPT_PORT_OFFSET                        0x0003174
34862306a36Sopenharmony_ci#define ACP_SW0_BPT_PORT_CHANNEL_ENABLE                0x0003178
34962306a36Sopenharmony_ci#define ACP_SW0_BPT_PORT_FIRST_BYTE_ADDR               0x000317C
35062306a36Sopenharmony_ci#define ACP_SW0_CLK_RESUME_CTRL                        0x0003180
35162306a36Sopenharmony_ci#define ACP_SW0_CLK_RESUME_DELAY_CNTR                  0x0003184
35262306a36Sopenharmony_ci#define ACP_SW0_BUS_RESET_CTRL                         0x0003188
35362306a36Sopenharmony_ci#define ACP_SW0_PRBS_ERR_STATUS                        0x000318C
35462306a36Sopenharmony_ci#define ACP_SW0_IMM_CMD_UPPER_WORD                     0x0003230
35562306a36Sopenharmony_ci#define ACP_SW0_IMM_CMD_LOWER_QWORD                    0x0003234
35662306a36Sopenharmony_ci#define ACP_SW0_IMM_RESP_UPPER_WORD                    0x0003238
35762306a36Sopenharmony_ci#define ACP_SW0_IMM_RESP_LOWER_QWORD                   0x000323C
35862306a36Sopenharmony_ci#define ACP_SW0_IMM_CMD_STS                            0x0003240
35962306a36Sopenharmony_ci#define ACP_SW0_BRA_BASE_ADDRESS                       0x0003244
36062306a36Sopenharmony_ci#define ACP_SW0_BRA_TRANSFER_SIZE                      0x0003248
36162306a36Sopenharmony_ci#define ACP_SW0_BRA_DMA_BUSY                           0x000324C
36262306a36Sopenharmony_ci#define ACP_SW0_BRA_RESP                               0x0003250
36362306a36Sopenharmony_ci#define ACP_SW0_BRA_RESP_FRAME_ADDR                    0x0003254
36462306a36Sopenharmony_ci#define ACP_SW0_BRA_CURRENT_TRANSFER_SIZE              0x0003258
36562306a36Sopenharmony_ci#define ACP_SW0_STATECHANGE_STATUS_0TO7                0x000325C
36662306a36Sopenharmony_ci#define ACP_SW0_STATECHANGE_STATUS_8TO11               0x0003260
36762306a36Sopenharmony_ci#define ACP_SW0_STATECHANGE_STATUS_MASK_0TO7           0x0003264
36862306a36Sopenharmony_ci#define ACP_SW0_STATECHANGE_STATUS_MASK_8TO11          0x0003268
36962306a36Sopenharmony_ci#define ACP_SW0_CLK_FREQUENCY_CTRL                     0x000326C
37062306a36Sopenharmony_ci#define ACP_SW0_ERROR_INTR_MASK                        0x0003270
37162306a36Sopenharmony_ci#define ACP_SW0_PHY_TEST_MODE_DATA_OFF                 0x0003274
37262306a36Sopenharmony_ci
37362306a36Sopenharmony_ci/* Registers from ACP_P1_AUDIO_BUFFERS block */
37462306a36Sopenharmony_ci#define ACP_P1_AUDIO0_RX_RINGBUFADDR                     0x0003A00
37562306a36Sopenharmony_ci#define ACP_P1_AUDIO0_RX_RINGBUFSIZE                     0x0003A04
37662306a36Sopenharmony_ci#define ACP_P1_AUDIO0_RX_LINKPOSITIONCNTR                0x0003A08
37762306a36Sopenharmony_ci#define ACP_P1_AUDIO0_RX_FIFOADDR                        0x0003A0C
37862306a36Sopenharmony_ci#define ACP_P1_AUDIO0_RX_FIFOSIZE                        0x0003A10
37962306a36Sopenharmony_ci#define ACP_P1_AUDIO0_RX_DMA_SIZE                        0x0003A14
38062306a36Sopenharmony_ci#define ACP_P1_AUDIO0_RX_LINEARPOSITIONCNTR_HIGH         0x0003A18
38162306a36Sopenharmony_ci#define ACP_P1_AUDIO0_RX_LINEARPOSITIONCNTR_LOW          0x0003A1C
38262306a36Sopenharmony_ci#define ACP_P1_AUDIO0_RX_INTR_WATERMARK_SIZE             0x0003A20
38362306a36Sopenharmony_ci#define ACP_P1_AUDIO0_TX_RINGBUFADDR                     0x0003A24
38462306a36Sopenharmony_ci#define ACP_P1_AUDIO0_TX_RINGBUFSIZE                     0x0003A28
38562306a36Sopenharmony_ci#define ACP_P1_AUDIO0_TX_LINKPOSITIONCNTR                0x0003A2C
38662306a36Sopenharmony_ci#define ACP_P1_AUDIO0_TX_FIFOADDR                        0x0003A30
38762306a36Sopenharmony_ci#define ACP_P1_AUDIO0_TX_FIFOSIZE                        0x0003A34
38862306a36Sopenharmony_ci#define ACP_P1_AUDIO0_TX_DMA_SIZE                        0x0003A38
38962306a36Sopenharmony_ci#define ACP_P1_AUDIO0_TX_LINEARPOSITIONCNTR_HIGH         0x0003A3C
39062306a36Sopenharmony_ci#define ACP_P1_AUDIO0_TX_LINEARPOSITIONCNTR_LOW          0x0003A40
39162306a36Sopenharmony_ci#define ACP_P1_AUDIO0_TX_INTR_WATERMARK_SIZE             0x0003A44
39262306a36Sopenharmony_ci#define ACP_P1_AUDIO1_RX_RINGBUFADDR                     0x0003A48
39362306a36Sopenharmony_ci#define ACP_P1_AUDIO1_RX_RINGBUFSIZE                     0x0003A4C
39462306a36Sopenharmony_ci#define ACP_P1_AUDIO1_RX_LINKPOSITIONCNTR                0x0003A50
39562306a36Sopenharmony_ci#define ACP_P1_AUDIO1_RX_FIFOADDR                        0x0003A54
39662306a36Sopenharmony_ci#define ACP_P1_AUDIO1_RX_FIFOSIZE                        0x0003A58
39762306a36Sopenharmony_ci#define ACP_P1_AUDIO1_RX_DMA_SIZE                        0x0003A5C
39862306a36Sopenharmony_ci#define ACP_P1_AUDIO1_RX_LINEARPOSITIONCNTR_HIGH         0x0003A60
39962306a36Sopenharmony_ci#define ACP_P1_AUDIO1_RX_LINEARPOSITIONCNTR_LOW          0x0003A64
40062306a36Sopenharmony_ci#define ACP_P1_AUDIO1_RX_INTR_WATERMARK_SIZE             0x0003A68
40162306a36Sopenharmony_ci#define ACP_P1_AUDIO1_TX_RINGBUFADDR                     0x0003A6C
40262306a36Sopenharmony_ci#define ACP_P1_AUDIO1_TX_RINGBUFSIZE                     0x0003A70
40362306a36Sopenharmony_ci#define ACP_P1_AUDIO1_TX_LINKPOSITIONCNTR                0x0003A74
40462306a36Sopenharmony_ci#define ACP_P1_AUDIO1_TX_FIFOADDR                        0x0003A78
40562306a36Sopenharmony_ci#define ACP_P1_AUDIO1_TX_FIFOSIZE                        0x0003A7C
40662306a36Sopenharmony_ci#define ACP_P1_AUDIO1_TX_DMA_SIZE                        0x0003A80
40762306a36Sopenharmony_ci#define ACP_P1_AUDIO1_TX_LINEARPOSITIONCNTR_HIGH         0x0003A84
40862306a36Sopenharmony_ci#define ACP_P1_AUDIO1_TX_LINEARPOSITIONCNTR_LOW          0x0003A88
40962306a36Sopenharmony_ci#define ACP_P1_AUDIO1_TX_INTR_WATERMARK_SIZE             0x0003A8C
41062306a36Sopenharmony_ci#define ACP_P1_AUDIO2_RX_RINGBUFADDR                     0x0003A90
41162306a36Sopenharmony_ci#define ACP_P1_AUDIO2_RX_RINGBUFSIZE                     0x0003A94
41262306a36Sopenharmony_ci#define ACP_P1_AUDIO2_RX_LINKPOSITIONCNTR                0x0003A98
41362306a36Sopenharmony_ci#define ACP_P1_AUDIO2_RX_FIFOADDR                        0x0003A9C
41462306a36Sopenharmony_ci#define ACP_P1_AUDIO2_RX_FIFOSIZE                        0x0003AA0
41562306a36Sopenharmony_ci#define ACP_P1_AUDIO2_RX_DMA_SIZE                        0x0003AA4
41662306a36Sopenharmony_ci#define ACP_P1_AUDIO2_RX_LINEARPOSITIONCNTR_HIGH         0x0003AA8
41762306a36Sopenharmony_ci#define ACP_P1_AUDIO2_RX_LINEARPOSITIONCNTR_LOW          0x0003AAC
41862306a36Sopenharmony_ci#define ACP_P1_AUDIO2_RX_INTR_WATERMARK_SIZE             0x0003AB0
41962306a36Sopenharmony_ci#define ACP_P1_AUDIO2_TX_RINGBUFADDR                     0x0003AB4
42062306a36Sopenharmony_ci#define ACP_P1_AUDIO2_TX_RINGBUFSIZE                     0x0003AB8
42162306a36Sopenharmony_ci#define ACP_P1_AUDIO2_TX_LINKPOSITIONCNTR                0x0003ABC
42262306a36Sopenharmony_ci#define ACP_P1_AUDIO2_TX_FIFOADDR                        0x0003AC0
42362306a36Sopenharmony_ci#define ACP_P1_AUDIO2_TX_FIFOSIZE                        0x0003AC4
42462306a36Sopenharmony_ci#define ACP_P1_AUDIO2_TX_DMA_SIZE                        0x0003AC8
42562306a36Sopenharmony_ci#define ACP_P1_AUDIO2_TX_LINEARPOSITIONCNTR_HIGH         0x0003ACC
42662306a36Sopenharmony_ci#define ACP_P1_AUDIO2_TX_LINEARPOSITIONCNTR_LOW          0x0003AD0
42762306a36Sopenharmony_ci#define ACP_P1_AUDIO2_TX_INTR_WATERMARK_SIZE             0x0003AD4
42862306a36Sopenharmony_ci
42962306a36Sopenharmony_ci/* Registers from ACP_SW1_SWCLK block */
43062306a36Sopenharmony_ci#define ACP_SW1_EN                                       0x0003C00
43162306a36Sopenharmony_ci#define ACP_SW1_EN_STATUS                                0x0003C04
43262306a36Sopenharmony_ci#define ACP_SW1_FRAMESIZE                                0x0003C08
43362306a36Sopenharmony_ci#define ACP_SW1_SSP_COUNTER                              0x0003C0C
43462306a36Sopenharmony_ci#define ACP_SW1_AUDIO1_TX_EN                             0x0003C50
43562306a36Sopenharmony_ci#define ACP_SW1_AUDIO1_TX_EN_STATUS                      0x0003C54
43662306a36Sopenharmony_ci#define ACP_SW1_AUDIO1_TX_FRAME_FORMAT                   0x0003C58
43762306a36Sopenharmony_ci#define ACP_SW1_AUDIO1_TX_SAMPLEINTERVAL                 0x0003C5C
43862306a36Sopenharmony_ci#define ACP_SW1_AUDIO1_TX_HCTRL                          0x0003C60
43962306a36Sopenharmony_ci#define ACP_SW1_AUDIO1_TX_OFFSET                         0x0003C64
44062306a36Sopenharmony_ci#define ACP_SW1_AUDIO1_TX_CHANNEL_ENABLE_DP0             0x0003C68
44162306a36Sopenharmony_ci#define ACP_SW1_AUDIO1_RX_EN                             0x0003D28
44262306a36Sopenharmony_ci#define ACP_SW1_AUDIO1_RX_EN_STATUS                      0x0003D2C
44362306a36Sopenharmony_ci#define ACP_SW1_AUDIO1_RX_FRAME_FORMAT                   0x0003D30
44462306a36Sopenharmony_ci#define ACP_SW1_AUDIO1_RX_SAMPLEINTERVAL                 0x0003D34
44562306a36Sopenharmony_ci#define ACP_SW1_AUDIO1_RX_HCTRL                          0x0003D38
44662306a36Sopenharmony_ci#define ACP_SW1_AUDIO1_RX_OFFSET                         0x0003D3C
44762306a36Sopenharmony_ci#define ACP_SW1_AUDIO1_RX_CHANNEL_ENABLE_DP0             0x0003D40
44862306a36Sopenharmony_ci#define ACP_SW1_BPT_PORT_EN                              0x0003D60
44962306a36Sopenharmony_ci#define ACP_SW1_BPT_PORT_EN_STATUS                       0x0003D64
45062306a36Sopenharmony_ci#define ACP_SW1_BPT_PORT_FRAME_FORMAT                    0x0003D68
45162306a36Sopenharmony_ci#define ACP_SW1_BPT_PORT_SAMPLEINTERVAL                  0x0003D6C
45262306a36Sopenharmony_ci#define ACP_SW1_BPT_PORT_HCTRL                           0x0003D70
45362306a36Sopenharmony_ci#define ACP_SW1_BPT_PORT_OFFSET                          0x0003D74
45462306a36Sopenharmony_ci#define ACP_SW1_BPT_PORT_CHANNEL_ENABLE                  0x0003D78
45562306a36Sopenharmony_ci#define ACP_SW1_BPT_PORT_FIRST_BYTE_ADDR                 0x0003D7C
45662306a36Sopenharmony_ci#define ACP_SW1_CLK_RESUME_CTRL                          0x0003D80
45762306a36Sopenharmony_ci#define ACP_SW1_CLK_RESUME_DELAY_CNTR                    0x0003D84
45862306a36Sopenharmony_ci#define ACP_SW1_BUS_RESET_CTRL                           0x0003D88
45962306a36Sopenharmony_ci#define ACP_SW1_PRBS_ERR_STATUS                          0x0003D8C
46062306a36Sopenharmony_ci
46162306a36Sopenharmony_ci/* Registers from ACP_SW1_ACLK block */
46262306a36Sopenharmony_ci#define ACP_SW1_CORB_BASE_ADDRESS                       0x0003E00
46362306a36Sopenharmony_ci#define ACP_SW1_CORB_WRITE_POINTER                      0x0003E04
46462306a36Sopenharmony_ci#define ACP_SW1_CORB_READ_POINTER                       0x0003E08
46562306a36Sopenharmony_ci#define ACP_SW1_CORB_CONTROL                            0x0003E0C
46662306a36Sopenharmony_ci#define ACP_SW1_CORB_SIZE                               0x0003E14
46762306a36Sopenharmony_ci#define ACP_SW1_RIRB_BASE_ADDRESS                       0x0003E18
46862306a36Sopenharmony_ci#define ACP_SW1_RIRB_WRITE_POINTER                      0x0003E1C
46962306a36Sopenharmony_ci#define ACP_SW1_RIRB_RESPONSE_INTERRUPT_COUNT           0x0003E20
47062306a36Sopenharmony_ci#define ACP_SW1_RIRB_CONTROL                            0x0003E24
47162306a36Sopenharmony_ci#define ACP_SW1_RIRB_SIZE                               0x0003E28
47262306a36Sopenharmony_ci#define ACP_SW1_RIRB_FIFO_MIN_THDL                      0x0003E2C
47362306a36Sopenharmony_ci#define ACP_SW1_IMM_CMD_UPPER_WORD                      0x0003E30
47462306a36Sopenharmony_ci#define ACP_SW1_IMM_CMD_LOWER_QWORD                     0x0003E34
47562306a36Sopenharmony_ci#define ACP_SW1_IMM_RESP_UPPER_WORD                     0x0003E38
47662306a36Sopenharmony_ci#define ACP_SW1_IMM_RESP_LOWER_QWORD                    0x0003E3C
47762306a36Sopenharmony_ci#define ACP_SW1_IMM_CMD_STS                             0x0003E40
47862306a36Sopenharmony_ci#define ACP_SW1_BRA_BASE_ADDRESS                        0x0003E44
47962306a36Sopenharmony_ci#define ACP_SW1_BRA_TRANSFER_SIZE                       0x0003E48
48062306a36Sopenharmony_ci#define ACP_SW1_BRA_DMA_BUSY                            0x0003E4C
48162306a36Sopenharmony_ci#define ACP_SW1_BRA_RESP                                0x0003E50
48262306a36Sopenharmony_ci#define ACP_SW1_BRA_RESP_FRAME_ADDR                     0x0003E54
48362306a36Sopenharmony_ci#define ACP_SW1_BRA_CURRENT_TRANSFER_SIZE               0x0003E58
48462306a36Sopenharmony_ci#define ACP_SW1_STATECHANGE_STATUS_0TO7                 0x0003E5C
48562306a36Sopenharmony_ci#define ACP_SW1_STATECHANGE_STATUS_8TO11                0x0003E60
48662306a36Sopenharmony_ci#define ACP_SW1_STATECHANGE_STATUS_MASK_0TO7            0x0003E64
48762306a36Sopenharmony_ci#define ACP_SW1_STATECHANGE_STATUS_MASK_8TO11           0x0003E68
48862306a36Sopenharmony_ci#define ACP_SW1_CLK_FREQUENCY_CTRL                      0x0003E6C
48962306a36Sopenharmony_ci#define ACP_SW1_ERROR_INTR_MASK                         0x0003E70
49062306a36Sopenharmony_ci#define ACP_SW1_PHY_TEST_MODE_DATA_OFF                  0x0003E74
49162306a36Sopenharmony_ci
49262306a36Sopenharmony_ci/* Registers from ACP_SCRATCH block */
49362306a36Sopenharmony_ci#define ACP_SCRATCH_REG_0                               0x0010000
49462306a36Sopenharmony_ci
49562306a36Sopenharmony_ci#endif
496