18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright 2014 Oleksij Rempel <linux@rempel-privat.de>
48c2ecf20Sopenharmony_ci */
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ci#ifndef _DT_BINDINGS_CLK_ASM9260_H
78c2ecf20Sopenharmony_ci#define _DT_BINDINGS_CLK_ASM9260_H
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci/* ahb gate */
108c2ecf20Sopenharmony_ci#define CLKID_AHB_ROM		0
118c2ecf20Sopenharmony_ci#define CLKID_AHB_RAM		1
128c2ecf20Sopenharmony_ci#define CLKID_AHB_GPIO		2
138c2ecf20Sopenharmony_ci#define CLKID_AHB_MAC		3
148c2ecf20Sopenharmony_ci#define CLKID_AHB_EMI		4
158c2ecf20Sopenharmony_ci#define CLKID_AHB_USB0		5
168c2ecf20Sopenharmony_ci#define CLKID_AHB_USB1		6
178c2ecf20Sopenharmony_ci#define CLKID_AHB_DMA0		7
188c2ecf20Sopenharmony_ci#define CLKID_AHB_DMA1		8
198c2ecf20Sopenharmony_ci#define CLKID_AHB_UART0		9
208c2ecf20Sopenharmony_ci#define CLKID_AHB_UART1		10
218c2ecf20Sopenharmony_ci#define CLKID_AHB_UART2		11
228c2ecf20Sopenharmony_ci#define CLKID_AHB_UART3		12
238c2ecf20Sopenharmony_ci#define CLKID_AHB_UART4		13
248c2ecf20Sopenharmony_ci#define CLKID_AHB_UART5		14
258c2ecf20Sopenharmony_ci#define CLKID_AHB_UART6		15
268c2ecf20Sopenharmony_ci#define CLKID_AHB_UART7		16
278c2ecf20Sopenharmony_ci#define CLKID_AHB_UART8		17
288c2ecf20Sopenharmony_ci#define CLKID_AHB_UART9		18
298c2ecf20Sopenharmony_ci#define CLKID_AHB_I2S0		19
308c2ecf20Sopenharmony_ci#define CLKID_AHB_I2C0		20
318c2ecf20Sopenharmony_ci#define CLKID_AHB_I2C1		21
328c2ecf20Sopenharmony_ci#define CLKID_AHB_SSP0		22
338c2ecf20Sopenharmony_ci#define CLKID_AHB_IOCONFIG	23
348c2ecf20Sopenharmony_ci#define CLKID_AHB_WDT		24
358c2ecf20Sopenharmony_ci#define CLKID_AHB_CAN0		25
368c2ecf20Sopenharmony_ci#define CLKID_AHB_CAN1		26
378c2ecf20Sopenharmony_ci#define CLKID_AHB_MPWM		27
388c2ecf20Sopenharmony_ci#define CLKID_AHB_SPI0		28
398c2ecf20Sopenharmony_ci#define CLKID_AHB_SPI1		29
408c2ecf20Sopenharmony_ci#define CLKID_AHB_QEI		30
418c2ecf20Sopenharmony_ci#define CLKID_AHB_QUADSPI0	31
428c2ecf20Sopenharmony_ci#define CLKID_AHB_CAMIF		32
438c2ecf20Sopenharmony_ci#define CLKID_AHB_LCDIF		33
448c2ecf20Sopenharmony_ci#define CLKID_AHB_TIMER0	34
458c2ecf20Sopenharmony_ci#define CLKID_AHB_TIMER1	35
468c2ecf20Sopenharmony_ci#define CLKID_AHB_TIMER2	36
478c2ecf20Sopenharmony_ci#define CLKID_AHB_TIMER3	37
488c2ecf20Sopenharmony_ci#define CLKID_AHB_IRQ		38
498c2ecf20Sopenharmony_ci#define CLKID_AHB_RTC		39
508c2ecf20Sopenharmony_ci#define CLKID_AHB_NAND		40
518c2ecf20Sopenharmony_ci#define CLKID_AHB_ADC0		41
528c2ecf20Sopenharmony_ci#define CLKID_AHB_LED		42
538c2ecf20Sopenharmony_ci#define CLKID_AHB_DAC0		43
548c2ecf20Sopenharmony_ci#define CLKID_AHB_LCD		44
558c2ecf20Sopenharmony_ci#define CLKID_AHB_I2S1		45
568c2ecf20Sopenharmony_ci#define CLKID_AHB_MAC1		46
578c2ecf20Sopenharmony_ci
588c2ecf20Sopenharmony_ci/* devider */
598c2ecf20Sopenharmony_ci#define CLKID_SYS_CPU		47
608c2ecf20Sopenharmony_ci#define CLKID_SYS_AHB		48
618c2ecf20Sopenharmony_ci#define CLKID_SYS_I2S0M		49
628c2ecf20Sopenharmony_ci#define CLKID_SYS_I2S0S		50
638c2ecf20Sopenharmony_ci#define CLKID_SYS_I2S1M		51
648c2ecf20Sopenharmony_ci#define CLKID_SYS_I2S1S		52
658c2ecf20Sopenharmony_ci#define CLKID_SYS_UART0		53
668c2ecf20Sopenharmony_ci#define CLKID_SYS_UART1		54
678c2ecf20Sopenharmony_ci#define CLKID_SYS_UART2		55
688c2ecf20Sopenharmony_ci#define CLKID_SYS_UART3		56
698c2ecf20Sopenharmony_ci#define CLKID_SYS_UART4		56
708c2ecf20Sopenharmony_ci#define CLKID_SYS_UART5		57
718c2ecf20Sopenharmony_ci#define CLKID_SYS_UART6		58
728c2ecf20Sopenharmony_ci#define CLKID_SYS_UART7		59
738c2ecf20Sopenharmony_ci#define CLKID_SYS_UART8		60
748c2ecf20Sopenharmony_ci#define CLKID_SYS_UART9		61
758c2ecf20Sopenharmony_ci#define CLKID_SYS_SPI0		62
768c2ecf20Sopenharmony_ci#define CLKID_SYS_SPI1		63
778c2ecf20Sopenharmony_ci#define CLKID_SYS_QUADSPI	64
788c2ecf20Sopenharmony_ci#define CLKID_SYS_SSP0		65
798c2ecf20Sopenharmony_ci#define CLKID_SYS_NAND		66
808c2ecf20Sopenharmony_ci#define CLKID_SYS_TRACE		67
818c2ecf20Sopenharmony_ci#define CLKID_SYS_CAMM		68
828c2ecf20Sopenharmony_ci#define CLKID_SYS_WDT		69
838c2ecf20Sopenharmony_ci#define CLKID_SYS_CLKOUT	70
848c2ecf20Sopenharmony_ci#define CLKID_SYS_MAC		71
858c2ecf20Sopenharmony_ci#define CLKID_SYS_LCD		72
868c2ecf20Sopenharmony_ci#define CLKID_SYS_ADCANA	73
878c2ecf20Sopenharmony_ci
888c2ecf20Sopenharmony_ci#define MAX_CLKS		74
898c2ecf20Sopenharmony_ci#endif
90