summaryrefslogtreecommitdiffstats
path: root/include/dt-bindings/clock/mobileye,eyeq5-clk.h
blob: f353c2988035f7c9fb84e4b59c6c4a220436454b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
/*
 * Copyright (C) 2024 Mobileye Vision Technologies Ltd.
 */

#ifndef _DT_BINDINGS_CLOCK_MOBILEYE_EYEQ5_CLK_H
#define _DT_BINDINGS_CLOCK_MOBILEYE_EYEQ5_CLK_H

#define EQ5C_PLL_CPU		0
#define EQ5C_PLL_VMP		1
#define EQ5C_PLL_PMA		2
#define EQ5C_PLL_VDI		3
#define EQ5C_PLL_DDR0		4
#define EQ5C_PLL_PCI		5
#define EQ5C_PLL_PER		6
#define EQ5C_PLL_PMAC		7
#define EQ5C_PLL_MPC		8
#define EQ5C_PLL_DDR1		9

#define EQ5C_DIV_OSPI		10

/* EQ5C_PLL_CPU children */
#define EQ5C_CPU_CORE0		11
#define EQ5C_CPU_CORE1		12
#define EQ5C_CPU_CORE2		13
#define EQ5C_CPU_CORE3		14

/* EQ5C_PLL_PER children */
#define EQ5C_PER_OCC		15
#define EQ5C_PER_UART		16
#define EQ5C_PER_SPI		17
#define EQ5C_PER_I2C		18
#define EQ5C_PER_GPIO		19
#define EQ5C_PER_EMMC		20
#define EQ5C_PER_OCC_PCI	21

#define EQ6LC_PLL_DDR		0
#define EQ6LC_PLL_CPU		1
#define EQ6LC_PLL_PER		2
#define EQ6LC_PLL_VDI		3

#define EQ6HC_CENTRAL_PLL_CPU	0
#define EQ6HC_CENTRAL_CPU_OCC	1

#define EQ6HC_WEST_PLL_PER	0
#define EQ6HC_WEST_PER_OCC	1
#define EQ6HC_WEST_PER_UART	2

#define EQ6HC_SOUTH_PLL_VDI		0
#define EQ6HC_SOUTH_PLL_PCIE		1
#define EQ6HC_SOUTH_PLL_PER		2
#define EQ6HC_SOUTH_PLL_ISP		3

#define EQ6HC_SOUTH_DIV_EMMC		4
#define EQ6HC_SOUTH_DIV_OSPI_REF	5
#define EQ6HC_SOUTH_DIV_OSPI_SYS	6
#define EQ6HC_SOUTH_DIV_TSU		7

#define EQ6HC_ACC_PLL_XNN		0
#define EQ6HC_ACC_PLL_VMP		1
#define EQ6HC_ACC_PLL_PMA		2
#define EQ6HC_ACC_PLL_MPC		3
#define EQ6HC_ACC_PLL_NOC		4

#endif