Boris BREZILLON | 7e682b4 | 2013-10-11 10:41:25 +0200 | [diff] [blame] | 1 | /* |
| 2 | * This header provides constants for AT91 pmc status. |
| 3 | * |
| 4 | * The constants defined in this header are being used in dts. |
| 5 | * |
| 6 | * Licensed under GPLv2 or later. |
| 7 | */ |
| 8 | |
| 9 | #ifndef _DT_BINDINGS_CLK_AT91_H |
| 10 | #define _DT_BINDINGS_CLK_AT91_H |
| 11 | |
| 12 | #define AT91_PMC_MOSCS 0 /* MOSCS Flag */ |
| 13 | #define AT91_PMC_LOCKA 1 /* PLLA Lock */ |
| 14 | #define AT91_PMC_LOCKB 2 /* PLLB Lock */ |
| 15 | #define AT91_PMC_MCKRDY 3 /* Master Clock */ |
| 16 | #define AT91_PMC_LOCKU 6 /* UPLL Lock */ |
| 17 | #define AT91_PMC_PCKRDY(id) (8 + (id)) /* Programmable Clock */ |
| 18 | #define AT91_PMC_MOSCSELS 16 /* Main Oscillator Selection */ |
| 19 | #define AT91_PMC_MOSCRCS 17 /* Main On-Chip RC */ |
| 20 | #define AT91_PMC_CFDEV 18 /* Clock Failure Detector Event */ |
Nicolas Ferre | a5752e5 | 2015-06-18 14:43:29 +0200 | [diff] [blame] | 21 | #define AT91_PMC_GCKRDY 24 /* Generated Clocks */ |
Boris BREZILLON | 7e682b4 | 2013-10-11 10:41:25 +0200 | [diff] [blame] | 22 | |
| 23 | #endif |