1 /* 2 * Copyright (C) 2014 Ulrich Hecht 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published by 6 * the Free Software Foundation; either version 2 of the License, or 7 * (at your option) any later version. 8 */ 9 10 #ifndef __DT_BINDINGS_CLOCK_R8A7778_H__ 11 #define __DT_BINDINGS_CLOCK_R8A7778_H__ 12 13 /* CPG */ 14 #define R8A7778_CLK_PLLA 0 15 #define R8A7778_CLK_PLLB 1 16 #define R8A7778_CLK_B 2 17 #define R8A7778_CLK_OUT 3 18 #define R8A7778_CLK_P 4 19 #define R8A7778_CLK_S 5 20 #define R8A7778_CLK_S1 6 21 22 /* MSTP0 */ 23 #define R8A7778_CLK_I2C0 30 24 #define R8A7778_CLK_I2C1 29 25 #define R8A7778_CLK_I2C2 28 26 #define R8A7778_CLK_I2C3 27 27 #define R8A7778_CLK_SCIF0 26 28 #define R8A7778_CLK_SCIF1 25 29 #define R8A7778_CLK_SCIF2 24 30 #define R8A7778_CLK_SCIF3 23 31 #define R8A7778_CLK_SCIF4 22 32 #define R8A7778_CLK_SCIF5 21 33 #define R8A7778_CLK_HSCIF0 19 34 #define R8A7778_CLK_HSCIF1 18 35 #define R8A7778_CLK_TMU0 16 36 #define R8A7778_CLK_TMU1 15 37 #define R8A7778_CLK_TMU2 14 38 #define R8A7778_CLK_SSI0 12 39 #define R8A7778_CLK_SSI1 11 40 #define R8A7778_CLK_SSI2 10 41 #define R8A7778_CLK_SSI3 9 42 #define R8A7778_CLK_SRU 8 43 #define R8A7778_CLK_HSPI 7 44 45 /* MSTP1 */ 46 #define R8A7778_CLK_ETHER 14 47 #define R8A7778_CLK_VIN0 10 48 #define R8A7778_CLK_VIN1 9 49 #define R8A7778_CLK_USB 0 50 51 /* MSTP3 */ 52 #define R8A7778_CLK_MMC 31 53 #define R8A7778_CLK_SDHI0 23 54 #define R8A7778_CLK_SDHI1 22 55 #define R8A7778_CLK_SDHI2 21 56 #define R8A7778_CLK_SSI4 11 57 #define R8A7778_CLK_SSI5 10 58 #define R8A7778_CLK_SSI6 9 59 #define R8A7778_CLK_SSI7 8 60 #define R8A7778_CLK_SSI8 7 61 62 /* MSTP5 */ 63 #define R8A7778_CLK_SRU_SRC0 31 64 #define R8A7778_CLK_SRU_SRC1 30 65 #define R8A7778_CLK_SRU_SRC2 29 66 #define R8A7778_CLK_SRU_SRC3 28 67 #define R8A7778_CLK_SRU_SRC4 27 68 #define R8A7778_CLK_SRU_SRC5 26 69 #define R8A7778_CLK_SRU_SRC6 25 70 #define R8A7778_CLK_SRU_SRC7 24 71 #define R8A7778_CLK_SRU_SRC8 23 72 73 #endif /* __DT_BINDINGS_CLOCK_R8A7778_H__ */ 74