18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * ARTPEC-6 clock controller indexes
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * Copyright 2016 Axis Comunications AB.
68c2ecf20Sopenharmony_ci */
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci#ifndef DT_BINDINGS_CLK_ARTPEC6_CLKCTRL_H
98c2ecf20Sopenharmony_ci#define DT_BINDINGS_CLK_ARTPEC6_CLKCTRL_H
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci#define ARTPEC6_CLK_CPU			0
128c2ecf20Sopenharmony_ci#define ARTPEC6_CLK_CPU_PERIPH		1
138c2ecf20Sopenharmony_ci#define ARTPEC6_CLK_NAND_CLKA		2
148c2ecf20Sopenharmony_ci#define ARTPEC6_CLK_NAND_CLKB		3
158c2ecf20Sopenharmony_ci#define ARTPEC6_CLK_ETH_ACLK		4
168c2ecf20Sopenharmony_ci#define ARTPEC6_CLK_DMA_ACLK		5
178c2ecf20Sopenharmony_ci#define ARTPEC6_CLK_PTP_REF		6
188c2ecf20Sopenharmony_ci#define ARTPEC6_CLK_SD_PCLK		7
198c2ecf20Sopenharmony_ci#define ARTPEC6_CLK_SD_IMCLK		8
208c2ecf20Sopenharmony_ci#define ARTPEC6_CLK_I2S_HST		9
218c2ecf20Sopenharmony_ci#define ARTPEC6_CLK_I2S0_CLK		10
228c2ecf20Sopenharmony_ci#define ARTPEC6_CLK_I2S1_CLK		11
238c2ecf20Sopenharmony_ci#define ARTPEC6_CLK_UART_PCLK		12
248c2ecf20Sopenharmony_ci#define ARTPEC6_CLK_UART_REFCLK		13
258c2ecf20Sopenharmony_ci#define ARTPEC6_CLK_I2C			14
268c2ecf20Sopenharmony_ci#define ARTPEC6_CLK_SPI_PCLK		15
278c2ecf20Sopenharmony_ci#define ARTPEC6_CLK_SPI_SSPCLK		16
288c2ecf20Sopenharmony_ci#define ARTPEC6_CLK_SYS_TIMER		17
298c2ecf20Sopenharmony_ci#define ARTPEC6_CLK_FRACDIV_IN		18
308c2ecf20Sopenharmony_ci#define ARTPEC6_CLK_DBG_PCLK		19
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_ci/* This must be the highest clock index plus one. */
338c2ecf20Sopenharmony_ci#define ARTPEC6_CLK_NUMCLOCKS		20
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_ci#endif
36