![]() The AT91CAP9 revC CPU has a few differences over the previous, revB CPU which was distributed in small quantities only (revA was an internal Atmel product only). This patch adds the detection routines to recognize the different AT91CAP9 revisions (based on the PMC subsystem version number), and uses them to: - activate a workaround for the external interrupts levels (on revB CPUs) - set the UDPHS_BYPASS bit (on revB CPUs) - set AT91_GPBR register address to the correct offset (0xfffffd50 on revB, 0xfffffd60 on revC) For debugging usage, the CPU revision can be found in /proc/cpuinfo on the 'Revision' line. This patch is extracted from Andrew Victor's -at91 patch (2.6.27-at91.patch) where it has been tested for the last 6 months. Signed-off-by: Stelian Pop <stelian@popies.net> Signed-off-by: Andrew Victor <linux@maxim.org.za> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> |
||
---|---|---|
.. | ||
at91_adc.h | ||
at91_aic.h | ||
at91_dbgu.h | ||
at91_mci.h | ||
at91_pio.h | ||
at91_pit.h | ||
at91_pmc.h | ||
at91_rstc.h | ||
at91_rtc.h | ||
at91_rtt.h | ||
at91_shdwc.h | ||
at91_spi.h | ||
at91_ssc.h | ||
at91_st.h | ||
at91_tc.h | ||
at91_twi.h | ||
at91_wdt.h | ||
at91cap9.h | ||
at91cap9_ddrsdr.h | ||
at91cap9_matrix.h | ||
at91rm9200.h | ||
at91rm9200_emac.h | ||
at91rm9200_mc.h | ||
at91sam9_sdramc.h | ||
at91sam9_smc.h | ||
at91sam9rl.h | ||
at91sam9rl_matrix.h | ||
at91sam9260.h | ||
at91sam9260_matrix.h | ||
at91sam9261.h | ||
at91sam9261_matrix.h | ||
at91sam9263.h | ||
at91sam9263_matrix.h | ||
at91x40.h | ||
board.h | ||
cpu.h | ||
debug-macro.S | ||
entry-macro.S | ||
gpio.h | ||
hardware.h | ||
io.h | ||
irqs.h | ||
memory.h | ||
system.h | ||
timex.h | ||
uncompress.h | ||
vmalloc.h |