summaryrefslogtreecommitdiffstats
path: root/dts/include/dt-bindings/clock/fsl,qoriq-clockgen.h
blob: ddec7d0bdc7fe6ff97d932f2546c8524cdd9bc53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef DT_CLOCK_FSL_QORIQ_CLOCKGEN_H
#define DT_CLOCK_FSL_QORIQ_CLOCKGEN_H

#define QORIQ_CLK_SYSCLK	0
#define QORIQ_CLK_CMUX		1
#define QORIQ_CLK_HWACCEL	2
#define QORIQ_CLK_FMAN		3
#define QORIQ_CLK_PLATFORM_PLL	4
#define QORIQ_CLK_CORECLK	5

#define QORIQ_CLK_PLL_DIV(x)	((x) - 1)

#endif /* DT_CLOCK_FSL_QORIQ_CLOCKGEN_H */