18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci#ifndef DT_BINDINGS_CORTINA_GEMINI_CLOCK_H 38c2ecf20Sopenharmony_ci#define DT_BINDINGS_CORTINA_GEMINI_CLOCK_H 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci/* RTC, AHB, APB, CPU, PCI, TVC, UART clocks and 13 gates */ 68c2ecf20Sopenharmony_ci#define GEMINI_NUM_CLKS 20 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ci#define GEMINI_CLK_RTC 0 98c2ecf20Sopenharmony_ci#define GEMINI_CLK_AHB 1 108c2ecf20Sopenharmony_ci#define GEMINI_CLK_APB 2 118c2ecf20Sopenharmony_ci#define GEMINI_CLK_CPU 3 128c2ecf20Sopenharmony_ci#define GEMINI_CLK_PCI 4 138c2ecf20Sopenharmony_ci#define GEMINI_CLK_TVC 5 148c2ecf20Sopenharmony_ci#define GEMINI_CLK_UART 6 158c2ecf20Sopenharmony_ci#define GEMINI_CLK_GATES 7 168c2ecf20Sopenharmony_ci#define GEMINI_CLK_GATE_SECURITY 7 178c2ecf20Sopenharmony_ci#define GEMINI_CLK_GATE_GMAC0 8 188c2ecf20Sopenharmony_ci#define GEMINI_CLK_GATE_GMAC1 9 198c2ecf20Sopenharmony_ci#define GEMINI_CLK_GATE_SATA0 10 208c2ecf20Sopenharmony_ci#define GEMINI_CLK_GATE_SATA1 11 218c2ecf20Sopenharmony_ci#define GEMINI_CLK_GATE_USB0 12 228c2ecf20Sopenharmony_ci#define GEMINI_CLK_GATE_USB1 13 238c2ecf20Sopenharmony_ci#define GEMINI_CLK_GATE_IDE 14 248c2ecf20Sopenharmony_ci#define GEMINI_CLK_GATE_PCI 15 258c2ecf20Sopenharmony_ci#define GEMINI_CLK_GATE_DDR 16 268c2ecf20Sopenharmony_ci#define GEMINI_CLK_GATE_FLASH 17 278c2ecf20Sopenharmony_ci#define GEMINI_CLK_GATE_TVC 18 288c2ecf20Sopenharmony_ci#define GEMINI_CLK_GATE_BOOT 19 298c2ecf20Sopenharmony_ci 308c2ecf20Sopenharmony_ci#endif /* DT_BINDINGS_CORTINA_GEMINI_CLOCK_H */ 31