xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/clock/loongson,ls2k-clk.h (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
1cb7aa33aSEmmanuel Vadot /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2cb7aa33aSEmmanuel Vadot /*
3cb7aa33aSEmmanuel Vadot  * Author: Yinbo Zhu <zhuyinbo@loongson.cn>
4cb7aa33aSEmmanuel Vadot  * Copyright (C) 2022-2023 Loongson Technology Corporation Limited
5cb7aa33aSEmmanuel Vadot  */
6cb7aa33aSEmmanuel Vadot 
7cb7aa33aSEmmanuel Vadot #ifndef __DT_BINDINGS_CLOCK_LOONGSON2_H
8cb7aa33aSEmmanuel Vadot #define __DT_BINDINGS_CLOCK_LOONGSON2_H
9cb7aa33aSEmmanuel Vadot 
10cb7aa33aSEmmanuel Vadot #define LOONGSON2_REF_100M				0
11cb7aa33aSEmmanuel Vadot #define LOONGSON2_NODE_PLL				1
12cb7aa33aSEmmanuel Vadot #define LOONGSON2_DDR_PLL				2
13cb7aa33aSEmmanuel Vadot #define LOONGSON2_DC_PLL				3
14cb7aa33aSEmmanuel Vadot #define LOONGSON2_PIX0_PLL				4
15cb7aa33aSEmmanuel Vadot #define LOONGSON2_PIX1_PLL				5
16cb7aa33aSEmmanuel Vadot #define LOONGSON2_NODE_CLK				6
17cb7aa33aSEmmanuel Vadot #define LOONGSON2_HDA_CLK				7
18cb7aa33aSEmmanuel Vadot #define LOONGSON2_GPU_CLK				8
19cb7aa33aSEmmanuel Vadot #define LOONGSON2_DDR_CLK				9
20cb7aa33aSEmmanuel Vadot #define LOONGSON2_GMAC_CLK				10
21cb7aa33aSEmmanuel Vadot #define LOONGSON2_DC_CLK				11
22cb7aa33aSEmmanuel Vadot #define LOONGSON2_APB_CLK				12
23cb7aa33aSEmmanuel Vadot #define LOONGSON2_USB_CLK				13
24cb7aa33aSEmmanuel Vadot #define LOONGSON2_SATA_CLK				14
25cb7aa33aSEmmanuel Vadot #define LOONGSON2_PIX0_CLK				15
26cb7aa33aSEmmanuel Vadot #define LOONGSON2_PIX1_CLK				16
27*fac71e4eSEmmanuel Vadot #define LOONGSON2_BOOT_CLK				17
28*fac71e4eSEmmanuel Vadot #define LOONGSON2_CLK_END				18
29cb7aa33aSEmmanuel Vadot 
30cb7aa33aSEmmanuel Vadot #endif
31