1*c66ec88fSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0-or-later */ 2*c66ec88fSEmmanuel Vadot /* 3*c66ec88fSEmmanuel Vadot * Copyright (C) 2014 Ulrich Hecht 4*c66ec88fSEmmanuel Vadot */ 5*c66ec88fSEmmanuel Vadot 6*c66ec88fSEmmanuel Vadot #ifndef __DT_BINDINGS_CLOCK_R8A7778_H__ 7*c66ec88fSEmmanuel Vadot #define __DT_BINDINGS_CLOCK_R8A7778_H__ 8*c66ec88fSEmmanuel Vadot 9*c66ec88fSEmmanuel Vadot /* CPG */ 10*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_PLLA 0 11*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_PLLB 1 12*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_B 2 13*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_OUT 3 14*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_P 4 15*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_S 5 16*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_S1 6 17*c66ec88fSEmmanuel Vadot 18*c66ec88fSEmmanuel Vadot /* MSTP0 */ 19*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_I2C0 30 20*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_I2C1 29 21*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_I2C2 28 22*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_I2C3 27 23*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_SCIF0 26 24*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_SCIF1 25 25*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_SCIF2 24 26*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_SCIF3 23 27*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_SCIF4 22 28*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_SCIF5 21 29*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_HSCIF0 19 30*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_HSCIF1 18 31*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_TMU0 16 32*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_TMU1 15 33*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_TMU2 14 34*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_SSI0 12 35*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_SSI1 11 36*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_SSI2 10 37*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_SSI3 9 38*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_SRU 8 39*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_HSPI 7 40*c66ec88fSEmmanuel Vadot 41*c66ec88fSEmmanuel Vadot /* MSTP1 */ 42*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_ETHER 14 43*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_VIN0 10 44*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_VIN1 9 45*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_USB 0 46*c66ec88fSEmmanuel Vadot 47*c66ec88fSEmmanuel Vadot /* MSTP3 */ 48*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_MMC 31 49*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_SDHI0 23 50*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_SDHI1 22 51*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_SDHI2 21 52*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_SSI4 11 53*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_SSI5 10 54*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_SSI6 9 55*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_SSI7 8 56*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_SSI8 7 57*c66ec88fSEmmanuel Vadot 58*c66ec88fSEmmanuel Vadot /* MSTP5 */ 59*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_SRU_SRC0 31 60*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_SRU_SRC1 30 61*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_SRU_SRC2 29 62*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_SRU_SRC3 28 63*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_SRU_SRC4 27 64*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_SRU_SRC5 26 65*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_SRU_SRC6 25 66*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_SRU_SRC7 24 67*c66ec88fSEmmanuel Vadot #define R8A7778_CLK_SRU_SRC8 23 68*c66ec88fSEmmanuel Vadot 69*c66ec88fSEmmanuel Vadot #endif /* __DT_BINDINGS_CLOCK_R8A7778_H__ */ 70