18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0+ */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * AMD ACP 3.0 Register Documentation
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * Copyright 2016 Advanced Micro Devices, Inc.
68c2ecf20Sopenharmony_ci */
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci#ifndef _acp_ip_OFFSET_HEADER
98c2ecf20Sopenharmony_ci#define _acp_ip_OFFSET_HEADER
108c2ecf20Sopenharmony_ci// Registers from ACP_DMA block
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci#define mmACP_DMA_CNTL_0                                0x1240000
138c2ecf20Sopenharmony_ci#define mmACP_DMA_CNTL_1                                0x1240004
148c2ecf20Sopenharmony_ci#define mmACP_DMA_CNTL_2                                0x1240008
158c2ecf20Sopenharmony_ci#define mmACP_DMA_CNTL_3                                0x124000C
168c2ecf20Sopenharmony_ci#define mmACP_DMA_CNTL_4                                0x1240010
178c2ecf20Sopenharmony_ci#define mmACP_DMA_CNTL_5                                0x1240014
188c2ecf20Sopenharmony_ci#define mmACP_DMA_CNTL_6                                0x1240018
198c2ecf20Sopenharmony_ci#define mmACP_DMA_CNTL_7                                0x124001C
208c2ecf20Sopenharmony_ci#define mmACP_DMA_DSCR_STRT_IDX_0                       0x1240020
218c2ecf20Sopenharmony_ci#define mmACP_DMA_DSCR_STRT_IDX_1                       0x1240024
228c2ecf20Sopenharmony_ci#define mmACP_DMA_DSCR_STRT_IDX_2                       0x1240028
238c2ecf20Sopenharmony_ci#define mmACP_DMA_DSCR_STRT_IDX_3                       0x124002C
248c2ecf20Sopenharmony_ci#define mmACP_DMA_DSCR_STRT_IDX_4                       0x1240030
258c2ecf20Sopenharmony_ci#define mmACP_DMA_DSCR_STRT_IDX_5                       0x1240034
268c2ecf20Sopenharmony_ci#define mmACP_DMA_DSCR_STRT_IDX_6                       0x1240038
278c2ecf20Sopenharmony_ci#define mmACP_DMA_DSCR_STRT_IDX_7                       0x124003C
288c2ecf20Sopenharmony_ci#define mmACP_DMA_DSCR_CNT_0                            0x1240040
298c2ecf20Sopenharmony_ci#define mmACP_DMA_DSCR_CNT_1                            0x1240044
308c2ecf20Sopenharmony_ci#define mmACP_DMA_DSCR_CNT_2                            0x1240048
318c2ecf20Sopenharmony_ci#define mmACP_DMA_DSCR_CNT_3                            0x124004C
328c2ecf20Sopenharmony_ci#define mmACP_DMA_DSCR_CNT_4                            0x1240050
338c2ecf20Sopenharmony_ci#define mmACP_DMA_DSCR_CNT_5                            0x1240054
348c2ecf20Sopenharmony_ci#define mmACP_DMA_DSCR_CNT_6                            0x1240058
358c2ecf20Sopenharmony_ci#define mmACP_DMA_DSCR_CNT_7                            0x124005C
368c2ecf20Sopenharmony_ci#define mmACP_DMA_PRIO_0                                0x1240060
378c2ecf20Sopenharmony_ci#define mmACP_DMA_PRIO_1                                0x1240064
388c2ecf20Sopenharmony_ci#define mmACP_DMA_PRIO_2                                0x1240068
398c2ecf20Sopenharmony_ci#define mmACP_DMA_PRIO_3                                0x124006C
408c2ecf20Sopenharmony_ci#define mmACP_DMA_PRIO_4                                0x1240070
418c2ecf20Sopenharmony_ci#define mmACP_DMA_PRIO_5                                0x1240074
428c2ecf20Sopenharmony_ci#define mmACP_DMA_PRIO_6                                0x1240078
438c2ecf20Sopenharmony_ci#define mmACP_DMA_PRIO_7                                0x124007C
448c2ecf20Sopenharmony_ci#define mmACP_DMA_CUR_DSCR_0                            0x1240080
458c2ecf20Sopenharmony_ci#define mmACP_DMA_CUR_DSCR_1                            0x1240084
468c2ecf20Sopenharmony_ci#define mmACP_DMA_CUR_DSCR_2                            0x1240088
478c2ecf20Sopenharmony_ci#define mmACP_DMA_CUR_DSCR_3                            0x124008C
488c2ecf20Sopenharmony_ci#define mmACP_DMA_CUR_DSCR_4                            0x1240090
498c2ecf20Sopenharmony_ci#define mmACP_DMA_CUR_DSCR_5                            0x1240094
508c2ecf20Sopenharmony_ci#define mmACP_DMA_CUR_DSCR_6                            0x1240098
518c2ecf20Sopenharmony_ci#define mmACP_DMA_CUR_DSCR_7                            0x124009C
528c2ecf20Sopenharmony_ci#define mmACP_DMA_CUR_TRANS_CNT_0                       0x12400A0
538c2ecf20Sopenharmony_ci#define mmACP_DMA_CUR_TRANS_CNT_1                       0x12400A4
548c2ecf20Sopenharmony_ci#define mmACP_DMA_CUR_TRANS_CNT_2                       0x12400A8
558c2ecf20Sopenharmony_ci#define mmACP_DMA_CUR_TRANS_CNT_3                       0x12400AC
568c2ecf20Sopenharmony_ci#define mmACP_DMA_CUR_TRANS_CNT_4                       0x12400B0
578c2ecf20Sopenharmony_ci#define mmACP_DMA_CUR_TRANS_CNT_5                       0x12400B4
588c2ecf20Sopenharmony_ci#define mmACP_DMA_CUR_TRANS_CNT_6                       0x12400B8
598c2ecf20Sopenharmony_ci#define mmACP_DMA_CUR_TRANS_CNT_7                       0x12400BC
608c2ecf20Sopenharmony_ci#define mmACP_DMA_ERR_STS_0                             0x12400C0
618c2ecf20Sopenharmony_ci#define mmACP_DMA_ERR_STS_1                             0x12400C4
628c2ecf20Sopenharmony_ci#define mmACP_DMA_ERR_STS_2                             0x12400C8
638c2ecf20Sopenharmony_ci#define mmACP_DMA_ERR_STS_3                             0x12400CC
648c2ecf20Sopenharmony_ci#define mmACP_DMA_ERR_STS_4                             0x12400D0
658c2ecf20Sopenharmony_ci#define mmACP_DMA_ERR_STS_5                             0x12400D4
668c2ecf20Sopenharmony_ci#define mmACP_DMA_ERR_STS_6                             0x12400D8
678c2ecf20Sopenharmony_ci#define mmACP_DMA_ERR_STS_7                             0x12400DC
688c2ecf20Sopenharmony_ci#define mmACP_DMA_DESC_BASE_ADDR                        0x12400E0
698c2ecf20Sopenharmony_ci#define mmACP_DMA_DESC_MAX_NUM_DSCR                     0x12400E4
708c2ecf20Sopenharmony_ci#define mmACP_DMA_CH_STS                                0x12400E8
718c2ecf20Sopenharmony_ci#define mmACP_DMA_CH_GROUP                              0x12400EC
728c2ecf20Sopenharmony_ci#define mmACP_DMA_CH_RST_STS                            0x12400F0
738c2ecf20Sopenharmony_ci
748c2ecf20Sopenharmony_ci
758c2ecf20Sopenharmony_ci// Registers from ACP_AXI2AXIATU block
768c2ecf20Sopenharmony_ci
778c2ecf20Sopenharmony_ci#define mmACPAXI2AXI_ATU_PAGE_SIZE_GRP_1                0x1240C00
788c2ecf20Sopenharmony_ci#define mmACPAXI2AXI_ATU_BASE_ADDR_GRP_1                0x1240C04
798c2ecf20Sopenharmony_ci#define mmACPAXI2AXI_ATU_PAGE_SIZE_GRP_2                0x1240C08
808c2ecf20Sopenharmony_ci#define mmACPAXI2AXI_ATU_BASE_ADDR_GRP_2                0x1240C0C
818c2ecf20Sopenharmony_ci#define mmACPAXI2AXI_ATU_PAGE_SIZE_GRP_3                0x1240C10
828c2ecf20Sopenharmony_ci#define mmACPAXI2AXI_ATU_BASE_ADDR_GRP_3                0x1240C14
838c2ecf20Sopenharmony_ci#define mmACPAXI2AXI_ATU_PAGE_SIZE_GRP_4                0x1240C18
848c2ecf20Sopenharmony_ci#define mmACPAXI2AXI_ATU_BASE_ADDR_GRP_4                0x1240C1C
858c2ecf20Sopenharmony_ci#define mmACPAXI2AXI_ATU_PAGE_SIZE_GRP_5                0x1240C20
868c2ecf20Sopenharmony_ci#define mmACPAXI2AXI_ATU_BASE_ADDR_GRP_5                0x1240C24
878c2ecf20Sopenharmony_ci#define mmACPAXI2AXI_ATU_PAGE_SIZE_GRP_6                0x1240C28
888c2ecf20Sopenharmony_ci#define mmACPAXI2AXI_ATU_BASE_ADDR_GRP_6                0x1240C2C
898c2ecf20Sopenharmony_ci#define mmACPAXI2AXI_ATU_PAGE_SIZE_GRP_7                0x1240C30
908c2ecf20Sopenharmony_ci#define mmACPAXI2AXI_ATU_BASE_ADDR_GRP_7                0x1240C34
918c2ecf20Sopenharmony_ci#define mmACPAXI2AXI_ATU_PAGE_SIZE_GRP_8                0x1240C38
928c2ecf20Sopenharmony_ci#define mmACPAXI2AXI_ATU_BASE_ADDR_GRP_8                0x1240C3C
938c2ecf20Sopenharmony_ci#define mmACPAXI2AXI_ATU_CTRL                           0x1240C40
948c2ecf20Sopenharmony_ci
958c2ecf20Sopenharmony_ci
968c2ecf20Sopenharmony_ci// Registers from ACP_CLKRST block
978c2ecf20Sopenharmony_ci
988c2ecf20Sopenharmony_ci#define mmACP_SOFT_RESET                                0x1241000
998c2ecf20Sopenharmony_ci#define mmACP_CONTROL                                   0x1241004
1008c2ecf20Sopenharmony_ci#define mmACP_STATUS                                    0x1241008
1018c2ecf20Sopenharmony_ci#define mmACP_DSP0_OCD_HALT_ON_RST                      0x124100C
1028c2ecf20Sopenharmony_ci#define mmACP_DYNAMIC_CG_MASTER_CONTROL                 0x1241010
1038c2ecf20Sopenharmony_ci
1048c2ecf20Sopenharmony_ci
1058c2ecf20Sopenharmony_ci// Registers from ACP_MISC block
1068c2ecf20Sopenharmony_ci
1078c2ecf20Sopenharmony_ci#define mmACP_EXTERNAL_INTR_ENB                         0x1241800
1088c2ecf20Sopenharmony_ci#define mmACP_EXTERNAL_INTR_CNTL                        0x1241804
1098c2ecf20Sopenharmony_ci#define mmACP_EXTERNAL_INTR_STAT                        0x1241808
1108c2ecf20Sopenharmony_ci#define mmACP_DSP0_INTR_CNTL                            0x124180C
1118c2ecf20Sopenharmony_ci#define mmACP_DSP0_INTR_STAT                            0x1241810
1128c2ecf20Sopenharmony_ci#define mmACP_DSP_SW_INTR_CNTL                          0x1241814
1138c2ecf20Sopenharmony_ci#define mmACP_DSP_SW_INTR_STAT                          0x1241818
1148c2ecf20Sopenharmony_ci#define mmACP_SW_INTR_TRIG                              0x124181C
1158c2ecf20Sopenharmony_ci#define mmACP_SMU_MAILBOX                               0x1241820
1168c2ecf20Sopenharmony_ci#define mmDSP_INTERRUPT_ROUTING_CTRL                    0x1241824
1178c2ecf20Sopenharmony_ci#define mmACP_DSP0_WATCHDOG_TIMER_CNTL                  0x1241828
1188c2ecf20Sopenharmony_ci#define mmACP_DSP0_EXT_TIMER1_CNTL                      0x124182C
1198c2ecf20Sopenharmony_ci#define mmACP_DSP0_EXT_TIMER2_CNTL                      0x1241830
1208c2ecf20Sopenharmony_ci#define mmACP_DSP0_EXT_TIMER3_CNTL                      0x1241834
1218c2ecf20Sopenharmony_ci#define mmACP_DSP0_EXT_TIMER4_CNTL                      0x1241838
1228c2ecf20Sopenharmony_ci#define mmACP_DSP0_EXT_TIMER5_CNTL                      0x124183C
1238c2ecf20Sopenharmony_ci#define mmACP_DSP0_EXT_TIMER6_CNTL                      0x1241840
1248c2ecf20Sopenharmony_ci#define mmACP_DSP0_EXT_TIMER1_CURR_VALUE                0x1241844
1258c2ecf20Sopenharmony_ci#define mmACP_DSP0_EXT_TIMER2_CURR_VALUE                0x1241848
1268c2ecf20Sopenharmony_ci#define mmACP_DSP0_EXT_TIMER3_CURR_VALUE                0x124184C
1278c2ecf20Sopenharmony_ci#define mmACP_DSP0_EXT_TIMER4_CURR_VALUE                0x1241850
1288c2ecf20Sopenharmony_ci#define mmACP_DSP0_EXT_TIMER5_CURR_VALUE                0x1241854
1298c2ecf20Sopenharmony_ci#define mmACP_DSP0_EXT_TIMER6_CURR_VALUE                0x1241858
1308c2ecf20Sopenharmony_ci#define mmACP_FW_STATUS                                 0x124185C
1318c2ecf20Sopenharmony_ci#define mmACP_TIMER                                     0x1241874
1328c2ecf20Sopenharmony_ci#define mmACP_TIMER_CNTL                                0x1241878
1338c2ecf20Sopenharmony_ci#define mmACP_PGMEM_CTRL                                0x12418C0
1348c2ecf20Sopenharmony_ci#define mmACP_ERROR_STATUS                              0x12418C4
1358c2ecf20Sopenharmony_ci#define mmACP_SW_I2S_ERROR_REASON                       0x12418C8
1368c2ecf20Sopenharmony_ci#define mmACP_MEM_PG_STS                                0x12418CC
1378c2ecf20Sopenharmony_ci
1388c2ecf20Sopenharmony_ci
1398c2ecf20Sopenharmony_ci// Registers from ACP_PGFSM block
1408c2ecf20Sopenharmony_ci
1418c2ecf20Sopenharmony_ci#define mmACP_I2S_PIN_CONFIG                            0x1241400
1428c2ecf20Sopenharmony_ci#define mmACP_PAD_PULLUP_PULLDOWN_CTRL                  0x1241404
1438c2ecf20Sopenharmony_ci#define mmACP_PAD_DRIVE_STRENGTH_CTRL                   0x1241408
1448c2ecf20Sopenharmony_ci#define mmACP_SW_PAD_KEEPER_EN                          0x124140C
1458c2ecf20Sopenharmony_ci#define mmACP_SW_WAKE_EN                                0x1241410
1468c2ecf20Sopenharmony_ci#define mmACP_I2S_WAKE_EN                               0x1241414
1478c2ecf20Sopenharmony_ci#define mmACP_PME_EN                                    0x1241418
1488c2ecf20Sopenharmony_ci#define mmACP_PGFSM_CONTROL                             0x124141C
1498c2ecf20Sopenharmony_ci#define mmACP_PGFSM_STATUS                              0x1241420
1508c2ecf20Sopenharmony_ci
1518c2ecf20Sopenharmony_ci
1528c2ecf20Sopenharmony_ci// Registers from ACP_SCRATCH block
1538c2ecf20Sopenharmony_ci
1548c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_0                             0x1250000
1558c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_1                             0x1250004
1568c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_2                             0x1250008
1578c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_3                             0x125000C
1588c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_4                             0x1250010
1598c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_5                             0x1250014
1608c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_6                             0x1250018
1618c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_7                             0x125001C
1628c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_8                             0x1250020
1638c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_9                             0x1250024
1648c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_10                            0x1250028
1658c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_11                            0x125002C
1668c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_12                            0x1250030
1678c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_13                            0x1250034
1688c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_14                            0x1250038
1698c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_15                            0x125003C
1708c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_16                            0x1250040
1718c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_17                            0x1250044
1728c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_18                            0x1250048
1738c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_19                            0x125004C
1748c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_20                            0x1250050
1758c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_21                            0x1250054
1768c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_22                            0x1250058
1778c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_23                            0x125005C
1788c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_24                            0x1250060
1798c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_25                            0x1250064
1808c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_26                            0x1250068
1818c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_27                            0x125006C
1828c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_28                            0x1250070
1838c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_29                            0x1250074
1848c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_30                            0x1250078
1858c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_31                            0x125007C
1868c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_32                            0x1250080
1878c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_33                            0x1250084
1888c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_34                            0x1250088
1898c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_35                            0x125008C
1908c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_36                            0x1250090
1918c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_37                            0x1250094
1928c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_38                            0x1250098
1938c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_39                            0x125009C
1948c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_40                            0x12500A0
1958c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_41                            0x12500A4
1968c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_42                            0x12500A8
1978c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_43                            0x12500AC
1988c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_44                            0x12500B0
1998c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_45                            0x12500B4
2008c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_46                            0x12500B8
2018c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_47                            0x12500BC
2028c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_48                            0x12500C0
2038c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_49                            0x12500C4
2048c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_50                            0x12500C8
2058c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_51                            0x12500CC
2068c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_52                            0x12500D0
2078c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_53                            0x12500D4
2088c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_54                            0x12500D8
2098c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_55                            0x12500DC
2108c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_56                            0x12500E0
2118c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_57                            0x12500E4
2128c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_58                            0x12500E8
2138c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_59                            0x12500EC
2148c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_60                            0x12500F0
2158c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_61                            0x12500F4
2168c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_62                            0x12500F8
2178c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_63                            0x12500FC
2188c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_64                            0x1250100
2198c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_65                            0x1250104
2208c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_66                            0x1250108
2218c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_67                            0x125010C
2228c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_68                            0x1250110
2238c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_69                            0x1250114
2248c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_70                            0x1250118
2258c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_71                            0x125011C
2268c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_72                            0x1250120
2278c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_73                            0x1250124
2288c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_74                            0x1250128
2298c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_75                            0x125012C
2308c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_76                            0x1250130
2318c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_77                            0x1250134
2328c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_78                            0x1250138
2338c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_79                            0x125013C
2348c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_80                            0x1250140
2358c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_81                            0x1250144
2368c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_82                            0x1250148
2378c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_83                            0x125014C
2388c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_84                            0x1250150
2398c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_85                            0x1250154
2408c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_86                            0x1250158
2418c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_87                            0x125015C
2428c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_88                            0x1250160
2438c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_89                            0x1250164
2448c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_90                            0x1250168
2458c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_91                            0x125016C
2468c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_92                            0x1250170
2478c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_93                            0x1250174
2488c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_94                            0x1250178
2498c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_95                            0x125017C
2508c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_96                            0x1250180
2518c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_97                            0x1250184
2528c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_98                            0x1250188
2538c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_99                            0x125018C
2548c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_100                           0x1250190
2558c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_101                           0x1250194
2568c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_102                           0x1250198
2578c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_103                           0x125019C
2588c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_104                           0x12501A0
2598c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_105                           0x12501A4
2608c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_106                           0x12501A8
2618c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_107                           0x12501AC
2628c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_108                           0x12501B0
2638c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_109                           0x12501B4
2648c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_110                           0x12501B8
2658c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_111                           0x12501BC
2668c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_112                           0x12501C0
2678c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_113                           0x12501C4
2688c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_114                           0x12501C8
2698c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_115                           0x12501CC
2708c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_116                           0x12501D0
2718c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_117                           0x12501D4
2728c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_118                           0x12501D8
2738c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_119                           0x12501DC
2748c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_120                           0x12501E0
2758c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_121                           0x12501E4
2768c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_122                           0x12501E8
2778c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_123                           0x12501EC
2788c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_124                           0x12501F0
2798c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_125                           0x12501F4
2808c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_126                           0x12501F8
2818c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_127                           0x12501FC
2828c2ecf20Sopenharmony_ci#define mmACP_SCRATCH_REG_128                           0x1250200
2838c2ecf20Sopenharmony_ci
2848c2ecf20Sopenharmony_ci
2858c2ecf20Sopenharmony_ci// Registers from ACP_SW_ACLK block
2868c2ecf20Sopenharmony_ci
2878c2ecf20Sopenharmony_ci#define mmSW_CORB_Base_Address                          0x1243200
2888c2ecf20Sopenharmony_ci#define mmSW_CORB_Write_Pointer                         0x1243204
2898c2ecf20Sopenharmony_ci#define mmSW_CORB_Read_Pointer                          0x1243208
2908c2ecf20Sopenharmony_ci#define mmSW_CORB_Control                               0x124320C
2918c2ecf20Sopenharmony_ci#define mmSW_CORB_Size                                  0x1243214
2928c2ecf20Sopenharmony_ci#define mmSW_RIRB_Base_Address                          0x1243218
2938c2ecf20Sopenharmony_ci#define mmSW_RIRB_Write_Pointer                         0x124321C
2948c2ecf20Sopenharmony_ci#define mmSW_RIRB_Response_Interrupt_Count              0x1243220
2958c2ecf20Sopenharmony_ci#define mmSW_RIRB_Control                               0x1243224
2968c2ecf20Sopenharmony_ci#define mmSW_RIRB_Size                                  0x1243228
2978c2ecf20Sopenharmony_ci#define mmSW_RIRB_FIFO_MIN_THDL                         0x124322C
2988c2ecf20Sopenharmony_ci#define mmSW_imm_cmd_UPPER_WORD                         0x1243230
2998c2ecf20Sopenharmony_ci#define mmSW_imm_cmd_LOWER_QWORD                        0x1243234
3008c2ecf20Sopenharmony_ci#define mmSW_imm_resp_UPPER_WORD                        0x1243238
3018c2ecf20Sopenharmony_ci#define mmSW_imm_resp_LOWER_QWORD                       0x124323C
3028c2ecf20Sopenharmony_ci#define mmSW_imm_cmd_sts                                0x1243240
3038c2ecf20Sopenharmony_ci#define mmSW_BRA_BASE_ADDRESS                           0x1243244
3048c2ecf20Sopenharmony_ci#define mmSW_BRA_TRANSFER_SIZE                          0x1243248
3058c2ecf20Sopenharmony_ci#define mmSW_BRA_DMA_BUSY                               0x124324C
3068c2ecf20Sopenharmony_ci#define mmSW_BRA_RESP                                   0x1243250
3078c2ecf20Sopenharmony_ci#define mmSW_BRA_RESP_FRAME_ADDR                        0x1243254
3088c2ecf20Sopenharmony_ci#define mmSW_BRA_CURRENT_TRANSFER_SIZE                  0x1243258
3098c2ecf20Sopenharmony_ci#define mmSW_STATE_CHANGE_STATUS_0TO7                   0x124325C
3108c2ecf20Sopenharmony_ci#define mmSW_STATE_CHANGE_STATUS_8TO11                  0x1243260
3118c2ecf20Sopenharmony_ci#define mmSW_STATE_CHANGE_STATUS_MASK_0to7              0x1243264
3128c2ecf20Sopenharmony_ci#define mmSW_STATE_CHANGE_STATUS_MASK_8to11             0x1243268
3138c2ecf20Sopenharmony_ci#define mmSW_CLK_FREQUENCY_CTRL                         0x124326C
3148c2ecf20Sopenharmony_ci#define mmSW_ERROR_INTR_MASK                            0x1243270
3158c2ecf20Sopenharmony_ci#define mmSW_PHY_TEST_MODE_DATA_OFF                     0x1243274
3168c2ecf20Sopenharmony_ci
3178c2ecf20Sopenharmony_ci
3188c2ecf20Sopenharmony_ci// Registers from ACP_SW_SWCLK block
3198c2ecf20Sopenharmony_ci
3208c2ecf20Sopenharmony_ci#define mmACP_SW_EN                                     0x1243000
3218c2ecf20Sopenharmony_ci#define mmACP_SW_EN_STATUS                              0x1243004
3228c2ecf20Sopenharmony_ci#define mmACP_SW_FRAMESIZE                              0x1243008
3238c2ecf20Sopenharmony_ci#define mmACP_SW_SSP_Counter                            0x124300C
3248c2ecf20Sopenharmony_ci#define mmACP_SW_Audio_TX_EN                            0x1243010
3258c2ecf20Sopenharmony_ci#define mmACP_SW_Audio_TX_EN_STATUS                     0x1243014
3268c2ecf20Sopenharmony_ci#define mmACP_SW_Audio_TX_Frame_Format                  0x1243018
3278c2ecf20Sopenharmony_ci#define mmACP_SW_Audio_TX_SampleInterval                0x124301C
3288c2ecf20Sopenharmony_ci#define mmACP_SW_Audio_TX_Hctrl_DP0                     0x1243020
3298c2ecf20Sopenharmony_ci#define mmACP_SW_Audio_TX_Hctrl_DP1                     0x1243024
3308c2ecf20Sopenharmony_ci#define mmACP_SW_Audio_TX_Hctrl_DP2                     0x1243028
3318c2ecf20Sopenharmony_ci#define mmACP_SW_Audio_TX_Hctrl_DP3                     0x124302C
3328c2ecf20Sopenharmony_ci#define mmACP_SW_Audio_TX_offset_DP0                    0x1243030
3338c2ecf20Sopenharmony_ci#define mmACP_SW_Audio_TX_offset_DP1                    0x1243034
3348c2ecf20Sopenharmony_ci#define mmACP_SW_Audio_TX_offset_DP2                    0x1243038
3358c2ecf20Sopenharmony_ci#define mmACP_SW_Audio_TX_offset_DP3                    0x124303C
3368c2ecf20Sopenharmony_ci#define mmACP_SW_Audio_TX_Channel_Enable_DP0            0x1243040
3378c2ecf20Sopenharmony_ci#define mmACP_SW_Audio_TX_Channel_Enable_DP1            0x1243044
3388c2ecf20Sopenharmony_ci#define mmACP_SW_Audio_TX_Channel_Enable_DP2            0x1243048
3398c2ecf20Sopenharmony_ci#define mmACP_SW_Audio_TX_Channel_Enable_DP3            0x124304C
3408c2ecf20Sopenharmony_ci#define mmACP_SW_BT_TX_EN                               0x1243050
3418c2ecf20Sopenharmony_ci#define mmACP_SW_BT_TX_EN_STATUS                        0x1243054
3428c2ecf20Sopenharmony_ci#define mmACP_SW_BT_TX_Frame_Format                     0x1243058
3438c2ecf20Sopenharmony_ci#define mmACP_SW_BT_TX_SampleInterval                   0x124305C
3448c2ecf20Sopenharmony_ci#define mmACP_SW_BT_TX_Hctrl                            0x1243060
3458c2ecf20Sopenharmony_ci#define mmACP_SW_BT_TX_offset                           0x1243064
3468c2ecf20Sopenharmony_ci#define mmACP_SW_BT_TX_Channel_Enable_DP0               0x1243068
3478c2ecf20Sopenharmony_ci#define mmACP_SW_Headset_TX_EN                          0x124306C
3488c2ecf20Sopenharmony_ci#define mmACP_SW_Headset_TX_EN_STATUS                   0x1243070
3498c2ecf20Sopenharmony_ci#define mmACP_SW_Headset_TX_Frame_Format                0x1243074
3508c2ecf20Sopenharmony_ci#define mmACP_SW_Headset_TX_SampleInterval              0x1243078
3518c2ecf20Sopenharmony_ci#define mmACP_SW_Headset_TX_Hctrl                       0x124307C
3528c2ecf20Sopenharmony_ci#define mmACP_SW_Headset_TX_offset                      0x1243080
3538c2ecf20Sopenharmony_ci#define mmACP_SW_Headset_TX_Channel_Enable_DP0          0x1243084
3548c2ecf20Sopenharmony_ci#define mmACP_SW_Audio_RX_EN                            0x1243088
3558c2ecf20Sopenharmony_ci#define mmACP_SW_Audio_RX_EN_STATUS                     0x124308C
3568c2ecf20Sopenharmony_ci#define mmACP_SW_Audio_RX_Frame_Format                  0x1243090
3578c2ecf20Sopenharmony_ci#define mmACP_SW_Audio_RX_SampleInterval                0x1243094
3588c2ecf20Sopenharmony_ci#define mmACP_SW_Audio_RX_Hctrl_DP0                     0x1243098
3598c2ecf20Sopenharmony_ci#define mmACP_SW_Audio_RX_Hctrl_DP1                     0x124309C
3608c2ecf20Sopenharmony_ci#define mmACP_SW_Audio_RX_Hctrl_DP2                     0x1243100
3618c2ecf20Sopenharmony_ci#define mmACP_SW_Audio_RX_Hctrl_DP3                     0x1243104
3628c2ecf20Sopenharmony_ci#define mmACP_SW_Audio_RX_offset_DP0                    0x1243108
3638c2ecf20Sopenharmony_ci#define mmACP_SW_Audio_RX_offset_DP1                    0x124310C
3648c2ecf20Sopenharmony_ci#define mmACP_SW_Audio_RX_offset_DP2                    0x1243110
3658c2ecf20Sopenharmony_ci#define mmACP_SW_Audio_RX_offset_DP3                    0x1243114
3668c2ecf20Sopenharmony_ci#define mmACP_SW_Audio_RX_Channel_Enable_DP0            0x1243118
3678c2ecf20Sopenharmony_ci#define mmACP_SW_Audio_RX_Channel_Enable_DP1            0x124311C
3688c2ecf20Sopenharmony_ci#define mmACP_SW_Audio_RX_Channel_Enable_DP2            0x1243120
3698c2ecf20Sopenharmony_ci#define mmACP_SW_Audio_RX_Channel_Enable_DP3            0x1243124
3708c2ecf20Sopenharmony_ci#define mmACP_SW_BT_RX_EN                               0x1243128
3718c2ecf20Sopenharmony_ci#define mmACP_SW_BT_RX_EN_STATUS                        0x124312C
3728c2ecf20Sopenharmony_ci#define mmACP_SW_BT_RX_Frame_Format                     0x1243130
3738c2ecf20Sopenharmony_ci#define mmACP_SW_BT_RX_SampleInterval                   0x1243134
3748c2ecf20Sopenharmony_ci#define mmACP_SW_BT_RX_Hctrl                            0x1243138
3758c2ecf20Sopenharmony_ci#define mmACP_SW_BT_RX_offset                           0x124313C
3768c2ecf20Sopenharmony_ci#define mmACP_SW_BT_RX_Channel_Enable_DP0               0x1243140
3778c2ecf20Sopenharmony_ci#define mmACP_SW_Headset_RX_EN                          0x1243144
3788c2ecf20Sopenharmony_ci#define mmACP_SW_Headset_RX_EN_STATUS                   0x1243148
3798c2ecf20Sopenharmony_ci#define mmACP_SW_Headset_RX_Frame_Format                0x124314C
3808c2ecf20Sopenharmony_ci#define mmACP_SW_Headset_RX_SampleInterval              0x1243150
3818c2ecf20Sopenharmony_ci#define mmACP_SW_Headset_RX_Hctrl                       0x1243154
3828c2ecf20Sopenharmony_ci#define mmACP_SW_Headset_RX_offset                      0x1243158
3838c2ecf20Sopenharmony_ci#define mmACP_SW_Headset_RX_Channel_Enable_DP0          0x124315C
3848c2ecf20Sopenharmony_ci#define mmACP_SW_BPT_PORT_EN                            0x1243160
3858c2ecf20Sopenharmony_ci#define mmACP_SW_BPT_PORT_EN_STATUS                     0x1243164
3868c2ecf20Sopenharmony_ci#define mmACP_SW_BPT_PORT_Frame_Format                  0x1243168
3878c2ecf20Sopenharmony_ci#define mmACP_SW_BPT_PORT_SampleInterval                0x124316C
3888c2ecf20Sopenharmony_ci#define mmACP_SW_BPT_PORT_Hctrl                         0x1243170
3898c2ecf20Sopenharmony_ci#define mmACP_SW_BPT_PORT_offset                        0x1243174
3908c2ecf20Sopenharmony_ci#define mmACP_SW_BPT_PORT_Channel_Enable                0x1243178
3918c2ecf20Sopenharmony_ci#define mmACP_SW_BPT_PORT_First_byte_addr               0x124317C
3928c2ecf20Sopenharmony_ci#define mmACP_SW_CLK_RESUME_CTRL                        0x1243180
3938c2ecf20Sopenharmony_ci#define mmACP_SW_CLK_RESUME_Delay_Cntr                  0x1243184
3948c2ecf20Sopenharmony_ci#define mmACP_SW_BUS_RESET_CTRL                         0x1243188
3958c2ecf20Sopenharmony_ci#define mmACP_SW_PRBS_ERR_STATUS                        0x124318C
3968c2ecf20Sopenharmony_ci
3978c2ecf20Sopenharmony_ci
3988c2ecf20Sopenharmony_ci// Registers from ACP_AUDIO_BUFFERS block
3998c2ecf20Sopenharmony_ci
4008c2ecf20Sopenharmony_ci#define mmACP_I2S_RX_RINGBUFADDR                        0x1242000
4018c2ecf20Sopenharmony_ci#define mmACP_I2S_RX_RINGBUFSIZE                        0x1242004
4028c2ecf20Sopenharmony_ci#define mmACP_I2S_RX_LINKPOSITIONCNTR                   0x1242008
4038c2ecf20Sopenharmony_ci#define mmACP_I2S_RX_FIFOADDR                           0x124200C
4048c2ecf20Sopenharmony_ci#define mmACP_I2S_RX_FIFOSIZE                           0x1242010
4058c2ecf20Sopenharmony_ci#define mmACP_I2S_RX_DMA_SIZE                           0x1242014
4068c2ecf20Sopenharmony_ci#define mmACP_I2S_RX_LINEARPOSITIONCNTR_HIGH            0x1242018
4078c2ecf20Sopenharmony_ci#define mmACP_I2S_RX_LINEARPOSITIONCNTR_LOW             0x124201C
4088c2ecf20Sopenharmony_ci#define mmACP_I2S_RX_INTR_WATERMARK_SIZE                0x1242020
4098c2ecf20Sopenharmony_ci#define mmACP_I2S_TX_RINGBUFADDR                        0x1242024
4108c2ecf20Sopenharmony_ci#define mmACP_I2S_TX_RINGBUFSIZE                        0x1242028
4118c2ecf20Sopenharmony_ci#define mmACP_I2S_TX_LINKPOSITIONCNTR                   0x124202C
4128c2ecf20Sopenharmony_ci#define mmACP_I2S_TX_FIFOADDR                           0x1242030
4138c2ecf20Sopenharmony_ci#define mmACP_I2S_TX_FIFOSIZE                           0x1242034
4148c2ecf20Sopenharmony_ci#define mmACP_I2S_TX_DMA_SIZE                           0x1242038
4158c2ecf20Sopenharmony_ci#define mmACP_I2S_TX_LINEARPOSITIONCNTR_HIGH            0x124203C
4168c2ecf20Sopenharmony_ci#define mmACP_I2S_TX_LINEARPOSITIONCNTR_LOW             0x1242040
4178c2ecf20Sopenharmony_ci#define mmACP_I2S_TX_INTR_WATERMARK_SIZE                0x1242044
4188c2ecf20Sopenharmony_ci#define mmACP_BT_RX_RINGBUFADDR                         0x1242048
4198c2ecf20Sopenharmony_ci#define mmACP_BT_RX_RINGBUFSIZE                         0x124204C
4208c2ecf20Sopenharmony_ci#define mmACP_BT_RX_LINKPOSITIONCNTR                    0x1242050
4218c2ecf20Sopenharmony_ci#define mmACP_BT_RX_FIFOADDR                            0x1242054
4228c2ecf20Sopenharmony_ci#define mmACP_BT_RX_FIFOSIZE                            0x1242058
4238c2ecf20Sopenharmony_ci#define mmACP_BT_RX_DMA_SIZE                            0x124205C
4248c2ecf20Sopenharmony_ci#define mmACP_BT_RX_LINEARPOSITIONCNTR_HIGH             0x1242060
4258c2ecf20Sopenharmony_ci#define mmACP_BT_RX_LINEARPOSITIONCNTR_LOW              0x1242064
4268c2ecf20Sopenharmony_ci#define mmACP_BT_RX_INTR_WATERMARK_SIZE                 0x1242068
4278c2ecf20Sopenharmony_ci#define mmACP_BT_TX_RINGBUFADDR                         0x124206C
4288c2ecf20Sopenharmony_ci#define mmACP_BT_TX_RINGBUFSIZE                         0x1242070
4298c2ecf20Sopenharmony_ci#define mmACP_BT_TX_LINKPOSITIONCNTR                    0x1242074
4308c2ecf20Sopenharmony_ci#define mmACP_BT_TX_FIFOADDR                            0x1242078
4318c2ecf20Sopenharmony_ci#define mmACP_BT_TX_FIFOSIZE                            0x124207C
4328c2ecf20Sopenharmony_ci#define mmACP_BT_TX_DMA_SIZE                            0x1242080
4338c2ecf20Sopenharmony_ci#define mmACP_BT_TX_LINEARPOSITIONCNTR_HIGH             0x1242084
4348c2ecf20Sopenharmony_ci#define mmACP_BT_TX_LINEARPOSITIONCNTR_LOW              0x1242088
4358c2ecf20Sopenharmony_ci#define mmACP_BT_TX_INTR_WATERMARK_SIZE                 0x124208C
4368c2ecf20Sopenharmony_ci#define mmACP_HS_RX_RINGBUFADDR                         0x1242090
4378c2ecf20Sopenharmony_ci#define mmACP_HS_RX_RINGBUFSIZE                         0x1242094
4388c2ecf20Sopenharmony_ci#define mmACP_HS_RX_LINKPOSITIONCNTR                    0x1242098
4398c2ecf20Sopenharmony_ci#define mmACP_HS_RX_FIFOADDR                            0x124209C
4408c2ecf20Sopenharmony_ci#define mmACP_HS_RX_FIFOSIZE                            0x12420A0
4418c2ecf20Sopenharmony_ci#define mmACP_HS_RX_DMA_SIZE                            0x12420A4
4428c2ecf20Sopenharmony_ci#define mmACP_HS_RX_LINEARPOSITIONCNTR_HIGH             0x12420A8
4438c2ecf20Sopenharmony_ci#define mmACP_HS_RX_LINEARPOSITIONCNTR_LOW              0x12420AC
4448c2ecf20Sopenharmony_ci#define mmACP_HS_RX_INTR_WATERMARK_SIZE                 0x12420B0
4458c2ecf20Sopenharmony_ci#define mmACP_HS_TX_RINGBUFADDR                         0x12420B4
4468c2ecf20Sopenharmony_ci#define mmACP_HS_TX_RINGBUFSIZE                         0x12420B8
4478c2ecf20Sopenharmony_ci#define mmACP_HS_TX_LINKPOSITIONCNTR                    0x12420BC
4488c2ecf20Sopenharmony_ci#define mmACP_HS_TX_FIFOADDR                            0x12420C0
4498c2ecf20Sopenharmony_ci#define mmACP_HS_TX_FIFOSIZE                            0x12420C4
4508c2ecf20Sopenharmony_ci#define mmACP_HS_TX_DMA_SIZE                            0x12420C8
4518c2ecf20Sopenharmony_ci#define mmACP_HS_TX_LINEARPOSITIONCNTR_HIGH             0x12420CC
4528c2ecf20Sopenharmony_ci#define mmACP_HS_TX_LINEARPOSITIONCNTR_LOW              0x12420D0
4538c2ecf20Sopenharmony_ci#define mmACP_HS_TX_INTR_WATERMARK_SIZE                 0x12420D4
4548c2ecf20Sopenharmony_ci
4558c2ecf20Sopenharmony_ci
4568c2ecf20Sopenharmony_ci// Registers from ACP_I2S_TDM block
4578c2ecf20Sopenharmony_ci
4588c2ecf20Sopenharmony_ci#define mmACP_I2STDM_IER                                0x1242400
4598c2ecf20Sopenharmony_ci#define mmACP_I2STDM_IRER                               0x1242404
4608c2ecf20Sopenharmony_ci#define mmACP_I2STDM_RXFRMT                             0x1242408
4618c2ecf20Sopenharmony_ci#define mmACP_I2STDM_ITER                               0x124240C
4628c2ecf20Sopenharmony_ci#define mmACP_I2STDM_TXFRMT                             0x1242410
4638c2ecf20Sopenharmony_ci
4648c2ecf20Sopenharmony_ci
4658c2ecf20Sopenharmony_ci// Registers from ACP_BT_TDM block
4668c2ecf20Sopenharmony_ci
4678c2ecf20Sopenharmony_ci#define mmACP_BTTDM_IER                                 0x1242800
4688c2ecf20Sopenharmony_ci#define mmACP_BTTDM_IRER                                0x1242804
4698c2ecf20Sopenharmony_ci#define mmACP_BTTDM_RXFRMT                              0x1242808
4708c2ecf20Sopenharmony_ci#define mmACP_BTTDM_ITER                                0x124280C
4718c2ecf20Sopenharmony_ci#define mmACP_BTTDM_TXFRMT                              0x1242810
4728c2ecf20Sopenharmony_ci
4738c2ecf20Sopenharmony_ci
4748c2ecf20Sopenharmony_ci// Registers from AZALIA_IP block
4758c2ecf20Sopenharmony_ci
4768c2ecf20Sopenharmony_ci#define mmAudio_Az_Global_Capabilities                  0x1200000
4778c2ecf20Sopenharmony_ci#define mmAudio_Az_Minor_Version                        0x1200002
4788c2ecf20Sopenharmony_ci#define mmAudio_Az_Major_Version                        0x1200003
4798c2ecf20Sopenharmony_ci#define mmAudio_Az_Output_Payload_Capability            0x1200004
4808c2ecf20Sopenharmony_ci#define mmAudio_Az_Input_Payload_Capability             0x1200006
4818c2ecf20Sopenharmony_ci#define mmAudio_Az_Global_Control                       0x1200008
4828c2ecf20Sopenharmony_ci#define mmAudio_Az_Wake_Enable                          0x120000C
4838c2ecf20Sopenharmony_ci#define mmAudio_Az_State_Change_Status                  0x120000E
4848c2ecf20Sopenharmony_ci#define mmAudio_Az_Global_Status                        0x1200010
4858c2ecf20Sopenharmony_ci#define mmAudio_Az_Linked_List_Capability_Header        0x1200014
4868c2ecf20Sopenharmony_ci#define mmAudio_Az_Output_Stream_Payload_Capability     0x1200018
4878c2ecf20Sopenharmony_ci#define mmAudio_Az_Input_Stream_Payload_Capability      0x120001A
4888c2ecf20Sopenharmony_ci#define mmAudio_Az_Interrupt_Control                    0x1200020
4898c2ecf20Sopenharmony_ci#define mmAudio_Az_Interrupt_Status                     0x1200024
4908c2ecf20Sopenharmony_ci#define mmAudio_Az_Wall_Clock_Counter                   0x1200030
4918c2ecf20Sopenharmony_ci#define mmAudio_Az_Stream_Synchronization               0x1200038
4928c2ecf20Sopenharmony_ci#define mmAudio_Az_CORB_Lower_Base_Address              0x1200040
4938c2ecf20Sopenharmony_ci#define mmAudio_Az_CORB_Upper_Base_Address              0x1200044
4948c2ecf20Sopenharmony_ci#define mmAudio_Az_CORB_Write_Pointer                   0x1200048
4958c2ecf20Sopenharmony_ci#define mmAudio_Az_CORB_Read_Pointer                    0x120004A
4968c2ecf20Sopenharmony_ci#define mmAudio_Az_CORB_Control                         0x120004C
4978c2ecf20Sopenharmony_ci#define mmAudio_Az_CORB_Status                          0x120004D
4988c2ecf20Sopenharmony_ci#define mmAudio_Az_CORB_Size                            0x120004E
4998c2ecf20Sopenharmony_ci#define mmAudio_Az_RIRB_Lower_Base_Address              0x1200050
5008c2ecf20Sopenharmony_ci#define mmAudio_Az_RIRB_Upper_Base_Address              0x1200054
5018c2ecf20Sopenharmony_ci#define mmAudio_Az_RIRB_Write_Pointer                   0x1200058
5028c2ecf20Sopenharmony_ci#define mmAudio_Az_RIRB_Response_Interrupt_Count        0x120005A
5038c2ecf20Sopenharmony_ci#define mmAudio_Az_RIRB_Control                         0x120005C
5048c2ecf20Sopenharmony_ci#define mmAudio_Az_RIRB_Status                          0x120005D
5058c2ecf20Sopenharmony_ci#define mmAudio_Az_RIRB_Size                            0x120005E
5068c2ecf20Sopenharmony_ci#define mmAudio_Az_Immediate_Command_Output_Interface   0x1200060
5078c2ecf20Sopenharmony_ci#define mmAudio_Az_Immediate_Response_Input_Interface   0x1200064
5088c2ecf20Sopenharmony_ci#define mmAudio_Az_Immediate_Command_Status             0x1200068
5098c2ecf20Sopenharmony_ci#define mmAudio_Az_DPLBASE                              0x1200070
5108c2ecf20Sopenharmony_ci#define mmAudio_Az_DPUBASE                              0x1200074
5118c2ecf20Sopenharmony_ci#define mmAudio_Az_Input_SD0CTL_and_STS                 0x1200080
5128c2ecf20Sopenharmony_ci#define mmAudio_Az_Input_SD0LPIB                        0x1200084
5138c2ecf20Sopenharmony_ci#define mmAudio_Az_Input_SD0CBL                         0x1200088
5148c2ecf20Sopenharmony_ci#define mmAudio_Az_Input_SD0LVI                         0x120008C
5158c2ecf20Sopenharmony_ci#define mmAudio_Az_Input_SD0FIFOS                       0x1200090
5168c2ecf20Sopenharmony_ci#define mmAudio_Az_Input_SD0FMT                         0x1200092
5178c2ecf20Sopenharmony_ci#define mmAudio_Az_Input_SD0BDPL                        0x1200098
5188c2ecf20Sopenharmony_ci#define mmAudio_Az_Input_SD0BDPU                        0x120009C
5198c2ecf20Sopenharmony_ci#define mmAudio_Az_Input_SD1CTL_and_STS                 0x12000A0
5208c2ecf20Sopenharmony_ci#define mmAudio_Az_Input_SD1LPIB                        0x12000A4
5218c2ecf20Sopenharmony_ci#define mmAudio_Az_Input_SD1CBL                         0x12000A8
5228c2ecf20Sopenharmony_ci#define mmAudio_Az_Input_SD1LVI                         0x12000AC
5238c2ecf20Sopenharmony_ci#define mmAudio_Az_Input_SD1FIFOS                       0x12000B0
5248c2ecf20Sopenharmony_ci#define mmAudio_Az_Input_SD1FMT                         0x12000B2
5258c2ecf20Sopenharmony_ci#define mmAudio_Az_Input_SD1BDPL                        0x12000B8
5268c2ecf20Sopenharmony_ci#define mmAudio_Az_Input_SD1BDPU                        0x12000BC
5278c2ecf20Sopenharmony_ci#define mmAudio_Az_Input_SD2CTL_and_STS                 0x12000C0
5288c2ecf20Sopenharmony_ci#define mmAudio_Az_Input_SD2LPIB                        0x12000C4
5298c2ecf20Sopenharmony_ci#define mmAudio_Az_Input_SD2CBL                         0x12000C8
5308c2ecf20Sopenharmony_ci#define mmAudio_Az_Input_SD2LVI                         0x12000CC
5318c2ecf20Sopenharmony_ci#define mmAudio_Az_Input_SD2FIFOS                       0x12000D0
5328c2ecf20Sopenharmony_ci#define mmAudio_Az_Input_SD2FMT                         0x12000D2
5338c2ecf20Sopenharmony_ci#define mmAudio_Az_Input_SD2BDPL                        0x12000D8
5348c2ecf20Sopenharmony_ci#define mmAudio_Az_Input_SD2BDPU                        0x12000DC
5358c2ecf20Sopenharmony_ci#define mmAudio_Az_Input_SD3CTL_and_STS                 0x12000E0
5368c2ecf20Sopenharmony_ci#define mmAudio_Az_Input_SD3LPIB                        0x12000E4
5378c2ecf20Sopenharmony_ci#define mmAudio_Az_Input_SD3CBL                         0x12000E8
5388c2ecf20Sopenharmony_ci#define mmAudio_Az_Input_SD3LVI                         0x12000EC
5398c2ecf20Sopenharmony_ci#define mmAudio_Az_Input_SD3FIFOS                       0x12000F0
5408c2ecf20Sopenharmony_ci#define mmAudio_Az_Input_SD3FMT                         0x12000F2
5418c2ecf20Sopenharmony_ci#define mmAudio_Az_Input_SD3BDPL                        0x12000F8
5428c2ecf20Sopenharmony_ci#define mmAudio_Az_Input_SD3BDPU                        0x12000FC
5438c2ecf20Sopenharmony_ci#define mmAudio_Az_Output_SD0CTL_and_STS                0x1200100
5448c2ecf20Sopenharmony_ci#define mmAudio_Az_Output_SD0LPIB                       0x1200104
5458c2ecf20Sopenharmony_ci#define mmAudio_Az_Output_SD0CBL                        0x1200108
5468c2ecf20Sopenharmony_ci#define mmAudio_Az_Output_SD0LVI                        0x120010C
5478c2ecf20Sopenharmony_ci#define mmAudio_Az_Output_SD0FIFOS                      0x1200110
5488c2ecf20Sopenharmony_ci#define mmAudio_Az_Output_SD0FMT                        0x1200112
5498c2ecf20Sopenharmony_ci#define mmAudio_Az_Output_SD0BDPL                       0x1200118
5508c2ecf20Sopenharmony_ci#define mmAudio_Az_Output_SD0BDPU                       0x120011C
5518c2ecf20Sopenharmony_ci#define mmAudio_Az_Output_SD1CTL_and_STS                0x1200120
5528c2ecf20Sopenharmony_ci#define mmAudio_Az_Output_SD1LPIB                       0x1200124
5538c2ecf20Sopenharmony_ci#define mmAudio_Az_Output_SD1CBL                        0x1200128
5548c2ecf20Sopenharmony_ci#define mmAudio_Az_Output_SD1LVI                        0x120012C
5558c2ecf20Sopenharmony_ci#define mmAudio_Az_Output_SD1FIFOS                      0x1200130
5568c2ecf20Sopenharmony_ci#define mmAudio_Az_Output_SD1FMT                        0x1200132
5578c2ecf20Sopenharmony_ci#define mmAudio_Az_Output_SD1BDPL                       0x1200138
5588c2ecf20Sopenharmony_ci#define mmAudio_Az_Output_SD1BDPU                       0x120013C
5598c2ecf20Sopenharmony_ci#define mmAudio_Az_Output_SD2CTL_and_STS                0x1200140
5608c2ecf20Sopenharmony_ci#define mmAudio_Az_Output_SD2LPIB                       0x1200144
5618c2ecf20Sopenharmony_ci#define mmAudio_Az_Output_SD2CBL                        0x1200148
5628c2ecf20Sopenharmony_ci#define mmAudio_Az_Output_SD2LVI                        0x120014C
5638c2ecf20Sopenharmony_ci#define mmAudio_Az_Output_SD2FIFOS                      0x1200150
5648c2ecf20Sopenharmony_ci#define mmAudio_Az_Output_SD2FMT                        0x1200152
5658c2ecf20Sopenharmony_ci#define mmAudio_Az_Output_SD2BDPL                       0x1200158
5668c2ecf20Sopenharmony_ci#define mmAudio_Az_Output_SD2BDPU                       0x120015C
5678c2ecf20Sopenharmony_ci#define mmAudio_Az_Output_SD3CTL_and_STS                0x1200160
5688c2ecf20Sopenharmony_ci#define mmAudio_Az_Output_SD3LPIB                       0x1200164
5698c2ecf20Sopenharmony_ci#define mmAudio_Az_Output_SD3CBL                        0x1200168
5708c2ecf20Sopenharmony_ci#define mmAudio_Az_Output_SD3LVI                        0x120016C
5718c2ecf20Sopenharmony_ci#define mmAudio_Az_Output_SD3FIFOS                      0x1200170
5728c2ecf20Sopenharmony_ci#define mmAudio_Az_Output_SD3FMT                        0x1200172
5738c2ecf20Sopenharmony_ci#define mmAudio_Az_Output_SD3BDPL                       0x1200178
5748c2ecf20Sopenharmony_ci#define mmAudio_Az_Output_SD3BDPU                       0x120017C
5758c2ecf20Sopenharmony_ci#define mmAudioAZ_Misc_Control_Register_1               0x1200180
5768c2ecf20Sopenharmony_ci#define mmAudioAZ_Misc_Control_Register_2               0x1200182
5778c2ecf20Sopenharmony_ci#define mmAudioAZ_Misc_Control_Register_3               0x1200183
5788c2ecf20Sopenharmony_ci#define mmAudio_AZ_Multiple_Links_Capability_Header     0x1200200
5798c2ecf20Sopenharmony_ci#define mmAudio_AZ_Multiple_Links_Capability_Declaration 0x1200204
5808c2ecf20Sopenharmony_ci#define mmAudio_AZ_Link0_Capabilities                   0x1200240
5818c2ecf20Sopenharmony_ci#define mmAudio_AZ_Link0_Control                        0x1200244
5828c2ecf20Sopenharmony_ci#define mmAudio_AZ_Link0_Output_Stream_ID               0x1200248
5838c2ecf20Sopenharmony_ci#define mmAudio_AZ_Link0_SDI_Identifier                 0x120024C
5848c2ecf20Sopenharmony_ci#define mmAudio_AZ_Link0_Per_Stream_Overhead            0x1200250
5858c2ecf20Sopenharmony_ci#define mmAudio_AZ_Link0_Wall_Frame_Counter             0x1200258
5868c2ecf20Sopenharmony_ci#define mmAudio_AZ_Link0_Output_Payload_Capability_L    0x1200260
5878c2ecf20Sopenharmony_ci#define mmAudio_AZ_Link0_Output_Payload_Capability_U    0x1200264
5888c2ecf20Sopenharmony_ci#define mmAudio_AZ_Link0_Input_Payload_Capability_L     0x1200270
5898c2ecf20Sopenharmony_ci#define mmAudio_AZ_Link0_Input_Payload_Capability_U     0x1200274
5908c2ecf20Sopenharmony_ci#define mmAudio_Az_Input_SD0LICBA                       0x1202084
5918c2ecf20Sopenharmony_ci#define mmAudio_Az_Input_SD1LICBA                       0x12020A4
5928c2ecf20Sopenharmony_ci#define mmAudio_Az_Input_SD2LICBA                       0x12020C4
5938c2ecf20Sopenharmony_ci#define mmAudio_Az_Input_SD3LICBA                       0x12020E4
5948c2ecf20Sopenharmony_ci#define mmAudio_Az_Output_SD0LICBA                      0x1202104
5958c2ecf20Sopenharmony_ci#define mmAudio_Az_Output_SD1LICBA                      0x1202124
5968c2ecf20Sopenharmony_ci#define mmAudio_Az_Output_SD2LICBA                      0x1202144
5978c2ecf20Sopenharmony_ci#define mmAudio_Az_Output_SD3LICBA                      0x1202164
5988c2ecf20Sopenharmony_ci#define mmAUDIO_AZ_POWER_MANAGEMENT_CONTROL             0x1204000
5998c2ecf20Sopenharmony_ci#define mmAUDIO_AZ_IOC_SOFTRST_CONTROL                  0x1204004
6008c2ecf20Sopenharmony_ci#define mmAUDIO_AZ_IOC_CLKGATE_CONTROL                  0x1204008
6018c2ecf20Sopenharmony_ci
6028c2ecf20Sopenharmony_ci
6038c2ecf20Sopenharmony_ci// Registers from ACP_AZALIA block
6048c2ecf20Sopenharmony_ci
6058c2ecf20Sopenharmony_ci#define mmACP_AZ_PAGE0_LBASE_ADDR                       0x1243800
6068c2ecf20Sopenharmony_ci#define mmACP_AZ_PAGE0_UBASE_ADDR                       0x1243804
6078c2ecf20Sopenharmony_ci#define mmACP_AZ_PAGE0_PGEN_SIZE                        0x1243808
6088c2ecf20Sopenharmony_ci#define mmACP_AZ_PAGE0_OFFSET                           0x124380C
6098c2ecf20Sopenharmony_ci#define mmACP_AZ_PAGE1_LBASE_ADDR                       0x1243810
6108c2ecf20Sopenharmony_ci#define mmACP_AZ_PAGE1_UBASE_ADDR                       0x1243814
6118c2ecf20Sopenharmony_ci#define mmACP_AZ_PAGE1_PGEN_SIZE                        0x1243818
6128c2ecf20Sopenharmony_ci#define mmACP_AZ_PAGE1_OFFSET                           0x124381C
6138c2ecf20Sopenharmony_ci#define mmACP_AZ_PAGE2_LBASE_ADDR                       0x1243820
6148c2ecf20Sopenharmony_ci#define mmACP_AZ_PAGE2_UBASE_ADDR                       0x1243824
6158c2ecf20Sopenharmony_ci#define mmACP_AZ_PAGE2_PGEN_SIZE                        0x1243828
6168c2ecf20Sopenharmony_ci#define mmACP_AZ_PAGE2_OFFSET                           0x124382C
6178c2ecf20Sopenharmony_ci#define mmACP_AZ_PAGE3_LBASE_ADDR                       0x1243830
6188c2ecf20Sopenharmony_ci#define mmACP_AZ_PAGE3_UBASE_ADDR                       0x1243834
6198c2ecf20Sopenharmony_ci#define mmACP_AZ_PAGE3_PGEN_SIZE                        0x1243838
6208c2ecf20Sopenharmony_ci#define mmACP_AZ_PAGE3_OFFSET                           0x124383C
6218c2ecf20Sopenharmony_ci#define mmACP_AZ_PAGE4_LBASE_ADDR                       0x1243840
6228c2ecf20Sopenharmony_ci#define mmACP_AZ_PAGE4_UBASE_ADDR                       0x1243844
6238c2ecf20Sopenharmony_ci#define mmACP_AZ_PAGE4_PGEN_SIZE                        0x1243848
6248c2ecf20Sopenharmony_ci#define mmACP_AZ_PAGE4_OFFSET                           0x124384C
6258c2ecf20Sopenharmony_ci#define mmACP_AZ_PAGE5_LBASE_ADDR                       0x1243850
6268c2ecf20Sopenharmony_ci#define mmACP_AZ_PAGE5_UBASE_ADDR                       0x1243854
6278c2ecf20Sopenharmony_ci#define mmACP_AZ_PAGE5_PGEN_SIZE                        0x1243858
6288c2ecf20Sopenharmony_ci#define mmACP_AZ_PAGE5_OFFSET                           0x124385C
6298c2ecf20Sopenharmony_ci#define mmACP_AZ_PAGE6_LBASE_ADDR                       0x1243860
6308c2ecf20Sopenharmony_ci#define mmACP_AZ_PAGE6_UBASE_ADDR                       0x1243864
6318c2ecf20Sopenharmony_ci#define mmACP_AZ_PAGE6_PGEN_SIZE                        0x1243868
6328c2ecf20Sopenharmony_ci#define mmACP_AZ_PAGE6_OFFSET                           0x124386C
6338c2ecf20Sopenharmony_ci#define mmACP_AZ_PAGE7_LBASE_ADDR                       0x1243870
6348c2ecf20Sopenharmony_ci#define mmACP_AZ_PAGE7_UBASE_ADDR                       0x1243874
6358c2ecf20Sopenharmony_ci#define mmACP_AZ_PAGE7_PGEN_SIZE                        0x1243878
6368c2ecf20Sopenharmony_ci#define mmACP_AZ_PAGE7_OFFSET                           0x124387C
6378c2ecf20Sopenharmony_ci
6388c2ecf20Sopenharmony_ci
6398c2ecf20Sopenharmony_ci#endif
640