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