Wolfram Sang | b6face4 | 2014-05-14 03:10:06 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2014 Renesas Solutions Corp. |
| 3 | * Copyright (C) 2014 Wolfram Sang, Sang Engineering <wsa@sang-engineering.com> |
| 4 | * |
| 5 | * This program is free software; you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License as published by |
| 7 | * the Free Software Foundation; version 2 of the License. |
| 8 | */ |
| 9 | |
| 10 | #ifndef __DT_BINDINGS_CLOCK_R7S72100_H__ |
| 11 | #define __DT_BINDINGS_CLOCK_R7S72100_H__ |
| 12 | |
| 13 | #define R7S72100_CLK_PLL 0 |
| 14 | |
| 15 | /* MSTP3 */ |
| 16 | #define R7S72100_CLK_MTU2 3 |
| 17 | |
| 18 | /* MSTP4 */ |
| 19 | #define R7S72100_CLK_SCIF0 7 |
| 20 | #define R7S72100_CLK_SCIF1 6 |
| 21 | #define R7S72100_CLK_SCIF2 5 |
| 22 | #define R7S72100_CLK_SCIF3 4 |
| 23 | #define R7S72100_CLK_SCIF4 3 |
| 24 | #define R7S72100_CLK_SCIF5 2 |
| 25 | #define R7S72100_CLK_SCIF6 1 |
| 26 | #define R7S72100_CLK_SCIF7 0 |
| 27 | |
Chris Brandt | cfddd3d | 2017-01-23 08:55:18 -0500 | [diff] [blame] | 28 | /* MSTP5 */ |
| 29 | #define R7S72100_CLK_OSTM0 1 |
| 30 | #define R7S72100_CLK_OSTM1 0 |
| 31 | |
Chris Brandt | 929ded3 | 2017-03-29 10:30:31 -0700 | [diff] [blame^] | 32 | /* MSTP6 */ |
| 33 | #define R7S72100_CLK_RTC 0 |
| 34 | |
Chris Brandt | 969244f | 2016-09-01 21:40:10 -0400 | [diff] [blame] | 35 | /* MSTP7 */ |
| 36 | #define R7S72100_CLK_ETHER 4 |
| 37 | |
Chris Brandt | 6c35a66 | 2016-09-15 15:34:02 -0400 | [diff] [blame] | 38 | /* MSTP8 */ |
| 39 | #define R7S72100_CLK_MMCIF 4 |
| 40 | |
Wolfram Sang | d165566 | 2014-05-14 03:10:11 +0200 | [diff] [blame] | 41 | /* MSTP9 */ |
| 42 | #define R7S72100_CLK_I2C0 7 |
| 43 | #define R7S72100_CLK_I2C1 6 |
| 44 | #define R7S72100_CLK_I2C2 5 |
| 45 | #define R7S72100_CLK_I2C3 4 |
| 46 | |
Wolfram Sang | 52eed4f | 2014-05-14 03:10:13 +0200 | [diff] [blame] | 47 | /* MSTP10 */ |
| 48 | #define R7S72100_CLK_SPI0 7 |
| 49 | #define R7S72100_CLK_SPI1 6 |
| 50 | #define R7S72100_CLK_SPI2 5 |
| 51 | #define R7S72100_CLK_SPI3 4 |
| 52 | #define R7S72100_CLK_SPI4 3 |
| 53 | |
Chris Brandt | 7c8522b | 2016-09-22 17:32:09 -0400 | [diff] [blame] | 54 | /* MSTP12 */ |
Chris Brandt | 3d2abda | 2017-01-25 15:28:10 -0500 | [diff] [blame] | 55 | #define R7S72100_CLK_SDHI00 3 |
| 56 | #define R7S72100_CLK_SDHI01 2 |
| 57 | #define R7S72100_CLK_SDHI10 1 |
| 58 | #define R7S72100_CLK_SDHI11 0 |
Chris Brandt | 7c8522b | 2016-09-22 17:32:09 -0400 | [diff] [blame] | 59 | |
Wolfram Sang | b6face4 | 2014-05-14 03:10:06 +0200 | [diff] [blame] | 60 | #endif /* __DT_BINDINGS_CLOCK_R7S72100_H__ */ |