162306a36Sopenharmony_ci/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Copyright (C) 2021 Nuvoton Technologies. 462306a36Sopenharmony_ci * Author: Tomer Maimon <tomer.maimon@nuvoton.com> 562306a36Sopenharmony_ci * 662306a36Sopenharmony_ci * Device Tree binding constants for NPCM8XX clock controller. 762306a36Sopenharmony_ci */ 862306a36Sopenharmony_ci 962306a36Sopenharmony_ci#ifndef __DT_BINDINGS_CLOCK_NPCM8XX_H 1062306a36Sopenharmony_ci#define __DT_BINDINGS_CLOCK_NPCM8XX_H 1162306a36Sopenharmony_ci 1262306a36Sopenharmony_ci#define NPCM8XX_CLK_CPU 0 1362306a36Sopenharmony_ci#define NPCM8XX_CLK_GFX_PIXEL 1 1462306a36Sopenharmony_ci#define NPCM8XX_CLK_MC 2 1562306a36Sopenharmony_ci#define NPCM8XX_CLK_ADC 3 1662306a36Sopenharmony_ci#define NPCM8XX_CLK_AHB 4 1762306a36Sopenharmony_ci#define NPCM8XX_CLK_TIMER 5 1862306a36Sopenharmony_ci#define NPCM8XX_CLK_UART 6 1962306a36Sopenharmony_ci#define NPCM8XX_CLK_UART2 7 2062306a36Sopenharmony_ci#define NPCM8XX_CLK_MMC 8 2162306a36Sopenharmony_ci#define NPCM8XX_CLK_SPI3 9 2262306a36Sopenharmony_ci#define NPCM8XX_CLK_PCI 10 2362306a36Sopenharmony_ci#define NPCM8XX_CLK_AXI 11 2462306a36Sopenharmony_ci#define NPCM8XX_CLK_APB4 12 2562306a36Sopenharmony_ci#define NPCM8XX_CLK_APB3 13 2662306a36Sopenharmony_ci#define NPCM8XX_CLK_APB2 14 2762306a36Sopenharmony_ci#define NPCM8XX_CLK_APB1 15 2862306a36Sopenharmony_ci#define NPCM8XX_CLK_APB5 16 2962306a36Sopenharmony_ci#define NPCM8XX_CLK_CLKOUT 17 3062306a36Sopenharmony_ci#define NPCM8XX_CLK_GFX 18 3162306a36Sopenharmony_ci#define NPCM8XX_CLK_SU 19 3262306a36Sopenharmony_ci#define NPCM8XX_CLK_SU48 20 3362306a36Sopenharmony_ci#define NPCM8XX_CLK_SDHC 21 3462306a36Sopenharmony_ci#define NPCM8XX_CLK_SPI0 22 3562306a36Sopenharmony_ci#define NPCM8XX_CLK_SPI1 23 3662306a36Sopenharmony_ci#define NPCM8XX_CLK_SPIX 24 3762306a36Sopenharmony_ci#define NPCM8XX_CLK_RG 25 3862306a36Sopenharmony_ci#define NPCM8XX_CLK_RCP 26 3962306a36Sopenharmony_ci#define NPCM8XX_CLK_PRE_ADC 27 4062306a36Sopenharmony_ci#define NPCM8XX_CLK_ATB 28 4162306a36Sopenharmony_ci#define NPCM8XX_CLK_PRE_CLK 29 4262306a36Sopenharmony_ci#define NPCM8XX_CLK_TH 30 4362306a36Sopenharmony_ci#define NPCM8XX_CLK_REFCLK 31 4462306a36Sopenharmony_ci#define NPCM8XX_CLK_SYSBYPCK 32 4562306a36Sopenharmony_ci#define NPCM8XX_CLK_MCBYPCK 33 4662306a36Sopenharmony_ci 4762306a36Sopenharmony_ci#define NPCM8XX_NUM_CLOCKS (NPCM8XX_CLK_MCBYPCK + 1) 4862306a36Sopenharmony_ci 4962306a36Sopenharmony_ci#endif 50