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