162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Nuvoton NPCM7xx Clock Generator binding
462306a36Sopenharmony_ci * clock binding number for all clocks supported by nuvoton,npcm7xx-clk
562306a36Sopenharmony_ci *
662306a36Sopenharmony_ci * Copyright (C) 2018 Nuvoton Technologies tali.perry@nuvoton.com
762306a36Sopenharmony_ci *
862306a36Sopenharmony_ci */
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ci#ifndef __DT_BINDINGS_CLOCK_NPCM7XX_H
1162306a36Sopenharmony_ci#define __DT_BINDINGS_CLOCK_NPCM7XX_H
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ci#define NPCM7XX_CLK_CPU 0
1562306a36Sopenharmony_ci#define NPCM7XX_CLK_GFX_PIXEL 1
1662306a36Sopenharmony_ci#define NPCM7XX_CLK_MC 2
1762306a36Sopenharmony_ci#define NPCM7XX_CLK_ADC 3
1862306a36Sopenharmony_ci#define NPCM7XX_CLK_AHB 4
1962306a36Sopenharmony_ci#define NPCM7XX_CLK_TIMER 5
2062306a36Sopenharmony_ci#define NPCM7XX_CLK_UART 6
2162306a36Sopenharmony_ci#define NPCM7XX_CLK_MMC  7
2262306a36Sopenharmony_ci#define NPCM7XX_CLK_SPI3 8
2362306a36Sopenharmony_ci#define NPCM7XX_CLK_PCI  9
2462306a36Sopenharmony_ci#define NPCM7XX_CLK_AXI 10
2562306a36Sopenharmony_ci#define NPCM7XX_CLK_APB4 11
2662306a36Sopenharmony_ci#define NPCM7XX_CLK_APB3 12
2762306a36Sopenharmony_ci#define NPCM7XX_CLK_APB2 13
2862306a36Sopenharmony_ci#define NPCM7XX_CLK_APB1 14
2962306a36Sopenharmony_ci#define NPCM7XX_CLK_APB5 15
3062306a36Sopenharmony_ci#define NPCM7XX_CLK_CLKOUT 16
3162306a36Sopenharmony_ci#define NPCM7XX_CLK_GFX  17
3262306a36Sopenharmony_ci#define NPCM7XX_CLK_SU   18
3362306a36Sopenharmony_ci#define NPCM7XX_CLK_SU48 19
3462306a36Sopenharmony_ci#define NPCM7XX_CLK_SDHC 20
3562306a36Sopenharmony_ci#define NPCM7XX_CLK_SPI0 21
3662306a36Sopenharmony_ci#define NPCM7XX_CLK_SPIX 22
3762306a36Sopenharmony_ci
3862306a36Sopenharmony_ci#define NPCM7XX_CLK_REFCLK 23
3962306a36Sopenharmony_ci#define NPCM7XX_CLK_SYSBYPCK 24
4062306a36Sopenharmony_ci#define NPCM7XX_CLK_MCBYPCK 25
4162306a36Sopenharmony_ci
4262306a36Sopenharmony_ci#define NPCM7XX_NUM_CLOCKS	 (NPCM7XX_CLK_MCBYPCK+1)
4362306a36Sopenharmony_ci
4462306a36Sopenharmony_ci#endif
45