1*c66ec88fSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0-or-later */ 2*c66ec88fSEmmanuel Vadot /* 3*c66ec88fSEmmanuel Vadot * Copyright (C) 2016 Cogent Embedded, Inc. 4*c66ec88fSEmmanuel Vadot */ 5*c66ec88fSEmmanuel Vadot 6*c66ec88fSEmmanuel Vadot #ifndef __DT_BINDINGS_CLOCK_R8A7792_H__ 7*c66ec88fSEmmanuel Vadot #define __DT_BINDINGS_CLOCK_R8A7792_H__ 8*c66ec88fSEmmanuel Vadot 9*c66ec88fSEmmanuel Vadot /* CPG */ 10*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_MAIN 0 11*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_PLL0 1 12*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_PLL1 2 13*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_PLL3 3 14*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_LB 4 15*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_QSPI 5 16*c66ec88fSEmmanuel Vadot 17*c66ec88fSEmmanuel Vadot /* MSTP0 */ 18*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_MSIOF0 0 19*c66ec88fSEmmanuel Vadot 20*c66ec88fSEmmanuel Vadot /* MSTP1 */ 21*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_JPU 6 22*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_TMU1 11 23*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_TMU3 21 24*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_TMU2 22 25*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_CMT0 24 26*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_TMU0 25 27*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_VSP1DU1 27 28*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_VSP1DU0 28 29*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_VSP1_SY 31 30*c66ec88fSEmmanuel Vadot 31*c66ec88fSEmmanuel Vadot /* MSTP2 */ 32*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_MSIOF1 8 33*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_SYS_DMAC1 18 34*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_SYS_DMAC0 19 35*c66ec88fSEmmanuel Vadot 36*c66ec88fSEmmanuel Vadot /* MSTP3 */ 37*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_TPU0 4 38*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_SDHI0 14 39*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_CMT1 29 40*c66ec88fSEmmanuel Vadot 41*c66ec88fSEmmanuel Vadot /* MSTP4 */ 42*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_IRQC 7 43*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_INTC_SYS 8 44*c66ec88fSEmmanuel Vadot 45*c66ec88fSEmmanuel Vadot /* MSTP5 */ 46*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_AUDIO_DMAC0 2 47*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_THERMAL 22 48*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_PWM 23 49*c66ec88fSEmmanuel Vadot 50*c66ec88fSEmmanuel Vadot /* MSTP7 */ 51*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_HSCIF1 16 52*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_HSCIF0 17 53*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_SCIF3 18 54*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_SCIF2 19 55*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_SCIF1 20 56*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_SCIF0 21 57*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_DU1 23 58*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_DU0 24 59*c66ec88fSEmmanuel Vadot 60*c66ec88fSEmmanuel Vadot /* MSTP8 */ 61*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_VIN5 4 62*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_VIN4 5 63*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_VIN3 8 64*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_VIN2 9 65*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_VIN1 10 66*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_VIN0 11 67*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_ETHERAVB 12 68*c66ec88fSEmmanuel Vadot 69*c66ec88fSEmmanuel Vadot /* MSTP9 */ 70*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_GPIO7 4 71*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_GPIO6 5 72*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_GPIO5 7 73*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_GPIO4 8 74*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_GPIO3 9 75*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_GPIO2 10 76*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_GPIO1 11 77*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_GPIO0 12 78*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_GPIO11 13 79*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_GPIO10 14 80*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_CAN1 15 81*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_CAN0 16 82*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_QSPI_MOD 17 83*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_GPIO9 19 84*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_GPIO8 21 85*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_I2C5 25 86*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_IICDVFS 26 87*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_I2C4 27 88*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_I2C3 28 89*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_I2C2 29 90*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_I2C1 30 91*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_I2C0 31 92*c66ec88fSEmmanuel Vadot 93*c66ec88fSEmmanuel Vadot /* MSTP10 */ 94*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_SSI_ALL 5 95*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_SSI4 11 96*c66ec88fSEmmanuel Vadot #define R8A7792_CLK_SSI3 12 97*c66ec88fSEmmanuel Vadot 98*c66ec88fSEmmanuel Vadot #endif /* __DT_BINDINGS_CLOCK_R8A7792_H__ */ 99