Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | #ifndef DT_BINDINGS_CORTINA_GEMINI_CLOCK_H |
| 3 | #define DT_BINDINGS_CORTINA_GEMINI_CLOCK_H |
| 4 | |
| 5 | /* RTC, AHB, APB, CPU, PCI, TVC, UART clocks and 13 gates */ |
| 6 | #define GEMINI_NUM_CLKS 20 |
| 7 | |
| 8 | #define GEMINI_CLK_RTC 0 |
| 9 | #define GEMINI_CLK_AHB 1 |
| 10 | #define GEMINI_CLK_APB 2 |
| 11 | #define GEMINI_CLK_CPU 3 |
| 12 | #define GEMINI_CLK_PCI 4 |
| 13 | #define GEMINI_CLK_TVC 5 |
| 14 | #define GEMINI_CLK_UART 6 |
| 15 | #define GEMINI_CLK_GATES 7 |
| 16 | #define GEMINI_CLK_GATE_SECURITY 7 |
| 17 | #define GEMINI_CLK_GATE_GMAC0 8 |
| 18 | #define GEMINI_CLK_GATE_GMAC1 9 |
| 19 | #define GEMINI_CLK_GATE_SATA0 10 |
| 20 | #define GEMINI_CLK_GATE_SATA1 11 |
| 21 | #define GEMINI_CLK_GATE_USB0 12 |
| 22 | #define GEMINI_CLK_GATE_USB1 13 |
| 23 | #define GEMINI_CLK_GATE_IDE 14 |
| 24 | #define GEMINI_CLK_GATE_PCI 15 |
| 25 | #define GEMINI_CLK_GATE_DDR 16 |
| 26 | #define GEMINI_CLK_GATE_FLASH 17 |
| 27 | #define GEMINI_CLK_GATE_TVC 18 |
| 28 | #define GEMINI_CLK_GATE_BOOT 19 |
| 29 | |
| 30 | #endif /* DT_BINDINGS_CORTINA_GEMINI_CLOCK_H */ |