forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
…/git/hskinnemoen/avr32-2.6 * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hskinnemoen/avr32-2.6: [AVR32] Initialize phy_mask for both macb devices [AVR32] Fix atomic_add_unless() and atomic_sub_unless() [AVR32] Correct misspelled CONFIG_BLK_DEV_INITRD variable. [AVR32] Fix build error in parse_tag_rdimg() [AVR32] Don't wire up macb0 unless SW6 is in default position [AVR32] Wire up SSC platform device 0 as TX on ATSTK1000 board [AVR32] Add Atmel SSC driver platform device to AT32AP architecture [AVR32] Remove optimization of unaligned word loads [AVR32] Make STK1000 mux settings configurable [AVR32] CPU frequency scaling for AT32AP [AVR32] Split SM device into PM, RTC, WDT and EIC [AVR32] faster avr32 unaligned access
- Loading branch information
Showing
15 changed files
with
751 additions
and
479 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# STK1000 customization | ||
|
||
if BOARD_ATSTK1002 | ||
|
||
config BOARD_ATSTK1002_CUSTOM | ||
bool "Non-default STK-1002 jumper settings" | ||
help | ||
You will normally leave the jumpers on the CPU card at their | ||
default settings. If you need to use certain peripherals, | ||
you will need to change some of those jumpers. | ||
|
||
if BOARD_ATSTK1002_CUSTOM | ||
|
||
config BOARD_ATSTK1002_SW1_CUSTOM | ||
bool "SW1: use SSC1 (not SPI0)" | ||
help | ||
This also prevents using the external DAC as an audio interface, | ||
and means you can't initialize the on-board QVGA display. | ||
|
||
config BOARD_ATSTK1002_SW2_CUSTOM | ||
bool "SW2: use IRDA or TIMER0 (not UART-A, MMC/SD, and PS2-A)" | ||
help | ||
If you change this you'll want an updated boot loader putting | ||
the console on UART-C not UART-A. | ||
|
||
config BOARD_ATSTK1002_SW3_CUSTOM | ||
bool "SW3: use TIMER1 (not SSC0 and GCLK)" | ||
help | ||
This also prevents using the external DAC as an audio interface. | ||
|
||
config BOARD_ATSTK1002_SW4_CUSTOM | ||
bool "SW4: use ISI/Camera (not GPIOs, SPI1, and PS2-B)" | ||
help | ||
To use the camera interface you'll need a custom card (on the | ||
PCI-format connector) connect a video sensor. | ||
|
||
config BOARD_ATSTK1002_SW5_CUSTOM | ||
bool "SW5: use MACB1 (not LCDC)" | ||
|
||
config BOARD_ATSTK1002_SW6_CUSTOM | ||
bool "SW6: more GPIOs (not MACB0)" | ||
|
||
endif # custom | ||
|
||
config BOARD_ATSTK1002_SPI1 | ||
bool "Configure SPI1 controller" | ||
depends on !BOARD_ATSTK1002_SW4_CUSTOM | ||
help | ||
All the signals for the second SPI controller are available on | ||
GPIO lines and accessed through the J1 jumper block. Say "y" | ||
here to configure that SPI controller. | ||
|
||
endif # stk 1002 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
obj-y += at32ap.o clock.o intc.o extint.o pio.o hsmc.o | ||
obj-$(CONFIG_CPU_AT32AP7000) += at32ap7000.o | ||
obj-$(CONFIG_CPU_AT32AP7000) += time-tc.o | ||
obj-$(CONFIG_CPU_FREQ_AT32AP) += cpufreq.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.