1 /* $NetBSD: cortina,gemini-clock.h,v 1.1.1.2 2017/11/30 19:40:51 jmcneill Exp $ */ 2 3 /* SPDX-License-Identifier: GPL-2.0 */ 4 #ifndef DT_BINDINGS_CORTINA_GEMINI_CLOCK_H 5 #define DT_BINDINGS_CORTINA_GEMINI_CLOCK_H 6 7 /* RTC, AHB, APB, CPU, PCI, TVC, UART clocks and 13 gates */ 8 #define GEMINI_NUM_CLKS 20 9 10 #define GEMINI_CLK_RTC 0 11 #define GEMINI_CLK_AHB 1 12 #define GEMINI_CLK_APB 2 13 #define GEMINI_CLK_CPU 3 14 #define GEMINI_CLK_PCI 4 15 #define GEMINI_CLK_TVC 5 16 #define GEMINI_CLK_UART 6 17 #define GEMINI_CLK_GATES 7 18 #define GEMINI_CLK_GATE_SECURITY 7 19 #define GEMINI_CLK_GATE_GMAC0 8 20 #define GEMINI_CLK_GATE_GMAC1 9 21 #define GEMINI_CLK_GATE_SATA0 10 22 #define GEMINI_CLK_GATE_SATA1 11 23 #define GEMINI_CLK_GATE_USB0 12 24 #define GEMINI_CLK_GATE_USB1 13 25 #define GEMINI_CLK_GATE_IDE 14 26 #define GEMINI_CLK_GATE_PCI 15 27 #define GEMINI_CLK_GATE_DDR 16 28 #define GEMINI_CLK_GATE_FLASH 17 29 #define GEMINI_CLK_GATE_TVC 18 30 #define GEMINI_CLK_GATE_BOOT 19 31 32 #endif /* DT_BINDINGS_CORTINA_GEMINI_CLOCK_H */ 33