18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Nuvoton NPCM7xx Clock Generator binding 48c2ecf20Sopenharmony_ci * clock binding number for all clocks supportted by nuvoton,npcm7xx-clk 58c2ecf20Sopenharmony_ci * 68c2ecf20Sopenharmony_ci * Copyright (C) 2018 Nuvoton Technologies tali.perry@nuvoton.com 78c2ecf20Sopenharmony_ci * 88c2ecf20Sopenharmony_ci */ 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ci#ifndef __DT_BINDINGS_CLOCK_NPCM7XX_H 118c2ecf20Sopenharmony_ci#define __DT_BINDINGS_CLOCK_NPCM7XX_H 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci#define NPCM7XX_CLK_CPU 0 158c2ecf20Sopenharmony_ci#define NPCM7XX_CLK_GFX_PIXEL 1 168c2ecf20Sopenharmony_ci#define NPCM7XX_CLK_MC 2 178c2ecf20Sopenharmony_ci#define NPCM7XX_CLK_ADC 3 188c2ecf20Sopenharmony_ci#define NPCM7XX_CLK_AHB 4 198c2ecf20Sopenharmony_ci#define NPCM7XX_CLK_TIMER 5 208c2ecf20Sopenharmony_ci#define NPCM7XX_CLK_UART 6 218c2ecf20Sopenharmony_ci#define NPCM7XX_CLK_MMC 7 228c2ecf20Sopenharmony_ci#define NPCM7XX_CLK_SPI3 8 238c2ecf20Sopenharmony_ci#define NPCM7XX_CLK_PCI 9 248c2ecf20Sopenharmony_ci#define NPCM7XX_CLK_AXI 10 258c2ecf20Sopenharmony_ci#define NPCM7XX_CLK_APB4 11 268c2ecf20Sopenharmony_ci#define NPCM7XX_CLK_APB3 12 278c2ecf20Sopenharmony_ci#define NPCM7XX_CLK_APB2 13 288c2ecf20Sopenharmony_ci#define NPCM7XX_CLK_APB1 14 298c2ecf20Sopenharmony_ci#define NPCM7XX_CLK_APB5 15 308c2ecf20Sopenharmony_ci#define NPCM7XX_CLK_CLKOUT 16 318c2ecf20Sopenharmony_ci#define NPCM7XX_CLK_GFX 17 328c2ecf20Sopenharmony_ci#define NPCM7XX_CLK_SU 18 338c2ecf20Sopenharmony_ci#define NPCM7XX_CLK_SU48 19 348c2ecf20Sopenharmony_ci#define NPCM7XX_CLK_SDHC 20 358c2ecf20Sopenharmony_ci#define NPCM7XX_CLK_SPI0 21 368c2ecf20Sopenharmony_ci#define NPCM7XX_CLK_SPIX 22 378c2ecf20Sopenharmony_ci 388c2ecf20Sopenharmony_ci#define NPCM7XX_CLK_REFCLK 23 398c2ecf20Sopenharmony_ci#define NPCM7XX_CLK_SYSBYPCK 24 408c2ecf20Sopenharmony_ci#define NPCM7XX_CLK_MCBYPCK 25 418c2ecf20Sopenharmony_ci 428c2ecf20Sopenharmony_ci#define NPCM7XX_NUM_CLOCKS (NPCM7XX_CLK_MCBYPCK+1) 438c2ecf20Sopenharmony_ci 448c2ecf20Sopenharmony_ci#endif 45