diff options
Diffstat (limited to 'include/asm-arm')
-rw-r--r-- | include/asm-arm/arch-at91/at91_pmc.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/include/asm-arm/arch-at91/at91_pmc.h b/include/asm-arm/arch-at91/at91_pmc.h index 52cd8e5dabc9..c2b13c280155 100644 --- a/include/asm-arm/arch-at91/at91_pmc.h +++ b/include/asm-arm/arch-at91/at91_pmc.h | |||
@@ -76,10 +76,17 @@ | |||
76 | #define AT91_PMC_PRES_32 (5 << 2) | 76 | #define AT91_PMC_PRES_32 (5 << 2) |
77 | #define AT91_PMC_PRES_64 (6 << 2) | 77 | #define AT91_PMC_PRES_64 (6 << 2) |
78 | #define AT91_PMC_MDIV (3 << 8) /* Master Clock Division */ | 78 | #define AT91_PMC_MDIV (3 << 8) /* Master Clock Division */ |
79 | #define AT91_PMC_MDIV_1 (0 << 8) | 79 | #define AT91RM9200_PMC_MDIV_1 (0 << 8) /* [AT91RM9200 only] */ |
80 | #define AT91_PMC_MDIV_2 (1 << 8) | 80 | #define AT91RM9200_PMC_MDIV_2 (1 << 8) |
81 | #define AT91_PMC_MDIV_3 (2 << 8) | 81 | #define AT91RM9200_PMC_MDIV_3 (2 << 8) |
82 | #define AT91_PMC_MDIV_4 (3 << 8) | 82 | #define AT91RM9200_PMC_MDIV_4 (3 << 8) |
83 | #define AT91SAM9_PMC_MDIV_1 (0 << 8) /* [SAM9,CAP9 only] */ | ||
84 | #define AT91SAM9_PMC_MDIV_2 (1 << 8) | ||
85 | #define AT91SAM9_PMC_MDIV_4 (2 << 8) | ||
86 | #define AT91SAM9_PMC_MDIV_6 (3 << 8) | ||
87 | #define AT91_PMC_PDIV (1 << 12) /* Processor Clock Division [some SAM9 only] */ | ||
88 | #define AT91_PMC_PDIV_1 (0 << 12) | ||
89 | #define AT91_PMC_PDIV_2 (1 << 12) | ||
83 | 90 | ||
84 | #define AT91_PMC_PCKR(n) (AT91_PMC + 0x40 + ((n) * 4)) /* Programmable Clock 0-3 Registers */ | 91 | #define AT91_PMC_PCKR(n) (AT91_PMC + 0x40 + ((n) * 4)) /* Programmable Clock 0-3 Registers */ |
85 | 92 | ||