xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/clock/nuvoton,npcm7xx-clock.h (revision c9ccf3a32da427475985b85d7df023ccfb138c27)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Nuvoton NPCM7xx Clock Generator binding
4  * clock binding number for all clocks supported by nuvoton,npcm7xx-clk
5  *
6  * Copyright (C) 2018 Nuvoton Technologies tali.perry@nuvoton.com
7  *
8  */
9 
10 #ifndef __DT_BINDINGS_CLOCK_NPCM7XX_H
11 #define __DT_BINDINGS_CLOCK_NPCM7XX_H
12 
13 
14 #define NPCM7XX_CLK_CPU 0
15 #define NPCM7XX_CLK_GFX_PIXEL 1
16 #define NPCM7XX_CLK_MC 2
17 #define NPCM7XX_CLK_ADC 3
18 #define NPCM7XX_CLK_AHB 4
19 #define NPCM7XX_CLK_TIMER 5
20 #define NPCM7XX_CLK_UART 6
21 #define NPCM7XX_CLK_MMC  7
22 #define NPCM7XX_CLK_SPI3 8
23 #define NPCM7XX_CLK_PCI  9
24 #define NPCM7XX_CLK_AXI 10
25 #define NPCM7XX_CLK_APB4 11
26 #define NPCM7XX_CLK_APB3 12
27 #define NPCM7XX_CLK_APB2 13
28 #define NPCM7XX_CLK_APB1 14
29 #define NPCM7XX_CLK_APB5 15
30 #define NPCM7XX_CLK_CLKOUT 16
31 #define NPCM7XX_CLK_GFX  17
32 #define NPCM7XX_CLK_SU   18
33 #define NPCM7XX_CLK_SU48 19
34 #define NPCM7XX_CLK_SDHC 20
35 #define NPCM7XX_CLK_SPI0 21
36 #define NPCM7XX_CLK_SPIX 22
37 
38 #define NPCM7XX_CLK_REFCLK 23
39 #define NPCM7XX_CLK_SYSBYPCK 24
40 #define NPCM7XX_CLK_MCBYPCK 25
41 
42 #define NPCM7XX_NUM_CLOCKS	 (NPCM7XX_CLK_MCBYPCK+1)
43 
44 #endif
45