1c66ec88fSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0-or-later */ 2c66ec88fSEmmanuel Vadot /* 3c66ec88fSEmmanuel Vadot * Copyright (C) 2013 Horms Solutions Ltd. 4c66ec88fSEmmanuel Vadot * 5c66ec88fSEmmanuel Vadot * Contact: Simon Horman <horms@verge.net.au> 6c66ec88fSEmmanuel Vadot */ 7c66ec88fSEmmanuel Vadot 8c66ec88fSEmmanuel Vadot #ifndef __DT_BINDINGS_CLOCK_R8A7779_H__ 9c66ec88fSEmmanuel Vadot #define __DT_BINDINGS_CLOCK_R8A7779_H__ 10c66ec88fSEmmanuel Vadot 11c66ec88fSEmmanuel Vadot /* CPG */ 12c66ec88fSEmmanuel Vadot #define R8A7779_CLK_PLLA 0 13c66ec88fSEmmanuel Vadot #define R8A7779_CLK_Z 1 14c66ec88fSEmmanuel Vadot #define R8A7779_CLK_ZS 2 15c66ec88fSEmmanuel Vadot #define R8A7779_CLK_S 3 16c66ec88fSEmmanuel Vadot #define R8A7779_CLK_S1 4 17c66ec88fSEmmanuel Vadot #define R8A7779_CLK_P 5 18c66ec88fSEmmanuel Vadot #define R8A7779_CLK_B 6 19c66ec88fSEmmanuel Vadot #define R8A7779_CLK_OUT 7 20c66ec88fSEmmanuel Vadot 21c66ec88fSEmmanuel Vadot /* MSTP 0 */ 22*fac71e4eSEmmanuel Vadot #define R8A7779_CLK_PWM 5 23c66ec88fSEmmanuel Vadot #define R8A7779_CLK_HSPI 7 24c66ec88fSEmmanuel Vadot #define R8A7779_CLK_TMU2 14 25c66ec88fSEmmanuel Vadot #define R8A7779_CLK_TMU1 15 26c66ec88fSEmmanuel Vadot #define R8A7779_CLK_TMU0 16 27c66ec88fSEmmanuel Vadot #define R8A7779_CLK_HSCIF1 18 28c66ec88fSEmmanuel Vadot #define R8A7779_CLK_HSCIF0 19 29c66ec88fSEmmanuel Vadot #define R8A7779_CLK_SCIF5 21 30c66ec88fSEmmanuel Vadot #define R8A7779_CLK_SCIF4 22 31c66ec88fSEmmanuel Vadot #define R8A7779_CLK_SCIF3 23 32c66ec88fSEmmanuel Vadot #define R8A7779_CLK_SCIF2 24 33c66ec88fSEmmanuel Vadot #define R8A7779_CLK_SCIF1 25 34c66ec88fSEmmanuel Vadot #define R8A7779_CLK_SCIF0 26 35c66ec88fSEmmanuel Vadot #define R8A7779_CLK_I2C3 27 36c66ec88fSEmmanuel Vadot #define R8A7779_CLK_I2C2 28 37c66ec88fSEmmanuel Vadot #define R8A7779_CLK_I2C1 29 38c66ec88fSEmmanuel Vadot #define R8A7779_CLK_I2C0 30 39c66ec88fSEmmanuel Vadot 40c66ec88fSEmmanuel Vadot /* MSTP 1 */ 41c66ec88fSEmmanuel Vadot #define R8A7779_CLK_USB01 0 42c66ec88fSEmmanuel Vadot #define R8A7779_CLK_USB2 1 43c66ec88fSEmmanuel Vadot #define R8A7779_CLK_DU 3 44c66ec88fSEmmanuel Vadot #define R8A7779_CLK_VIN2 8 45c66ec88fSEmmanuel Vadot #define R8A7779_CLK_VIN1 9 46c66ec88fSEmmanuel Vadot #define R8A7779_CLK_VIN0 10 47c66ec88fSEmmanuel Vadot #define R8A7779_CLK_ETHER 14 48c66ec88fSEmmanuel Vadot #define R8A7779_CLK_SATA 15 49c66ec88fSEmmanuel Vadot #define R8A7779_CLK_PCIE 16 50c66ec88fSEmmanuel Vadot #define R8A7779_CLK_VIN3 20 51c66ec88fSEmmanuel Vadot 52c66ec88fSEmmanuel Vadot /* MSTP 3 */ 53c66ec88fSEmmanuel Vadot #define R8A7779_CLK_SDHI3 20 54c66ec88fSEmmanuel Vadot #define R8A7779_CLK_SDHI2 21 55c66ec88fSEmmanuel Vadot #define R8A7779_CLK_SDHI1 22 56c66ec88fSEmmanuel Vadot #define R8A7779_CLK_SDHI0 23 57c66ec88fSEmmanuel Vadot #define R8A7779_CLK_MMC1 30 58c66ec88fSEmmanuel Vadot #define R8A7779_CLK_MMC0 31 59c66ec88fSEmmanuel Vadot 60c66ec88fSEmmanuel Vadot 61c66ec88fSEmmanuel Vadot #endif /* __DT_BINDINGS_CLOCK_R8A7779_H__ */ 62