r8a7794-clock.h revision 279377
1279377Simp/* 2279377Simp * Copyright (C) 2014 Renesas Electronics Corporation 3279377Simp * Copyright 2013 Ideas On Board SPRL 4279377Simp * 5279377Simp * This program is free software; you can redistribute it and/or modify 6279377Simp * it under the terms of the GNU General Public License as published by 7279377Simp * the Free Software Foundation; either version 2 of the License, or 8279377Simp * (at your option) any later version. 9279377Simp */ 10279377Simp 11279377Simp#ifndef __DT_BINDINGS_CLOCK_R8A7794_H__ 12279377Simp#define __DT_BINDINGS_CLOCK_R8A7794_H__ 13279377Simp 14279377Simp/* CPG */ 15279377Simp#define R8A7794_CLK_MAIN 0 16279377Simp#define R8A7794_CLK_PLL0 1 17279377Simp#define R8A7794_CLK_PLL1 2 18279377Simp#define R8A7794_CLK_PLL3 3 19279377Simp#define R8A7794_CLK_LB 4 20279377Simp#define R8A7794_CLK_QSPI 5 21279377Simp#define R8A7794_CLK_SDH 6 22279377Simp#define R8A7794_CLK_SD0 7 23279377Simp#define R8A7794_CLK_Z 8 24279377Simp 25279377Simp/* MSTP0 */ 26279377Simp#define R8A7794_CLK_MSIOF0 0 27279377Simp 28279377Simp/* MSTP1 */ 29279377Simp#define R8A7794_CLK_VCP0 1 30279377Simp#define R8A7794_CLK_VPC0 3 31279377Simp#define R8A7794_CLK_TMU1 11 32279377Simp#define R8A7794_CLK_3DG 12 33279377Simp#define R8A7794_CLK_2DDMAC 15 34279377Simp#define R8A7794_CLK_FDP1_0 19 35279377Simp#define R8A7794_CLK_TMU3 21 36279377Simp#define R8A7794_CLK_TMU2 22 37279377Simp#define R8A7794_CLK_CMT0 24 38279377Simp#define R8A7794_CLK_TMU0 25 39279377Simp#define R8A7794_CLK_VSP1_DU0 28 40279377Simp#define R8A7794_CLK_VSP1_S 31 41279377Simp 42279377Simp/* MSTP2 */ 43279377Simp#define R8A7794_CLK_SCIFA2 2 44279377Simp#define R8A7794_CLK_SCIFA1 3 45279377Simp#define R8A7794_CLK_SCIFA0 4 46279377Simp#define R8A7794_CLK_MSIOF2 5 47279377Simp#define R8A7794_CLK_SCIFB0 6 48279377Simp#define R8A7794_CLK_SCIFB1 7 49279377Simp#define R8A7794_CLK_MSIOF1 8 50279377Simp#define R8A7794_CLK_SCIFB2 16 51279377Simp#define R8A7794_CLK_SYS_DMAC1 18 52279377Simp#define R8A7794_CLK_SYS_DMAC0 19 53279377Simp 54279377Simp/* MSTP3 */ 55279377Simp#define R8A7794_CLK_SDHI2 11 56279377Simp#define R8A7794_CLK_SDHI1 12 57279377Simp#define R8A7794_CLK_SDHI0 14 58279377Simp#define R8A7794_CLK_MMCIF0 15 59279377Simp#define R8A7794_CLK_CMT1 29 60279377Simp#define R8A7794_CLK_USBDMAC0 30 61279377Simp#define R8A7794_CLK_USBDMAC1 31 62279377Simp 63279377Simp/* MSTP5 */ 64279377Simp#define R8A7794_CLK_THERMAL 22 65279377Simp#define R8A7794_CLK_PWM 23 66279377Simp 67279377Simp/* MSTP7 */ 68279377Simp#define R8A7794_CLK_EHCI 3 69279377Simp#define R8A7794_CLK_HSUSB 4 70279377Simp#define R8A7794_CLK_HSCIF2 13 71279377Simp#define R8A7794_CLK_SCIF5 14 72279377Simp#define R8A7794_CLK_SCIF4 15 73279377Simp#define R8A7794_CLK_HSCIF1 16 74279377Simp#define R8A7794_CLK_HSCIF0 17 75279377Simp#define R8A7794_CLK_SCIF3 18 76279377Simp#define R8A7794_CLK_SCIF2 19 77279377Simp#define R8A7794_CLK_SCIF1 20 78279377Simp#define R8A7794_CLK_SCIF0 21 79279377Simp 80279377Simp/* MSTP8 */ 81279377Simp#define R8A7794_CLK_VIN1 10 82279377Simp#define R8A7794_CLK_VIN0 11 83279377Simp#define R8A7794_CLK_ETHER 13 84279377Simp 85279377Simp/* MSTP9 */ 86279377Simp#define R8A7794_CLK_GPIO6 5 87279377Simp#define R8A7794_CLK_GPIO5 7 88279377Simp#define R8A7794_CLK_GPIO4 8 89279377Simp#define R8A7794_CLK_GPIO3 9 90279377Simp#define R8A7794_CLK_GPIO2 10 91279377Simp#define R8A7794_CLK_GPIO1 11 92279377Simp#define R8A7794_CLK_GPIO0 12 93279377Simp#define R8A7794_CLK_QSPI_MOD 17 94279377Simp#define R8A7794_CLK_I2C5 25 95279377Simp#define R8A7794_CLK_I2C4 27 96279377Simp#define R8A7794_CLK_I2C3 28 97279377Simp#define R8A7794_CLK_I2C2 29 98279377Simp#define R8A7794_CLK_I2C1 30 99279377Simp#define R8A7794_CLK_I2C0 31 100279377Simp 101279377Simp/* MSTP11 */ 102279377Simp#define R8A7794_CLK_SCIFA3 6 103279377Simp#define R8A7794_CLK_SCIFA4 7 104279377Simp#define R8A7794_CLK_SCIFA5 8 105279377Simp 106279377Simp#endif /* __DT_BINDINGS_CLOCK_R8A7794_H__ */ 107