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