blob: 65e6bc4eeea0b47566a1303dbb801cba4154302f [file] [log] [blame]
Jim Liuc7554572022-04-19 13:32:20 +08001/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Nuvoton NPCM7xx Clock Generator binding
4 * clock binding number for all clocks supportted 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#define NPCM7XX_CLK_CPU 0
14#define NPCM7XX_CLK_GFX_PIXEL 1
15#define NPCM7XX_CLK_MC 2
16#define NPCM7XX_CLK_ADC 3
17#define NPCM7XX_CLK_AHB 4
18#define NPCM7XX_CLK_TIMER 5
19#define NPCM7XX_CLK_UART 6
20#define NPCM7XX_CLK_MMC 7
21#define NPCM7XX_CLK_SPI3 8
22#define NPCM7XX_CLK_PCI 9
23#define NPCM7XX_CLK_AXI 10
24#define NPCM7XX_CLK_APB4 11
25#define NPCM7XX_CLK_APB3 12
26#define NPCM7XX_CLK_APB2 13
27#define NPCM7XX_CLK_APB1 14
28#define NPCM7XX_CLK_APB5 15
29#define NPCM7XX_CLK_CLKOUT 16
30#define NPCM7XX_CLK_GFX 17
31#define NPCM7XX_CLK_SU 18
32#define NPCM7XX_CLK_SU48 19
33#define NPCM7XX_CLK_SDHC 20
34#define NPCM7XX_CLK_SPI0 21
35#define NPCM7XX_CLK_SPIX 22
36#define NPCM7XX_CLK_REFCLK 23
37#define NPCM7XX_CLK_SYSBYPCK 24
38#define NPCM7XX_CLK_MCBYPCK 25
39#define NPCM7XX_CLK_PLL0 26
40#define NPCM7XX_CLK_PLL1 27
41#define NPCM7XX_CLK_PLL2 28
42#define NPCM7XX_CLK_PLL2DIV2 29
43#define NPCM7XX_NUM_CLOCKS (NPCM7XX_CLK_PLL2DIV2 + 1)
44
45#endif
46