1262569Simp/*
2262569Simp * This header provides constants for AT91 pmc status.
3262569Simp *
4262569Simp * The constants defined in this header are being used in dts.
5262569Simp *
6262569Simp * Licensed under GPLv2 or later.
7262569Simp */
8262569Simp
9262569Simp#ifndef _DT_BINDINGS_CLK_AT91_H
10262569Simp#define _DT_BINDINGS_CLK_AT91_H
11262569Simp
12262569Simp#define AT91_PMC_MOSCS		0		/* MOSCS Flag */
13262569Simp#define AT91_PMC_LOCKA		1		/* PLLA Lock */
14262569Simp#define AT91_PMC_LOCKB		2		/* PLLB Lock */
15262569Simp#define AT91_PMC_MCKRDY		3		/* Master Clock */
16262569Simp#define AT91_PMC_LOCKU		6		/* UPLL Lock */
17262569Simp#define AT91_PMC_PCKRDY(id)	(8 + (id))	/* Programmable Clock */
18262569Simp#define AT91_PMC_MOSCSELS	16		/* Main Oscillator Selection */
19262569Simp#define AT91_PMC_MOSCRCS	17		/* Main On-Chip RC */
20262569Simp#define AT91_PMC_CFDEV		18		/* Clock Failure Detector Event */
21262569Simp
22262569Simp#endif
23