162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci#ifndef DT_BINDINGS_CORTINA_GEMINI_CLOCK_H
362306a36Sopenharmony_ci#define DT_BINDINGS_CORTINA_GEMINI_CLOCK_H
462306a36Sopenharmony_ci
562306a36Sopenharmony_ci/* RTC, AHB, APB, CPU, PCI, TVC, UART clocks and 13 gates */
662306a36Sopenharmony_ci#define GEMINI_NUM_CLKS 20
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci#define GEMINI_CLK_RTC 0
962306a36Sopenharmony_ci#define GEMINI_CLK_AHB 1
1062306a36Sopenharmony_ci#define GEMINI_CLK_APB 2
1162306a36Sopenharmony_ci#define GEMINI_CLK_CPU 3
1262306a36Sopenharmony_ci#define GEMINI_CLK_PCI 4
1362306a36Sopenharmony_ci#define GEMINI_CLK_TVC 5
1462306a36Sopenharmony_ci#define GEMINI_CLK_UART 6
1562306a36Sopenharmony_ci#define GEMINI_CLK_GATES 7
1662306a36Sopenharmony_ci#define GEMINI_CLK_GATE_SECURITY 7
1762306a36Sopenharmony_ci#define GEMINI_CLK_GATE_GMAC0 8
1862306a36Sopenharmony_ci#define GEMINI_CLK_GATE_GMAC1 9
1962306a36Sopenharmony_ci#define GEMINI_CLK_GATE_SATA0 10
2062306a36Sopenharmony_ci#define GEMINI_CLK_GATE_SATA1 11
2162306a36Sopenharmony_ci#define GEMINI_CLK_GATE_USB0 12
2262306a36Sopenharmony_ci#define GEMINI_CLK_GATE_USB1 13
2362306a36Sopenharmony_ci#define GEMINI_CLK_GATE_IDE 14
2462306a36Sopenharmony_ci#define GEMINI_CLK_GATE_PCI 15
2562306a36Sopenharmony_ci#define GEMINI_CLK_GATE_DDR 16
2662306a36Sopenharmony_ci#define GEMINI_CLK_GATE_FLASH 17
2762306a36Sopenharmony_ci#define GEMINI_CLK_GATE_TVC 18
2862306a36Sopenharmony_ci#define GEMINI_CLK_GATE_BOOT 19
2962306a36Sopenharmony_ci
3062306a36Sopenharmony_ci#endif /* DT_BINDINGS_CORTINA_GEMINI_CLOCK_H */
31