1d5b0e70fSEmmanuel Vadot /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2d5b0e70fSEmmanuel Vadot * 3d5b0e70fSEmmanuel Vadot * Copyright (C) 2022 Renesas Electronics Corp. 4d5b0e70fSEmmanuel Vadot */ 5d5b0e70fSEmmanuel Vadot #ifndef __DT_BINDINGS_CLOCK_R9A07G043_CPG_H__ 6d5b0e70fSEmmanuel Vadot #define __DT_BINDINGS_CLOCK_R9A07G043_CPG_H__ 7d5b0e70fSEmmanuel Vadot 8d5b0e70fSEmmanuel Vadot #include <dt-bindings/clock/renesas-cpg-mssr.h> 9d5b0e70fSEmmanuel Vadot 10d5b0e70fSEmmanuel Vadot /* R9A07G043 CPG Core Clocks */ 11d5b0e70fSEmmanuel Vadot #define R9A07G043_CLK_I 0 12d5b0e70fSEmmanuel Vadot #define R9A07G043_CLK_I2 1 13d5b0e70fSEmmanuel Vadot #define R9A07G043_CLK_S0 2 14d5b0e70fSEmmanuel Vadot #define R9A07G043_CLK_SPI0 3 15d5b0e70fSEmmanuel Vadot #define R9A07G043_CLK_SPI1 4 16d5b0e70fSEmmanuel Vadot #define R9A07G043_CLK_SD0 5 17d5b0e70fSEmmanuel Vadot #define R9A07G043_CLK_SD1 6 18d5b0e70fSEmmanuel Vadot #define R9A07G043_CLK_M0 7 19d5b0e70fSEmmanuel Vadot #define R9A07G043_CLK_M2 8 20d5b0e70fSEmmanuel Vadot #define R9A07G043_CLK_M3 9 21d5b0e70fSEmmanuel Vadot #define R9A07G043_CLK_HP 10 22d5b0e70fSEmmanuel Vadot #define R9A07G043_CLK_TSU 11 23d5b0e70fSEmmanuel Vadot #define R9A07G043_CLK_ZT 12 24d5b0e70fSEmmanuel Vadot #define R9A07G043_CLK_P0 13 25d5b0e70fSEmmanuel Vadot #define R9A07G043_CLK_P1 14 26d5b0e70fSEmmanuel Vadot #define R9A07G043_CLK_P2 15 27d5b0e70fSEmmanuel Vadot #define R9A07G043_CLK_AT 16 28d5b0e70fSEmmanuel Vadot #define R9A07G043_OSCCLK 17 29d5b0e70fSEmmanuel Vadot #define R9A07G043_CLK_P0_DIV2 18 30d5b0e70fSEmmanuel Vadot 31d5b0e70fSEmmanuel Vadot /* R9A07G043 Module Clocks */ 32d5b0e70fSEmmanuel Vadot #define R9A07G043_CA55_SCLK 0 /* RZ/G2UL Only */ 33d5b0e70fSEmmanuel Vadot #define R9A07G043_CA55_PCLK 1 /* RZ/G2UL Only */ 34d5b0e70fSEmmanuel Vadot #define R9A07G043_CA55_ATCLK 2 /* RZ/G2UL Only */ 35d5b0e70fSEmmanuel Vadot #define R9A07G043_CA55_GICCLK 3 /* RZ/G2UL Only */ 36d5b0e70fSEmmanuel Vadot #define R9A07G043_CA55_PERICLK 4 /* RZ/G2UL Only */ 37d5b0e70fSEmmanuel Vadot #define R9A07G043_CA55_ACLK 5 /* RZ/G2UL Only */ 38d5b0e70fSEmmanuel Vadot #define R9A07G043_CA55_TSCLK 6 /* RZ/G2UL Only */ 39d5b0e70fSEmmanuel Vadot #define R9A07G043_GIC600_GICCLK 7 /* RZ/G2UL Only */ 40d5b0e70fSEmmanuel Vadot #define R9A07G043_IA55_CLK 8 /* RZ/G2UL Only */ 41d5b0e70fSEmmanuel Vadot #define R9A07G043_IA55_PCLK 9 /* RZ/G2UL Only */ 42d5b0e70fSEmmanuel Vadot #define R9A07G043_MHU_PCLK 10 /* RZ/G2UL Only */ 43d5b0e70fSEmmanuel Vadot #define R9A07G043_SYC_CNT_CLK 11 44d5b0e70fSEmmanuel Vadot #define R9A07G043_DMAC_ACLK 12 45d5b0e70fSEmmanuel Vadot #define R9A07G043_DMAC_PCLK 13 46d5b0e70fSEmmanuel Vadot #define R9A07G043_OSTM0_PCLK 14 47d5b0e70fSEmmanuel Vadot #define R9A07G043_OSTM1_PCLK 15 48d5b0e70fSEmmanuel Vadot #define R9A07G043_OSTM2_PCLK 16 49d5b0e70fSEmmanuel Vadot #define R9A07G043_MTU_X_MCK_MTU3 17 50d5b0e70fSEmmanuel Vadot #define R9A07G043_POE3_CLKM_POE 18 51d5b0e70fSEmmanuel Vadot #define R9A07G043_WDT0_PCLK 19 52d5b0e70fSEmmanuel Vadot #define R9A07G043_WDT0_CLK 20 53d5b0e70fSEmmanuel Vadot #define R9A07G043_WDT2_PCLK 21 /* RZ/G2UL Only */ 54d5b0e70fSEmmanuel Vadot #define R9A07G043_WDT2_CLK 22 /* RZ/G2UL Only */ 55d5b0e70fSEmmanuel Vadot #define R9A07G043_SPI_CLK2 23 56d5b0e70fSEmmanuel Vadot #define R9A07G043_SPI_CLK 24 57d5b0e70fSEmmanuel Vadot #define R9A07G043_SDHI0_IMCLK 25 58d5b0e70fSEmmanuel Vadot #define R9A07G043_SDHI0_IMCLK2 26 59d5b0e70fSEmmanuel Vadot #define R9A07G043_SDHI0_CLK_HS 27 60d5b0e70fSEmmanuel Vadot #define R9A07G043_SDHI0_ACLK 28 61d5b0e70fSEmmanuel Vadot #define R9A07G043_SDHI1_IMCLK 29 62d5b0e70fSEmmanuel Vadot #define R9A07G043_SDHI1_IMCLK2 30 63d5b0e70fSEmmanuel Vadot #define R9A07G043_SDHI1_CLK_HS 31 64d5b0e70fSEmmanuel Vadot #define R9A07G043_SDHI1_ACLK 32 65d5b0e70fSEmmanuel Vadot #define R9A07G043_ISU_ACLK 33 /* RZ/G2UL Only */ 66d5b0e70fSEmmanuel Vadot #define R9A07G043_ISU_PCLK 34 /* RZ/G2UL Only */ 67d5b0e70fSEmmanuel Vadot #define R9A07G043_CRU_SYSCLK 35 /* RZ/G2UL Only */ 68d5b0e70fSEmmanuel Vadot #define R9A07G043_CRU_VCLK 36 /* RZ/G2UL Only */ 69d5b0e70fSEmmanuel Vadot #define R9A07G043_CRU_PCLK 37 /* RZ/G2UL Only */ 70d5b0e70fSEmmanuel Vadot #define R9A07G043_CRU_ACLK 38 /* RZ/G2UL Only */ 71d5b0e70fSEmmanuel Vadot #define R9A07G043_LCDC_CLK_A 39 /* RZ/G2UL Only */ 72d5b0e70fSEmmanuel Vadot #define R9A07G043_LCDC_CLK_P 40 /* RZ/G2UL Only */ 73d5b0e70fSEmmanuel Vadot #define R9A07G043_LCDC_CLK_D 41 /* RZ/G2UL Only */ 74d5b0e70fSEmmanuel Vadot #define R9A07G043_SSI0_PCLK2 42 75d5b0e70fSEmmanuel Vadot #define R9A07G043_SSI0_PCLK_SFR 43 76d5b0e70fSEmmanuel Vadot #define R9A07G043_SSI1_PCLK2 44 77d5b0e70fSEmmanuel Vadot #define R9A07G043_SSI1_PCLK_SFR 45 78d5b0e70fSEmmanuel Vadot #define R9A07G043_SSI2_PCLK2 46 79d5b0e70fSEmmanuel Vadot #define R9A07G043_SSI2_PCLK_SFR 47 80d5b0e70fSEmmanuel Vadot #define R9A07G043_SSI3_PCLK2 48 81d5b0e70fSEmmanuel Vadot #define R9A07G043_SSI3_PCLK_SFR 49 82d5b0e70fSEmmanuel Vadot #define R9A07G043_SRC_CLKP 50 /* RZ/G2UL Only */ 83d5b0e70fSEmmanuel Vadot #define R9A07G043_USB_U2H0_HCLK 51 84d5b0e70fSEmmanuel Vadot #define R9A07G043_USB_U2H1_HCLK 52 85d5b0e70fSEmmanuel Vadot #define R9A07G043_USB_U2P_EXR_CPUCLK 53 86d5b0e70fSEmmanuel Vadot #define R9A07G043_USB_PCLK 54 87d5b0e70fSEmmanuel Vadot #define R9A07G043_ETH0_CLK_AXI 55 88d5b0e70fSEmmanuel Vadot #define R9A07G043_ETH0_CLK_CHI 56 89d5b0e70fSEmmanuel Vadot #define R9A07G043_ETH1_CLK_AXI 57 90d5b0e70fSEmmanuel Vadot #define R9A07G043_ETH1_CLK_CHI 58 91d5b0e70fSEmmanuel Vadot #define R9A07G043_I2C0_PCLK 59 92d5b0e70fSEmmanuel Vadot #define R9A07G043_I2C1_PCLK 60 93d5b0e70fSEmmanuel Vadot #define R9A07G043_I2C2_PCLK 61 94d5b0e70fSEmmanuel Vadot #define R9A07G043_I2C3_PCLK 62 95d5b0e70fSEmmanuel Vadot #define R9A07G043_SCIF0_CLK_PCK 63 96d5b0e70fSEmmanuel Vadot #define R9A07G043_SCIF1_CLK_PCK 64 97d5b0e70fSEmmanuel Vadot #define R9A07G043_SCIF2_CLK_PCK 65 98d5b0e70fSEmmanuel Vadot #define R9A07G043_SCIF3_CLK_PCK 66 99d5b0e70fSEmmanuel Vadot #define R9A07G043_SCIF4_CLK_PCK 67 100d5b0e70fSEmmanuel Vadot #define R9A07G043_SCI0_CLKP 68 101d5b0e70fSEmmanuel Vadot #define R9A07G043_SCI1_CLKP 69 102d5b0e70fSEmmanuel Vadot #define R9A07G043_IRDA_CLKP 70 103d5b0e70fSEmmanuel Vadot #define R9A07G043_RSPI0_CLKB 71 104d5b0e70fSEmmanuel Vadot #define R9A07G043_RSPI1_CLKB 72 105d5b0e70fSEmmanuel Vadot #define R9A07G043_RSPI2_CLKB 73 106d5b0e70fSEmmanuel Vadot #define R9A07G043_CANFD_PCLK 74 107d5b0e70fSEmmanuel Vadot #define R9A07G043_GPIO_HCLK 75 108d5b0e70fSEmmanuel Vadot #define R9A07G043_ADC_ADCLK 76 109d5b0e70fSEmmanuel Vadot #define R9A07G043_ADC_PCLK 77 110d5b0e70fSEmmanuel Vadot #define R9A07G043_TSU_PCLK 78 111*b97ee269SEmmanuel Vadot #define R9A07G043_NCEPLDM_DM_CLK 79 /* RZ/Five Only */ 112*b97ee269SEmmanuel Vadot #define R9A07G043_NCEPLDM_ACLK 80 /* RZ/Five Only */ 113*b97ee269SEmmanuel Vadot #define R9A07G043_NCEPLDM_TCK 81 /* RZ/Five Only */ 114*b97ee269SEmmanuel Vadot #define R9A07G043_NCEPLMT_ACLK 82 /* RZ/Five Only */ 115*b97ee269SEmmanuel Vadot #define R9A07G043_NCEPLIC_ACLK 83 /* RZ/Five Only */ 116*b97ee269SEmmanuel Vadot #define R9A07G043_AX45MP_CORE0_CLK 84 /* RZ/Five Only */ 117*b97ee269SEmmanuel Vadot #define R9A07G043_AX45MP_ACLK 85 /* RZ/Five Only */ 118*b97ee269SEmmanuel Vadot #define R9A07G043_IAX45_CLK 86 /* RZ/Five Only */ 119*b97ee269SEmmanuel Vadot #define R9A07G043_IAX45_PCLK 87 /* RZ/Five Only */ 120d5b0e70fSEmmanuel Vadot 121d5b0e70fSEmmanuel Vadot /* R9A07G043 Resets */ 122d5b0e70fSEmmanuel Vadot #define R9A07G043_CA55_RST_1_0 0 /* RZ/G2UL Only */ 123d5b0e70fSEmmanuel Vadot #define R9A07G043_CA55_RST_1_1 1 /* RZ/G2UL Only */ 124d5b0e70fSEmmanuel Vadot #define R9A07G043_CA55_RST_3_0 2 /* RZ/G2UL Only */ 125d5b0e70fSEmmanuel Vadot #define R9A07G043_CA55_RST_3_1 3 /* RZ/G2UL Only */ 126d5b0e70fSEmmanuel Vadot #define R9A07G043_CA55_RST_4 4 /* RZ/G2UL Only */ 127d5b0e70fSEmmanuel Vadot #define R9A07G043_CA55_RST_5 5 /* RZ/G2UL Only */ 128d5b0e70fSEmmanuel Vadot #define R9A07G043_CA55_RST_6 6 /* RZ/G2UL Only */ 129d5b0e70fSEmmanuel Vadot #define R9A07G043_CA55_RST_7 7 /* RZ/G2UL Only */ 130d5b0e70fSEmmanuel Vadot #define R9A07G043_CA55_RST_8 8 /* RZ/G2UL Only */ 131d5b0e70fSEmmanuel Vadot #define R9A07G043_CA55_RST_9 9 /* RZ/G2UL Only */ 132d5b0e70fSEmmanuel Vadot #define R9A07G043_CA55_RST_10 10 /* RZ/G2UL Only */ 133d5b0e70fSEmmanuel Vadot #define R9A07G043_CA55_RST_11 11 /* RZ/G2UL Only */ 134d5b0e70fSEmmanuel Vadot #define R9A07G043_CA55_RST_12 12 /* RZ/G2UL Only */ 135d5b0e70fSEmmanuel Vadot #define R9A07G043_GIC600_GICRESET_N 13 /* RZ/G2UL Only */ 136d5b0e70fSEmmanuel Vadot #define R9A07G043_GIC600_DBG_GICRESET_N 14 /* RZ/G2UL Only */ 137d5b0e70fSEmmanuel Vadot #define R9A07G043_IA55_RESETN 15 /* RZ/G2UL Only */ 138d5b0e70fSEmmanuel Vadot #define R9A07G043_MHU_RESETN 16 /* RZ/G2UL Only */ 139d5b0e70fSEmmanuel Vadot #define R9A07G043_DMAC_ARESETN 17 140d5b0e70fSEmmanuel Vadot #define R9A07G043_DMAC_RST_ASYNC 18 141d5b0e70fSEmmanuel Vadot #define R9A07G043_SYC_RESETN 19 142d5b0e70fSEmmanuel Vadot #define R9A07G043_OSTM0_PRESETZ 20 143d5b0e70fSEmmanuel Vadot #define R9A07G043_OSTM1_PRESETZ 21 144d5b0e70fSEmmanuel Vadot #define R9A07G043_OSTM2_PRESETZ 22 145d5b0e70fSEmmanuel Vadot #define R9A07G043_MTU_X_PRESET_MTU3 23 146d5b0e70fSEmmanuel Vadot #define R9A07G043_POE3_RST_M_REG 24 147d5b0e70fSEmmanuel Vadot #define R9A07G043_WDT0_PRESETN 25 148d5b0e70fSEmmanuel Vadot #define R9A07G043_WDT2_PRESETN 26 /* RZ/G2UL Only */ 149d5b0e70fSEmmanuel Vadot #define R9A07G043_SPI_RST 27 150d5b0e70fSEmmanuel Vadot #define R9A07G043_SDHI0_IXRST 28 151d5b0e70fSEmmanuel Vadot #define R9A07G043_SDHI1_IXRST 29 152d5b0e70fSEmmanuel Vadot #define R9A07G043_ISU_ARESETN 30 /* RZ/G2UL Only */ 153d5b0e70fSEmmanuel Vadot #define R9A07G043_ISU_PRESETN 31 /* RZ/G2UL Only */ 154d5b0e70fSEmmanuel Vadot #define R9A07G043_CRU_CMN_RSTB 32 /* RZ/G2UL Only */ 155d5b0e70fSEmmanuel Vadot #define R9A07G043_CRU_PRESETN 33 /* RZ/G2UL Only */ 156d5b0e70fSEmmanuel Vadot #define R9A07G043_CRU_ARESETN 34 /* RZ/G2UL Only */ 157d5b0e70fSEmmanuel Vadot #define R9A07G043_LCDC_RESET_N 35 /* RZ/G2UL Only */ 158d5b0e70fSEmmanuel Vadot #define R9A07G043_SSI0_RST_M2_REG 36 159d5b0e70fSEmmanuel Vadot #define R9A07G043_SSI1_RST_M2_REG 37 160d5b0e70fSEmmanuel Vadot #define R9A07G043_SSI2_RST_M2_REG 38 161d5b0e70fSEmmanuel Vadot #define R9A07G043_SSI3_RST_M2_REG 39 162d5b0e70fSEmmanuel Vadot #define R9A07G043_SRC_RST 40 /* RZ/G2UL Only */ 163d5b0e70fSEmmanuel Vadot #define R9A07G043_USB_U2H0_HRESETN 41 164d5b0e70fSEmmanuel Vadot #define R9A07G043_USB_U2H1_HRESETN 42 165d5b0e70fSEmmanuel Vadot #define R9A07G043_USB_U2P_EXL_SYSRST 43 166d5b0e70fSEmmanuel Vadot #define R9A07G043_USB_PRESETN 44 167d5b0e70fSEmmanuel Vadot #define R9A07G043_ETH0_RST_HW_N 45 168d5b0e70fSEmmanuel Vadot #define R9A07G043_ETH1_RST_HW_N 46 169d5b0e70fSEmmanuel Vadot #define R9A07G043_I2C0_MRST 47 170d5b0e70fSEmmanuel Vadot #define R9A07G043_I2C1_MRST 48 171d5b0e70fSEmmanuel Vadot #define R9A07G043_I2C2_MRST 49 172d5b0e70fSEmmanuel Vadot #define R9A07G043_I2C3_MRST 50 173d5b0e70fSEmmanuel Vadot #define R9A07G043_SCIF0_RST_SYSTEM_N 51 174d5b0e70fSEmmanuel Vadot #define R9A07G043_SCIF1_RST_SYSTEM_N 52 175d5b0e70fSEmmanuel Vadot #define R9A07G043_SCIF2_RST_SYSTEM_N 53 176d5b0e70fSEmmanuel Vadot #define R9A07G043_SCIF3_RST_SYSTEM_N 54 177d5b0e70fSEmmanuel Vadot #define R9A07G043_SCIF4_RST_SYSTEM_N 55 178d5b0e70fSEmmanuel Vadot #define R9A07G043_SCI0_RST 56 179d5b0e70fSEmmanuel Vadot #define R9A07G043_SCI1_RST 57 180d5b0e70fSEmmanuel Vadot #define R9A07G043_IRDA_RST 58 181d5b0e70fSEmmanuel Vadot #define R9A07G043_RSPI0_RST 59 182d5b0e70fSEmmanuel Vadot #define R9A07G043_RSPI1_RST 60 183d5b0e70fSEmmanuel Vadot #define R9A07G043_RSPI2_RST 61 184d5b0e70fSEmmanuel Vadot #define R9A07G043_CANFD_RSTP_N 62 185d5b0e70fSEmmanuel Vadot #define R9A07G043_CANFD_RSTC_N 63 186d5b0e70fSEmmanuel Vadot #define R9A07G043_GPIO_RSTN 64 187d5b0e70fSEmmanuel Vadot #define R9A07G043_GPIO_PORT_RESETN 65 188d5b0e70fSEmmanuel Vadot #define R9A07G043_GPIO_SPARE_RESETN 66 189d5b0e70fSEmmanuel Vadot #define R9A07G043_ADC_PRESETN 67 190d5b0e70fSEmmanuel Vadot #define R9A07G043_ADC_ADRST_N 68 191d5b0e70fSEmmanuel Vadot #define R9A07G043_TSU_PRESETN 69 192*b97ee269SEmmanuel Vadot #define R9A07G043_NCEPLDM_DTM_PWR_RST_N 70 /* RZ/Five Only */ 193*b97ee269SEmmanuel Vadot #define R9A07G043_NCEPLDM_ARESETN 71 /* RZ/Five Only */ 194*b97ee269SEmmanuel Vadot #define R9A07G043_NCEPLMT_POR_RSTN 72 /* RZ/Five Only */ 195*b97ee269SEmmanuel Vadot #define R9A07G043_NCEPLMT_ARESETN 73 /* RZ/Five Only */ 196*b97ee269SEmmanuel Vadot #define R9A07G043_NCEPLIC_ARESETN 74 /* RZ/Five Only */ 197*b97ee269SEmmanuel Vadot #define R9A07G043_AX45MP_ARESETNM 75 /* RZ/Five Only */ 198*b97ee269SEmmanuel Vadot #define R9A07G043_AX45MP_ARESETNS 76 /* RZ/Five Only */ 199*b97ee269SEmmanuel Vadot #define R9A07G043_AX45MP_L2_RESETN 77 /* RZ/Five Only */ 200*b97ee269SEmmanuel Vadot #define R9A07G043_AX45MP_CORE0_RESETN 78 /* RZ/Five Only */ 201*b97ee269SEmmanuel Vadot #define R9A07G043_IAX45_RESETN 79 /* RZ/Five Only */ 202*b97ee269SEmmanuel Vadot 203d5b0e70fSEmmanuel Vadot 204d5b0e70fSEmmanuel Vadot #endif /* __DT_BINDINGS_CLOCK_R9A07G043_CPG_H__ */ 205