Simon Glass | 6f96785 | 2016-05-05 07:28:12 -0600 | [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 */ |
| 21 | #define AT91_PMC_GCKRDY 24 /* Generated Clocks */ |
| 22 | |
| 23 | #endif |