1270866Simp/*
2270866Simp * This header provides constants for AT91 pmc status.
3270866Simp *
4270866Simp * The constants defined in this header are being used in dts.
5270866Simp *
6270866Simp * Licensed under GPLv2 or later.
7270866Simp */
8270866Simp
9270866Simp#ifndef _DT_BINDINGS_CLK_AT91_H
10270866Simp#define _DT_BINDINGS_CLK_AT91_H
11270866Simp
12270866Simp#define AT91_PMC_MOSCS		0		/* MOSCS Flag */
13270866Simp#define AT91_PMC_LOCKA		1		/* PLLA Lock */
14270866Simp#define AT91_PMC_LOCKB		2		/* PLLB Lock */
15270866Simp#define AT91_PMC_MCKRDY		3		/* Master Clock */
16270866Simp#define AT91_PMC_LOCKU		6		/* UPLL Lock */
17270866Simp#define AT91_PMC_PCKRDY(id)	(8 + (id))	/* Programmable Clock */
18270866Simp#define AT91_PMC_MOSCSELS	16		/* Main Oscillator Selection */
19270866Simp#define AT91_PMC_MOSCRCS	17		/* Main On-Chip RC */
20270866Simp#define AT91_PMC_CFDEV		18		/* Clock Failure Detector Event */
21295436Sandrew#define AT91_PMC_GCKRDY		24		/* Generated Clocks */
22270866Simp
23270866Simp#endif
24