162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Copyright (C) 2020, STMicroelectronics - All Rights Reserved 462306a36Sopenharmony_ci * 562306a36Sopenharmony_ci * Configuration settings for the STM32MP13x CPU 662306a36Sopenharmony_ci */ 762306a36Sopenharmony_ci 862306a36Sopenharmony_ci#ifndef STM32MP13_RCC_H 962306a36Sopenharmony_ci#define STM32MP13_RCC_H 1062306a36Sopenharmony_ci/* RCC registers */ 1162306a36Sopenharmony_ci#define RCC_SECCFGR 0x0 1262306a36Sopenharmony_ci#define RCC_MP_SREQSETR 0x100 1362306a36Sopenharmony_ci#define RCC_MP_SREQCLRR 0x104 1462306a36Sopenharmony_ci#define RCC_MP_APRSTCR 0x108 1562306a36Sopenharmony_ci#define RCC_MP_APRSTSR 0x10c 1662306a36Sopenharmony_ci#define RCC_PWRLPDLYCR 0x110 1762306a36Sopenharmony_ci#define RCC_MP_GRSTCSETR 0x114 1862306a36Sopenharmony_ci#define RCC_BR_RSTSCLRR 0x118 1962306a36Sopenharmony_ci#define RCC_MP_RSTSSETR 0x11c 2062306a36Sopenharmony_ci#define RCC_MP_RSTSCLRR 0x120 2162306a36Sopenharmony_ci#define RCC_MP_IWDGFZSETR 0x124 2262306a36Sopenharmony_ci#define RCC_MP_IWDGFZCLRR 0x128 2362306a36Sopenharmony_ci#define RCC_MP_CIER 0x200 2462306a36Sopenharmony_ci#define RCC_MP_CIFR 0x204 2562306a36Sopenharmony_ci#define RCC_BDCR 0x400 2662306a36Sopenharmony_ci#define RCC_RDLSICR 0x404 2762306a36Sopenharmony_ci#define RCC_OCENSETR 0x420 2862306a36Sopenharmony_ci#define RCC_OCENCLRR 0x424 2962306a36Sopenharmony_ci#define RCC_OCRDYR 0x428 3062306a36Sopenharmony_ci#define RCC_HSICFGR 0x440 3162306a36Sopenharmony_ci#define RCC_CSICFGR 0x444 3262306a36Sopenharmony_ci#define RCC_MCO1CFGR 0x460 3362306a36Sopenharmony_ci#define RCC_MCO2CFGR 0x464 3462306a36Sopenharmony_ci#define RCC_DBGCFGR 0x468 3562306a36Sopenharmony_ci#define RCC_RCK12SELR 0x480 3662306a36Sopenharmony_ci#define RCC_RCK3SELR 0x484 3762306a36Sopenharmony_ci#define RCC_RCK4SELR 0x488 3862306a36Sopenharmony_ci#define RCC_PLL1CR 0x4a0 3962306a36Sopenharmony_ci#define RCC_PLL1CFGR1 0x4a4 4062306a36Sopenharmony_ci#define RCC_PLL1CFGR2 0x4a8 4162306a36Sopenharmony_ci#define RCC_PLL1FRACR 0x4ac 4262306a36Sopenharmony_ci#define RCC_PLL1CSGR 0x4b0 4362306a36Sopenharmony_ci#define RCC_PLL2CR 0x4d0 4462306a36Sopenharmony_ci#define RCC_PLL2CFGR1 0x4d4 4562306a36Sopenharmony_ci#define RCC_PLL2CFGR2 0x4d8 4662306a36Sopenharmony_ci#define RCC_PLL2FRACR 0x4dc 4762306a36Sopenharmony_ci#define RCC_PLL2CSGR 0x4e0 4862306a36Sopenharmony_ci#define RCC_PLL3CR 0x500 4962306a36Sopenharmony_ci#define RCC_PLL3CFGR1 0x504 5062306a36Sopenharmony_ci#define RCC_PLL3CFGR2 0x508 5162306a36Sopenharmony_ci#define RCC_PLL3FRACR 0x50c 5262306a36Sopenharmony_ci#define RCC_PLL3CSGR 0x510 5362306a36Sopenharmony_ci#define RCC_PLL4CR 0x520 5462306a36Sopenharmony_ci#define RCC_PLL4CFGR1 0x524 5562306a36Sopenharmony_ci#define RCC_PLL4CFGR2 0x528 5662306a36Sopenharmony_ci#define RCC_PLL4FRACR 0x52c 5762306a36Sopenharmony_ci#define RCC_PLL4CSGR 0x530 5862306a36Sopenharmony_ci#define RCC_MPCKSELR 0x540 5962306a36Sopenharmony_ci#define RCC_ASSCKSELR 0x544 6062306a36Sopenharmony_ci#define RCC_MSSCKSELR 0x548 6162306a36Sopenharmony_ci#define RCC_CPERCKSELR 0x54c 6262306a36Sopenharmony_ci#define RCC_RTCDIVR 0x560 6362306a36Sopenharmony_ci#define RCC_MPCKDIVR 0x564 6462306a36Sopenharmony_ci#define RCC_AXIDIVR 0x568 6562306a36Sopenharmony_ci#define RCC_MLAHBDIVR 0x56c 6662306a36Sopenharmony_ci#define RCC_APB1DIVR 0x570 6762306a36Sopenharmony_ci#define RCC_APB2DIVR 0x574 6862306a36Sopenharmony_ci#define RCC_APB3DIVR 0x578 6962306a36Sopenharmony_ci#define RCC_APB4DIVR 0x57c 7062306a36Sopenharmony_ci#define RCC_APB5DIVR 0x580 7162306a36Sopenharmony_ci#define RCC_APB6DIVR 0x584 7262306a36Sopenharmony_ci#define RCC_TIMG1PRER 0x5a0 7362306a36Sopenharmony_ci#define RCC_TIMG2PRER 0x5a4 7462306a36Sopenharmony_ci#define RCC_TIMG3PRER 0x5a8 7562306a36Sopenharmony_ci#define RCC_DDRITFCR 0x5c0 7662306a36Sopenharmony_ci#define RCC_I2C12CKSELR 0x600 7762306a36Sopenharmony_ci#define RCC_I2C345CKSELR 0x604 7862306a36Sopenharmony_ci#define RCC_SPI2S1CKSELR 0x608 7962306a36Sopenharmony_ci#define RCC_SPI2S23CKSELR 0x60c 8062306a36Sopenharmony_ci#define RCC_SPI45CKSELR 0x610 8162306a36Sopenharmony_ci#define RCC_UART12CKSELR 0x614 8262306a36Sopenharmony_ci#define RCC_UART35CKSELR 0x618 8362306a36Sopenharmony_ci#define RCC_UART4CKSELR 0x61c 8462306a36Sopenharmony_ci#define RCC_UART6CKSELR 0x620 8562306a36Sopenharmony_ci#define RCC_UART78CKSELR 0x624 8662306a36Sopenharmony_ci#define RCC_LPTIM1CKSELR 0x628 8762306a36Sopenharmony_ci#define RCC_LPTIM23CKSELR 0x62c 8862306a36Sopenharmony_ci#define RCC_LPTIM45CKSELR 0x630 8962306a36Sopenharmony_ci#define RCC_SAI1CKSELR 0x634 9062306a36Sopenharmony_ci#define RCC_SAI2CKSELR 0x638 9162306a36Sopenharmony_ci#define RCC_FDCANCKSELR 0x63c 9262306a36Sopenharmony_ci#define RCC_SPDIFCKSELR 0x640 9362306a36Sopenharmony_ci#define RCC_ADC12CKSELR 0x644 9462306a36Sopenharmony_ci#define RCC_SDMMC12CKSELR 0x648 9562306a36Sopenharmony_ci#define RCC_ETH12CKSELR 0x64c 9662306a36Sopenharmony_ci#define RCC_USBCKSELR 0x650 9762306a36Sopenharmony_ci#define RCC_QSPICKSELR 0x654 9862306a36Sopenharmony_ci#define RCC_FMCCKSELR 0x658 9962306a36Sopenharmony_ci#define RCC_RNG1CKSELR 0x65c 10062306a36Sopenharmony_ci#define RCC_STGENCKSELR 0x660 10162306a36Sopenharmony_ci#define RCC_DCMIPPCKSELR 0x664 10262306a36Sopenharmony_ci#define RCC_SAESCKSELR 0x668 10362306a36Sopenharmony_ci#define RCC_APB1RSTSETR 0x6a0 10462306a36Sopenharmony_ci#define RCC_APB1RSTCLRR 0x6a4 10562306a36Sopenharmony_ci#define RCC_APB2RSTSETR 0x6a8 10662306a36Sopenharmony_ci#define RCC_APB2RSTCLRR 0x6ac 10762306a36Sopenharmony_ci#define RCC_APB3RSTSETR 0x6b0 10862306a36Sopenharmony_ci#define RCC_APB3RSTCLRR 0x6b4 10962306a36Sopenharmony_ci#define RCC_APB4RSTSETR 0x6b8 11062306a36Sopenharmony_ci#define RCC_APB4RSTCLRR 0x6bc 11162306a36Sopenharmony_ci#define RCC_APB5RSTSETR 0x6c0 11262306a36Sopenharmony_ci#define RCC_APB5RSTCLRR 0x6c4 11362306a36Sopenharmony_ci#define RCC_APB6RSTSETR 0x6c8 11462306a36Sopenharmony_ci#define RCC_APB6RSTCLRR 0x6cc 11562306a36Sopenharmony_ci#define RCC_AHB2RSTSETR 0x6d0 11662306a36Sopenharmony_ci#define RCC_AHB2RSTCLRR 0x6d4 11762306a36Sopenharmony_ci#define RCC_AHB4RSTSETR 0x6e0 11862306a36Sopenharmony_ci#define RCC_AHB4RSTCLRR 0x6e4 11962306a36Sopenharmony_ci#define RCC_AHB5RSTSETR 0x6e8 12062306a36Sopenharmony_ci#define RCC_AHB5RSTCLRR 0x6ec 12162306a36Sopenharmony_ci#define RCC_AHB6RSTSETR 0x6f0 12262306a36Sopenharmony_ci#define RCC_AHB6RSTCLRR 0x6f4 12362306a36Sopenharmony_ci#define RCC_MP_APB1ENSETR 0x700 12462306a36Sopenharmony_ci#define RCC_MP_APB1ENCLRR 0x704 12562306a36Sopenharmony_ci#define RCC_MP_APB2ENSETR 0x708 12662306a36Sopenharmony_ci#define RCC_MP_APB2ENCLRR 0x70c 12762306a36Sopenharmony_ci#define RCC_MP_APB3ENSETR 0x710 12862306a36Sopenharmony_ci#define RCC_MP_APB3ENCLRR 0x714 12962306a36Sopenharmony_ci#define RCC_MP_S_APB3ENSETR 0x718 13062306a36Sopenharmony_ci#define RCC_MP_S_APB3ENCLRR 0x71c 13162306a36Sopenharmony_ci#define RCC_MP_NS_APB3ENSETR 0x720 13262306a36Sopenharmony_ci#define RCC_MP_NS_APB3ENCLRR 0x724 13362306a36Sopenharmony_ci#define RCC_MP_APB4ENSETR 0x728 13462306a36Sopenharmony_ci#define RCC_MP_APB4ENCLRR 0x72c 13562306a36Sopenharmony_ci#define RCC_MP_S_APB4ENSETR 0x730 13662306a36Sopenharmony_ci#define RCC_MP_S_APB4ENCLRR 0x734 13762306a36Sopenharmony_ci#define RCC_MP_NS_APB4ENSETR 0x738 13862306a36Sopenharmony_ci#define RCC_MP_NS_APB4ENCLRR 0x73c 13962306a36Sopenharmony_ci#define RCC_MP_APB5ENSETR 0x740 14062306a36Sopenharmony_ci#define RCC_MP_APB5ENCLRR 0x744 14162306a36Sopenharmony_ci#define RCC_MP_APB6ENSETR 0x748 14262306a36Sopenharmony_ci#define RCC_MP_APB6ENCLRR 0x74c 14362306a36Sopenharmony_ci#define RCC_MP_AHB2ENSETR 0x750 14462306a36Sopenharmony_ci#define RCC_MP_AHB2ENCLRR 0x754 14562306a36Sopenharmony_ci#define RCC_MP_AHB4ENSETR 0x760 14662306a36Sopenharmony_ci#define RCC_MP_AHB4ENCLRR 0x764 14762306a36Sopenharmony_ci#define RCC_MP_S_AHB4ENSETR 0x768 14862306a36Sopenharmony_ci#define RCC_MP_S_AHB4ENCLRR 0x76c 14962306a36Sopenharmony_ci#define RCC_MP_NS_AHB4ENSETR 0x770 15062306a36Sopenharmony_ci#define RCC_MP_NS_AHB4ENCLRR 0x774 15162306a36Sopenharmony_ci#define RCC_MP_AHB5ENSETR 0x778 15262306a36Sopenharmony_ci#define RCC_MP_AHB5ENCLRR 0x77c 15362306a36Sopenharmony_ci#define RCC_MP_AHB6ENSETR 0x780 15462306a36Sopenharmony_ci#define RCC_MP_AHB6ENCLRR 0x784 15562306a36Sopenharmony_ci#define RCC_MP_S_AHB6ENSETR 0x788 15662306a36Sopenharmony_ci#define RCC_MP_S_AHB6ENCLRR 0x78c 15762306a36Sopenharmony_ci#define RCC_MP_NS_AHB6ENSETR 0x790 15862306a36Sopenharmony_ci#define RCC_MP_NS_AHB6ENCLRR 0x794 15962306a36Sopenharmony_ci#define RCC_MP_APB1LPENSETR 0x800 16062306a36Sopenharmony_ci#define RCC_MP_APB1LPENCLRR 0x804 16162306a36Sopenharmony_ci#define RCC_MP_APB2LPENSETR 0x808 16262306a36Sopenharmony_ci#define RCC_MP_APB2LPENCLRR 0x80c 16362306a36Sopenharmony_ci#define RCC_MP_APB3LPENSETR 0x810 16462306a36Sopenharmony_ci#define RCC_MP_APB3LPENCLRR 0x814 16562306a36Sopenharmony_ci#define RCC_MP_S_APB3LPENSETR 0x818 16662306a36Sopenharmony_ci#define RCC_MP_S_APB3LPENCLRR 0x81c 16762306a36Sopenharmony_ci#define RCC_MP_NS_APB3LPENSETR 0x820 16862306a36Sopenharmony_ci#define RCC_MP_NS_APB3LPENCLRR 0x824 16962306a36Sopenharmony_ci#define RCC_MP_APB4LPENSETR 0x828 17062306a36Sopenharmony_ci#define RCC_MP_APB4LPENCLRR 0x82c 17162306a36Sopenharmony_ci#define RCC_MP_S_APB4LPENSETR 0x830 17262306a36Sopenharmony_ci#define RCC_MP_S_APB4LPENCLRR 0x834 17362306a36Sopenharmony_ci#define RCC_MP_NS_APB4LPENSETR 0x838 17462306a36Sopenharmony_ci#define RCC_MP_NS_APB4LPENCLRR 0x83c 17562306a36Sopenharmony_ci#define RCC_MP_APB5LPENSETR 0x840 17662306a36Sopenharmony_ci#define RCC_MP_APB5LPENCLRR 0x844 17762306a36Sopenharmony_ci#define RCC_MP_APB6LPENSETR 0x848 17862306a36Sopenharmony_ci#define RCC_MP_APB6LPENCLRR 0x84c 17962306a36Sopenharmony_ci#define RCC_MP_AHB2LPENSETR 0x850 18062306a36Sopenharmony_ci#define RCC_MP_AHB2LPENCLRR 0x854 18162306a36Sopenharmony_ci#define RCC_MP_AHB4LPENSETR 0x858 18262306a36Sopenharmony_ci#define RCC_MP_AHB4LPENCLRR 0x85c 18362306a36Sopenharmony_ci#define RCC_MP_S_AHB4LPENSETR 0x868 18462306a36Sopenharmony_ci#define RCC_MP_S_AHB4LPENCLRR 0x86c 18562306a36Sopenharmony_ci#define RCC_MP_NS_AHB4LPENSETR 0x870 18662306a36Sopenharmony_ci#define RCC_MP_NS_AHB4LPENCLRR 0x874 18762306a36Sopenharmony_ci#define RCC_MP_AHB5LPENSETR 0x878 18862306a36Sopenharmony_ci#define RCC_MP_AHB5LPENCLRR 0x87c 18962306a36Sopenharmony_ci#define RCC_MP_AHB6LPENSETR 0x880 19062306a36Sopenharmony_ci#define RCC_MP_AHB6LPENCLRR 0x884 19162306a36Sopenharmony_ci#define RCC_MP_S_AHB6LPENSETR 0x888 19262306a36Sopenharmony_ci#define RCC_MP_S_AHB6LPENCLRR 0x88c 19362306a36Sopenharmony_ci#define RCC_MP_NS_AHB6LPENSETR 0x890 19462306a36Sopenharmony_ci#define RCC_MP_NS_AHB6LPENCLRR 0x894 19562306a36Sopenharmony_ci#define RCC_MP_S_AXIMLPENSETR 0x898 19662306a36Sopenharmony_ci#define RCC_MP_S_AXIMLPENCLRR 0x89c 19762306a36Sopenharmony_ci#define RCC_MP_NS_AXIMLPENSETR 0x8a0 19862306a36Sopenharmony_ci#define RCC_MP_NS_AXIMLPENCLRR 0x8a4 19962306a36Sopenharmony_ci#define RCC_MP_MLAHBLPENSETR 0x8a8 20062306a36Sopenharmony_ci#define RCC_MP_MLAHBLPENCLRR 0x8ac 20162306a36Sopenharmony_ci#define RCC_APB3SECSR 0x8c0 20262306a36Sopenharmony_ci#define RCC_APB4SECSR 0x8c4 20362306a36Sopenharmony_ci#define RCC_APB5SECSR 0x8c8 20462306a36Sopenharmony_ci#define RCC_APB6SECSR 0x8cc 20562306a36Sopenharmony_ci#define RCC_AHB2SECSR 0x8d0 20662306a36Sopenharmony_ci#define RCC_AHB4SECSR 0x8d4 20762306a36Sopenharmony_ci#define RCC_AHB5SECSR 0x8d8 20862306a36Sopenharmony_ci#define RCC_AHB6SECSR 0x8dc 20962306a36Sopenharmony_ci#define RCC_VERR 0xff4 21062306a36Sopenharmony_ci#define RCC_IDR 0xff8 21162306a36Sopenharmony_ci#define RCC_SIDR 0xffc 21262306a36Sopenharmony_ci 21362306a36Sopenharmony_ci/* RCC_SECCFGR register fields */ 21462306a36Sopenharmony_ci#define RCC_SECCFGR_HSISEC 0 21562306a36Sopenharmony_ci#define RCC_SECCFGR_CSISEC 1 21662306a36Sopenharmony_ci#define RCC_SECCFGR_HSESEC 2 21762306a36Sopenharmony_ci#define RCC_SECCFGR_LSISEC 3 21862306a36Sopenharmony_ci#define RCC_SECCFGR_LSESEC 4 21962306a36Sopenharmony_ci#define RCC_SECCFGR_PLL12SEC 8 22062306a36Sopenharmony_ci#define RCC_SECCFGR_PLL3SEC 9 22162306a36Sopenharmony_ci#define RCC_SECCFGR_PLL4SEC 10 22262306a36Sopenharmony_ci#define RCC_SECCFGR_MPUSEC 11 22362306a36Sopenharmony_ci#define RCC_SECCFGR_AXISEC 12 22462306a36Sopenharmony_ci#define RCC_SECCFGR_MLAHBSEC 13 22562306a36Sopenharmony_ci#define RCC_SECCFGR_APB3DIVSEC 16 22662306a36Sopenharmony_ci#define RCC_SECCFGR_APB4DIVSEC 17 22762306a36Sopenharmony_ci#define RCC_SECCFGR_APB5DIVSEC 18 22862306a36Sopenharmony_ci#define RCC_SECCFGR_APB6DIVSEC 19 22962306a36Sopenharmony_ci#define RCC_SECCFGR_TIMG3SEC 20 23062306a36Sopenharmony_ci#define RCC_SECCFGR_CPERSEC 21 23162306a36Sopenharmony_ci#define RCC_SECCFGR_MCO1SEC 22 23262306a36Sopenharmony_ci#define RCC_SECCFGR_MCO2SEC 23 23362306a36Sopenharmony_ci#define RCC_SECCFGR_STPSEC 24 23462306a36Sopenharmony_ci#define RCC_SECCFGR_RSTSEC 25 23562306a36Sopenharmony_ci#define RCC_SECCFGR_PWRSEC 31 23662306a36Sopenharmony_ci 23762306a36Sopenharmony_ci/* RCC_MP_SREQSETR register fields */ 23862306a36Sopenharmony_ci#define RCC_MP_SREQSETR_STPREQ_P0 BIT(0) 23962306a36Sopenharmony_ci 24062306a36Sopenharmony_ci/* RCC_MP_SREQCLRR register fields */ 24162306a36Sopenharmony_ci#define RCC_MP_SREQCLRR_STPREQ_P0 BIT(0) 24262306a36Sopenharmony_ci 24362306a36Sopenharmony_ci/* RCC_MP_APRSTCR register fields */ 24462306a36Sopenharmony_ci#define RCC_MP_APRSTCR_RDCTLEN BIT(0) 24562306a36Sopenharmony_ci#define RCC_MP_APRSTCR_RSTTO_MASK GENMASK(14, 8) 24662306a36Sopenharmony_ci#define RCC_MP_APRSTCR_RSTTO_SHIFT 8 24762306a36Sopenharmony_ci 24862306a36Sopenharmony_ci/* RCC_MP_APRSTSR register fields */ 24962306a36Sopenharmony_ci#define RCC_MP_APRSTSR_RSTTOV_MASK GENMASK(14, 8) 25062306a36Sopenharmony_ci#define RCC_MP_APRSTSR_RSTTOV_SHIFT 8 25162306a36Sopenharmony_ci 25262306a36Sopenharmony_ci/* RCC_PWRLPDLYCR register fields */ 25362306a36Sopenharmony_ci#define RCC_PWRLPDLYCR_PWRLP_DLY_MASK GENMASK(21, 0) 25462306a36Sopenharmony_ci#define RCC_PWRLPDLYCR_PWRLP_DLY_SHIFT 0 25562306a36Sopenharmony_ci 25662306a36Sopenharmony_ci/* RCC_MP_GRSTCSETR register fields */ 25762306a36Sopenharmony_ci#define RCC_MP_GRSTCSETR_MPSYSRST BIT(0) 25862306a36Sopenharmony_ci#define RCC_MP_GRSTCSETR_MPUP0RST BIT(4) 25962306a36Sopenharmony_ci 26062306a36Sopenharmony_ci/* RCC_BR_RSTSCLRR register fields */ 26162306a36Sopenharmony_ci#define RCC_BR_RSTSCLRR_PORRSTF BIT(0) 26262306a36Sopenharmony_ci#define RCC_BR_RSTSCLRR_BORRSTF BIT(1) 26362306a36Sopenharmony_ci#define RCC_BR_RSTSCLRR_PADRSTF BIT(2) 26462306a36Sopenharmony_ci#define RCC_BR_RSTSCLRR_HCSSRSTF BIT(3) 26562306a36Sopenharmony_ci#define RCC_BR_RSTSCLRR_VCORERSTF BIT(4) 26662306a36Sopenharmony_ci#define RCC_BR_RSTSCLRR_VCPURSTF BIT(5) 26762306a36Sopenharmony_ci#define RCC_BR_RSTSCLRR_MPSYSRSTF BIT(6) 26862306a36Sopenharmony_ci#define RCC_BR_RSTSCLRR_IWDG1RSTF BIT(8) 26962306a36Sopenharmony_ci#define RCC_BR_RSTSCLRR_IWDG2RSTF BIT(9) 27062306a36Sopenharmony_ci#define RCC_BR_RSTSCLRR_MPUP0RSTF BIT(13) 27162306a36Sopenharmony_ci 27262306a36Sopenharmony_ci/* RCC_MP_RSTSSETR register fields */ 27362306a36Sopenharmony_ci#define RCC_MP_RSTSSETR_PORRSTF BIT(0) 27462306a36Sopenharmony_ci#define RCC_MP_RSTSSETR_BORRSTF BIT(1) 27562306a36Sopenharmony_ci#define RCC_MP_RSTSSETR_PADRSTF BIT(2) 27662306a36Sopenharmony_ci#define RCC_MP_RSTSSETR_HCSSRSTF BIT(3) 27762306a36Sopenharmony_ci#define RCC_MP_RSTSSETR_VCORERSTF BIT(4) 27862306a36Sopenharmony_ci#define RCC_MP_RSTSSETR_VCPURSTF BIT(5) 27962306a36Sopenharmony_ci#define RCC_MP_RSTSSETR_MPSYSRSTF BIT(6) 28062306a36Sopenharmony_ci#define RCC_MP_RSTSSETR_IWDG1RSTF BIT(8) 28162306a36Sopenharmony_ci#define RCC_MP_RSTSSETR_IWDG2RSTF BIT(9) 28262306a36Sopenharmony_ci#define RCC_MP_RSTSSETR_STP2RSTF BIT(10) 28362306a36Sopenharmony_ci#define RCC_MP_RSTSSETR_STDBYRSTF BIT(11) 28462306a36Sopenharmony_ci#define RCC_MP_RSTSSETR_CSTDBYRSTF BIT(12) 28562306a36Sopenharmony_ci#define RCC_MP_RSTSSETR_MPUP0RSTF BIT(13) 28662306a36Sopenharmony_ci#define RCC_MP_RSTSSETR_SPARE BIT(15) 28762306a36Sopenharmony_ci 28862306a36Sopenharmony_ci/* RCC_MP_RSTSCLRR register fields */ 28962306a36Sopenharmony_ci#define RCC_MP_RSTSCLRR_PORRSTF BIT(0) 29062306a36Sopenharmony_ci#define RCC_MP_RSTSCLRR_BORRSTF BIT(1) 29162306a36Sopenharmony_ci#define RCC_MP_RSTSCLRR_PADRSTF BIT(2) 29262306a36Sopenharmony_ci#define RCC_MP_RSTSCLRR_HCSSRSTF BIT(3) 29362306a36Sopenharmony_ci#define RCC_MP_RSTSCLRR_VCORERSTF BIT(4) 29462306a36Sopenharmony_ci#define RCC_MP_RSTSCLRR_VCPURSTF BIT(5) 29562306a36Sopenharmony_ci#define RCC_MP_RSTSCLRR_MPSYSRSTF BIT(6) 29662306a36Sopenharmony_ci#define RCC_MP_RSTSCLRR_IWDG1RSTF BIT(8) 29762306a36Sopenharmony_ci#define RCC_MP_RSTSCLRR_IWDG2RSTF BIT(9) 29862306a36Sopenharmony_ci#define RCC_MP_RSTSCLRR_STP2RSTF BIT(10) 29962306a36Sopenharmony_ci#define RCC_MP_RSTSCLRR_STDBYRSTF BIT(11) 30062306a36Sopenharmony_ci#define RCC_MP_RSTSCLRR_CSTDBYRSTF BIT(12) 30162306a36Sopenharmony_ci#define RCC_MP_RSTSCLRR_MPUP0RSTF BIT(13) 30262306a36Sopenharmony_ci#define RCC_MP_RSTSCLRR_SPARE BIT(15) 30362306a36Sopenharmony_ci 30462306a36Sopenharmony_ci/* RCC_MP_IWDGFZSETR register fields */ 30562306a36Sopenharmony_ci#define RCC_MP_IWDGFZSETR_FZ_IWDG1 BIT(0) 30662306a36Sopenharmony_ci#define RCC_MP_IWDGFZSETR_FZ_IWDG2 BIT(1) 30762306a36Sopenharmony_ci 30862306a36Sopenharmony_ci/* RCC_MP_IWDGFZCLRR register fields */ 30962306a36Sopenharmony_ci#define RCC_MP_IWDGFZCLRR_FZ_IWDG1 BIT(0) 31062306a36Sopenharmony_ci#define RCC_MP_IWDGFZCLRR_FZ_IWDG2 BIT(1) 31162306a36Sopenharmony_ci 31262306a36Sopenharmony_ci/* RCC_MP_CIER register fields */ 31362306a36Sopenharmony_ci#define RCC_MP_CIER_LSIRDYIE BIT(0) 31462306a36Sopenharmony_ci#define RCC_MP_CIER_LSERDYIE BIT(1) 31562306a36Sopenharmony_ci#define RCC_MP_CIER_HSIRDYIE BIT(2) 31662306a36Sopenharmony_ci#define RCC_MP_CIER_HSERDYIE BIT(3) 31762306a36Sopenharmony_ci#define RCC_MP_CIER_CSIRDYIE BIT(4) 31862306a36Sopenharmony_ci#define RCC_MP_CIER_PLL1DYIE BIT(8) 31962306a36Sopenharmony_ci#define RCC_MP_CIER_PLL2DYIE BIT(9) 32062306a36Sopenharmony_ci#define RCC_MP_CIER_PLL3DYIE BIT(10) 32162306a36Sopenharmony_ci#define RCC_MP_CIER_PLL4DYIE BIT(11) 32262306a36Sopenharmony_ci#define RCC_MP_CIER_LSECSSIE BIT(16) 32362306a36Sopenharmony_ci#define RCC_MP_CIER_WKUPIE BIT(20) 32462306a36Sopenharmony_ci 32562306a36Sopenharmony_ci/* RCC_MP_CIFR register fields */ 32662306a36Sopenharmony_ci#define RCC_MP_CIFR_LSIRDYF BIT(0) 32762306a36Sopenharmony_ci#define RCC_MP_CIFR_LSERDYF BIT(1) 32862306a36Sopenharmony_ci#define RCC_MP_CIFR_HSIRDYF BIT(2) 32962306a36Sopenharmony_ci#define RCC_MP_CIFR_HSERDYF BIT(3) 33062306a36Sopenharmony_ci#define RCC_MP_CIFR_CSIRDYF BIT(4) 33162306a36Sopenharmony_ci#define RCC_MP_CIFR_PLL1DYF BIT(8) 33262306a36Sopenharmony_ci#define RCC_MP_CIFR_PLL2DYF BIT(9) 33362306a36Sopenharmony_ci#define RCC_MP_CIFR_PLL3DYF BIT(10) 33462306a36Sopenharmony_ci#define RCC_MP_CIFR_PLL4DYF BIT(11) 33562306a36Sopenharmony_ci#define RCC_MP_CIFR_LSECSSF BIT(16) 33662306a36Sopenharmony_ci#define RCC_MP_CIFR_WKUPF BIT(20) 33762306a36Sopenharmony_ci 33862306a36Sopenharmony_ci/* RCC_BDCR register fields */ 33962306a36Sopenharmony_ci#define RCC_BDCR_LSEON BIT(0) 34062306a36Sopenharmony_ci#define RCC_BDCR_LSEBYP BIT(1) 34162306a36Sopenharmony_ci#define RCC_BDCR_LSERDY BIT(2) 34262306a36Sopenharmony_ci#define RCC_BDCR_DIGBYP BIT(3) 34362306a36Sopenharmony_ci#define RCC_BDCR_LSEDRV_MASK GENMASK(5, 4) 34462306a36Sopenharmony_ci#define RCC_BDCR_LSECSSON BIT(8) 34562306a36Sopenharmony_ci#define RCC_BDCR_LSECSSD BIT(9) 34662306a36Sopenharmony_ci#define RCC_BDCR_RTCSRC_MASK GENMASK(17, 16) 34762306a36Sopenharmony_ci#define RCC_BDCR_RTCCKEN BIT(20) 34862306a36Sopenharmony_ci#define RCC_BDCR_VSWRST BIT(31) 34962306a36Sopenharmony_ci#define RCC_BDCR_LSEDRV_SHIFT 4 35062306a36Sopenharmony_ci#define RCC_BDCR_RTCSRC_SHIFT 16 35162306a36Sopenharmony_ci 35262306a36Sopenharmony_ci/* RCC_RDLSICR register fields */ 35362306a36Sopenharmony_ci#define RCC_RDLSICR_LSION BIT(0) 35462306a36Sopenharmony_ci#define RCC_RDLSICR_LSIRDY BIT(1) 35562306a36Sopenharmony_ci#define RCC_RDLSICR_MRD_MASK GENMASK(20, 16) 35662306a36Sopenharmony_ci#define RCC_RDLSICR_EADLY_MASK GENMASK(26, 24) 35762306a36Sopenharmony_ci#define RCC_RDLSICR_SPARE_MASK GENMASK(31, 27) 35862306a36Sopenharmony_ci#define RCC_RDLSICR_MRD_SHIFT 16 35962306a36Sopenharmony_ci#define RCC_RDLSICR_EADLY_SHIFT 24 36062306a36Sopenharmony_ci#define RCC_RDLSICR_SPARE_SHIFT 27 36162306a36Sopenharmony_ci 36262306a36Sopenharmony_ci/* RCC_OCENSETR register fields */ 36362306a36Sopenharmony_ci#define RCC_OCENSETR_HSION BIT(0) 36462306a36Sopenharmony_ci#define RCC_OCENSETR_HSIKERON BIT(1) 36562306a36Sopenharmony_ci#define RCC_OCENSETR_CSION BIT(4) 36662306a36Sopenharmony_ci#define RCC_OCENSETR_CSIKERON BIT(5) 36762306a36Sopenharmony_ci#define RCC_OCENSETR_DIGBYP BIT(7) 36862306a36Sopenharmony_ci#define RCC_OCENSETR_HSEON BIT(8) 36962306a36Sopenharmony_ci#define RCC_OCENSETR_HSEKERON BIT(9) 37062306a36Sopenharmony_ci#define RCC_OCENSETR_HSEBYP BIT(10) 37162306a36Sopenharmony_ci#define RCC_OCENSETR_HSECSSON BIT(11) 37262306a36Sopenharmony_ci 37362306a36Sopenharmony_ci/* RCC_OCENCLRR register fields */ 37462306a36Sopenharmony_ci#define RCC_OCENCLRR_HSION BIT(0) 37562306a36Sopenharmony_ci#define RCC_OCENCLRR_HSIKERON BIT(1) 37662306a36Sopenharmony_ci#define RCC_OCENCLRR_CSION BIT(4) 37762306a36Sopenharmony_ci#define RCC_OCENCLRR_CSIKERON BIT(5) 37862306a36Sopenharmony_ci#define RCC_OCENCLRR_DIGBYP BIT(7) 37962306a36Sopenharmony_ci#define RCC_OCENCLRR_HSEON BIT(8) 38062306a36Sopenharmony_ci#define RCC_OCENCLRR_HSEKERON BIT(9) 38162306a36Sopenharmony_ci#define RCC_OCENCLRR_HSEBYP BIT(10) 38262306a36Sopenharmony_ci 38362306a36Sopenharmony_ci/* RCC_OCRDYR register fields */ 38462306a36Sopenharmony_ci#define RCC_OCRDYR_HSIRDY BIT(0) 38562306a36Sopenharmony_ci#define RCC_OCRDYR_HSIDIVRDY BIT(2) 38662306a36Sopenharmony_ci#define RCC_OCRDYR_CSIRDY BIT(4) 38762306a36Sopenharmony_ci#define RCC_OCRDYR_HSERDY BIT(8) 38862306a36Sopenharmony_ci#define RCC_OCRDYR_MPUCKRDY BIT(23) 38962306a36Sopenharmony_ci#define RCC_OCRDYR_AXICKRDY BIT(24) 39062306a36Sopenharmony_ci 39162306a36Sopenharmony_ci/* RCC_HSICFGR register fields */ 39262306a36Sopenharmony_ci#define RCC_HSICFGR_HSIDIV_MASK GENMASK(1, 0) 39362306a36Sopenharmony_ci#define RCC_HSICFGR_HSITRIM_MASK GENMASK(14, 8) 39462306a36Sopenharmony_ci#define RCC_HSICFGR_HSICAL_MASK GENMASK(27, 16) 39562306a36Sopenharmony_ci#define RCC_HSICFGR_HSIDIV_SHIFT 0 39662306a36Sopenharmony_ci#define RCC_HSICFGR_HSITRIM_SHIFT 8 39762306a36Sopenharmony_ci#define RCC_HSICFGR_HSICAL_SHIFT 16 39862306a36Sopenharmony_ci 39962306a36Sopenharmony_ci/* RCC_CSICFGR register fields */ 40062306a36Sopenharmony_ci#define RCC_CSICFGR_CSITRIM_MASK GENMASK(12, 8) 40162306a36Sopenharmony_ci#define RCC_CSICFGR_CSICAL_MASK GENMASK(23, 16) 40262306a36Sopenharmony_ci#define RCC_CSICFGR_CSITRIM_SHIFT 8 40362306a36Sopenharmony_ci#define RCC_CSICFGR_CSICAL_SHIFT 16 40462306a36Sopenharmony_ci 40562306a36Sopenharmony_ci/* RCC_MCO1CFGR register fields */ 40662306a36Sopenharmony_ci#define RCC_MCO1CFGR_MCO1SEL_MASK GENMASK(2, 0) 40762306a36Sopenharmony_ci#define RCC_MCO1CFGR_MCO1DIV_MASK GENMASK(7, 4) 40862306a36Sopenharmony_ci#define RCC_MCO1CFGR_MCO1ON BIT(12) 40962306a36Sopenharmony_ci#define RCC_MCO1CFGR_MCO1SEL_SHIFT 0 41062306a36Sopenharmony_ci#define RCC_MCO1CFGR_MCO1DIV_SHIFT 4 41162306a36Sopenharmony_ci 41262306a36Sopenharmony_ci/* RCC_MCO2CFGR register fields */ 41362306a36Sopenharmony_ci#define RCC_MCO2CFGR_MCO2SEL_MASK GENMASK(2, 0) 41462306a36Sopenharmony_ci#define RCC_MCO2CFGR_MCO2DIV_MASK GENMASK(7, 4) 41562306a36Sopenharmony_ci#define RCC_MCO2CFGR_MCO2ON BIT(12) 41662306a36Sopenharmony_ci#define RCC_MCO2CFGR_MCO2SEL_SHIFT 0 41762306a36Sopenharmony_ci#define RCC_MCO2CFGR_MCO2DIV_SHIFT 4 41862306a36Sopenharmony_ci 41962306a36Sopenharmony_ci/* RCC_DBGCFGR register fields */ 42062306a36Sopenharmony_ci#define RCC_DBGCFGR_TRACEDIV_MASK GENMASK(2, 0) 42162306a36Sopenharmony_ci#define RCC_DBGCFGR_DBGCKEN BIT(8) 42262306a36Sopenharmony_ci#define RCC_DBGCFGR_TRACECKEN BIT(9) 42362306a36Sopenharmony_ci#define RCC_DBGCFGR_DBGRST BIT(12) 42462306a36Sopenharmony_ci#define RCC_DBGCFGR_TRACEDIV_SHIFT 0 42562306a36Sopenharmony_ci 42662306a36Sopenharmony_ci/* RCC_RCK12SELR register fields */ 42762306a36Sopenharmony_ci#define RCC_RCK12SELR_PLL12SRC_MASK GENMASK(1, 0) 42862306a36Sopenharmony_ci#define RCC_RCK12SELR_PLL12SRCRDY BIT(31) 42962306a36Sopenharmony_ci#define RCC_RCK12SELR_PLL12SRC_SHIFT 0 43062306a36Sopenharmony_ci 43162306a36Sopenharmony_ci/* RCC_RCK3SELR register fields */ 43262306a36Sopenharmony_ci#define RCC_RCK3SELR_PLL3SRC_MASK GENMASK(1, 0) 43362306a36Sopenharmony_ci#define RCC_RCK3SELR_PLL3SRCRDY BIT(31) 43462306a36Sopenharmony_ci#define RCC_RCK3SELR_PLL3SRC_SHIFT 0 43562306a36Sopenharmony_ci 43662306a36Sopenharmony_ci/* RCC_RCK4SELR register fields */ 43762306a36Sopenharmony_ci#define RCC_RCK4SELR_PLL4SRC_MASK GENMASK(1, 0) 43862306a36Sopenharmony_ci#define RCC_RCK4SELR_PLL4SRCRDY BIT(31) 43962306a36Sopenharmony_ci#define RCC_RCK4SELR_PLL4SRC_SHIFT 0 44062306a36Sopenharmony_ci 44162306a36Sopenharmony_ci/* RCC_PLL1CR register fields */ 44262306a36Sopenharmony_ci#define RCC_PLL1CR_PLLON BIT(0) 44362306a36Sopenharmony_ci#define RCC_PLL1CR_PLL1RDY BIT(1) 44462306a36Sopenharmony_ci#define RCC_PLL1CR_SSCG_CTRL BIT(2) 44562306a36Sopenharmony_ci#define RCC_PLL1CR_DIVPEN BIT(4) 44662306a36Sopenharmony_ci#define RCC_PLL1CR_DIVQEN BIT(5) 44762306a36Sopenharmony_ci#define RCC_PLL1CR_DIVREN BIT(6) 44862306a36Sopenharmony_ci 44962306a36Sopenharmony_ci/* RCC_PLL1CFGR1 register fields */ 45062306a36Sopenharmony_ci#define RCC_PLL1CFGR1_DIVN_MASK GENMASK(8, 0) 45162306a36Sopenharmony_ci#define RCC_PLL1CFGR1_DIVM1_MASK GENMASK(21, 16) 45262306a36Sopenharmony_ci#define RCC_PLL1CFGR1_DIVN_SHIFT 0 45362306a36Sopenharmony_ci#define RCC_PLL1CFGR1_DIVM1_SHIFT 16 45462306a36Sopenharmony_ci 45562306a36Sopenharmony_ci/* RCC_PLL1CFGR2 register fields */ 45662306a36Sopenharmony_ci#define RCC_PLL1CFGR2_DIVP_MASK GENMASK(6, 0) 45762306a36Sopenharmony_ci#define RCC_PLL1CFGR2_DIVQ_MASK GENMASK(14, 8) 45862306a36Sopenharmony_ci#define RCC_PLL1CFGR2_DIVR_MASK GENMASK(22, 16) 45962306a36Sopenharmony_ci#define RCC_PLL1CFGR2_DIVP_SHIFT 0 46062306a36Sopenharmony_ci#define RCC_PLL1CFGR2_DIVQ_SHIFT 8 46162306a36Sopenharmony_ci#define RCC_PLL1CFGR2_DIVR_SHIFT 16 46262306a36Sopenharmony_ci 46362306a36Sopenharmony_ci/* RCC_PLL1FRACR register fields */ 46462306a36Sopenharmony_ci#define RCC_PLL1FRACR_FRACV_MASK GENMASK(15, 3) 46562306a36Sopenharmony_ci#define RCC_PLL1FRACR_FRACLE BIT(16) 46662306a36Sopenharmony_ci#define RCC_PLL1FRACR_FRACV_SHIFT 3 46762306a36Sopenharmony_ci 46862306a36Sopenharmony_ci/* RCC_PLL1CSGR register fields */ 46962306a36Sopenharmony_ci#define RCC_PLL1CSGR_MOD_PER_MASK GENMASK(12, 0) 47062306a36Sopenharmony_ci#define RCC_PLL1CSGR_TPDFN_DIS BIT(13) 47162306a36Sopenharmony_ci#define RCC_PLL1CSGR_RPDFN_DIS BIT(14) 47262306a36Sopenharmony_ci#define RCC_PLL1CSGR_SSCG_MODE BIT(15) 47362306a36Sopenharmony_ci#define RCC_PLL1CSGR_INC_STEP_MASK GENMASK(30, 16) 47462306a36Sopenharmony_ci#define RCC_PLL1CSGR_MOD_PER_SHIFT 0 47562306a36Sopenharmony_ci#define RCC_PLL1CSGR_INC_STEP_SHIFT 16 47662306a36Sopenharmony_ci 47762306a36Sopenharmony_ci/* RCC_PLL2CR register fields */ 47862306a36Sopenharmony_ci#define RCC_PLL2CR_PLLON BIT(0) 47962306a36Sopenharmony_ci#define RCC_PLL2CR_PLL2RDY BIT(1) 48062306a36Sopenharmony_ci#define RCC_PLL2CR_SSCG_CTRL BIT(2) 48162306a36Sopenharmony_ci#define RCC_PLL2CR_DIVPEN BIT(4) 48262306a36Sopenharmony_ci#define RCC_PLL2CR_DIVQEN BIT(5) 48362306a36Sopenharmony_ci#define RCC_PLL2CR_DIVREN BIT(6) 48462306a36Sopenharmony_ci 48562306a36Sopenharmony_ci/* RCC_PLL2CFGR1 register fields */ 48662306a36Sopenharmony_ci#define RCC_PLL2CFGR1_DIVN_MASK GENMASK(8, 0) 48762306a36Sopenharmony_ci#define RCC_PLL2CFGR1_DIVM2_MASK GENMASK(21, 16) 48862306a36Sopenharmony_ci#define RCC_PLL2CFGR1_DIVN_SHIFT 0 48962306a36Sopenharmony_ci#define RCC_PLL2CFGR1_DIVM2_SHIFT 16 49062306a36Sopenharmony_ci 49162306a36Sopenharmony_ci/* RCC_PLL2CFGR2 register fields */ 49262306a36Sopenharmony_ci#define RCC_PLL2CFGR2_DIVP_MASK GENMASK(6, 0) 49362306a36Sopenharmony_ci#define RCC_PLL2CFGR2_DIVQ_MASK GENMASK(14, 8) 49462306a36Sopenharmony_ci#define RCC_PLL2CFGR2_DIVR_MASK GENMASK(22, 16) 49562306a36Sopenharmony_ci#define RCC_PLL2CFGR2_DIVP_SHIFT 0 49662306a36Sopenharmony_ci#define RCC_PLL2CFGR2_DIVQ_SHIFT 8 49762306a36Sopenharmony_ci#define RCC_PLL2CFGR2_DIVR_SHIFT 16 49862306a36Sopenharmony_ci 49962306a36Sopenharmony_ci/* RCC_PLL2FRACR register fields */ 50062306a36Sopenharmony_ci#define RCC_PLL2FRACR_FRACV_MASK GENMASK(15, 3) 50162306a36Sopenharmony_ci#define RCC_PLL2FRACR_FRACLE BIT(16) 50262306a36Sopenharmony_ci#define RCC_PLL2FRACR_FRACV_SHIFT 3 50362306a36Sopenharmony_ci 50462306a36Sopenharmony_ci/* RCC_PLL2CSGR register fields */ 50562306a36Sopenharmony_ci#define RCC_PLL2CSGR_MOD_PER_MASK GENMASK(12, 0) 50662306a36Sopenharmony_ci#define RCC_PLL2CSGR_TPDFN_DIS BIT(13) 50762306a36Sopenharmony_ci#define RCC_PLL2CSGR_RPDFN_DIS BIT(14) 50862306a36Sopenharmony_ci#define RCC_PLL2CSGR_SSCG_MODE BIT(15) 50962306a36Sopenharmony_ci#define RCC_PLL2CSGR_INC_STEP_MASK GENMASK(30, 16) 51062306a36Sopenharmony_ci#define RCC_PLL2CSGR_MOD_PER_SHIFT 0 51162306a36Sopenharmony_ci#define RCC_PLL2CSGR_INC_STEP_SHIFT 16 51262306a36Sopenharmony_ci 51362306a36Sopenharmony_ci/* RCC_PLL3CR register fields */ 51462306a36Sopenharmony_ci#define RCC_PLL3CR_PLLON BIT(0) 51562306a36Sopenharmony_ci#define RCC_PLL3CR_PLL3RDY BIT(1) 51662306a36Sopenharmony_ci#define RCC_PLL3CR_SSCG_CTRL BIT(2) 51762306a36Sopenharmony_ci#define RCC_PLL3CR_DIVPEN BIT(4) 51862306a36Sopenharmony_ci#define RCC_PLL3CR_DIVQEN BIT(5) 51962306a36Sopenharmony_ci#define RCC_PLL3CR_DIVREN BIT(6) 52062306a36Sopenharmony_ci 52162306a36Sopenharmony_ci/* RCC_PLL3CFGR1 register fields */ 52262306a36Sopenharmony_ci#define RCC_PLL3CFGR1_DIVN_MASK GENMASK(8, 0) 52362306a36Sopenharmony_ci#define RCC_PLL3CFGR1_DIVM3_MASK GENMASK(21, 16) 52462306a36Sopenharmony_ci#define RCC_PLL3CFGR1_IFRGE_MASK GENMASK(25, 24) 52562306a36Sopenharmony_ci#define RCC_PLL3CFGR1_DIVN_SHIFT 0 52662306a36Sopenharmony_ci#define RCC_PLL3CFGR1_DIVM3_SHIFT 16 52762306a36Sopenharmony_ci#define RCC_PLL3CFGR1_IFRGE_SHIFT 24 52862306a36Sopenharmony_ci 52962306a36Sopenharmony_ci/* RCC_PLL3CFGR2 register fields */ 53062306a36Sopenharmony_ci#define RCC_PLL3CFGR2_DIVP_MASK GENMASK(6, 0) 53162306a36Sopenharmony_ci#define RCC_PLL3CFGR2_DIVQ_MASK GENMASK(14, 8) 53262306a36Sopenharmony_ci#define RCC_PLL3CFGR2_DIVR_MASK GENMASK(22, 16) 53362306a36Sopenharmony_ci#define RCC_PLL3CFGR2_DIVP_SHIFT 0 53462306a36Sopenharmony_ci#define RCC_PLL3CFGR2_DIVQ_SHIFT 8 53562306a36Sopenharmony_ci#define RCC_PLL3CFGR2_DIVR_SHIFT 16 53662306a36Sopenharmony_ci 53762306a36Sopenharmony_ci/* RCC_PLL3FRACR register fields */ 53862306a36Sopenharmony_ci#define RCC_PLL3FRACR_FRACV_MASK GENMASK(15, 3) 53962306a36Sopenharmony_ci#define RCC_PLL3FRACR_FRACLE BIT(16) 54062306a36Sopenharmony_ci#define RCC_PLL3FRACR_FRACV_SHIFT 3 54162306a36Sopenharmony_ci 54262306a36Sopenharmony_ci/* RCC_PLL3CSGR register fields */ 54362306a36Sopenharmony_ci#define RCC_PLL3CSGR_MOD_PER_MASK GENMASK(12, 0) 54462306a36Sopenharmony_ci#define RCC_PLL3CSGR_TPDFN_DIS BIT(13) 54562306a36Sopenharmony_ci#define RCC_PLL3CSGR_RPDFN_DIS BIT(14) 54662306a36Sopenharmony_ci#define RCC_PLL3CSGR_SSCG_MODE BIT(15) 54762306a36Sopenharmony_ci#define RCC_PLL3CSGR_INC_STEP_MASK GENMASK(30, 16) 54862306a36Sopenharmony_ci#define RCC_PLL3CSGR_MOD_PER_SHIFT 0 54962306a36Sopenharmony_ci#define RCC_PLL3CSGR_INC_STEP_SHIFT 16 55062306a36Sopenharmony_ci 55162306a36Sopenharmony_ci/* RCC_PLL4CR register fields */ 55262306a36Sopenharmony_ci#define RCC_PLL4CR_PLLON BIT(0) 55362306a36Sopenharmony_ci#define RCC_PLL4CR_PLL4RDY BIT(1) 55462306a36Sopenharmony_ci#define RCC_PLL4CR_SSCG_CTRL BIT(2) 55562306a36Sopenharmony_ci#define RCC_PLL4CR_DIVPEN BIT(4) 55662306a36Sopenharmony_ci#define RCC_PLL4CR_DIVQEN BIT(5) 55762306a36Sopenharmony_ci#define RCC_PLL4CR_DIVREN BIT(6) 55862306a36Sopenharmony_ci 55962306a36Sopenharmony_ci/* RCC_PLL4CFGR1 register fields */ 56062306a36Sopenharmony_ci#define RCC_PLL4CFGR1_DIVN_MASK GENMASK(8, 0) 56162306a36Sopenharmony_ci#define RCC_PLL4CFGR1_DIVM4_MASK GENMASK(21, 16) 56262306a36Sopenharmony_ci#define RCC_PLL4CFGR1_IFRGE_MASK GENMASK(25, 24) 56362306a36Sopenharmony_ci#define RCC_PLL4CFGR1_DIVN_SHIFT 0 56462306a36Sopenharmony_ci#define RCC_PLL4CFGR1_DIVM4_SHIFT 16 56562306a36Sopenharmony_ci#define RCC_PLL4CFGR1_IFRGE_SHIFT 24 56662306a36Sopenharmony_ci 56762306a36Sopenharmony_ci/* RCC_PLL4CFGR2 register fields */ 56862306a36Sopenharmony_ci#define RCC_PLL4CFGR2_DIVP_MASK GENMASK(6, 0) 56962306a36Sopenharmony_ci#define RCC_PLL4CFGR2_DIVQ_MASK GENMASK(14, 8) 57062306a36Sopenharmony_ci#define RCC_PLL4CFGR2_DIVR_MASK GENMASK(22, 16) 57162306a36Sopenharmony_ci#define RCC_PLL4CFGR2_DIVP_SHIFT 0 57262306a36Sopenharmony_ci#define RCC_PLL4CFGR2_DIVQ_SHIFT 8 57362306a36Sopenharmony_ci#define RCC_PLL4CFGR2_DIVR_SHIFT 16 57462306a36Sopenharmony_ci 57562306a36Sopenharmony_ci/* RCC_PLL4FRACR register fields */ 57662306a36Sopenharmony_ci#define RCC_PLL4FRACR_FRACV_MASK GENMASK(15, 3) 57762306a36Sopenharmony_ci#define RCC_PLL4FRACR_FRACLE BIT(16) 57862306a36Sopenharmony_ci#define RCC_PLL4FRACR_FRACV_SHIFT 3 57962306a36Sopenharmony_ci 58062306a36Sopenharmony_ci/* RCC_PLL4CSGR register fields */ 58162306a36Sopenharmony_ci#define RCC_PLL4CSGR_MOD_PER_MASK GENMASK(12, 0) 58262306a36Sopenharmony_ci#define RCC_PLL4CSGR_TPDFN_DIS BIT(13) 58362306a36Sopenharmony_ci#define RCC_PLL4CSGR_RPDFN_DIS BIT(14) 58462306a36Sopenharmony_ci#define RCC_PLL4CSGR_SSCG_MODE BIT(15) 58562306a36Sopenharmony_ci#define RCC_PLL4CSGR_INC_STEP_MASK GENMASK(30, 16) 58662306a36Sopenharmony_ci#define RCC_PLL4CSGR_MOD_PER_SHIFT 0 58762306a36Sopenharmony_ci#define RCC_PLL4CSGR_INC_STEP_SHIFT 16 58862306a36Sopenharmony_ci 58962306a36Sopenharmony_ci/* RCC_MPCKSELR register fields */ 59062306a36Sopenharmony_ci#define RCC_MPCKSELR_MPUSRC_MASK GENMASK(1, 0) 59162306a36Sopenharmony_ci#define RCC_MPCKSELR_MPUSRCRDY BIT(31) 59262306a36Sopenharmony_ci#define RCC_MPCKSELR_MPUSRC_SHIFT 0 59362306a36Sopenharmony_ci 59462306a36Sopenharmony_ci/* RCC_ASSCKSELR register fields */ 59562306a36Sopenharmony_ci#define RCC_ASSCKSELR_AXISSRC_MASK GENMASK(2, 0) 59662306a36Sopenharmony_ci#define RCC_ASSCKSELR_AXISSRCRDY BIT(31) 59762306a36Sopenharmony_ci#define RCC_ASSCKSELR_AXISSRC_SHIFT 0 59862306a36Sopenharmony_ci 59962306a36Sopenharmony_ci/* RCC_MSSCKSELR register fields */ 60062306a36Sopenharmony_ci#define RCC_MSSCKSELR_MLAHBSSRC_MASK GENMASK(1, 0) 60162306a36Sopenharmony_ci#define RCC_MSSCKSELR_MLAHBSSRCRDY BIT(31) 60262306a36Sopenharmony_ci#define RCC_MSSCKSELR_MLAHBSSRC_SHIFT 0 60362306a36Sopenharmony_ci 60462306a36Sopenharmony_ci/* RCC_CPERCKSELR register fields */ 60562306a36Sopenharmony_ci#define RCC_CPERCKSELR_CKPERSRC_MASK GENMASK(1, 0) 60662306a36Sopenharmony_ci#define RCC_CPERCKSELR_CKPERSRC_SHIFT 0 60762306a36Sopenharmony_ci 60862306a36Sopenharmony_ci/* RCC_RTCDIVR register fields */ 60962306a36Sopenharmony_ci#define RCC_RTCDIVR_RTCDIV_MASK GENMASK(5, 0) 61062306a36Sopenharmony_ci#define RCC_RTCDIVR_RTCDIV_SHIFT 0 61162306a36Sopenharmony_ci 61262306a36Sopenharmony_ci/* RCC_MPCKDIVR register fields */ 61362306a36Sopenharmony_ci#define RCC_MPCKDIVR_MPUDIV_MASK GENMASK(3, 0) 61462306a36Sopenharmony_ci#define RCC_MPCKDIVR_MPUDIVRDY BIT(31) 61562306a36Sopenharmony_ci#define RCC_MPCKDIVR_MPUDIV_SHIFT 0 61662306a36Sopenharmony_ci 61762306a36Sopenharmony_ci/* RCC_AXIDIVR register fields */ 61862306a36Sopenharmony_ci#define RCC_AXIDIVR_AXIDIV_MASK GENMASK(2, 0) 61962306a36Sopenharmony_ci#define RCC_AXIDIVR_AXIDIVRDY BIT(31) 62062306a36Sopenharmony_ci#define RCC_AXIDIVR_AXIDIV_SHIFT 0 62162306a36Sopenharmony_ci 62262306a36Sopenharmony_ci/* RCC_MLAHBDIVR register fields */ 62362306a36Sopenharmony_ci#define RCC_MLAHBDIVR_MLAHBDIV_MASK GENMASK(3, 0) 62462306a36Sopenharmony_ci#define RCC_MLAHBDIVR_MLAHBDIVRDY BIT(31) 62562306a36Sopenharmony_ci#define RCC_MLAHBDIVR_MLAHBDIV_SHIFT 0 62662306a36Sopenharmony_ci 62762306a36Sopenharmony_ci/* RCC_APB1DIVR register fields */ 62862306a36Sopenharmony_ci#define RCC_APB1DIVR_APB1DIV_MASK GENMASK(2, 0) 62962306a36Sopenharmony_ci#define RCC_APB1DIVR_APB1DIVRDY BIT(31) 63062306a36Sopenharmony_ci#define RCC_APB1DIVR_APB1DIV_SHIFT 0 63162306a36Sopenharmony_ci 63262306a36Sopenharmony_ci/* RCC_APB2DIVR register fields */ 63362306a36Sopenharmony_ci#define RCC_APB2DIVR_APB2DIV_MASK GENMASK(2, 0) 63462306a36Sopenharmony_ci#define RCC_APB2DIVR_APB2DIVRDY BIT(31) 63562306a36Sopenharmony_ci#define RCC_APB2DIVR_APB2DIV_SHIFT 0 63662306a36Sopenharmony_ci 63762306a36Sopenharmony_ci/* RCC_APB3DIVR register fields */ 63862306a36Sopenharmony_ci#define RCC_APB3DIVR_APB3DIV_MASK GENMASK(2, 0) 63962306a36Sopenharmony_ci#define RCC_APB3DIVR_APB3DIVRDY BIT(31) 64062306a36Sopenharmony_ci#define RCC_APB3DIVR_APB3DIV_SHIFT 0 64162306a36Sopenharmony_ci 64262306a36Sopenharmony_ci/* RCC_APB4DIVR register fields */ 64362306a36Sopenharmony_ci#define RCC_APB4DIVR_APB4DIV_MASK GENMASK(2, 0) 64462306a36Sopenharmony_ci#define RCC_APB4DIVR_APB4DIVRDY BIT(31) 64562306a36Sopenharmony_ci#define RCC_APB4DIVR_APB4DIV_SHIFT 0 64662306a36Sopenharmony_ci 64762306a36Sopenharmony_ci/* RCC_APB5DIVR register fields */ 64862306a36Sopenharmony_ci#define RCC_APB5DIVR_APB5DIV_MASK GENMASK(2, 0) 64962306a36Sopenharmony_ci#define RCC_APB5DIVR_APB5DIVRDY BIT(31) 65062306a36Sopenharmony_ci#define RCC_APB5DIVR_APB5DIV_SHIFT 0 65162306a36Sopenharmony_ci 65262306a36Sopenharmony_ci/* RCC_APB6DIVR register fields */ 65362306a36Sopenharmony_ci#define RCC_APB6DIVR_APB6DIV_MASK GENMASK(2, 0) 65462306a36Sopenharmony_ci#define RCC_APB6DIVR_APB6DIVRDY BIT(31) 65562306a36Sopenharmony_ci#define RCC_APB6DIVR_APB6DIV_SHIFT 0 65662306a36Sopenharmony_ci 65762306a36Sopenharmony_ci/* RCC_TIMG1PRER register fields */ 65862306a36Sopenharmony_ci#define RCC_TIMG1PRER_TIMG1PRE BIT(0) 65962306a36Sopenharmony_ci#define RCC_TIMG1PRER_TIMG1PRERDY BIT(31) 66062306a36Sopenharmony_ci 66162306a36Sopenharmony_ci/* RCC_TIMG2PRER register fields */ 66262306a36Sopenharmony_ci#define RCC_TIMG2PRER_TIMG2PRE BIT(0) 66362306a36Sopenharmony_ci#define RCC_TIMG2PRER_TIMG2PRERDY BIT(31) 66462306a36Sopenharmony_ci 66562306a36Sopenharmony_ci/* RCC_TIMG3PRER register fields */ 66662306a36Sopenharmony_ci#define RCC_TIMG3PRER_TIMG3PRE BIT(0) 66762306a36Sopenharmony_ci#define RCC_TIMG3PRER_TIMG3PRERDY BIT(31) 66862306a36Sopenharmony_ci 66962306a36Sopenharmony_ci/* RCC_DDRITFCR register fields */ 67062306a36Sopenharmony_ci#define RCC_DDRITFCR_DDRC1EN BIT(0) 67162306a36Sopenharmony_ci#define RCC_DDRITFCR_DDRC1LPEN BIT(1) 67262306a36Sopenharmony_ci#define RCC_DDRITFCR_DDRPHYCEN BIT(4) 67362306a36Sopenharmony_ci#define RCC_DDRITFCR_DDRPHYCLPEN BIT(5) 67462306a36Sopenharmony_ci#define RCC_DDRITFCR_DDRCAPBEN BIT(6) 67562306a36Sopenharmony_ci#define RCC_DDRITFCR_DDRCAPBLPEN BIT(7) 67662306a36Sopenharmony_ci#define RCC_DDRITFCR_AXIDCGEN BIT(8) 67762306a36Sopenharmony_ci#define RCC_DDRITFCR_DDRPHYCAPBEN BIT(9) 67862306a36Sopenharmony_ci#define RCC_DDRITFCR_DDRPHYCAPBLPEN BIT(10) 67962306a36Sopenharmony_ci#define RCC_DDRITFCR_KERDCG_DLY_MASK GENMASK(13, 11) 68062306a36Sopenharmony_ci#define RCC_DDRITFCR_DDRCAPBRST BIT(14) 68162306a36Sopenharmony_ci#define RCC_DDRITFCR_DDRCAXIRST BIT(15) 68262306a36Sopenharmony_ci#define RCC_DDRITFCR_DDRCORERST BIT(16) 68362306a36Sopenharmony_ci#define RCC_DDRITFCR_DPHYAPBRST BIT(17) 68462306a36Sopenharmony_ci#define RCC_DDRITFCR_DPHYRST BIT(18) 68562306a36Sopenharmony_ci#define RCC_DDRITFCR_DPHYCTLRST BIT(19) 68662306a36Sopenharmony_ci#define RCC_DDRITFCR_DDRCKMOD_MASK GENMASK(22, 20) 68762306a36Sopenharmony_ci#define RCC_DDRITFCR_GSKPMOD BIT(23) 68862306a36Sopenharmony_ci#define RCC_DDRITFCR_GSKPCTRL BIT(24) 68962306a36Sopenharmony_ci#define RCC_DDRITFCR_DFILP_WIDTH_MASK GENMASK(27, 25) 69062306a36Sopenharmony_ci#define RCC_DDRITFCR_GSKP_DUR_MASK GENMASK(31, 28) 69162306a36Sopenharmony_ci#define RCC_DDRITFCR_KERDCG_DLY_SHIFT 11 69262306a36Sopenharmony_ci#define RCC_DDRITFCR_DDRCKMOD_SHIFT 20 69362306a36Sopenharmony_ci#define RCC_DDRITFCR_DFILP_WIDTH_SHIFT 25 69462306a36Sopenharmony_ci#define RCC_DDRITFCR_GSKP_DUR_SHIFT 28 69562306a36Sopenharmony_ci 69662306a36Sopenharmony_ci/* RCC_I2C12CKSELR register fields */ 69762306a36Sopenharmony_ci#define RCC_I2C12CKSELR_I2C12SRC_MASK GENMASK(2, 0) 69862306a36Sopenharmony_ci#define RCC_I2C12CKSELR_I2C12SRC_SHIFT 0 69962306a36Sopenharmony_ci 70062306a36Sopenharmony_ci/* RCC_I2C345CKSELR register fields */ 70162306a36Sopenharmony_ci#define RCC_I2C345CKSELR_I2C3SRC_MASK GENMASK(2, 0) 70262306a36Sopenharmony_ci#define RCC_I2C345CKSELR_I2C4SRC_MASK GENMASK(5, 3) 70362306a36Sopenharmony_ci#define RCC_I2C345CKSELR_I2C5SRC_MASK GENMASK(8, 6) 70462306a36Sopenharmony_ci#define RCC_I2C345CKSELR_I2C3SRC_SHIFT 0 70562306a36Sopenharmony_ci#define RCC_I2C345CKSELR_I2C4SRC_SHIFT 3 70662306a36Sopenharmony_ci#define RCC_I2C345CKSELR_I2C5SRC_SHIFT 6 70762306a36Sopenharmony_ci 70862306a36Sopenharmony_ci/* RCC_SPI2S1CKSELR register fields */ 70962306a36Sopenharmony_ci#define RCC_SPI2S1CKSELR_SPI1SRC_MASK GENMASK(2, 0) 71062306a36Sopenharmony_ci#define RCC_SPI2S1CKSELR_SPI1SRC_SHIFT 0 71162306a36Sopenharmony_ci 71262306a36Sopenharmony_ci/* RCC_SPI2S23CKSELR register fields */ 71362306a36Sopenharmony_ci#define RCC_SPI2S23CKSELR_SPI23SRC_MASK GENMASK(2, 0) 71462306a36Sopenharmony_ci#define RCC_SPI2S23CKSELR_SPI23SRC_SHIFT 0 71562306a36Sopenharmony_ci 71662306a36Sopenharmony_ci/* RCC_SPI45CKSELR register fields */ 71762306a36Sopenharmony_ci#define RCC_SPI45CKSELR_SPI4SRC_MASK GENMASK(2, 0) 71862306a36Sopenharmony_ci#define RCC_SPI45CKSELR_SPI5SRC_MASK GENMASK(5, 3) 71962306a36Sopenharmony_ci#define RCC_SPI45CKSELR_SPI4SRC_SHIFT 0 72062306a36Sopenharmony_ci#define RCC_SPI45CKSELR_SPI5SRC_SHIFT 3 72162306a36Sopenharmony_ci 72262306a36Sopenharmony_ci/* RCC_UART12CKSELR register fields */ 72362306a36Sopenharmony_ci#define RCC_UART12CKSELR_UART1SRC_MASK GENMASK(2, 0) 72462306a36Sopenharmony_ci#define RCC_UART12CKSELR_UART2SRC_MASK GENMASK(5, 3) 72562306a36Sopenharmony_ci#define RCC_UART12CKSELR_UART1SRC_SHIFT 0 72662306a36Sopenharmony_ci#define RCC_UART12CKSELR_UART2SRC_SHIFT 3 72762306a36Sopenharmony_ci 72862306a36Sopenharmony_ci/* RCC_UART35CKSELR register fields */ 72962306a36Sopenharmony_ci#define RCC_UART35CKSELR_UART35SRC_MASK GENMASK(2, 0) 73062306a36Sopenharmony_ci#define RCC_UART35CKSELR_UART35SRC_SHIFT 0 73162306a36Sopenharmony_ci 73262306a36Sopenharmony_ci/* RCC_UART4CKSELR register fields */ 73362306a36Sopenharmony_ci#define RCC_UART4CKSELR_UART4SRC_MASK GENMASK(2, 0) 73462306a36Sopenharmony_ci#define RCC_UART4CKSELR_UART4SRC_SHIFT 0 73562306a36Sopenharmony_ci 73662306a36Sopenharmony_ci/* RCC_UART6CKSELR register fields */ 73762306a36Sopenharmony_ci#define RCC_UART6CKSELR_UART6SRC_MASK GENMASK(2, 0) 73862306a36Sopenharmony_ci#define RCC_UART6CKSELR_UART6SRC_SHIFT 0 73962306a36Sopenharmony_ci 74062306a36Sopenharmony_ci/* RCC_UART78CKSELR register fields */ 74162306a36Sopenharmony_ci#define RCC_UART78CKSELR_UART78SRC_MASK GENMASK(2, 0) 74262306a36Sopenharmony_ci#define RCC_UART78CKSELR_UART78SRC_SHIFT 0 74362306a36Sopenharmony_ci 74462306a36Sopenharmony_ci/* RCC_LPTIM1CKSELR register fields */ 74562306a36Sopenharmony_ci#define RCC_LPTIM1CKSELR_LPTIM1SRC_MASK GENMASK(2, 0) 74662306a36Sopenharmony_ci#define RCC_LPTIM1CKSELR_LPTIM1SRC_SHIFT 0 74762306a36Sopenharmony_ci 74862306a36Sopenharmony_ci/* RCC_LPTIM23CKSELR register fields */ 74962306a36Sopenharmony_ci#define RCC_LPTIM23CKSELR_LPTIM2SRC_MASK GENMASK(2, 0) 75062306a36Sopenharmony_ci#define RCC_LPTIM23CKSELR_LPTIM3SRC_MASK GENMASK(5, 3) 75162306a36Sopenharmony_ci#define RCC_LPTIM23CKSELR_LPTIM2SRC_SHIFT 0 75262306a36Sopenharmony_ci#define RCC_LPTIM23CKSELR_LPTIM3SRC_SHIFT 3 75362306a36Sopenharmony_ci 75462306a36Sopenharmony_ci/* RCC_LPTIM45CKSELR register fields */ 75562306a36Sopenharmony_ci#define RCC_LPTIM45CKSELR_LPTIM45SRC_MASK GENMASK(2, 0) 75662306a36Sopenharmony_ci#define RCC_LPTIM45CKSELR_LPTIM45SRC_SHIFT 0 75762306a36Sopenharmony_ci 75862306a36Sopenharmony_ci/* RCC_SAI1CKSELR register fields */ 75962306a36Sopenharmony_ci#define RCC_SAI1CKSELR_SAI1SRC_MASK GENMASK(2, 0) 76062306a36Sopenharmony_ci#define RCC_SAI1CKSELR_SAI1SRC_SHIFT 0 76162306a36Sopenharmony_ci 76262306a36Sopenharmony_ci/* RCC_SAI2CKSELR register fields */ 76362306a36Sopenharmony_ci#define RCC_SAI2CKSELR_SAI2SRC_MASK GENMASK(2, 0) 76462306a36Sopenharmony_ci#define RCC_SAI2CKSELR_SAI2SRC_SHIFT 0 76562306a36Sopenharmony_ci 76662306a36Sopenharmony_ci/* RCC_FDCANCKSELR register fields */ 76762306a36Sopenharmony_ci#define RCC_FDCANCKSELR_FDCANSRC_MASK GENMASK(1, 0) 76862306a36Sopenharmony_ci#define RCC_FDCANCKSELR_FDCANSRC_SHIFT 0 76962306a36Sopenharmony_ci 77062306a36Sopenharmony_ci/* RCC_SPDIFCKSELR register fields */ 77162306a36Sopenharmony_ci#define RCC_SPDIFCKSELR_SPDIFSRC_MASK GENMASK(1, 0) 77262306a36Sopenharmony_ci#define RCC_SPDIFCKSELR_SPDIFSRC_SHIFT 0 77362306a36Sopenharmony_ci 77462306a36Sopenharmony_ci/* RCC_ADC12CKSELR register fields */ 77562306a36Sopenharmony_ci#define RCC_ADC12CKSELR_ADC1SRC_MASK GENMASK(1, 0) 77662306a36Sopenharmony_ci#define RCC_ADC12CKSELR_ADC2SRC_MASK GENMASK(3, 2) 77762306a36Sopenharmony_ci#define RCC_ADC12CKSELR_ADC1SRC_SHIFT 0 77862306a36Sopenharmony_ci#define RCC_ADC12CKSELR_ADC2SRC_SHIFT 2 77962306a36Sopenharmony_ci 78062306a36Sopenharmony_ci/* RCC_SDMMC12CKSELR register fields */ 78162306a36Sopenharmony_ci#define RCC_SDMMC12CKSELR_SDMMC1SRC_MASK GENMASK(2, 0) 78262306a36Sopenharmony_ci#define RCC_SDMMC12CKSELR_SDMMC2SRC_MASK GENMASK(5, 3) 78362306a36Sopenharmony_ci#define RCC_SDMMC12CKSELR_SDMMC1SRC_SHIFT 0 78462306a36Sopenharmony_ci#define RCC_SDMMC12CKSELR_SDMMC2SRC_SHIFT 3 78562306a36Sopenharmony_ci 78662306a36Sopenharmony_ci/* RCC_ETH12CKSELR register fields */ 78762306a36Sopenharmony_ci#define RCC_ETH12CKSELR_ETH1SRC_MASK GENMASK(1, 0) 78862306a36Sopenharmony_ci#define RCC_ETH12CKSELR_ETH1PTPDIV_MASK GENMASK(7, 4) 78962306a36Sopenharmony_ci#define RCC_ETH12CKSELR_ETH2SRC_MASK GENMASK(9, 8) 79062306a36Sopenharmony_ci#define RCC_ETH12CKSELR_ETH2PTPDIV_MASK GENMASK(15, 12) 79162306a36Sopenharmony_ci#define RCC_ETH12CKSELR_ETH1SRC_SHIFT 0 79262306a36Sopenharmony_ci#define RCC_ETH12CKSELR_ETH1PTPDIV_SHIFT 4 79362306a36Sopenharmony_ci#define RCC_ETH12CKSELR_ETH2SRC_SHIFT 8 79462306a36Sopenharmony_ci#define RCC_ETH12CKSELR_ETH2PTPDIV_SHIFT 12 79562306a36Sopenharmony_ci 79662306a36Sopenharmony_ci/* RCC_USBCKSELR register fields */ 79762306a36Sopenharmony_ci#define RCC_USBCKSELR_USBPHYSRC_MASK GENMASK(1, 0) 79862306a36Sopenharmony_ci#define RCC_USBCKSELR_USBOSRC BIT(4) 79962306a36Sopenharmony_ci#define RCC_USBCKSELR_USBPHYSRC_SHIFT 0 80062306a36Sopenharmony_ci 80162306a36Sopenharmony_ci/* RCC_QSPICKSELR register fields */ 80262306a36Sopenharmony_ci#define RCC_QSPICKSELR_QSPISRC_MASK GENMASK(1, 0) 80362306a36Sopenharmony_ci#define RCC_QSPICKSELR_QSPISRC_SHIFT 0 80462306a36Sopenharmony_ci 80562306a36Sopenharmony_ci/* RCC_FMCCKSELR register fields */ 80662306a36Sopenharmony_ci#define RCC_FMCCKSELR_FMCSRC_MASK GENMASK(1, 0) 80762306a36Sopenharmony_ci#define RCC_FMCCKSELR_FMCSRC_SHIFT 0 80862306a36Sopenharmony_ci 80962306a36Sopenharmony_ci/* RCC_RNG1CKSELR register fields */ 81062306a36Sopenharmony_ci#define RCC_RNG1CKSELR_RNG1SRC_MASK GENMASK(1, 0) 81162306a36Sopenharmony_ci#define RCC_RNG1CKSELR_RNG1SRC_SHIFT 0 81262306a36Sopenharmony_ci 81362306a36Sopenharmony_ci/* RCC_STGENCKSELR register fields */ 81462306a36Sopenharmony_ci#define RCC_STGENCKSELR_STGENSRC_MASK GENMASK(1, 0) 81562306a36Sopenharmony_ci#define RCC_STGENCKSELR_STGENSRC_SHIFT 0 81662306a36Sopenharmony_ci 81762306a36Sopenharmony_ci/* RCC_DCMIPPCKSELR register fields */ 81862306a36Sopenharmony_ci#define RCC_DCMIPPCKSELR_DCMIPPSRC_MASK GENMASK(1, 0) 81962306a36Sopenharmony_ci#define RCC_DCMIPPCKSELR_DCMIPPSRC_SHIFT 0 82062306a36Sopenharmony_ci 82162306a36Sopenharmony_ci/* RCC_SAESCKSELR register fields */ 82262306a36Sopenharmony_ci#define RCC_SAESCKSELR_SAESSRC_MASK GENMASK(1, 0) 82362306a36Sopenharmony_ci#define RCC_SAESCKSELR_SAESSRC_SHIFT 0 82462306a36Sopenharmony_ci 82562306a36Sopenharmony_ci/* RCC_APB1RSTSETR register fields */ 82662306a36Sopenharmony_ci#define RCC_APB1RSTSETR_TIM2RST BIT(0) 82762306a36Sopenharmony_ci#define RCC_APB1RSTSETR_TIM3RST BIT(1) 82862306a36Sopenharmony_ci#define RCC_APB1RSTSETR_TIM4RST BIT(2) 82962306a36Sopenharmony_ci#define RCC_APB1RSTSETR_TIM5RST BIT(3) 83062306a36Sopenharmony_ci#define RCC_APB1RSTSETR_TIM6RST BIT(4) 83162306a36Sopenharmony_ci#define RCC_APB1RSTSETR_TIM7RST BIT(5) 83262306a36Sopenharmony_ci#define RCC_APB1RSTSETR_LPTIM1RST BIT(9) 83362306a36Sopenharmony_ci#define RCC_APB1RSTSETR_SPI2RST BIT(11) 83462306a36Sopenharmony_ci#define RCC_APB1RSTSETR_SPI3RST BIT(12) 83562306a36Sopenharmony_ci#define RCC_APB1RSTSETR_USART3RST BIT(15) 83662306a36Sopenharmony_ci#define RCC_APB1RSTSETR_UART4RST BIT(16) 83762306a36Sopenharmony_ci#define RCC_APB1RSTSETR_UART5RST BIT(17) 83862306a36Sopenharmony_ci#define RCC_APB1RSTSETR_UART7RST BIT(18) 83962306a36Sopenharmony_ci#define RCC_APB1RSTSETR_UART8RST BIT(19) 84062306a36Sopenharmony_ci#define RCC_APB1RSTSETR_I2C1RST BIT(21) 84162306a36Sopenharmony_ci#define RCC_APB1RSTSETR_I2C2RST BIT(22) 84262306a36Sopenharmony_ci#define RCC_APB1RSTSETR_SPDIFRST BIT(26) 84362306a36Sopenharmony_ci 84462306a36Sopenharmony_ci/* RCC_APB1RSTCLRR register fields */ 84562306a36Sopenharmony_ci#define RCC_APB1RSTCLRR_TIM2RST BIT(0) 84662306a36Sopenharmony_ci#define RCC_APB1RSTCLRR_TIM3RST BIT(1) 84762306a36Sopenharmony_ci#define RCC_APB1RSTCLRR_TIM4RST BIT(2) 84862306a36Sopenharmony_ci#define RCC_APB1RSTCLRR_TIM5RST BIT(3) 84962306a36Sopenharmony_ci#define RCC_APB1RSTCLRR_TIM6RST BIT(4) 85062306a36Sopenharmony_ci#define RCC_APB1RSTCLRR_TIM7RST BIT(5) 85162306a36Sopenharmony_ci#define RCC_APB1RSTCLRR_LPTIM1RST BIT(9) 85262306a36Sopenharmony_ci#define RCC_APB1RSTCLRR_SPI2RST BIT(11) 85362306a36Sopenharmony_ci#define RCC_APB1RSTCLRR_SPI3RST BIT(12) 85462306a36Sopenharmony_ci#define RCC_APB1RSTCLRR_USART3RST BIT(15) 85562306a36Sopenharmony_ci#define RCC_APB1RSTCLRR_UART4RST BIT(16) 85662306a36Sopenharmony_ci#define RCC_APB1RSTCLRR_UART5RST BIT(17) 85762306a36Sopenharmony_ci#define RCC_APB1RSTCLRR_UART7RST BIT(18) 85862306a36Sopenharmony_ci#define RCC_APB1RSTCLRR_UART8RST BIT(19) 85962306a36Sopenharmony_ci#define RCC_APB1RSTCLRR_I2C1RST BIT(21) 86062306a36Sopenharmony_ci#define RCC_APB1RSTCLRR_I2C2RST BIT(22) 86162306a36Sopenharmony_ci#define RCC_APB1RSTCLRR_SPDIFRST BIT(26) 86262306a36Sopenharmony_ci 86362306a36Sopenharmony_ci/* RCC_APB2RSTSETR register fields */ 86462306a36Sopenharmony_ci#define RCC_APB2RSTSETR_TIM1RST BIT(0) 86562306a36Sopenharmony_ci#define RCC_APB2RSTSETR_TIM8RST BIT(1) 86662306a36Sopenharmony_ci#define RCC_APB2RSTSETR_SPI1RST BIT(8) 86762306a36Sopenharmony_ci#define RCC_APB2RSTSETR_USART6RST BIT(13) 86862306a36Sopenharmony_ci#define RCC_APB2RSTSETR_SAI1RST BIT(16) 86962306a36Sopenharmony_ci#define RCC_APB2RSTSETR_SAI2RST BIT(17) 87062306a36Sopenharmony_ci#define RCC_APB2RSTSETR_DFSDMRST BIT(20) 87162306a36Sopenharmony_ci#define RCC_APB2RSTSETR_FDCANRST BIT(24) 87262306a36Sopenharmony_ci 87362306a36Sopenharmony_ci/* RCC_APB2RSTCLRR register fields */ 87462306a36Sopenharmony_ci#define RCC_APB2RSTCLRR_TIM1RST BIT(0) 87562306a36Sopenharmony_ci#define RCC_APB2RSTCLRR_TIM8RST BIT(1) 87662306a36Sopenharmony_ci#define RCC_APB2RSTCLRR_SPI1RST BIT(8) 87762306a36Sopenharmony_ci#define RCC_APB2RSTCLRR_USART6RST BIT(13) 87862306a36Sopenharmony_ci#define RCC_APB2RSTCLRR_SAI1RST BIT(16) 87962306a36Sopenharmony_ci#define RCC_APB2RSTCLRR_SAI2RST BIT(17) 88062306a36Sopenharmony_ci#define RCC_APB2RSTCLRR_DFSDMRST BIT(20) 88162306a36Sopenharmony_ci#define RCC_APB2RSTCLRR_FDCANRST BIT(24) 88262306a36Sopenharmony_ci 88362306a36Sopenharmony_ci/* RCC_APB3RSTSETR register fields */ 88462306a36Sopenharmony_ci#define RCC_APB3RSTSETR_LPTIM2RST BIT(0) 88562306a36Sopenharmony_ci#define RCC_APB3RSTSETR_LPTIM3RST BIT(1) 88662306a36Sopenharmony_ci#define RCC_APB3RSTSETR_LPTIM4RST BIT(2) 88762306a36Sopenharmony_ci#define RCC_APB3RSTSETR_LPTIM5RST BIT(3) 88862306a36Sopenharmony_ci#define RCC_APB3RSTSETR_SYSCFGRST BIT(11) 88962306a36Sopenharmony_ci#define RCC_APB3RSTSETR_VREFRST BIT(13) 89062306a36Sopenharmony_ci#define RCC_APB3RSTSETR_DTSRST BIT(16) 89162306a36Sopenharmony_ci#define RCC_APB3RSTSETR_PMBCTRLRST BIT(17) 89262306a36Sopenharmony_ci 89362306a36Sopenharmony_ci/* RCC_APB3RSTCLRR register fields */ 89462306a36Sopenharmony_ci#define RCC_APB3RSTCLRR_LPTIM2RST BIT(0) 89562306a36Sopenharmony_ci#define RCC_APB3RSTCLRR_LPTIM3RST BIT(1) 89662306a36Sopenharmony_ci#define RCC_APB3RSTCLRR_LPTIM4RST BIT(2) 89762306a36Sopenharmony_ci#define RCC_APB3RSTCLRR_LPTIM5RST BIT(3) 89862306a36Sopenharmony_ci#define RCC_APB3RSTCLRR_SYSCFGRST BIT(11) 89962306a36Sopenharmony_ci#define RCC_APB3RSTCLRR_VREFRST BIT(13) 90062306a36Sopenharmony_ci#define RCC_APB3RSTCLRR_DTSRST BIT(16) 90162306a36Sopenharmony_ci#define RCC_APB3RSTCLRR_PMBCTRLRST BIT(17) 90262306a36Sopenharmony_ci 90362306a36Sopenharmony_ci/* RCC_APB4RSTSETR register fields */ 90462306a36Sopenharmony_ci#define RCC_APB4RSTSETR_LTDCRST BIT(0) 90562306a36Sopenharmony_ci#define RCC_APB4RSTSETR_DCMIPPRST BIT(1) 90662306a36Sopenharmony_ci#define RCC_APB4RSTSETR_DDRPERFMRST BIT(8) 90762306a36Sopenharmony_ci#define RCC_APB4RSTSETR_USBPHYRST BIT(16) 90862306a36Sopenharmony_ci 90962306a36Sopenharmony_ci/* RCC_APB4RSTCLRR register fields */ 91062306a36Sopenharmony_ci#define RCC_APB4RSTCLRR_LTDCRST BIT(0) 91162306a36Sopenharmony_ci#define RCC_APB4RSTCLRR_DCMIPPRST BIT(1) 91262306a36Sopenharmony_ci#define RCC_APB4RSTCLRR_DDRPERFMRST BIT(8) 91362306a36Sopenharmony_ci#define RCC_APB4RSTCLRR_USBPHYRST BIT(16) 91462306a36Sopenharmony_ci 91562306a36Sopenharmony_ci/* RCC_APB5RSTSETR register fields */ 91662306a36Sopenharmony_ci#define RCC_APB5RSTSETR_STGENRST BIT(20) 91762306a36Sopenharmony_ci 91862306a36Sopenharmony_ci/* RCC_APB5RSTCLRR register fields */ 91962306a36Sopenharmony_ci#define RCC_APB5RSTCLRR_STGENRST BIT(20) 92062306a36Sopenharmony_ci 92162306a36Sopenharmony_ci/* RCC_APB6RSTSETR register fields */ 92262306a36Sopenharmony_ci#define RCC_APB6RSTSETR_USART1RST BIT(0) 92362306a36Sopenharmony_ci#define RCC_APB6RSTSETR_USART2RST BIT(1) 92462306a36Sopenharmony_ci#define RCC_APB6RSTSETR_SPI4RST BIT(2) 92562306a36Sopenharmony_ci#define RCC_APB6RSTSETR_SPI5RST BIT(3) 92662306a36Sopenharmony_ci#define RCC_APB6RSTSETR_I2C3RST BIT(4) 92762306a36Sopenharmony_ci#define RCC_APB6RSTSETR_I2C4RST BIT(5) 92862306a36Sopenharmony_ci#define RCC_APB6RSTSETR_I2C5RST BIT(6) 92962306a36Sopenharmony_ci#define RCC_APB6RSTSETR_TIM12RST BIT(7) 93062306a36Sopenharmony_ci#define RCC_APB6RSTSETR_TIM13RST BIT(8) 93162306a36Sopenharmony_ci#define RCC_APB6RSTSETR_TIM14RST BIT(9) 93262306a36Sopenharmony_ci#define RCC_APB6RSTSETR_TIM15RST BIT(10) 93362306a36Sopenharmony_ci#define RCC_APB6RSTSETR_TIM16RST BIT(11) 93462306a36Sopenharmony_ci#define RCC_APB6RSTSETR_TIM17RST BIT(12) 93562306a36Sopenharmony_ci 93662306a36Sopenharmony_ci/* RCC_APB6RSTCLRR register fields */ 93762306a36Sopenharmony_ci#define RCC_APB6RSTCLRR_USART1RST BIT(0) 93862306a36Sopenharmony_ci#define RCC_APB6RSTCLRR_USART2RST BIT(1) 93962306a36Sopenharmony_ci#define RCC_APB6RSTCLRR_SPI4RST BIT(2) 94062306a36Sopenharmony_ci#define RCC_APB6RSTCLRR_SPI5RST BIT(3) 94162306a36Sopenharmony_ci#define RCC_APB6RSTCLRR_I2C3RST BIT(4) 94262306a36Sopenharmony_ci#define RCC_APB6RSTCLRR_I2C4RST BIT(5) 94362306a36Sopenharmony_ci#define RCC_APB6RSTCLRR_I2C5RST BIT(6) 94462306a36Sopenharmony_ci#define RCC_APB6RSTCLRR_TIM12RST BIT(7) 94562306a36Sopenharmony_ci#define RCC_APB6RSTCLRR_TIM13RST BIT(8) 94662306a36Sopenharmony_ci#define RCC_APB6RSTCLRR_TIM14RST BIT(9) 94762306a36Sopenharmony_ci#define RCC_APB6RSTCLRR_TIM15RST BIT(10) 94862306a36Sopenharmony_ci#define RCC_APB6RSTCLRR_TIM16RST BIT(11) 94962306a36Sopenharmony_ci#define RCC_APB6RSTCLRR_TIM17RST BIT(12) 95062306a36Sopenharmony_ci 95162306a36Sopenharmony_ci/* RCC_AHB2RSTSETR register fields */ 95262306a36Sopenharmony_ci#define RCC_AHB2RSTSETR_DMA1RST BIT(0) 95362306a36Sopenharmony_ci#define RCC_AHB2RSTSETR_DMA2RST BIT(1) 95462306a36Sopenharmony_ci#define RCC_AHB2RSTSETR_DMAMUX1RST BIT(2) 95562306a36Sopenharmony_ci#define RCC_AHB2RSTSETR_DMA3RST BIT(3) 95662306a36Sopenharmony_ci#define RCC_AHB2RSTSETR_DMAMUX2RST BIT(4) 95762306a36Sopenharmony_ci#define RCC_AHB2RSTSETR_ADC1RST BIT(5) 95862306a36Sopenharmony_ci#define RCC_AHB2RSTSETR_ADC2RST BIT(6) 95962306a36Sopenharmony_ci#define RCC_AHB2RSTSETR_USBORST BIT(8) 96062306a36Sopenharmony_ci 96162306a36Sopenharmony_ci/* RCC_AHB2RSTCLRR register fields */ 96262306a36Sopenharmony_ci#define RCC_AHB2RSTCLRR_DMA1RST BIT(0) 96362306a36Sopenharmony_ci#define RCC_AHB2RSTCLRR_DMA2RST BIT(1) 96462306a36Sopenharmony_ci#define RCC_AHB2RSTCLRR_DMAMUX1RST BIT(2) 96562306a36Sopenharmony_ci#define RCC_AHB2RSTCLRR_DMA3RST BIT(3) 96662306a36Sopenharmony_ci#define RCC_AHB2RSTCLRR_DMAMUX2RST BIT(4) 96762306a36Sopenharmony_ci#define RCC_AHB2RSTCLRR_ADC1RST BIT(5) 96862306a36Sopenharmony_ci#define RCC_AHB2RSTCLRR_ADC2RST BIT(6) 96962306a36Sopenharmony_ci#define RCC_AHB2RSTCLRR_USBORST BIT(8) 97062306a36Sopenharmony_ci 97162306a36Sopenharmony_ci/* RCC_AHB4RSTSETR register fields */ 97262306a36Sopenharmony_ci#define RCC_AHB4RSTSETR_GPIOARST BIT(0) 97362306a36Sopenharmony_ci#define RCC_AHB4RSTSETR_GPIOBRST BIT(1) 97462306a36Sopenharmony_ci#define RCC_AHB4RSTSETR_GPIOCRST BIT(2) 97562306a36Sopenharmony_ci#define RCC_AHB4RSTSETR_GPIODRST BIT(3) 97662306a36Sopenharmony_ci#define RCC_AHB4RSTSETR_GPIOERST BIT(4) 97762306a36Sopenharmony_ci#define RCC_AHB4RSTSETR_GPIOFRST BIT(5) 97862306a36Sopenharmony_ci#define RCC_AHB4RSTSETR_GPIOGRST BIT(6) 97962306a36Sopenharmony_ci#define RCC_AHB4RSTSETR_GPIOHRST BIT(7) 98062306a36Sopenharmony_ci#define RCC_AHB4RSTSETR_GPIOIRST BIT(8) 98162306a36Sopenharmony_ci#define RCC_AHB4RSTSETR_TSCRST BIT(15) 98262306a36Sopenharmony_ci 98362306a36Sopenharmony_ci/* RCC_AHB4RSTCLRR register fields */ 98462306a36Sopenharmony_ci#define RCC_AHB4RSTCLRR_GPIOARST BIT(0) 98562306a36Sopenharmony_ci#define RCC_AHB4RSTCLRR_GPIOBRST BIT(1) 98662306a36Sopenharmony_ci#define RCC_AHB4RSTCLRR_GPIOCRST BIT(2) 98762306a36Sopenharmony_ci#define RCC_AHB4RSTCLRR_GPIODRST BIT(3) 98862306a36Sopenharmony_ci#define RCC_AHB4RSTCLRR_GPIOERST BIT(4) 98962306a36Sopenharmony_ci#define RCC_AHB4RSTCLRR_GPIOFRST BIT(5) 99062306a36Sopenharmony_ci#define RCC_AHB4RSTCLRR_GPIOGRST BIT(6) 99162306a36Sopenharmony_ci#define RCC_AHB4RSTCLRR_GPIOHRST BIT(7) 99262306a36Sopenharmony_ci#define RCC_AHB4RSTCLRR_GPIOIRST BIT(8) 99362306a36Sopenharmony_ci#define RCC_AHB4RSTCLRR_TSCRST BIT(15) 99462306a36Sopenharmony_ci 99562306a36Sopenharmony_ci/* RCC_AHB5RSTSETR register fields */ 99662306a36Sopenharmony_ci#define RCC_AHB5RSTSETR_PKARST BIT(2) 99762306a36Sopenharmony_ci#define RCC_AHB5RSTSETR_SAESRST BIT(3) 99862306a36Sopenharmony_ci#define RCC_AHB5RSTSETR_CRYP1RST BIT(4) 99962306a36Sopenharmony_ci#define RCC_AHB5RSTSETR_HASH1RST BIT(5) 100062306a36Sopenharmony_ci#define RCC_AHB5RSTSETR_RNG1RST BIT(6) 100162306a36Sopenharmony_ci#define RCC_AHB5RSTSETR_AXIMCRST BIT(16) 100262306a36Sopenharmony_ci 100362306a36Sopenharmony_ci/* RCC_AHB5RSTCLRR register fields */ 100462306a36Sopenharmony_ci#define RCC_AHB5RSTCLRR_PKARST BIT(2) 100562306a36Sopenharmony_ci#define RCC_AHB5RSTCLRR_SAESRST BIT(3) 100662306a36Sopenharmony_ci#define RCC_AHB5RSTCLRR_CRYP1RST BIT(4) 100762306a36Sopenharmony_ci#define RCC_AHB5RSTCLRR_HASH1RST BIT(5) 100862306a36Sopenharmony_ci#define RCC_AHB5RSTCLRR_RNG1RST BIT(6) 100962306a36Sopenharmony_ci#define RCC_AHB5RSTCLRR_AXIMCRST BIT(16) 101062306a36Sopenharmony_ci 101162306a36Sopenharmony_ci/* RCC_AHB6RSTSETR register fields */ 101262306a36Sopenharmony_ci#define RCC_AHB6RSTSETR_MDMARST BIT(0) 101362306a36Sopenharmony_ci#define RCC_AHB6RSTSETR_MCERST BIT(1) 101462306a36Sopenharmony_ci#define RCC_AHB6RSTSETR_ETH1MACRST BIT(10) 101562306a36Sopenharmony_ci#define RCC_AHB6RSTSETR_FMCRST BIT(12) 101662306a36Sopenharmony_ci#define RCC_AHB6RSTSETR_QSPIRST BIT(14) 101762306a36Sopenharmony_ci#define RCC_AHB6RSTSETR_SDMMC1RST BIT(16) 101862306a36Sopenharmony_ci#define RCC_AHB6RSTSETR_SDMMC2RST BIT(17) 101962306a36Sopenharmony_ci#define RCC_AHB6RSTSETR_CRC1RST BIT(20) 102062306a36Sopenharmony_ci#define RCC_AHB6RSTSETR_USBHRST BIT(24) 102162306a36Sopenharmony_ci#define RCC_AHB6RSTSETR_ETH2MACRST BIT(30) 102262306a36Sopenharmony_ci 102362306a36Sopenharmony_ci/* RCC_AHB6RSTCLRR register fields */ 102462306a36Sopenharmony_ci#define RCC_AHB6RSTCLRR_MDMARST BIT(0) 102562306a36Sopenharmony_ci#define RCC_AHB6RSTCLRR_MCERST BIT(1) 102662306a36Sopenharmony_ci#define RCC_AHB6RSTCLRR_ETH1MACRST BIT(10) 102762306a36Sopenharmony_ci#define RCC_AHB6RSTCLRR_FMCRST BIT(12) 102862306a36Sopenharmony_ci#define RCC_AHB6RSTCLRR_QSPIRST BIT(14) 102962306a36Sopenharmony_ci#define RCC_AHB6RSTCLRR_SDMMC1RST BIT(16) 103062306a36Sopenharmony_ci#define RCC_AHB6RSTCLRR_SDMMC2RST BIT(17) 103162306a36Sopenharmony_ci#define RCC_AHB6RSTCLRR_CRC1RST BIT(20) 103262306a36Sopenharmony_ci#define RCC_AHB6RSTCLRR_USBHRST BIT(24) 103362306a36Sopenharmony_ci#define RCC_AHB6RSTCLRR_ETH2MACRST BIT(30) 103462306a36Sopenharmony_ci 103562306a36Sopenharmony_ci/* RCC_MP_APB1ENSETR register fields */ 103662306a36Sopenharmony_ci#define RCC_MP_APB1ENSETR_TIM2EN BIT(0) 103762306a36Sopenharmony_ci#define RCC_MP_APB1ENSETR_TIM3EN BIT(1) 103862306a36Sopenharmony_ci#define RCC_MP_APB1ENSETR_TIM4EN BIT(2) 103962306a36Sopenharmony_ci#define RCC_MP_APB1ENSETR_TIM5EN BIT(3) 104062306a36Sopenharmony_ci#define RCC_MP_APB1ENSETR_TIM6EN BIT(4) 104162306a36Sopenharmony_ci#define RCC_MP_APB1ENSETR_TIM7EN BIT(5) 104262306a36Sopenharmony_ci#define RCC_MP_APB1ENSETR_LPTIM1EN BIT(9) 104362306a36Sopenharmony_ci#define RCC_MP_APB1ENSETR_SPI2EN BIT(11) 104462306a36Sopenharmony_ci#define RCC_MP_APB1ENSETR_SPI3EN BIT(12) 104562306a36Sopenharmony_ci#define RCC_MP_APB1ENSETR_USART3EN BIT(15) 104662306a36Sopenharmony_ci#define RCC_MP_APB1ENSETR_UART4EN BIT(16) 104762306a36Sopenharmony_ci#define RCC_MP_APB1ENSETR_UART5EN BIT(17) 104862306a36Sopenharmony_ci#define RCC_MP_APB1ENSETR_UART7EN BIT(18) 104962306a36Sopenharmony_ci#define RCC_MP_APB1ENSETR_UART8EN BIT(19) 105062306a36Sopenharmony_ci#define RCC_MP_APB1ENSETR_I2C1EN BIT(21) 105162306a36Sopenharmony_ci#define RCC_MP_APB1ENSETR_I2C2EN BIT(22) 105262306a36Sopenharmony_ci#define RCC_MP_APB1ENSETR_SPDIFEN BIT(26) 105362306a36Sopenharmony_ci 105462306a36Sopenharmony_ci/* RCC_MP_APB1ENCLRR register fields */ 105562306a36Sopenharmony_ci#define RCC_MP_APB1ENCLRR_TIM2EN BIT(0) 105662306a36Sopenharmony_ci#define RCC_MP_APB1ENCLRR_TIM3EN BIT(1) 105762306a36Sopenharmony_ci#define RCC_MP_APB1ENCLRR_TIM4EN BIT(2) 105862306a36Sopenharmony_ci#define RCC_MP_APB1ENCLRR_TIM5EN BIT(3) 105962306a36Sopenharmony_ci#define RCC_MP_APB1ENCLRR_TIM6EN BIT(4) 106062306a36Sopenharmony_ci#define RCC_MP_APB1ENCLRR_TIM7EN BIT(5) 106162306a36Sopenharmony_ci#define RCC_MP_APB1ENCLRR_LPTIM1EN BIT(9) 106262306a36Sopenharmony_ci#define RCC_MP_APB1ENCLRR_SPI2EN BIT(11) 106362306a36Sopenharmony_ci#define RCC_MP_APB1ENCLRR_SPI3EN BIT(12) 106462306a36Sopenharmony_ci#define RCC_MP_APB1ENCLRR_USART3EN BIT(15) 106562306a36Sopenharmony_ci#define RCC_MP_APB1ENCLRR_UART4EN BIT(16) 106662306a36Sopenharmony_ci#define RCC_MP_APB1ENCLRR_UART5EN BIT(17) 106762306a36Sopenharmony_ci#define RCC_MP_APB1ENCLRR_UART7EN BIT(18) 106862306a36Sopenharmony_ci#define RCC_MP_APB1ENCLRR_UART8EN BIT(19) 106962306a36Sopenharmony_ci#define RCC_MP_APB1ENCLRR_I2C1EN BIT(21) 107062306a36Sopenharmony_ci#define RCC_MP_APB1ENCLRR_I2C2EN BIT(22) 107162306a36Sopenharmony_ci#define RCC_MP_APB1ENCLRR_SPDIFEN BIT(26) 107262306a36Sopenharmony_ci 107362306a36Sopenharmony_ci/* RCC_MP_APB2ENSETR register fields */ 107462306a36Sopenharmony_ci#define RCC_MP_APB2ENSETR_TIM1EN BIT(0) 107562306a36Sopenharmony_ci#define RCC_MP_APB2ENSETR_TIM8EN BIT(1) 107662306a36Sopenharmony_ci#define RCC_MP_APB2ENSETR_SPI1EN BIT(8) 107762306a36Sopenharmony_ci#define RCC_MP_APB2ENSETR_USART6EN BIT(13) 107862306a36Sopenharmony_ci#define RCC_MP_APB2ENSETR_SAI1EN BIT(16) 107962306a36Sopenharmony_ci#define RCC_MP_APB2ENSETR_SAI2EN BIT(17) 108062306a36Sopenharmony_ci#define RCC_MP_APB2ENSETR_DFSDMEN BIT(20) 108162306a36Sopenharmony_ci#define RCC_MP_APB2ENSETR_ADFSDMEN BIT(21) 108262306a36Sopenharmony_ci#define RCC_MP_APB2ENSETR_FDCANEN BIT(24) 108362306a36Sopenharmony_ci 108462306a36Sopenharmony_ci/* RCC_MP_APB2ENCLRR register fields */ 108562306a36Sopenharmony_ci#define RCC_MP_APB2ENCLRR_TIM1EN BIT(0) 108662306a36Sopenharmony_ci#define RCC_MP_APB2ENCLRR_TIM8EN BIT(1) 108762306a36Sopenharmony_ci#define RCC_MP_APB2ENCLRR_SPI1EN BIT(8) 108862306a36Sopenharmony_ci#define RCC_MP_APB2ENCLRR_USART6EN BIT(13) 108962306a36Sopenharmony_ci#define RCC_MP_APB2ENCLRR_SAI1EN BIT(16) 109062306a36Sopenharmony_ci#define RCC_MP_APB2ENCLRR_SAI2EN BIT(17) 109162306a36Sopenharmony_ci#define RCC_MP_APB2ENCLRR_DFSDMEN BIT(20) 109262306a36Sopenharmony_ci#define RCC_MP_APB2ENCLRR_ADFSDMEN BIT(21) 109362306a36Sopenharmony_ci#define RCC_MP_APB2ENCLRR_FDCANEN BIT(24) 109462306a36Sopenharmony_ci 109562306a36Sopenharmony_ci/* RCC_MP_APB3ENSETR register fields */ 109662306a36Sopenharmony_ci#define RCC_MP_APB3ENSETR_LPTIM2EN BIT(0) 109762306a36Sopenharmony_ci#define RCC_MP_APB3ENSETR_LPTIM3EN BIT(1) 109862306a36Sopenharmony_ci#define RCC_MP_APB3ENSETR_LPTIM4EN BIT(2) 109962306a36Sopenharmony_ci#define RCC_MP_APB3ENSETR_LPTIM5EN BIT(3) 110062306a36Sopenharmony_ci#define RCC_MP_APB3ENSETR_VREFEN BIT(13) 110162306a36Sopenharmony_ci#define RCC_MP_APB3ENSETR_DTSEN BIT(16) 110262306a36Sopenharmony_ci#define RCC_MP_APB3ENSETR_PMBCTRLEN BIT(17) 110362306a36Sopenharmony_ci#define RCC_MP_APB3ENSETR_HDPEN BIT(20) 110462306a36Sopenharmony_ci 110562306a36Sopenharmony_ci/* RCC_MP_APB3ENCLRR register fields */ 110662306a36Sopenharmony_ci#define RCC_MP_APB3ENCLRR_LPTIM2EN BIT(0) 110762306a36Sopenharmony_ci#define RCC_MP_APB3ENCLRR_LPTIM3EN BIT(1) 110862306a36Sopenharmony_ci#define RCC_MP_APB3ENCLRR_LPTIM4EN BIT(2) 110962306a36Sopenharmony_ci#define RCC_MP_APB3ENCLRR_LPTIM5EN BIT(3) 111062306a36Sopenharmony_ci#define RCC_MP_APB3ENCLRR_VREFEN BIT(13) 111162306a36Sopenharmony_ci#define RCC_MP_APB3ENCLRR_DTSEN BIT(16) 111262306a36Sopenharmony_ci#define RCC_MP_APB3ENCLRR_PMBCTRLEN BIT(17) 111362306a36Sopenharmony_ci#define RCC_MP_APB3ENCLRR_HDPEN BIT(20) 111462306a36Sopenharmony_ci 111562306a36Sopenharmony_ci/* RCC_MP_S_APB3ENSETR register fields */ 111662306a36Sopenharmony_ci#define RCC_MP_S_APB3ENSETR_SYSCFGEN BIT(0) 111762306a36Sopenharmony_ci 111862306a36Sopenharmony_ci/* RCC_MP_S_APB3ENCLRR register fields */ 111962306a36Sopenharmony_ci#define RCC_MP_S_APB3ENCLRR_SYSCFGEN BIT(0) 112062306a36Sopenharmony_ci 112162306a36Sopenharmony_ci/* RCC_MP_NS_APB3ENSETR register fields */ 112262306a36Sopenharmony_ci#define RCC_MP_NS_APB3ENSETR_SYSCFGEN BIT(0) 112362306a36Sopenharmony_ci 112462306a36Sopenharmony_ci/* RCC_MP_NS_APB3ENCLRR register fields */ 112562306a36Sopenharmony_ci#define RCC_MP_NS_APB3ENCLRR_SYSCFGEN BIT(0) 112662306a36Sopenharmony_ci 112762306a36Sopenharmony_ci/* RCC_MP_APB4ENSETR register fields */ 112862306a36Sopenharmony_ci#define RCC_MP_APB4ENSETR_DCMIPPEN BIT(1) 112962306a36Sopenharmony_ci#define RCC_MP_APB4ENSETR_DDRPERFMEN BIT(8) 113062306a36Sopenharmony_ci#define RCC_MP_APB4ENSETR_IWDG2APBEN BIT(15) 113162306a36Sopenharmony_ci#define RCC_MP_APB4ENSETR_USBPHYEN BIT(16) 113262306a36Sopenharmony_ci#define RCC_MP_APB4ENSETR_STGENROEN BIT(20) 113362306a36Sopenharmony_ci 113462306a36Sopenharmony_ci/* RCC_MP_APB4ENCLRR register fields */ 113562306a36Sopenharmony_ci#define RCC_MP_APB4ENCLRR_DCMIPPEN BIT(1) 113662306a36Sopenharmony_ci#define RCC_MP_APB4ENCLRR_DDRPERFMEN BIT(8) 113762306a36Sopenharmony_ci#define RCC_MP_APB4ENCLRR_IWDG2APBEN BIT(15) 113862306a36Sopenharmony_ci#define RCC_MP_APB4ENCLRR_USBPHYEN BIT(16) 113962306a36Sopenharmony_ci#define RCC_MP_APB4ENCLRR_STGENROEN BIT(20) 114062306a36Sopenharmony_ci 114162306a36Sopenharmony_ci/* RCC_MP_S_APB4ENSETR register fields */ 114262306a36Sopenharmony_ci#define RCC_MP_S_APB4ENSETR_LTDCEN BIT(0) 114362306a36Sopenharmony_ci 114462306a36Sopenharmony_ci/* RCC_MP_S_APB4ENCLRR register fields */ 114562306a36Sopenharmony_ci#define RCC_MP_S_APB4ENCLRR_LTDCEN BIT(0) 114662306a36Sopenharmony_ci 114762306a36Sopenharmony_ci/* RCC_MP_NS_APB4ENSETR register fields */ 114862306a36Sopenharmony_ci#define RCC_MP_NS_APB4ENSETR_LTDCEN BIT(0) 114962306a36Sopenharmony_ci 115062306a36Sopenharmony_ci/* RCC_MP_NS_APB4ENCLRR register fields */ 115162306a36Sopenharmony_ci#define RCC_MP_NS_APB4ENCLRR_LTDCEN BIT(0) 115262306a36Sopenharmony_ci 115362306a36Sopenharmony_ci/* RCC_MP_APB5ENSETR register fields */ 115462306a36Sopenharmony_ci#define RCC_MP_APB5ENSETR_RTCAPBEN BIT(8) 115562306a36Sopenharmony_ci#define RCC_MP_APB5ENSETR_TZCEN BIT(11) 115662306a36Sopenharmony_ci#define RCC_MP_APB5ENSETR_ETZPCEN BIT(13) 115762306a36Sopenharmony_ci#define RCC_MP_APB5ENSETR_IWDG1APBEN BIT(15) 115862306a36Sopenharmony_ci#define RCC_MP_APB5ENSETR_BSECEN BIT(16) 115962306a36Sopenharmony_ci#define RCC_MP_APB5ENSETR_STGENCEN BIT(20) 116062306a36Sopenharmony_ci 116162306a36Sopenharmony_ci/* RCC_MP_APB5ENCLRR register fields */ 116262306a36Sopenharmony_ci#define RCC_MP_APB5ENCLRR_RTCAPBEN BIT(8) 116362306a36Sopenharmony_ci#define RCC_MP_APB5ENCLRR_TZCEN BIT(11) 116462306a36Sopenharmony_ci#define RCC_MP_APB5ENCLRR_ETZPCEN BIT(13) 116562306a36Sopenharmony_ci#define RCC_MP_APB5ENCLRR_IWDG1APBEN BIT(15) 116662306a36Sopenharmony_ci#define RCC_MP_APB5ENCLRR_BSECEN BIT(16) 116762306a36Sopenharmony_ci#define RCC_MP_APB5ENCLRR_STGENCEN BIT(20) 116862306a36Sopenharmony_ci 116962306a36Sopenharmony_ci/* RCC_MP_APB6ENSETR register fields */ 117062306a36Sopenharmony_ci#define RCC_MP_APB6ENSETR_USART1EN BIT(0) 117162306a36Sopenharmony_ci#define RCC_MP_APB6ENSETR_USART2EN BIT(1) 117262306a36Sopenharmony_ci#define RCC_MP_APB6ENSETR_SPI4EN BIT(2) 117362306a36Sopenharmony_ci#define RCC_MP_APB6ENSETR_SPI5EN BIT(3) 117462306a36Sopenharmony_ci#define RCC_MP_APB6ENSETR_I2C3EN BIT(4) 117562306a36Sopenharmony_ci#define RCC_MP_APB6ENSETR_I2C4EN BIT(5) 117662306a36Sopenharmony_ci#define RCC_MP_APB6ENSETR_I2C5EN BIT(6) 117762306a36Sopenharmony_ci#define RCC_MP_APB6ENSETR_TIM12EN BIT(7) 117862306a36Sopenharmony_ci#define RCC_MP_APB6ENSETR_TIM13EN BIT(8) 117962306a36Sopenharmony_ci#define RCC_MP_APB6ENSETR_TIM14EN BIT(9) 118062306a36Sopenharmony_ci#define RCC_MP_APB6ENSETR_TIM15EN BIT(10) 118162306a36Sopenharmony_ci#define RCC_MP_APB6ENSETR_TIM16EN BIT(11) 118262306a36Sopenharmony_ci#define RCC_MP_APB6ENSETR_TIM17EN BIT(12) 118362306a36Sopenharmony_ci 118462306a36Sopenharmony_ci/* RCC_MP_APB6ENCLRR register fields */ 118562306a36Sopenharmony_ci#define RCC_MP_APB6ENCLRR_USART1EN BIT(0) 118662306a36Sopenharmony_ci#define RCC_MP_APB6ENCLRR_USART2EN BIT(1) 118762306a36Sopenharmony_ci#define RCC_MP_APB6ENCLRR_SPI4EN BIT(2) 118862306a36Sopenharmony_ci#define RCC_MP_APB6ENCLRR_SPI5EN BIT(3) 118962306a36Sopenharmony_ci#define RCC_MP_APB6ENCLRR_I2C3EN BIT(4) 119062306a36Sopenharmony_ci#define RCC_MP_APB6ENCLRR_I2C4EN BIT(5) 119162306a36Sopenharmony_ci#define RCC_MP_APB6ENCLRR_I2C5EN BIT(6) 119262306a36Sopenharmony_ci#define RCC_MP_APB6ENCLRR_TIM12EN BIT(7) 119362306a36Sopenharmony_ci#define RCC_MP_APB6ENCLRR_TIM13EN BIT(8) 119462306a36Sopenharmony_ci#define RCC_MP_APB6ENCLRR_TIM14EN BIT(9) 119562306a36Sopenharmony_ci#define RCC_MP_APB6ENCLRR_TIM15EN BIT(10) 119662306a36Sopenharmony_ci#define RCC_MP_APB6ENCLRR_TIM16EN BIT(11) 119762306a36Sopenharmony_ci#define RCC_MP_APB6ENCLRR_TIM17EN BIT(12) 119862306a36Sopenharmony_ci 119962306a36Sopenharmony_ci/* RCC_MP_AHB2ENSETR register fields */ 120062306a36Sopenharmony_ci#define RCC_MP_AHB2ENSETR_DMA1EN BIT(0) 120162306a36Sopenharmony_ci#define RCC_MP_AHB2ENSETR_DMA2EN BIT(1) 120262306a36Sopenharmony_ci#define RCC_MP_AHB2ENSETR_DMAMUX1EN BIT(2) 120362306a36Sopenharmony_ci#define RCC_MP_AHB2ENSETR_DMA3EN BIT(3) 120462306a36Sopenharmony_ci#define RCC_MP_AHB2ENSETR_DMAMUX2EN BIT(4) 120562306a36Sopenharmony_ci#define RCC_MP_AHB2ENSETR_ADC1EN BIT(5) 120662306a36Sopenharmony_ci#define RCC_MP_AHB2ENSETR_ADC2EN BIT(6) 120762306a36Sopenharmony_ci#define RCC_MP_AHB2ENSETR_USBOEN BIT(8) 120862306a36Sopenharmony_ci 120962306a36Sopenharmony_ci/* RCC_MP_AHB2ENCLRR register fields */ 121062306a36Sopenharmony_ci#define RCC_MP_AHB2ENCLRR_DMA1EN BIT(0) 121162306a36Sopenharmony_ci#define RCC_MP_AHB2ENCLRR_DMA2EN BIT(1) 121262306a36Sopenharmony_ci#define RCC_MP_AHB2ENCLRR_DMAMUX1EN BIT(2) 121362306a36Sopenharmony_ci#define RCC_MP_AHB2ENCLRR_DMA3EN BIT(3) 121462306a36Sopenharmony_ci#define RCC_MP_AHB2ENCLRR_DMAMUX2EN BIT(4) 121562306a36Sopenharmony_ci#define RCC_MP_AHB2ENCLRR_ADC1EN BIT(5) 121662306a36Sopenharmony_ci#define RCC_MP_AHB2ENCLRR_ADC2EN BIT(6) 121762306a36Sopenharmony_ci#define RCC_MP_AHB2ENCLRR_USBOEN BIT(8) 121862306a36Sopenharmony_ci 121962306a36Sopenharmony_ci/* RCC_MP_AHB4ENSETR register fields */ 122062306a36Sopenharmony_ci#define RCC_MP_AHB4ENSETR_TSCEN BIT(15) 122162306a36Sopenharmony_ci 122262306a36Sopenharmony_ci/* RCC_MP_AHB4ENCLRR register fields */ 122362306a36Sopenharmony_ci#define RCC_MP_AHB4ENCLRR_TSCEN BIT(15) 122462306a36Sopenharmony_ci 122562306a36Sopenharmony_ci/* RCC_MP_S_AHB4ENSETR register fields */ 122662306a36Sopenharmony_ci#define RCC_MP_S_AHB4ENSETR_GPIOAEN BIT(0) 122762306a36Sopenharmony_ci#define RCC_MP_S_AHB4ENSETR_GPIOBEN BIT(1) 122862306a36Sopenharmony_ci#define RCC_MP_S_AHB4ENSETR_GPIOCEN BIT(2) 122962306a36Sopenharmony_ci#define RCC_MP_S_AHB4ENSETR_GPIODEN BIT(3) 123062306a36Sopenharmony_ci#define RCC_MP_S_AHB4ENSETR_GPIOEEN BIT(4) 123162306a36Sopenharmony_ci#define RCC_MP_S_AHB4ENSETR_GPIOFEN BIT(5) 123262306a36Sopenharmony_ci#define RCC_MP_S_AHB4ENSETR_GPIOGEN BIT(6) 123362306a36Sopenharmony_ci#define RCC_MP_S_AHB4ENSETR_GPIOHEN BIT(7) 123462306a36Sopenharmony_ci#define RCC_MP_S_AHB4ENSETR_GPIOIEN BIT(8) 123562306a36Sopenharmony_ci 123662306a36Sopenharmony_ci/* RCC_MP_S_AHB4ENCLRR register fields */ 123762306a36Sopenharmony_ci#define RCC_MP_S_AHB4ENCLRR_GPIOAEN BIT(0) 123862306a36Sopenharmony_ci#define RCC_MP_S_AHB4ENCLRR_GPIOBEN BIT(1) 123962306a36Sopenharmony_ci#define RCC_MP_S_AHB4ENCLRR_GPIOCEN BIT(2) 124062306a36Sopenharmony_ci#define RCC_MP_S_AHB4ENCLRR_GPIODEN BIT(3) 124162306a36Sopenharmony_ci#define RCC_MP_S_AHB4ENCLRR_GPIOEEN BIT(4) 124262306a36Sopenharmony_ci#define RCC_MP_S_AHB4ENCLRR_GPIOFEN BIT(5) 124362306a36Sopenharmony_ci#define RCC_MP_S_AHB4ENCLRR_GPIOGEN BIT(6) 124462306a36Sopenharmony_ci#define RCC_MP_S_AHB4ENCLRR_GPIOHEN BIT(7) 124562306a36Sopenharmony_ci#define RCC_MP_S_AHB4ENCLRR_GPIOIEN BIT(8) 124662306a36Sopenharmony_ci 124762306a36Sopenharmony_ci/* RCC_MP_NS_AHB4ENSETR register fields */ 124862306a36Sopenharmony_ci#define RCC_MP_NS_AHB4ENSETR_GPIOAEN BIT(0) 124962306a36Sopenharmony_ci#define RCC_MP_NS_AHB4ENSETR_GPIOBEN BIT(1) 125062306a36Sopenharmony_ci#define RCC_MP_NS_AHB4ENSETR_GPIOCEN BIT(2) 125162306a36Sopenharmony_ci#define RCC_MP_NS_AHB4ENSETR_GPIODEN BIT(3) 125262306a36Sopenharmony_ci#define RCC_MP_NS_AHB4ENSETR_GPIOEEN BIT(4) 125362306a36Sopenharmony_ci#define RCC_MP_NS_AHB4ENSETR_GPIOFEN BIT(5) 125462306a36Sopenharmony_ci#define RCC_MP_NS_AHB4ENSETR_GPIOGEN BIT(6) 125562306a36Sopenharmony_ci#define RCC_MP_NS_AHB4ENSETR_GPIOHEN BIT(7) 125662306a36Sopenharmony_ci#define RCC_MP_NS_AHB4ENSETR_GPIOIEN BIT(8) 125762306a36Sopenharmony_ci 125862306a36Sopenharmony_ci/* RCC_MP_NS_AHB4ENCLRR register fields */ 125962306a36Sopenharmony_ci#define RCC_MP_NS_AHB4ENCLRR_GPIOAEN BIT(0) 126062306a36Sopenharmony_ci#define RCC_MP_NS_AHB4ENCLRR_GPIOBEN BIT(1) 126162306a36Sopenharmony_ci#define RCC_MP_NS_AHB4ENCLRR_GPIOCEN BIT(2) 126262306a36Sopenharmony_ci#define RCC_MP_NS_AHB4ENCLRR_GPIODEN BIT(3) 126362306a36Sopenharmony_ci#define RCC_MP_NS_AHB4ENCLRR_GPIOEEN BIT(4) 126462306a36Sopenharmony_ci#define RCC_MP_NS_AHB4ENCLRR_GPIOFEN BIT(5) 126562306a36Sopenharmony_ci#define RCC_MP_NS_AHB4ENCLRR_GPIOGEN BIT(6) 126662306a36Sopenharmony_ci#define RCC_MP_NS_AHB4ENCLRR_GPIOHEN BIT(7) 126762306a36Sopenharmony_ci#define RCC_MP_NS_AHB4ENCLRR_GPIOIEN BIT(8) 126862306a36Sopenharmony_ci 126962306a36Sopenharmony_ci/* RCC_MP_AHB5ENSETR register fields */ 127062306a36Sopenharmony_ci#define RCC_MP_AHB5ENSETR_PKAEN BIT(2) 127162306a36Sopenharmony_ci#define RCC_MP_AHB5ENSETR_SAESEN BIT(3) 127262306a36Sopenharmony_ci#define RCC_MP_AHB5ENSETR_CRYP1EN BIT(4) 127362306a36Sopenharmony_ci#define RCC_MP_AHB5ENSETR_HASH1EN BIT(5) 127462306a36Sopenharmony_ci#define RCC_MP_AHB5ENSETR_RNG1EN BIT(6) 127562306a36Sopenharmony_ci#define RCC_MP_AHB5ENSETR_BKPSRAMEN BIT(8) 127662306a36Sopenharmony_ci#define RCC_MP_AHB5ENSETR_AXIMCEN BIT(16) 127762306a36Sopenharmony_ci 127862306a36Sopenharmony_ci/* RCC_MP_AHB5ENCLRR register fields */ 127962306a36Sopenharmony_ci#define RCC_MP_AHB5ENCLRR_PKAEN BIT(2) 128062306a36Sopenharmony_ci#define RCC_MP_AHB5ENCLRR_SAESEN BIT(3) 128162306a36Sopenharmony_ci#define RCC_MP_AHB5ENCLRR_CRYP1EN BIT(4) 128262306a36Sopenharmony_ci#define RCC_MP_AHB5ENCLRR_HASH1EN BIT(5) 128362306a36Sopenharmony_ci#define RCC_MP_AHB5ENCLRR_RNG1EN BIT(6) 128462306a36Sopenharmony_ci#define RCC_MP_AHB5ENCLRR_BKPSRAMEN BIT(8) 128562306a36Sopenharmony_ci#define RCC_MP_AHB5ENCLRR_AXIMCEN BIT(16) 128662306a36Sopenharmony_ci 128762306a36Sopenharmony_ci/* RCC_MP_AHB6ENSETR register fields */ 128862306a36Sopenharmony_ci#define RCC_MP_AHB6ENSETR_MCEEN BIT(1) 128962306a36Sopenharmony_ci#define RCC_MP_AHB6ENSETR_ETH1CKEN BIT(7) 129062306a36Sopenharmony_ci#define RCC_MP_AHB6ENSETR_ETH1TXEN BIT(8) 129162306a36Sopenharmony_ci#define RCC_MP_AHB6ENSETR_ETH1RXEN BIT(9) 129262306a36Sopenharmony_ci#define RCC_MP_AHB6ENSETR_ETH1MACEN BIT(10) 129362306a36Sopenharmony_ci#define RCC_MP_AHB6ENSETR_FMCEN BIT(12) 129462306a36Sopenharmony_ci#define RCC_MP_AHB6ENSETR_QSPIEN BIT(14) 129562306a36Sopenharmony_ci#define RCC_MP_AHB6ENSETR_SDMMC1EN BIT(16) 129662306a36Sopenharmony_ci#define RCC_MP_AHB6ENSETR_SDMMC2EN BIT(17) 129762306a36Sopenharmony_ci#define RCC_MP_AHB6ENSETR_CRC1EN BIT(20) 129862306a36Sopenharmony_ci#define RCC_MP_AHB6ENSETR_USBHEN BIT(24) 129962306a36Sopenharmony_ci#define RCC_MP_AHB6ENSETR_ETH2CKEN BIT(27) 130062306a36Sopenharmony_ci#define RCC_MP_AHB6ENSETR_ETH2TXEN BIT(28) 130162306a36Sopenharmony_ci#define RCC_MP_AHB6ENSETR_ETH2RXEN BIT(29) 130262306a36Sopenharmony_ci#define RCC_MP_AHB6ENSETR_ETH2MACEN BIT(30) 130362306a36Sopenharmony_ci 130462306a36Sopenharmony_ci/* RCC_MP_AHB6ENCLRR register fields */ 130562306a36Sopenharmony_ci#define RCC_MP_AHB6ENCLRR_MCEEN BIT(1) 130662306a36Sopenharmony_ci#define RCC_MP_AHB6ENCLRR_ETH1CKEN BIT(7) 130762306a36Sopenharmony_ci#define RCC_MP_AHB6ENCLRR_ETH1TXEN BIT(8) 130862306a36Sopenharmony_ci#define RCC_MP_AHB6ENCLRR_ETH1RXEN BIT(9) 130962306a36Sopenharmony_ci#define RCC_MP_AHB6ENCLRR_ETH1MACEN BIT(10) 131062306a36Sopenharmony_ci#define RCC_MP_AHB6ENCLRR_FMCEN BIT(12) 131162306a36Sopenharmony_ci#define RCC_MP_AHB6ENCLRR_QSPIEN BIT(14) 131262306a36Sopenharmony_ci#define RCC_MP_AHB6ENCLRR_SDMMC1EN BIT(16) 131362306a36Sopenharmony_ci#define RCC_MP_AHB6ENCLRR_SDMMC2EN BIT(17) 131462306a36Sopenharmony_ci#define RCC_MP_AHB6ENCLRR_CRC1EN BIT(20) 131562306a36Sopenharmony_ci#define RCC_MP_AHB6ENCLRR_USBHEN BIT(24) 131662306a36Sopenharmony_ci#define RCC_MP_AHB6ENCLRR_ETH2CKEN BIT(27) 131762306a36Sopenharmony_ci#define RCC_MP_AHB6ENCLRR_ETH2TXEN BIT(28) 131862306a36Sopenharmony_ci#define RCC_MP_AHB6ENCLRR_ETH2RXEN BIT(29) 131962306a36Sopenharmony_ci#define RCC_MP_AHB6ENCLRR_ETH2MACEN BIT(30) 132062306a36Sopenharmony_ci 132162306a36Sopenharmony_ci/* RCC_MP_S_AHB6ENSETR register fields */ 132262306a36Sopenharmony_ci#define RCC_MP_S_AHB6ENSETR_MDMAEN BIT(0) 132362306a36Sopenharmony_ci 132462306a36Sopenharmony_ci/* RCC_MP_S_AHB6ENCLRR register fields */ 132562306a36Sopenharmony_ci#define RCC_MP_S_AHB6ENCLRR_MDMAEN BIT(0) 132662306a36Sopenharmony_ci 132762306a36Sopenharmony_ci/* RCC_MP_NS_AHB6ENSETR register fields */ 132862306a36Sopenharmony_ci#define RCC_MP_NS_AHB6ENSETR_MDMAEN BIT(0) 132962306a36Sopenharmony_ci 133062306a36Sopenharmony_ci/* RCC_MP_NS_AHB6ENCLRR register fields */ 133162306a36Sopenharmony_ci#define RCC_MP_NS_AHB6ENCLRR_MDMAEN BIT(0) 133262306a36Sopenharmony_ci 133362306a36Sopenharmony_ci/* RCC_MP_APB1LPENSETR register fields */ 133462306a36Sopenharmony_ci#define RCC_MP_APB1LPENSETR_TIM2LPEN BIT(0) 133562306a36Sopenharmony_ci#define RCC_MP_APB1LPENSETR_TIM3LPEN BIT(1) 133662306a36Sopenharmony_ci#define RCC_MP_APB1LPENSETR_TIM4LPEN BIT(2) 133762306a36Sopenharmony_ci#define RCC_MP_APB1LPENSETR_TIM5LPEN BIT(3) 133862306a36Sopenharmony_ci#define RCC_MP_APB1LPENSETR_TIM6LPEN BIT(4) 133962306a36Sopenharmony_ci#define RCC_MP_APB1LPENSETR_TIM7LPEN BIT(5) 134062306a36Sopenharmony_ci#define RCC_MP_APB1LPENSETR_LPTIM1LPEN BIT(9) 134162306a36Sopenharmony_ci#define RCC_MP_APB1LPENSETR_SPI2LPEN BIT(11) 134262306a36Sopenharmony_ci#define RCC_MP_APB1LPENSETR_SPI3LPEN BIT(12) 134362306a36Sopenharmony_ci#define RCC_MP_APB1LPENSETR_USART3LPEN BIT(15) 134462306a36Sopenharmony_ci#define RCC_MP_APB1LPENSETR_UART4LPEN BIT(16) 134562306a36Sopenharmony_ci#define RCC_MP_APB1LPENSETR_UART5LPEN BIT(17) 134662306a36Sopenharmony_ci#define RCC_MP_APB1LPENSETR_UART7LPEN BIT(18) 134762306a36Sopenharmony_ci#define RCC_MP_APB1LPENSETR_UART8LPEN BIT(19) 134862306a36Sopenharmony_ci#define RCC_MP_APB1LPENSETR_I2C1LPEN BIT(21) 134962306a36Sopenharmony_ci#define RCC_MP_APB1LPENSETR_I2C2LPEN BIT(22) 135062306a36Sopenharmony_ci#define RCC_MP_APB1LPENSETR_SPDIFLPEN BIT(26) 135162306a36Sopenharmony_ci 135262306a36Sopenharmony_ci/* RCC_MP_APB1LPENCLRR register fields */ 135362306a36Sopenharmony_ci#define RCC_MP_APB1LPENCLRR_TIM2LPEN BIT(0) 135462306a36Sopenharmony_ci#define RCC_MP_APB1LPENCLRR_TIM3LPEN BIT(1) 135562306a36Sopenharmony_ci#define RCC_MP_APB1LPENCLRR_TIM4LPEN BIT(2) 135662306a36Sopenharmony_ci#define RCC_MP_APB1LPENCLRR_TIM5LPEN BIT(3) 135762306a36Sopenharmony_ci#define RCC_MP_APB1LPENCLRR_TIM6LPEN BIT(4) 135862306a36Sopenharmony_ci#define RCC_MP_APB1LPENCLRR_TIM7LPEN BIT(5) 135962306a36Sopenharmony_ci#define RCC_MP_APB1LPENCLRR_LPTIM1LPEN BIT(9) 136062306a36Sopenharmony_ci#define RCC_MP_APB1LPENCLRR_SPI2LPEN BIT(11) 136162306a36Sopenharmony_ci#define RCC_MP_APB1LPENCLRR_SPI3LPEN BIT(12) 136262306a36Sopenharmony_ci#define RCC_MP_APB1LPENCLRR_USART3LPEN BIT(15) 136362306a36Sopenharmony_ci#define RCC_MP_APB1LPENCLRR_UART4LPEN BIT(16) 136462306a36Sopenharmony_ci#define RCC_MP_APB1LPENCLRR_UART5LPEN BIT(17) 136562306a36Sopenharmony_ci#define RCC_MP_APB1LPENCLRR_UART7LPEN BIT(18) 136662306a36Sopenharmony_ci#define RCC_MP_APB1LPENCLRR_UART8LPEN BIT(19) 136762306a36Sopenharmony_ci#define RCC_MP_APB1LPENCLRR_I2C1LPEN BIT(21) 136862306a36Sopenharmony_ci#define RCC_MP_APB1LPENCLRR_I2C2LPEN BIT(22) 136962306a36Sopenharmony_ci#define RCC_MP_APB1LPENCLRR_SPDIFLPEN BIT(26) 137062306a36Sopenharmony_ci 137162306a36Sopenharmony_ci/* RCC_MP_APB2LPENSETR register fields */ 137262306a36Sopenharmony_ci#define RCC_MP_APB2LPENSETR_TIM1LPEN BIT(0) 137362306a36Sopenharmony_ci#define RCC_MP_APB2LPENSETR_TIM8LPEN BIT(1) 137462306a36Sopenharmony_ci#define RCC_MP_APB2LPENSETR_SPI1LPEN BIT(8) 137562306a36Sopenharmony_ci#define RCC_MP_APB2LPENSETR_USART6LPEN BIT(13) 137662306a36Sopenharmony_ci#define RCC_MP_APB2LPENSETR_SAI1LPEN BIT(16) 137762306a36Sopenharmony_ci#define RCC_MP_APB2LPENSETR_SAI2LPEN BIT(17) 137862306a36Sopenharmony_ci#define RCC_MP_APB2LPENSETR_DFSDMLPEN BIT(20) 137962306a36Sopenharmony_ci#define RCC_MP_APB2LPENSETR_ADFSDMLPEN BIT(21) 138062306a36Sopenharmony_ci#define RCC_MP_APB2LPENSETR_FDCANLPEN BIT(24) 138162306a36Sopenharmony_ci 138262306a36Sopenharmony_ci/* RCC_MP_APB2LPENCLRR register fields */ 138362306a36Sopenharmony_ci#define RCC_MP_APB2LPENCLRR_TIM1LPEN BIT(0) 138462306a36Sopenharmony_ci#define RCC_MP_APB2LPENCLRR_TIM8LPEN BIT(1) 138562306a36Sopenharmony_ci#define RCC_MP_APB2LPENCLRR_SPI1LPEN BIT(8) 138662306a36Sopenharmony_ci#define RCC_MP_APB2LPENCLRR_USART6LPEN BIT(13) 138762306a36Sopenharmony_ci#define RCC_MP_APB2LPENCLRR_SAI1LPEN BIT(16) 138862306a36Sopenharmony_ci#define RCC_MP_APB2LPENCLRR_SAI2LPEN BIT(17) 138962306a36Sopenharmony_ci#define RCC_MP_APB2LPENCLRR_DFSDMLPEN BIT(20) 139062306a36Sopenharmony_ci#define RCC_MP_APB2LPENCLRR_ADFSDMLPEN BIT(21) 139162306a36Sopenharmony_ci#define RCC_MP_APB2LPENCLRR_FDCANLPEN BIT(24) 139262306a36Sopenharmony_ci 139362306a36Sopenharmony_ci/* RCC_MP_APB3LPENSETR register fields */ 139462306a36Sopenharmony_ci#define RCC_MP_APB3LPENSETR_LPTIM2LPEN BIT(0) 139562306a36Sopenharmony_ci#define RCC_MP_APB3LPENSETR_LPTIM3LPEN BIT(1) 139662306a36Sopenharmony_ci#define RCC_MP_APB3LPENSETR_LPTIM4LPEN BIT(2) 139762306a36Sopenharmony_ci#define RCC_MP_APB3LPENSETR_LPTIM5LPEN BIT(3) 139862306a36Sopenharmony_ci#define RCC_MP_APB3LPENSETR_VREFLPEN BIT(13) 139962306a36Sopenharmony_ci#define RCC_MP_APB3LPENSETR_DTSLPEN BIT(16) 140062306a36Sopenharmony_ci#define RCC_MP_APB3LPENSETR_PMBCTRLLPEN BIT(17) 140162306a36Sopenharmony_ci 140262306a36Sopenharmony_ci/* RCC_MP_APB3LPENCLRR register fields */ 140362306a36Sopenharmony_ci#define RCC_MP_APB3LPENCLRR_LPTIM2LPEN BIT(0) 140462306a36Sopenharmony_ci#define RCC_MP_APB3LPENCLRR_LPTIM3LPEN BIT(1) 140562306a36Sopenharmony_ci#define RCC_MP_APB3LPENCLRR_LPTIM4LPEN BIT(2) 140662306a36Sopenharmony_ci#define RCC_MP_APB3LPENCLRR_LPTIM5LPEN BIT(3) 140762306a36Sopenharmony_ci#define RCC_MP_APB3LPENCLRR_VREFLPEN BIT(13) 140862306a36Sopenharmony_ci#define RCC_MP_APB3LPENCLRR_DTSLPEN BIT(16) 140962306a36Sopenharmony_ci#define RCC_MP_APB3LPENCLRR_PMBCTRLLPEN BIT(17) 141062306a36Sopenharmony_ci 141162306a36Sopenharmony_ci/* RCC_MP_S_APB3LPENSETR register fields */ 141262306a36Sopenharmony_ci#define RCC_MP_S_APB3LPENSETR_SYSCFGLPEN BIT(0) 141362306a36Sopenharmony_ci 141462306a36Sopenharmony_ci/* RCC_MP_S_APB3LPENCLRR register fields */ 141562306a36Sopenharmony_ci#define RCC_MP_S_APB3LPENCLRR_SYSCFGLPEN BIT(0) 141662306a36Sopenharmony_ci 141762306a36Sopenharmony_ci/* RCC_MP_NS_APB3LPENSETR register fields */ 141862306a36Sopenharmony_ci#define RCC_MP_NS_APB3LPENSETR_SYSCFGLPEN BIT(0) 141962306a36Sopenharmony_ci 142062306a36Sopenharmony_ci/* RCC_MP_NS_APB3LPENCLRR register fields */ 142162306a36Sopenharmony_ci#define RCC_MP_NS_APB3LPENCLRR_SYSCFGLPEN BIT(0) 142262306a36Sopenharmony_ci 142362306a36Sopenharmony_ci/* RCC_MP_APB4LPENSETR register fields */ 142462306a36Sopenharmony_ci#define RCC_MP_APB4LPENSETR_DCMIPPLPEN BIT(1) 142562306a36Sopenharmony_ci#define RCC_MP_APB4LPENSETR_DDRPERFMLPEN BIT(8) 142662306a36Sopenharmony_ci#define RCC_MP_APB4LPENSETR_IWDG2APBLPEN BIT(15) 142762306a36Sopenharmony_ci#define RCC_MP_APB4LPENSETR_USBPHYLPEN BIT(16) 142862306a36Sopenharmony_ci#define RCC_MP_APB4LPENSETR_STGENROLPEN BIT(20) 142962306a36Sopenharmony_ci#define RCC_MP_APB4LPENSETR_STGENROSTPEN BIT(21) 143062306a36Sopenharmony_ci 143162306a36Sopenharmony_ci/* RCC_MP_APB4LPENCLRR register fields */ 143262306a36Sopenharmony_ci#define RCC_MP_APB4LPENCLRR_DCMIPPLPEN BIT(1) 143362306a36Sopenharmony_ci#define RCC_MP_APB4LPENCLRR_DDRPERFMLPEN BIT(8) 143462306a36Sopenharmony_ci#define RCC_MP_APB4LPENCLRR_IWDG2APBLPEN BIT(15) 143562306a36Sopenharmony_ci#define RCC_MP_APB4LPENCLRR_USBPHYLPEN BIT(16) 143662306a36Sopenharmony_ci#define RCC_MP_APB4LPENCLRR_STGENROLPEN BIT(20) 143762306a36Sopenharmony_ci#define RCC_MP_APB4LPENCLRR_STGENROSTPEN BIT(21) 143862306a36Sopenharmony_ci 143962306a36Sopenharmony_ci/* RCC_MP_S_APB4LPENSETR register fields */ 144062306a36Sopenharmony_ci#define RCC_MP_S_APB4LPENSETR_LTDCLPEN BIT(0) 144162306a36Sopenharmony_ci 144262306a36Sopenharmony_ci/* RCC_MP_S_APB4LPENCLRR register fields */ 144362306a36Sopenharmony_ci#define RCC_MP_S_APB4LPENCLRR_LTDCLPEN BIT(0) 144462306a36Sopenharmony_ci 144562306a36Sopenharmony_ci/* RCC_MP_NS_APB4LPENSETR register fields */ 144662306a36Sopenharmony_ci#define RCC_MP_NS_APB4LPENSETR_LTDCLPEN BIT(0) 144762306a36Sopenharmony_ci 144862306a36Sopenharmony_ci/* RCC_MP_NS_APB4LPENCLRR register fields */ 144962306a36Sopenharmony_ci#define RCC_MP_NS_APB4LPENCLRR_LTDCLPEN BIT(0) 145062306a36Sopenharmony_ci 145162306a36Sopenharmony_ci/* RCC_MP_APB5LPENSETR register fields */ 145262306a36Sopenharmony_ci#define RCC_MP_APB5LPENSETR_RTCAPBLPEN BIT(8) 145362306a36Sopenharmony_ci#define RCC_MP_APB5LPENSETR_TZCLPEN BIT(11) 145462306a36Sopenharmony_ci#define RCC_MP_APB5LPENSETR_ETZPCLPEN BIT(13) 145562306a36Sopenharmony_ci#define RCC_MP_APB5LPENSETR_IWDG1APBLPEN BIT(15) 145662306a36Sopenharmony_ci#define RCC_MP_APB5LPENSETR_BSECLPEN BIT(16) 145762306a36Sopenharmony_ci#define RCC_MP_APB5LPENSETR_STGENCLPEN BIT(20) 145862306a36Sopenharmony_ci#define RCC_MP_APB5LPENSETR_STGENCSTPEN BIT(21) 145962306a36Sopenharmony_ci 146062306a36Sopenharmony_ci/* RCC_MP_APB5LPENCLRR register fields */ 146162306a36Sopenharmony_ci#define RCC_MP_APB5LPENCLRR_RTCAPBLPEN BIT(8) 146262306a36Sopenharmony_ci#define RCC_MP_APB5LPENCLRR_TZCLPEN BIT(11) 146362306a36Sopenharmony_ci#define RCC_MP_APB5LPENCLRR_ETZPCLPEN BIT(13) 146462306a36Sopenharmony_ci#define RCC_MP_APB5LPENCLRR_IWDG1APBLPEN BIT(15) 146562306a36Sopenharmony_ci#define RCC_MP_APB5LPENCLRR_BSECLPEN BIT(16) 146662306a36Sopenharmony_ci#define RCC_MP_APB5LPENCLRR_STGENCLPEN BIT(20) 146762306a36Sopenharmony_ci#define RCC_MP_APB5LPENCLRR_STGENCSTPEN BIT(21) 146862306a36Sopenharmony_ci 146962306a36Sopenharmony_ci/* RCC_MP_APB6LPENSETR register fields */ 147062306a36Sopenharmony_ci#define RCC_MP_APB6LPENSETR_USART1LPEN BIT(0) 147162306a36Sopenharmony_ci#define RCC_MP_APB6LPENSETR_USART2LPEN BIT(1) 147262306a36Sopenharmony_ci#define RCC_MP_APB6LPENSETR_SPI4LPEN BIT(2) 147362306a36Sopenharmony_ci#define RCC_MP_APB6LPENSETR_SPI5LPEN BIT(3) 147462306a36Sopenharmony_ci#define RCC_MP_APB6LPENSETR_I2C3LPEN BIT(4) 147562306a36Sopenharmony_ci#define RCC_MP_APB6LPENSETR_I2C4LPEN BIT(5) 147662306a36Sopenharmony_ci#define RCC_MP_APB6LPENSETR_I2C5LPEN BIT(6) 147762306a36Sopenharmony_ci#define RCC_MP_APB6LPENSETR_TIM12LPEN BIT(7) 147862306a36Sopenharmony_ci#define RCC_MP_APB6LPENSETR_TIM13LPEN BIT(8) 147962306a36Sopenharmony_ci#define RCC_MP_APB6LPENSETR_TIM14LPEN BIT(9) 148062306a36Sopenharmony_ci#define RCC_MP_APB6LPENSETR_TIM15LPEN BIT(10) 148162306a36Sopenharmony_ci#define RCC_MP_APB6LPENSETR_TIM16LPEN BIT(11) 148262306a36Sopenharmony_ci#define RCC_MP_APB6LPENSETR_TIM17LPEN BIT(12) 148362306a36Sopenharmony_ci 148462306a36Sopenharmony_ci/* RCC_MP_APB6LPENCLRR register fields */ 148562306a36Sopenharmony_ci#define RCC_MP_APB6LPENCLRR_USART1LPEN BIT(0) 148662306a36Sopenharmony_ci#define RCC_MP_APB6LPENCLRR_USART2LPEN BIT(1) 148762306a36Sopenharmony_ci#define RCC_MP_APB6LPENCLRR_SPI4LPEN BIT(2) 148862306a36Sopenharmony_ci#define RCC_MP_APB6LPENCLRR_SPI5LPEN BIT(3) 148962306a36Sopenharmony_ci#define RCC_MP_APB6LPENCLRR_I2C3LPEN BIT(4) 149062306a36Sopenharmony_ci#define RCC_MP_APB6LPENCLRR_I2C4LPEN BIT(5) 149162306a36Sopenharmony_ci#define RCC_MP_APB6LPENCLRR_I2C5LPEN BIT(6) 149262306a36Sopenharmony_ci#define RCC_MP_APB6LPENCLRR_TIM12LPEN BIT(7) 149362306a36Sopenharmony_ci#define RCC_MP_APB6LPENCLRR_TIM13LPEN BIT(8) 149462306a36Sopenharmony_ci#define RCC_MP_APB6LPENCLRR_TIM14LPEN BIT(9) 149562306a36Sopenharmony_ci#define RCC_MP_APB6LPENCLRR_TIM15LPEN BIT(10) 149662306a36Sopenharmony_ci#define RCC_MP_APB6LPENCLRR_TIM16LPEN BIT(11) 149762306a36Sopenharmony_ci#define RCC_MP_APB6LPENCLRR_TIM17LPEN BIT(12) 149862306a36Sopenharmony_ci 149962306a36Sopenharmony_ci/* RCC_MP_AHB2LPENSETR register fields */ 150062306a36Sopenharmony_ci#define RCC_MP_AHB2LPENSETR_DMA1LPEN BIT(0) 150162306a36Sopenharmony_ci#define RCC_MP_AHB2LPENSETR_DMA2LPEN BIT(1) 150262306a36Sopenharmony_ci#define RCC_MP_AHB2LPENSETR_DMAMUX1LPEN BIT(2) 150362306a36Sopenharmony_ci#define RCC_MP_AHB2LPENSETR_DMA3LPEN BIT(3) 150462306a36Sopenharmony_ci#define RCC_MP_AHB2LPENSETR_DMAMUX2LPEN BIT(4) 150562306a36Sopenharmony_ci#define RCC_MP_AHB2LPENSETR_ADC1LPEN BIT(5) 150662306a36Sopenharmony_ci#define RCC_MP_AHB2LPENSETR_ADC2LPEN BIT(6) 150762306a36Sopenharmony_ci#define RCC_MP_AHB2LPENSETR_USBOLPEN BIT(8) 150862306a36Sopenharmony_ci 150962306a36Sopenharmony_ci/* RCC_MP_AHB2LPENCLRR register fields */ 151062306a36Sopenharmony_ci#define RCC_MP_AHB2LPENCLRR_DMA1LPEN BIT(0) 151162306a36Sopenharmony_ci#define RCC_MP_AHB2LPENCLRR_DMA2LPEN BIT(1) 151262306a36Sopenharmony_ci#define RCC_MP_AHB2LPENCLRR_DMAMUX1LPEN BIT(2) 151362306a36Sopenharmony_ci#define RCC_MP_AHB2LPENCLRR_DMA3LPEN BIT(3) 151462306a36Sopenharmony_ci#define RCC_MP_AHB2LPENCLRR_DMAMUX2LPEN BIT(4) 151562306a36Sopenharmony_ci#define RCC_MP_AHB2LPENCLRR_ADC1LPEN BIT(5) 151662306a36Sopenharmony_ci#define RCC_MP_AHB2LPENCLRR_ADC2LPEN BIT(6) 151762306a36Sopenharmony_ci#define RCC_MP_AHB2LPENCLRR_USBOLPEN BIT(8) 151862306a36Sopenharmony_ci 151962306a36Sopenharmony_ci/* RCC_MP_AHB4LPENSETR register fields */ 152062306a36Sopenharmony_ci#define RCC_MP_AHB4LPENSETR_TSCLPEN BIT(15) 152162306a36Sopenharmony_ci 152262306a36Sopenharmony_ci/* RCC_MP_AHB4LPENCLRR register fields */ 152362306a36Sopenharmony_ci#define RCC_MP_AHB4LPENCLRR_TSCLPEN BIT(15) 152462306a36Sopenharmony_ci 152562306a36Sopenharmony_ci/* RCC_MP_S_AHB4LPENSETR register fields */ 152662306a36Sopenharmony_ci#define RCC_MP_S_AHB4LPENSETR_GPIOALPEN BIT(0) 152762306a36Sopenharmony_ci#define RCC_MP_S_AHB4LPENSETR_GPIOBLPEN BIT(1) 152862306a36Sopenharmony_ci#define RCC_MP_S_AHB4LPENSETR_GPIOCLPEN BIT(2) 152962306a36Sopenharmony_ci#define RCC_MP_S_AHB4LPENSETR_GPIODLPEN BIT(3) 153062306a36Sopenharmony_ci#define RCC_MP_S_AHB4LPENSETR_GPIOELPEN BIT(4) 153162306a36Sopenharmony_ci#define RCC_MP_S_AHB4LPENSETR_GPIOFLPEN BIT(5) 153262306a36Sopenharmony_ci#define RCC_MP_S_AHB4LPENSETR_GPIOGLPEN BIT(6) 153362306a36Sopenharmony_ci#define RCC_MP_S_AHB4LPENSETR_GPIOHLPEN BIT(7) 153462306a36Sopenharmony_ci#define RCC_MP_S_AHB4LPENSETR_GPIOILPEN BIT(8) 153562306a36Sopenharmony_ci 153662306a36Sopenharmony_ci/* RCC_MP_S_AHB4LPENCLRR register fields */ 153762306a36Sopenharmony_ci#define RCC_MP_S_AHB4LPENCLRR_GPIOALPEN BIT(0) 153862306a36Sopenharmony_ci#define RCC_MP_S_AHB4LPENCLRR_GPIOBLPEN BIT(1) 153962306a36Sopenharmony_ci#define RCC_MP_S_AHB4LPENCLRR_GPIOCLPEN BIT(2) 154062306a36Sopenharmony_ci#define RCC_MP_S_AHB4LPENCLRR_GPIODLPEN BIT(3) 154162306a36Sopenharmony_ci#define RCC_MP_S_AHB4LPENCLRR_GPIOELPEN BIT(4) 154262306a36Sopenharmony_ci#define RCC_MP_S_AHB4LPENCLRR_GPIOFLPEN BIT(5) 154362306a36Sopenharmony_ci#define RCC_MP_S_AHB4LPENCLRR_GPIOGLPEN BIT(6) 154462306a36Sopenharmony_ci#define RCC_MP_S_AHB4LPENCLRR_GPIOHLPEN BIT(7) 154562306a36Sopenharmony_ci#define RCC_MP_S_AHB4LPENCLRR_GPIOILPEN BIT(8) 154662306a36Sopenharmony_ci 154762306a36Sopenharmony_ci/* RCC_MP_NS_AHB4LPENSETR register fields */ 154862306a36Sopenharmony_ci#define RCC_MP_NS_AHB4LPENSETR_GPIOALPEN BIT(0) 154962306a36Sopenharmony_ci#define RCC_MP_NS_AHB4LPENSETR_GPIOBLPEN BIT(1) 155062306a36Sopenharmony_ci#define RCC_MP_NS_AHB4LPENSETR_GPIOCLPEN BIT(2) 155162306a36Sopenharmony_ci#define RCC_MP_NS_AHB4LPENSETR_GPIODLPEN BIT(3) 155262306a36Sopenharmony_ci#define RCC_MP_NS_AHB4LPENSETR_GPIOELPEN BIT(4) 155362306a36Sopenharmony_ci#define RCC_MP_NS_AHB4LPENSETR_GPIOFLPEN BIT(5) 155462306a36Sopenharmony_ci#define RCC_MP_NS_AHB4LPENSETR_GPIOGLPEN BIT(6) 155562306a36Sopenharmony_ci#define RCC_MP_NS_AHB4LPENSETR_GPIOHLPEN BIT(7) 155662306a36Sopenharmony_ci#define RCC_MP_NS_AHB4LPENSETR_GPIOILPEN BIT(8) 155762306a36Sopenharmony_ci 155862306a36Sopenharmony_ci/* RCC_MP_NS_AHB4LPENCLRR register fields */ 155962306a36Sopenharmony_ci#define RCC_MP_NS_AHB4LPENCLRR_GPIOALPEN BIT(0) 156062306a36Sopenharmony_ci#define RCC_MP_NS_AHB4LPENCLRR_GPIOBLPEN BIT(1) 156162306a36Sopenharmony_ci#define RCC_MP_NS_AHB4LPENCLRR_GPIOCLPEN BIT(2) 156262306a36Sopenharmony_ci#define RCC_MP_NS_AHB4LPENCLRR_GPIODLPEN BIT(3) 156362306a36Sopenharmony_ci#define RCC_MP_NS_AHB4LPENCLRR_GPIOELPEN BIT(4) 156462306a36Sopenharmony_ci#define RCC_MP_NS_AHB4LPENCLRR_GPIOFLPEN BIT(5) 156562306a36Sopenharmony_ci#define RCC_MP_NS_AHB4LPENCLRR_GPIOGLPEN BIT(6) 156662306a36Sopenharmony_ci#define RCC_MP_NS_AHB4LPENCLRR_GPIOHLPEN BIT(7) 156762306a36Sopenharmony_ci#define RCC_MP_NS_AHB4LPENCLRR_GPIOILPEN BIT(8) 156862306a36Sopenharmony_ci 156962306a36Sopenharmony_ci/* RCC_MP_AHB5LPENSETR register fields */ 157062306a36Sopenharmony_ci#define RCC_MP_AHB5LPENSETR_PKALPEN BIT(2) 157162306a36Sopenharmony_ci#define RCC_MP_AHB5LPENSETR_SAESLPEN BIT(3) 157262306a36Sopenharmony_ci#define RCC_MP_AHB5LPENSETR_CRYP1LPEN BIT(4) 157362306a36Sopenharmony_ci#define RCC_MP_AHB5LPENSETR_HASH1LPEN BIT(5) 157462306a36Sopenharmony_ci#define RCC_MP_AHB5LPENSETR_RNG1LPEN BIT(6) 157562306a36Sopenharmony_ci#define RCC_MP_AHB5LPENSETR_BKPSRAMLPEN BIT(8) 157662306a36Sopenharmony_ci 157762306a36Sopenharmony_ci/* RCC_MP_AHB5LPENCLRR register fields */ 157862306a36Sopenharmony_ci#define RCC_MP_AHB5LPENCLRR_PKALPEN BIT(2) 157962306a36Sopenharmony_ci#define RCC_MP_AHB5LPENCLRR_SAESLPEN BIT(3) 158062306a36Sopenharmony_ci#define RCC_MP_AHB5LPENCLRR_CRYP1LPEN BIT(4) 158162306a36Sopenharmony_ci#define RCC_MP_AHB5LPENCLRR_HASH1LPEN BIT(5) 158262306a36Sopenharmony_ci#define RCC_MP_AHB5LPENCLRR_RNG1LPEN BIT(6) 158362306a36Sopenharmony_ci#define RCC_MP_AHB5LPENCLRR_BKPSRAMLPEN BIT(8) 158462306a36Sopenharmony_ci 158562306a36Sopenharmony_ci/* RCC_MP_AHB6LPENSETR register fields */ 158662306a36Sopenharmony_ci#define RCC_MP_AHB6LPENSETR_MCELPEN BIT(1) 158762306a36Sopenharmony_ci#define RCC_MP_AHB6LPENSETR_ETH1CKLPEN BIT(7) 158862306a36Sopenharmony_ci#define RCC_MP_AHB6LPENSETR_ETH1TXLPEN BIT(8) 158962306a36Sopenharmony_ci#define RCC_MP_AHB6LPENSETR_ETH1RXLPEN BIT(9) 159062306a36Sopenharmony_ci#define RCC_MP_AHB6LPENSETR_ETH1MACLPEN BIT(10) 159162306a36Sopenharmony_ci#define RCC_MP_AHB6LPENSETR_ETH1STPEN BIT(11) 159262306a36Sopenharmony_ci#define RCC_MP_AHB6LPENSETR_FMCLPEN BIT(12) 159362306a36Sopenharmony_ci#define RCC_MP_AHB6LPENSETR_QSPILPEN BIT(14) 159462306a36Sopenharmony_ci#define RCC_MP_AHB6LPENSETR_SDMMC1LPEN BIT(16) 159562306a36Sopenharmony_ci#define RCC_MP_AHB6LPENSETR_SDMMC2LPEN BIT(17) 159662306a36Sopenharmony_ci#define RCC_MP_AHB6LPENSETR_CRC1LPEN BIT(20) 159762306a36Sopenharmony_ci#define RCC_MP_AHB6LPENSETR_USBHLPEN BIT(24) 159862306a36Sopenharmony_ci#define RCC_MP_AHB6LPENSETR_ETH2CKLPEN BIT(27) 159962306a36Sopenharmony_ci#define RCC_MP_AHB6LPENSETR_ETH2TXLPEN BIT(28) 160062306a36Sopenharmony_ci#define RCC_MP_AHB6LPENSETR_ETH2RXLPEN BIT(29) 160162306a36Sopenharmony_ci#define RCC_MP_AHB6LPENSETR_ETH2MACLPEN BIT(30) 160262306a36Sopenharmony_ci#define RCC_MP_AHB6LPENSETR_ETH2STPEN BIT(31) 160362306a36Sopenharmony_ci 160462306a36Sopenharmony_ci/* RCC_MP_AHB6LPENCLRR register fields */ 160562306a36Sopenharmony_ci#define RCC_MP_AHB6LPENCLRR_MCELPEN BIT(1) 160662306a36Sopenharmony_ci#define RCC_MP_AHB6LPENCLRR_ETH1CKLPEN BIT(7) 160762306a36Sopenharmony_ci#define RCC_MP_AHB6LPENCLRR_ETH1TXLPEN BIT(8) 160862306a36Sopenharmony_ci#define RCC_MP_AHB6LPENCLRR_ETH1RXLPEN BIT(9) 160962306a36Sopenharmony_ci#define RCC_MP_AHB6LPENCLRR_ETH1MACLPEN BIT(10) 161062306a36Sopenharmony_ci#define RCC_MP_AHB6LPENCLRR_ETH1STPEN BIT(11) 161162306a36Sopenharmony_ci#define RCC_MP_AHB6LPENCLRR_FMCLPEN BIT(12) 161262306a36Sopenharmony_ci#define RCC_MP_AHB6LPENCLRR_QSPILPEN BIT(14) 161362306a36Sopenharmony_ci#define RCC_MP_AHB6LPENCLRR_SDMMC1LPEN BIT(16) 161462306a36Sopenharmony_ci#define RCC_MP_AHB6LPENCLRR_SDMMC2LPEN BIT(17) 161562306a36Sopenharmony_ci#define RCC_MP_AHB6LPENCLRR_CRC1LPEN BIT(20) 161662306a36Sopenharmony_ci#define RCC_MP_AHB6LPENCLRR_USBHLPEN BIT(24) 161762306a36Sopenharmony_ci#define RCC_MP_AHB6LPENCLRR_ETH2CKLPEN BIT(27) 161862306a36Sopenharmony_ci#define RCC_MP_AHB6LPENCLRR_ETH2TXLPEN BIT(28) 161962306a36Sopenharmony_ci#define RCC_MP_AHB6LPENCLRR_ETH2RXLPEN BIT(29) 162062306a36Sopenharmony_ci#define RCC_MP_AHB6LPENCLRR_ETH2MACLPEN BIT(30) 162162306a36Sopenharmony_ci#define RCC_MP_AHB6LPENCLRR_ETH2STPEN BIT(31) 162262306a36Sopenharmony_ci 162362306a36Sopenharmony_ci/* RCC_MP_S_AHB6LPENSETR register fields */ 162462306a36Sopenharmony_ci#define RCC_MP_S_AHB6LPENSETR_MDMALPEN BIT(0) 162562306a36Sopenharmony_ci 162662306a36Sopenharmony_ci/* RCC_MP_S_AHB6LPENCLRR register fields */ 162762306a36Sopenharmony_ci#define RCC_MP_S_AHB6LPENCLRR_MDMALPEN BIT(0) 162862306a36Sopenharmony_ci 162962306a36Sopenharmony_ci/* RCC_MP_NS_AHB6LPENSETR register fields */ 163062306a36Sopenharmony_ci#define RCC_MP_NS_AHB6LPENSETR_MDMALPEN BIT(0) 163162306a36Sopenharmony_ci 163262306a36Sopenharmony_ci/* RCC_MP_NS_AHB6LPENCLRR register fields */ 163362306a36Sopenharmony_ci#define RCC_MP_NS_AHB6LPENCLRR_MDMALPEN BIT(0) 163462306a36Sopenharmony_ci 163562306a36Sopenharmony_ci/* RCC_MP_S_AXIMLPENSETR register fields */ 163662306a36Sopenharmony_ci#define RCC_MP_S_AXIMLPENSETR_SYSRAMLPEN BIT(0) 163762306a36Sopenharmony_ci 163862306a36Sopenharmony_ci/* RCC_MP_S_AXIMLPENCLRR register fields */ 163962306a36Sopenharmony_ci#define RCC_MP_S_AXIMLPENCLRR_SYSRAMLPEN BIT(0) 164062306a36Sopenharmony_ci 164162306a36Sopenharmony_ci/* RCC_MP_NS_AXIMLPENSETR register fields */ 164262306a36Sopenharmony_ci#define RCC_MP_NS_AXIMLPENSETR_SYSRAMLPEN BIT(0) 164362306a36Sopenharmony_ci 164462306a36Sopenharmony_ci/* RCC_MP_NS_AXIMLPENCLRR register fields */ 164562306a36Sopenharmony_ci#define RCC_MP_NS_AXIMLPENCLRR_SYSRAMLPEN BIT(0) 164662306a36Sopenharmony_ci 164762306a36Sopenharmony_ci/* RCC_MP_MLAHBLPENSETR register fields */ 164862306a36Sopenharmony_ci#define RCC_MP_MLAHBLPENSETR_SRAM1LPEN BIT(0) 164962306a36Sopenharmony_ci#define RCC_MP_MLAHBLPENSETR_SRAM2LPEN BIT(1) 165062306a36Sopenharmony_ci#define RCC_MP_MLAHBLPENSETR_SRAM3LPEN BIT(2) 165162306a36Sopenharmony_ci 165262306a36Sopenharmony_ci/* RCC_MP_MLAHBLPENCLRR register fields */ 165362306a36Sopenharmony_ci#define RCC_MP_MLAHBLPENCLRR_SRAM1LPEN BIT(0) 165462306a36Sopenharmony_ci#define RCC_MP_MLAHBLPENCLRR_SRAM2LPEN BIT(1) 165562306a36Sopenharmony_ci#define RCC_MP_MLAHBLPENCLRR_SRAM3LPEN BIT(2) 165662306a36Sopenharmony_ci 165762306a36Sopenharmony_ci/* RCC_APB3SECSR register fields */ 165862306a36Sopenharmony_ci#define RCC_APB3SECSR_LPTIM2SECF 0 165962306a36Sopenharmony_ci#define RCC_APB3SECSR_LPTIM3SECF 1 166062306a36Sopenharmony_ci#define RCC_APB3SECSR_VREFSECF 13 166162306a36Sopenharmony_ci 166262306a36Sopenharmony_ci/* RCC_APB4SECSR register fields */ 166362306a36Sopenharmony_ci#define RCC_APB4SECSR_DCMIPPSECF 1 166462306a36Sopenharmony_ci#define RCC_APB4SECSR_USBPHYSECF 16 166562306a36Sopenharmony_ci 166662306a36Sopenharmony_ci/* RCC_APB5SECSR register fields */ 166762306a36Sopenharmony_ci#define RCC_APB5SECSR_RTCSECF 8 166862306a36Sopenharmony_ci#define RCC_APB5SECSR_TZCSECF 11 166962306a36Sopenharmony_ci#define RCC_APB5SECSR_ETZPCSECF 13 167062306a36Sopenharmony_ci#define RCC_APB5SECSR_IWDG1SECF 15 167162306a36Sopenharmony_ci#define RCC_APB5SECSR_BSECSECF 16 167262306a36Sopenharmony_ci#define RCC_APB5SECSR_STGENCSECF_MASK GENMASK(21, 20) 167362306a36Sopenharmony_ci#define RCC_APB5SECSR_STGENCSECF 20 167462306a36Sopenharmony_ci#define RCC_APB5SECSR_STGENROSECF 21 167562306a36Sopenharmony_ci 167662306a36Sopenharmony_ci/* RCC_APB6SECSR register fields */ 167762306a36Sopenharmony_ci#define RCC_APB6SECSR_USART1SECF 0 167862306a36Sopenharmony_ci#define RCC_APB6SECSR_USART2SECF 1 167962306a36Sopenharmony_ci#define RCC_APB6SECSR_SPI4SECF 2 168062306a36Sopenharmony_ci#define RCC_APB6SECSR_SPI5SECF 3 168162306a36Sopenharmony_ci#define RCC_APB6SECSR_I2C3SECF 4 168262306a36Sopenharmony_ci#define RCC_APB6SECSR_I2C4SECF 5 168362306a36Sopenharmony_ci#define RCC_APB6SECSR_I2C5SECF 6 168462306a36Sopenharmony_ci#define RCC_APB6SECSR_TIM12SECF 7 168562306a36Sopenharmony_ci#define RCC_APB6SECSR_TIM13SECF 8 168662306a36Sopenharmony_ci#define RCC_APB6SECSR_TIM14SECF 9 168762306a36Sopenharmony_ci#define RCC_APB6SECSR_TIM15SECF 10 168862306a36Sopenharmony_ci#define RCC_APB6SECSR_TIM16SECF 11 168962306a36Sopenharmony_ci#define RCC_APB6SECSR_TIM17SECF 12 169062306a36Sopenharmony_ci 169162306a36Sopenharmony_ci/* RCC_AHB2SECSR register fields */ 169262306a36Sopenharmony_ci#define RCC_AHB2SECSR_DMA3SECF 3 169362306a36Sopenharmony_ci#define RCC_AHB2SECSR_DMAMUX2SECF 4 169462306a36Sopenharmony_ci#define RCC_AHB2SECSR_ADC1SECF 5 169562306a36Sopenharmony_ci#define RCC_AHB2SECSR_ADC2SECF 6 169662306a36Sopenharmony_ci#define RCC_AHB2SECSR_USBOSECF 8 169762306a36Sopenharmony_ci 169862306a36Sopenharmony_ci/* RCC_AHB4SECSR register fields */ 169962306a36Sopenharmony_ci#define RCC_AHB4SECSR_TSCSECF 15 170062306a36Sopenharmony_ci 170162306a36Sopenharmony_ci/* RCC_AHB5SECSR register fields */ 170262306a36Sopenharmony_ci#define RCC_AHB5SECSR_PKASECF 2 170362306a36Sopenharmony_ci#define RCC_AHB5SECSR_SAESSECF 3 170462306a36Sopenharmony_ci#define RCC_AHB5SECSR_CRYP1SECF 4 170562306a36Sopenharmony_ci#define RCC_AHB5SECSR_HASH1SECF 5 170662306a36Sopenharmony_ci#define RCC_AHB5SECSR_RNG1SECF 6 170762306a36Sopenharmony_ci#define RCC_AHB5SECSR_BKPSRAMSECF 8 170862306a36Sopenharmony_ci 170962306a36Sopenharmony_ci/* RCC_AHB6SECSR register fields */ 171062306a36Sopenharmony_ci#define RCC_AHB6SECSR_MCESECF 1 171162306a36Sopenharmony_ci#define RCC_AHB6SECSR_FMCSECF 12 171262306a36Sopenharmony_ci#define RCC_AHB6SECSR_QSPISECF 14 171362306a36Sopenharmony_ci#define RCC_AHB6SECSR_SDMMC1SECF 16 171462306a36Sopenharmony_ci#define RCC_AHB6SECSR_SDMMC2SECF 17 171562306a36Sopenharmony_ci 171662306a36Sopenharmony_ci#define RCC_AHB6SECSR_ETH1SECF_MASK GENMASK(11, 7) 171762306a36Sopenharmony_ci#define RCC_AHB6SECSR_ETH2SECF_MASK GENMASK(31, 27) 171862306a36Sopenharmony_ci#define RCC_AHB6SECSR_ETH1SECF_SHIFT 7 171962306a36Sopenharmony_ci#define RCC_AHB6SECSR_ETH2SECF_SHIFT 27 172062306a36Sopenharmony_ci 172162306a36Sopenharmony_ci#define RCC_AHB6SECSR_ETH1CKSECF 7 172262306a36Sopenharmony_ci#define RCC_AHB6SECSR_ETH1TXSECF 8 172362306a36Sopenharmony_ci#define RCC_AHB6SECSR_ETH1RXSECF 9 172462306a36Sopenharmony_ci#define RCC_AHB6SECSR_ETH1MACSECF 10 172562306a36Sopenharmony_ci#define RCC_AHB6SECSR_ETH1STPSECF 11 172662306a36Sopenharmony_ci 172762306a36Sopenharmony_ci#define RCC_AHB6SECSR_ETH2CKSECF 27 172862306a36Sopenharmony_ci#define RCC_AHB6SECSR_ETH2TXSECF 28 172962306a36Sopenharmony_ci#define RCC_AHB6SECSR_ETH2RXSECF 29 173062306a36Sopenharmony_ci#define RCC_AHB6SECSR_ETH2MACSECF 30 173162306a36Sopenharmony_ci#define RCC_AHB6SECSR_ETH2STPSECF 31 173262306a36Sopenharmony_ci 173362306a36Sopenharmony_ci/* RCC_VERR register fields */ 173462306a36Sopenharmony_ci#define RCC_VERR_MINREV_MASK GENMASK(3, 0) 173562306a36Sopenharmony_ci#define RCC_VERR_MAJREV_MASK GENMASK(7, 4) 173662306a36Sopenharmony_ci#define RCC_VERR_MINREV_SHIFT 0 173762306a36Sopenharmony_ci#define RCC_VERR_MAJREV_SHIFT 4 173862306a36Sopenharmony_ci 173962306a36Sopenharmony_ci/* RCC_IDR register fields */ 174062306a36Sopenharmony_ci#define RCC_IDR_ID_MASK GENMASK(31, 0) 174162306a36Sopenharmony_ci#define RCC_IDR_ID_SHIFT 0 174262306a36Sopenharmony_ci 174362306a36Sopenharmony_ci/* RCC_SIDR register fields */ 174462306a36Sopenharmony_ci#define RCC_SIDR_SID_MASK GENMASK(31, 0) 174562306a36Sopenharmony_ci#define RCC_SIDR_SID_SHIFT 0 174662306a36Sopenharmony_ci 174762306a36Sopenharmony_ci#endif /* STM32MP13_RCC_H */ 174862306a36Sopenharmony_ci 1749