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