aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHaavard Skinnemoen <hskinnemoen@atmel.com>2007-10-29 12:03:26 -0400
committerHaavard Skinnemoen <hskinnemoen@atmel.com>2008-01-25 02:31:42 -0500
commit78693e47a285dbfafabc85a42797660e4fe2967b (patch)
tree9de9a4e63f059b1d91d748660f3935c5581abe4e
parent64d81052671bc2e66efd46251883f5e8e3043db9 (diff)
[AVR32] Add support for ATSTK1003 and ATSTK1004
ATSTK1003 and ATSTK1004 are CPU daughterboards for ATSTK1000 featuring the AT32AP7001 and AT32AP7002 CPUs, respectively. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
-rw-r--r--arch/avr32/Kconfig6
-rw-r--r--arch/avr32/boards/atstk1000/Kconfig28
-rw-r--r--arch/avr32/boards/atstk1000/Makefile2
-rw-r--r--arch/avr32/boards/atstk1000/atstk1002.c14
-rw-r--r--arch/avr32/boards/atstk1000/atstk1003.c162
-rw-r--r--arch/avr32/boards/atstk1000/atstk1004.c147
-rw-r--r--arch/avr32/configs/atstk1003_defconfig1015
-rw-r--r--arch/avr32/configs/atstk1004_defconfig621
8 files changed, 1975 insertions, 20 deletions
diff --git a/arch/avr32/Kconfig b/arch/avr32/Kconfig
index e37e6b92658d..52283f76c304 100644
--- a/arch/avr32/Kconfig
+++ b/arch/avr32/Kconfig
@@ -110,6 +110,10 @@ endchoice
110# CPU Daughterboards for ATSTK1000 110# CPU Daughterboards for ATSTK1000
111config BOARD_ATSTK1002 111config BOARD_ATSTK1002
112 bool 112 bool
113config BOARD_ATSTK1003
114 bool
115config BOARD_ATSTK1004
116 bool
113 117
114choice 118choice
115 prompt "AVR32 board type" 119 prompt "AVR32 board type"
@@ -118,6 +122,8 @@ choice
118config BOARD_ATSTK1000 122config BOARD_ATSTK1000
119 bool "ATSTK1000 evaluation board" 123 bool "ATSTK1000 evaluation board"
120 select BOARD_ATSTK1002 if CPU_AT32AP7000 124 select BOARD_ATSTK1002 if CPU_AT32AP7000
125 select BOARD_ATSTK1003 if CPU_AT32AP7001
126 select BOARD_ATSTK1004 if CPU_AT32AP7002
121 127
122config BOARD_ATNGW100 128config BOARD_ATNGW100
123 bool "ATNGW100 Network Gateway" 129 bool "ATNGW100 Network Gateway"
diff --git a/arch/avr32/boards/atstk1000/Kconfig b/arch/avr32/boards/atstk1000/Kconfig
index 23e8c84f0237..28c47802a560 100644
--- a/arch/avr32/boards/atstk1000/Kconfig
+++ b/arch/avr32/boards/atstk1000/Kconfig
@@ -1,34 +1,34 @@
1# STK1000 customization 1# STK1000 customization
2 2
3if BOARD_ATSTK1002 3if BOARD_ATSTK1000
4 4
5config BOARD_ATSTK1002_CUSTOM 5config BOARD_ATSTK100X_CUSTOM
6 bool "Non-default STK-1002 jumper settings" 6 bool "Non-default STK1002/STK1003/STK1004 jumper settings"
7 help 7 help
8 You will normally leave the jumpers on the CPU card at their 8 You will normally leave the jumpers on the CPU card at their
9 default settings. If you need to use certain peripherals, 9 default settings. If you need to use certain peripherals,
10 you will need to change some of those jumpers. 10 you will need to change some of those jumpers.
11 11
12if BOARD_ATSTK1002_CUSTOM 12if BOARD_ATSTK100X_CUSTOM
13 13
14config BOARD_ATSTK1002_SW1_CUSTOM 14config BOARD_ATSTK100X_SW1_CUSTOM
15 bool "SW1: use SSC1 (not SPI0)" 15 bool "SW1: use SSC1 (not SPI0)"
16 help 16 help
17 This also prevents using the external DAC as an audio interface, 17 This also prevents using the external DAC as an audio interface,
18 and means you can't initialize the on-board QVGA display. 18 and means you can't initialize the on-board QVGA display.
19 19
20config BOARD_ATSTK1002_SW2_CUSTOM 20config BOARD_ATSTK100X_SW2_CUSTOM
21 bool "SW2: use IRDA or TIMER0 (not UART-A, MMC/SD, and PS2-A)" 21 bool "SW2: use IRDA or TIMER0 (not UART-A, MMC/SD, and PS2-A)"
22 help 22 help
23 If you change this you'll want an updated boot loader putting 23 If you change this you'll want an updated boot loader putting
24 the console on UART-C not UART-A. 24 the console on UART-C not UART-A.
25 25
26config BOARD_ATSTK1002_SW3_CUSTOM 26config BOARD_ATSTK100X_SW3_CUSTOM
27 bool "SW3: use TIMER1 (not SSC0 and GCLK)" 27 bool "SW3: use TIMER1 (not SSC0 and GCLK)"
28 help 28 help
29 This also prevents using the external DAC as an audio interface. 29 This also prevents using the external DAC as an audio interface.
30 30
31config BOARD_ATSTK1002_SW4_CUSTOM 31config BOARD_ATSTK100X_SW4_CUSTOM
32 bool "SW4: use ISI/Camera (not GPIOs, SPI1, and PS2-B)" 32 bool "SW4: use ISI/Camera (not GPIOs, SPI1, and PS2-B)"
33 help 33 help
34 To use the camera interface you'll need a custom card (on the 34 To use the camera interface you'll need a custom card (on the
@@ -36,15 +36,17 @@ config BOARD_ATSTK1002_SW4_CUSTOM
36 36
37config BOARD_ATSTK1002_SW5_CUSTOM 37config BOARD_ATSTK1002_SW5_CUSTOM
38 bool "SW5: use MACB1 (not LCDC)" 38 bool "SW5: use MACB1 (not LCDC)"
39 depends on BOARD_ATSTK1002
39 40
40config BOARD_ATSTK1002_SW6_CUSTOM 41config BOARD_ATSTK1002_SW6_CUSTOM
41 bool "SW6: more GPIOs (not MACB0)" 42 bool "SW6: more GPIOs (not MACB0)"
43 depends on BOARD_ATSTK1002
42 44
43endif # custom 45endif # custom
44 46
45config BOARD_ATSTK1002_SPI1 47config BOARD_ATSTK100X_SPI1
46 bool "Configure SPI1 controller" 48 bool "Configure SPI1 controller"
47 depends on !BOARD_ATSTK1002_SW4_CUSTOM 49 depends on !BOARD_ATSTK100X_SW4_CUSTOM
48 help 50 help
49 All the signals for the second SPI controller are available on 51 All the signals for the second SPI controller are available on
50 GPIO lines and accessed through the J1 jumper block. Say "y" 52 GPIO lines and accessed through the J1 jumper block. Say "y"
@@ -56,7 +58,7 @@ config BOARD_ATSTK1000_J2_LED
56 58
57choice 59choice
58 prompt "LEDs connected to J2:" 60 prompt "LEDs connected to J2:"
59 depends on LEDS_GPIO && !BOARD_ATSTK1002_SW4_CUSTOM 61 depends on LEDS_GPIO && !BOARD_ATSTK100X_SW4_CUSTOM
60 optional 62 optional
61 help 63 help
62 Select this if you have jumpered the J2 jumper block to the 64 Select this if you have jumpered the J2 jumper block to the
@@ -78,7 +80,7 @@ endchoice
78 80
79config BOARD_ATSTK1000_EXTDAC 81config BOARD_ATSTK1000_EXTDAC
80 bool 82 bool
81 depends on !BOARD_ATSTK1002_SW1_CUSTOM && !BOARD_ATSTK1002_SW3_CUSTOM 83 depends on !BOARD_ATSTK100X_SW1_CUSTOM && !BOARD_ATSTK100X_SW3_CUSTOM
82 default y 84 default y
83 85
84endif # stk 1002 86endif # stk 1000
diff --git a/arch/avr32/boards/atstk1000/Makefile b/arch/avr32/boards/atstk1000/Makefile
index 8e0992201bb9..beead86462e8 100644
--- a/arch/avr32/boards/atstk1000/Makefile
+++ b/arch/avr32/boards/atstk1000/Makefile
@@ -1,2 +1,4 @@
1obj-y += setup.o flash.o 1obj-y += setup.o flash.o
2obj-$(CONFIG_BOARD_ATSTK1002) += atstk1002.o 2obj-$(CONFIG_BOARD_ATSTK1002) += atstk1002.o
3obj-$(CONFIG_BOARD_ATSTK1003) += atstk1003.o
4obj-$(CONFIG_BOARD_ATSTK1004) += atstk1004.o
diff --git a/arch/avr32/boards/atstk1000/atstk1002.c b/arch/avr32/boards/atstk1000/atstk1002.c
index 57f610ea30df..000eb4220a12 100644
--- a/arch/avr32/boards/atstk1000/atstk1002.c
+++ b/arch/avr32/boards/atstk1000/atstk1002.c
@@ -55,7 +55,7 @@ static struct at73c213_board_info at73c213_data = {
55}; 55};
56#endif 56#endif
57 57
58#ifndef CONFIG_BOARD_ATSTK1002_SW1_CUSTOM 58#ifndef CONFIG_BOARD_ATSTK100X_SW1_CUSTOM
59static struct spi_board_info spi0_board_info[] __initdata = { 59static struct spi_board_info spi0_board_info[] __initdata = {
60#ifdef CONFIG_BOARD_ATSTK1000_EXTDAC 60#ifdef CONFIG_BOARD_ATSTK1000_EXTDAC
61 { 61 {
@@ -77,7 +77,7 @@ static struct spi_board_info spi0_board_info[] __initdata = {
77}; 77};
78#endif 78#endif
79 79
80#ifdef CONFIG_BOARD_ATSTK1002_SPI1 80#ifdef CONFIG_BOARD_ATSTK100X_SPI1
81static struct spi_board_info spi1_board_info[] __initdata = { { 81static struct spi_board_info spi1_board_info[] __initdata = { {
82 /* patch in custom entries here */ 82 /* patch in custom entries here */
83} }; 83} };
@@ -175,7 +175,7 @@ static void __init atstk1002_setup_extdac(void)
175 175
176void __init setup_board(void) 176void __init setup_board(void)
177{ 177{
178#ifdef CONFIG_BOARD_ATSTK1002_SW2_CUSTOM 178#ifdef CONFIG_BOARD_ATSTK100X_SW2_CUSTOM
179 at32_map_usart(0, 1); /* USART 0/B: /dev/ttyS1, IRDA */ 179 at32_map_usart(0, 1); /* USART 0/B: /dev/ttyS1, IRDA */
180#else 180#else
181 at32_map_usart(1, 0); /* USART 1/A: /dev/ttyS0, DB9 */ 181 at32_map_usart(1, 0); /* USART 1/A: /dev/ttyS0, DB9 */
@@ -212,7 +212,7 @@ static int __init atstk1002_init(void)
212 212
213 at32_add_system_devices(); 213 at32_add_system_devices();
214 214
215#ifdef CONFIG_BOARD_ATSTK1002_SW2_CUSTOM 215#ifdef CONFIG_BOARD_ATSTK100X_SW2_CUSTOM
216 at32_add_device_usart(1); 216 at32_add_device_usart(1);
217#else 217#else
218 at32_add_device_usart(0); 218 at32_add_device_usart(0);
@@ -222,10 +222,10 @@ static int __init atstk1002_init(void)
222#ifndef CONFIG_BOARD_ATSTK1002_SW6_CUSTOM 222#ifndef CONFIG_BOARD_ATSTK1002_SW6_CUSTOM
223 set_hw_addr(at32_add_device_eth(0, &eth_data[0])); 223 set_hw_addr(at32_add_device_eth(0, &eth_data[0]));
224#endif 224#endif
225#ifndef CONFIG_BOARD_ATSTK1002_SW1_CUSTOM 225#ifndef CONFIG_BOARD_ATSTK100X_SW1_CUSTOM
226 at32_add_device_spi(0, spi0_board_info, ARRAY_SIZE(spi0_board_info)); 226 at32_add_device_spi(0, spi0_board_info, ARRAY_SIZE(spi0_board_info));
227#endif 227#endif
228#ifdef CONFIG_BOARD_ATSTK1002_SPI1 228#ifdef CONFIG_BOARD_ATSTK100X_SPI1
229 at32_add_device_spi(1, spi1_board_info, ARRAY_SIZE(spi1_board_info)); 229 at32_add_device_spi(1, spi1_board_info, ARRAY_SIZE(spi1_board_info));
230#endif 230#endif
231#ifdef CONFIG_BOARD_ATSTK1002_SW5_CUSTOM 231#ifdef CONFIG_BOARD_ATSTK1002_SW5_CUSTOM
@@ -235,7 +235,7 @@ static int __init atstk1002_init(void)
235 fbmem_start, fbmem_size); 235 fbmem_start, fbmem_size);
236#endif 236#endif
237 at32_add_device_usba(0, NULL); 237 at32_add_device_usba(0, NULL);
238#ifndef CONFIG_BOARD_ATSTK1002_SW3_CUSTOM 238#ifndef CONFIG_BOARD_ATSTK100X_SW3_CUSTOM
239 at32_add_device_ssc(0, ATMEL_SSC_TX); 239 at32_add_device_ssc(0, ATMEL_SSC_TX);
240#endif 240#endif
241 241
diff --git a/arch/avr32/boards/atstk1000/atstk1003.c b/arch/avr32/boards/atstk1000/atstk1003.c
new file mode 100644
index 000000000000..a0b223df35a2
--- /dev/null
+++ b/arch/avr32/boards/atstk1000/atstk1003.c
@@ -0,0 +1,162 @@
1/*
2 * ATSTK1003 daughterboard-specific init code
3 *
4 * Copyright (C) 2007 Atmel Corporation
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10#include <linux/clk.h>
11#include <linux/err.h>
12#include <linux/init.h>
13#include <linux/kernel.h>
14#include <linux/platform_device.h>
15#include <linux/string.h>
16#include <linux/types.h>
17
18#include <linux/spi/at73c213.h>
19#include <linux/spi/spi.h>
20
21#include <asm/setup.h>
22
23#include <asm/arch/at32ap700x.h>
24#include <asm/arch/board.h>
25#include <asm/arch/init.h>
26#include <asm/arch/portmux.h>
27
28#include "atstk1000.h"
29
30#ifdef CONFIG_BOARD_ATSTK1000_EXTDAC
31static struct at73c213_board_info at73c213_data = {
32 .ssc_id = 0,
33 .shortname = "AVR32 STK1000 external DAC",
34};
35#endif
36
37#ifndef CONFIG_BOARD_ATSTK100X_SW1_CUSTOM
38static struct spi_board_info spi0_board_info[] __initdata = {
39#ifdef CONFIG_BOARD_ATSTK1000_EXTDAC
40 {
41 /* AT73C213 */
42 .modalias = "at73c213",
43 .max_speed_hz = 200000,
44 .chip_select = 0,
45 .mode = SPI_MODE_1,
46 .platform_data = &at73c213_data,
47 },
48#endif
49 /*
50 * We can control the LTV350QV LCD panel, but it isn't much
51 * point since we don't have an LCD controller...
52 */
53};
54#endif
55
56#ifdef CONFIG_BOARD_ATSTK100X_SPI1
57static struct spi_board_info spi1_board_info[] __initdata = { {
58 /* patch in custom entries here */
59} };
60#endif
61
62#ifdef CONFIG_BOARD_ATSTK1000_EXTDAC
63static void __init atstk1003_setup_extdac(void)
64{
65 struct clk *gclk;
66 struct clk *pll;
67
68 gclk = clk_get(NULL, "gclk0");
69 if (IS_ERR(gclk))
70 goto err_gclk;
71 pll = clk_get(NULL, "pll0");
72 if (IS_ERR(pll))
73 goto err_pll;
74
75 if (clk_set_parent(gclk, pll)) {
76 pr_debug("STK1000: failed to set pll0 as parent for DAC clock\n");
77 goto err_set_clk;
78 }
79
80 at32_select_periph(GPIO_PIN_PA(30), GPIO_PERIPH_A, 0);
81 at73c213_data.dac_clk = gclk;
82
83err_set_clk:
84 clk_put(pll);
85err_pll:
86 clk_put(gclk);
87err_gclk:
88 return;
89}
90#else
91static void __init atstk1003_setup_extdac(void)
92{
93
94}
95#endif /* CONFIG_BOARD_ATSTK1000_EXTDAC */
96
97void __init setup_board(void)
98{
99#ifdef CONFIG_BOARD_ATSTK100X_SW2_CUSTOM
100 at32_map_usart(0, 1); /* USART 0/B: /dev/ttyS1, IRDA */
101#else
102 at32_map_usart(1, 0); /* USART 1/A: /dev/ttyS0, DB9 */
103#endif
104 /* USART 2/unused: expansion connector */
105 at32_map_usart(3, 2); /* USART 3/C: /dev/ttyS2, DB9 */
106
107 at32_setup_serial_console(0);
108}
109
110static int __init atstk1003_init(void)
111{
112 /*
113 * ATSTK1000 uses 32-bit SDRAM interface. Reserve the
114 * SDRAM-specific pins so that nobody messes with them.
115 */
116 at32_reserve_pin(GPIO_PIN_PE(0)); /* DATA[16] */
117 at32_reserve_pin(GPIO_PIN_PE(1)); /* DATA[17] */
118 at32_reserve_pin(GPIO_PIN_PE(2)); /* DATA[18] */
119 at32_reserve_pin(GPIO_PIN_PE(3)); /* DATA[19] */
120 at32_reserve_pin(GPIO_PIN_PE(4)); /* DATA[20] */
121 at32_reserve_pin(GPIO_PIN_PE(5)); /* DATA[21] */
122 at32_reserve_pin(GPIO_PIN_PE(6)); /* DATA[22] */
123 at32_reserve_pin(GPIO_PIN_PE(7)); /* DATA[23] */
124 at32_reserve_pin(GPIO_PIN_PE(8)); /* DATA[24] */
125 at32_reserve_pin(GPIO_PIN_PE(9)); /* DATA[25] */
126 at32_reserve_pin(GPIO_PIN_PE(10)); /* DATA[26] */
127 at32_reserve_pin(GPIO_PIN_PE(11)); /* DATA[27] */
128 at32_reserve_pin(GPIO_PIN_PE(12)); /* DATA[28] */
129 at32_reserve_pin(GPIO_PIN_PE(13)); /* DATA[29] */
130 at32_reserve_pin(GPIO_PIN_PE(14)); /* DATA[30] */
131 at32_reserve_pin(GPIO_PIN_PE(15)); /* DATA[31] */
132 at32_reserve_pin(GPIO_PIN_PE(26)); /* SDCS */
133
134 at32_add_system_devices();
135
136#ifdef CONFIG_BOARD_ATSTK100X_SW2_CUSTOM
137 at32_add_device_usart(1);
138#else
139 at32_add_device_usart(0);
140#endif
141 at32_add_device_usart(2);
142
143#ifndef CONFIG_BOARD_ATSTK100X_SW1_CUSTOM
144 at32_add_device_spi(0, spi0_board_info, ARRAY_SIZE(spi0_board_info));
145#endif
146#ifdef CONFIG_BOARD_ATSTK100X_SPI1
147 at32_add_device_spi(1, spi1_board_info, ARRAY_SIZE(spi1_board_info));
148#endif
149#ifndef CONFIG_BOARD_ATSTK100X_SW2_CUSTOM
150 at32_add_device_mci(0);
151#endif
152 at32_add_device_usba(0, NULL);
153#ifndef CONFIG_BOARD_ATSTK100X_SW3_CUSTOM
154 at32_add_device_ssc(0, ATMEL_SSC_TX);
155#endif
156
157 atstk1000_setup_j2_leds();
158 atstk1003_setup_extdac();
159
160 return 0;
161}
162postcore_initcall(atstk1003_init);
diff --git a/arch/avr32/boards/atstk1000/atstk1004.c b/arch/avr32/boards/atstk1000/atstk1004.c
new file mode 100644
index 000000000000..5a77030e07a0
--- /dev/null
+++ b/arch/avr32/boards/atstk1000/atstk1004.c
@@ -0,0 +1,147 @@
1/*
2 * ATSTK1003 daughterboard-specific init code
3 *
4 * Copyright (C) 2007 Atmel Corporation
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10#include <linux/clk.h>
11#include <linux/err.h>
12#include <linux/init.h>
13#include <linux/kernel.h>
14#include <linux/platform_device.h>
15#include <linux/string.h>
16#include <linux/types.h>
17
18#include <linux/spi/at73c213.h>
19#include <linux/spi/spi.h>
20
21#include <video/atmel_lcdc.h>
22
23#include <asm/setup.h>
24
25#include <asm/arch/at32ap700x.h>
26#include <asm/arch/board.h>
27#include <asm/arch/init.h>
28#include <asm/arch/portmux.h>
29
30#include "atstk1000.h"
31
32#ifdef CONFIG_BOARD_ATSTK1000_EXTDAC
33static struct at73c213_board_info at73c213_data = {
34 .ssc_id = 0,
35 .shortname = "AVR32 STK1000 external DAC",
36};
37#endif
38
39#ifndef CONFIG_BOARD_ATSTK100X_SW1_CUSTOM
40static struct spi_board_info spi0_board_info[] __initdata = {
41#ifdef CONFIG_BOARD_ATSTK1000_EXTDAC
42 {
43 /* AT73C213 */
44 .modalias = "at73c213",
45 .max_speed_hz = 200000,
46 .chip_select = 0,
47 .mode = SPI_MODE_1,
48 .platform_data = &at73c213_data,
49 },
50#endif
51 {
52 /* QVGA display */
53 .modalias = "ltv350qv",
54 .max_speed_hz = 16000000,
55 .chip_select = 1,
56 .mode = SPI_MODE_3,
57 },
58};
59#endif
60
61#ifdef CONFIG_BOARD_ATSTK100X_SPI1
62static struct spi_board_info spi1_board_info[] __initdata = { {
63 /* patch in custom entries here */
64} };
65#endif
66
67#ifdef CONFIG_BOARD_ATSTK1000_EXTDAC
68static void __init atstk1004_setup_extdac(void)
69{
70 struct clk *gclk;
71 struct clk *pll;
72
73 gclk = clk_get(NULL, "gclk0");
74 if (IS_ERR(gclk))
75 goto err_gclk;
76 pll = clk_get(NULL, "pll0");
77 if (IS_ERR(pll))
78 goto err_pll;
79
80 if (clk_set_parent(gclk, pll)) {
81 pr_debug("STK1000: failed to set pll0 as parent for DAC clock\n");
82 goto err_set_clk;
83 }
84
85 at32_select_periph(GPIO_PIN_PA(30), GPIO_PERIPH_A, 0);
86 at73c213_data.dac_clk = gclk;
87
88err_set_clk:
89 clk_put(pll);
90err_pll:
91 clk_put(gclk);
92err_gclk:
93 return;
94}
95#else
96static void __init atstk1004_setup_extdac(void)
97{
98
99}
100#endif /* CONFIG_BOARD_ATSTK1000_EXTDAC */
101
102void __init setup_board(void)
103{
104#ifdef CONFIG_BOARD_ATSTK100X_SW2_CUSTOM
105 at32_map_usart(0, 1); /* USART 0/B: /dev/ttyS1, IRDA */
106#else
107 at32_map_usart(1, 0); /* USART 1/A: /dev/ttyS0, DB9 */
108#endif
109 /* USART 2/unused: expansion connector */
110 at32_map_usart(3, 2); /* USART 3/C: /dev/ttyS2, DB9 */
111
112 at32_setup_serial_console(0);
113}
114
115static int __init atstk1004_init(void)
116{
117 at32_add_system_devices();
118
119#ifdef CONFIG_BOARD_ATSTK100X_SW2_CUSTOM
120 at32_add_device_usart(1);
121#else
122 at32_add_device_usart(0);
123#endif
124 at32_add_device_usart(2);
125
126#ifndef CONFIG_BOARD_ATSTK100X_SW1_CUSTOM
127 at32_add_device_spi(0, spi0_board_info, ARRAY_SIZE(spi0_board_info));
128#endif
129#ifdef CONFIG_BOARD_ATSTK100X_SPI1
130 at32_add_device_spi(1, spi1_board_info, ARRAY_SIZE(spi1_board_info));
131#endif
132#ifndef CONFIG_BOARD_ATSTK1002_SW2_CUSTOM
133 at32_add_device_mci(0);
134#endif
135 at32_add_device_lcdc(0, &atstk1000_lcdc_data,
136 fbmem_start, fbmem_size);
137 at32_add_device_usba(0, NULL);
138#ifndef CONFIG_BOARD_ATSTK100X_SW3_CUSTOM
139 at32_add_device_ssc(0, ATMEL_SSC_TX);
140#endif
141
142 atstk1000_setup_j2_leds();
143 atstk1004_setup_extdac();
144
145 return 0;
146}
147postcore_initcall(atstk1004_init);
diff --git a/arch/avr32/configs/atstk1003_defconfig b/arch/avr32/configs/atstk1003_defconfig
new file mode 100644
index 000000000000..45e23e03f074
--- /dev/null
+++ b/arch/avr32/configs/atstk1003_defconfig
@@ -0,0 +1,1015 @@
1#
2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.24-rc7
4# Wed Jan 9 22:54:34 2008
5#
6CONFIG_AVR32=y
7CONFIG_GENERIC_GPIO=y
8CONFIG_GENERIC_HARDIRQS=y
9CONFIG_STACKTRACE_SUPPORT=y
10CONFIG_LOCKDEP_SUPPORT=y
11CONFIG_TRACE_IRQFLAGS_SUPPORT=y
12CONFIG_HARDIRQS_SW_RESEND=y
13CONFIG_GENERIC_IRQ_PROBE=y
14CONFIG_RWSEM_GENERIC_SPINLOCK=y
15CONFIG_GENERIC_TIME=y
16# CONFIG_RWSEM_XCHGADD_ALGORITHM is not set
17# CONFIG_ARCH_HAS_ILOG2_U32 is not set
18# CONFIG_ARCH_HAS_ILOG2_U64 is not set
19CONFIG_ARCH_SUPPORTS_OPROFILE=y
20CONFIG_GENERIC_HWEIGHT=y
21CONFIG_GENERIC_CALIBRATE_DELAY=y
22CONFIG_GENERIC_BUG=y
23CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
24
25#
26# General setup
27#
28CONFIG_EXPERIMENTAL=y
29CONFIG_BROKEN_ON_SMP=y
30CONFIG_INIT_ENV_ARG_LIMIT=32
31CONFIG_LOCALVERSION=""
32# CONFIG_LOCALVERSION_AUTO is not set
33CONFIG_SWAP=y
34CONFIG_SYSVIPC=y
35CONFIG_SYSVIPC_SYSCTL=y
36CONFIG_POSIX_MQUEUE=y
37CONFIG_BSD_PROCESS_ACCT=y
38CONFIG_BSD_PROCESS_ACCT_V3=y
39CONFIG_TASKSTATS=y
40CONFIG_TASK_DELAY_ACCT=y
41# CONFIG_TASK_XACCT is not set
42# CONFIG_USER_NS is not set
43# CONFIG_PID_NS is not set
44CONFIG_AUDIT=y
45# CONFIG_IKCONFIG is not set
46CONFIG_LOG_BUF_SHIFT=14
47# CONFIG_CGROUPS is not set
48CONFIG_FAIR_GROUP_SCHED=y
49CONFIG_FAIR_USER_SCHED=y
50# CONFIG_FAIR_CGROUP_SCHED is not set
51CONFIG_SYSFS_DEPRECATED=y
52CONFIG_RELAY=y
53CONFIG_BLK_DEV_INITRD=y
54CONFIG_INITRAMFS_SOURCE=""
55CONFIG_CC_OPTIMIZE_FOR_SIZE=y
56CONFIG_SYSCTL=y
57CONFIG_EMBEDDED=y
58# CONFIG_SYSCTL_SYSCALL is not set
59CONFIG_KALLSYMS=y
60# CONFIG_KALLSYMS_ALL is not set
61# CONFIG_KALLSYMS_EXTRA_PASS is not set
62CONFIG_HOTPLUG=y
63CONFIG_PRINTK=y
64CONFIG_BUG=y
65CONFIG_ELF_CORE=y
66# CONFIG_BASE_FULL is not set
67CONFIG_FUTEX=y
68CONFIG_ANON_INODES=y
69CONFIG_EPOLL=y
70CONFIG_SIGNALFD=y
71CONFIG_EVENTFD=y
72CONFIG_SHMEM=y
73CONFIG_VM_EVENT_COUNTERS=y
74# CONFIG_SLUB_DEBUG is not set
75# CONFIG_SLAB is not set
76CONFIG_SLUB=y
77# CONFIG_SLOB is not set
78CONFIG_SLABINFO=y
79CONFIG_RT_MUTEXES=y
80# CONFIG_TINY_SHMEM is not set
81CONFIG_BASE_SMALL=1
82CONFIG_MODULES=y
83CONFIG_MODULE_UNLOAD=y
84# CONFIG_MODULE_FORCE_UNLOAD is not set
85# CONFIG_MODVERSIONS is not set
86# CONFIG_MODULE_SRCVERSION_ALL is not set
87# CONFIG_KMOD is not set
88CONFIG_BLOCK=y
89# CONFIG_LBD is not set
90# CONFIG_BLK_DEV_IO_TRACE is not set
91# CONFIG_LSF is not set
92# CONFIG_BLK_DEV_BSG is not set
93
94#
95# IO Schedulers
96#
97CONFIG_IOSCHED_NOOP=y
98# CONFIG_IOSCHED_AS is not set
99# CONFIG_IOSCHED_DEADLINE is not set
100CONFIG_IOSCHED_CFQ=y
101# CONFIG_DEFAULT_AS is not set
102# CONFIG_DEFAULT_DEADLINE is not set
103CONFIG_DEFAULT_CFQ=y
104# CONFIG_DEFAULT_NOOP is not set
105CONFIG_DEFAULT_IOSCHED="cfq"
106
107#
108# System Type and features
109#
110CONFIG_SUBARCH_AVR32B=y
111CONFIG_MMU=y
112CONFIG_PERFORMANCE_COUNTERS=y
113CONFIG_PLATFORM_AT32AP=y
114CONFIG_CPU_AT32AP700X=y
115CONFIG_CPU_AT32AP7001=y
116CONFIG_BOARD_ATSTK1000=y
117# CONFIG_BOARD_ATNGW100 is not set
118# CONFIG_BOARD_ATSTK1002 is not set
119CONFIG_BOARD_ATSTK1003=y
120# CONFIG_BOARD_ATSTK1004 is not set
121# CONFIG_BOARD_ATSTK100X_CUSTOM is not set
122# CONFIG_BOARD_ATSTK100X_SPI1 is not set
123# CONFIG_BOARD_ATSTK1000_J2_LED is not set
124# CONFIG_BOARD_ATSTK1000_J2_LED8 is not set
125# CONFIG_BOARD_ATSTK1000_J2_RGB is not set
126CONFIG_BOARD_ATSTK1000_EXTDAC=y
127CONFIG_LOADER_U_BOOT=y
128
129#
130# Atmel AVR32 AP options
131#
132# CONFIG_AP700X_32_BIT_SMC is not set
133CONFIG_AP700X_16_BIT_SMC=y
134# CONFIG_AP700X_8_BIT_SMC is not set
135CONFIG_LOAD_ADDRESS=0x10000000
136CONFIG_ENTRY_ADDRESS=0x90000000
137CONFIG_PHYS_OFFSET=0x10000000
138CONFIG_PREEMPT_NONE=y
139# CONFIG_PREEMPT_VOLUNTARY is not set
140# CONFIG_PREEMPT is not set
141# CONFIG_HAVE_ARCH_BOOTMEM_NODE is not set
142# CONFIG_ARCH_HAVE_MEMORY_PRESENT is not set
143# CONFIG_NEED_NODE_MEMMAP_SIZE is not set
144CONFIG_ARCH_FLATMEM_ENABLE=y
145# CONFIG_ARCH_DISCONTIGMEM_ENABLE is not set
146# CONFIG_ARCH_SPARSEMEM_ENABLE is not set
147CONFIG_SELECT_MEMORY_MODEL=y
148CONFIG_FLATMEM_MANUAL=y
149# CONFIG_DISCONTIGMEM_MANUAL is not set
150# CONFIG_SPARSEMEM_MANUAL is not set
151CONFIG_FLATMEM=y
152CONFIG_FLAT_NODE_MEM_MAP=y
153# CONFIG_SPARSEMEM_STATIC is not set
154# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set
155CONFIG_SPLIT_PTLOCK_CPUS=4
156# CONFIG_RESOURCES_64BIT is not set
157CONFIG_ZONE_DMA_FLAG=0
158CONFIG_VIRT_TO_BUS=y
159# CONFIG_OWNERSHIP_TRACE is not set
160# CONFIG_HZ_100 is not set
161CONFIG_HZ_250=y
162# CONFIG_HZ_300 is not set
163# CONFIG_HZ_1000 is not set
164CONFIG_HZ=250
165CONFIG_CMDLINE=""
166
167#
168# Power management options
169#
170
171#
172# CPU Frequency scaling
173#
174CONFIG_CPU_FREQ=y
175CONFIG_CPU_FREQ_TABLE=y
176# CONFIG_CPU_FREQ_DEBUG is not set
177# CONFIG_CPU_FREQ_STAT is not set
178CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
179# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
180# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
181# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
182CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
183# CONFIG_CPU_FREQ_GOV_POWERSAVE is not set
184CONFIG_CPU_FREQ_GOV_USERSPACE=y
185CONFIG_CPU_FREQ_GOV_ONDEMAND=y
186# CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set
187CONFIG_CPU_FREQ_AT32AP=y
188
189#
190# Bus options
191#
192# CONFIG_ARCH_SUPPORTS_MSI is not set
193# CONFIG_PCCARD is not set
194
195#
196# Executable file formats
197#
198CONFIG_BINFMT_ELF=y
199# CONFIG_BINFMT_MISC is not set
200
201#
202# Networking
203#
204CONFIG_NET=y
205
206#
207# Networking options
208#
209CONFIG_PACKET=y
210CONFIG_PACKET_MMAP=y
211CONFIG_UNIX=y
212# CONFIG_NET_KEY is not set
213CONFIG_INET=y
214# CONFIG_IP_MULTICAST is not set
215# CONFIG_IP_ADVANCED_ROUTER is not set
216CONFIG_IP_FIB_HASH=y
217# CONFIG_IP_PNP is not set
218# CONFIG_NET_IPIP is not set
219# CONFIG_NET_IPGRE is not set
220# CONFIG_ARPD is not set
221# CONFIG_SYN_COOKIES is not set
222# CONFIG_INET_AH is not set
223# CONFIG_INET_ESP is not set
224# CONFIG_INET_IPCOMP is not set
225# CONFIG_INET_XFRM_TUNNEL is not set
226# CONFIG_INET_TUNNEL is not set
227# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
228# CONFIG_INET_XFRM_MODE_TUNNEL is not set
229# CONFIG_INET_XFRM_MODE_BEET is not set
230# CONFIG_INET_LRO is not set
231# CONFIG_INET_DIAG is not set
232# CONFIG_TCP_CONG_ADVANCED is not set
233CONFIG_TCP_CONG_CUBIC=y
234CONFIG_DEFAULT_TCP_CONG="cubic"
235# CONFIG_TCP_MD5SIG is not set
236# CONFIG_IPV6 is not set
237# CONFIG_INET6_XFRM_TUNNEL is not set
238# CONFIG_INET6_TUNNEL is not set
239# CONFIG_NETWORK_SECMARK is not set
240# CONFIG_NETFILTER is not set
241# CONFIG_IP_DCCP is not set
242# CONFIG_IP_SCTP is not set
243# CONFIG_TIPC is not set
244# CONFIG_ATM is not set
245# CONFIG_BRIDGE is not set
246# CONFIG_VLAN_8021Q is not set
247# CONFIG_DECNET is not set
248# CONFIG_LLC2 is not set
249# CONFIG_IPX is not set
250# CONFIG_ATALK is not set
251# CONFIG_X25 is not set
252# CONFIG_LAPB is not set
253# CONFIG_ECONET is not set
254# CONFIG_WAN_ROUTER is not set
255# CONFIG_NET_SCHED is not set
256
257#
258# Network testing
259#
260# CONFIG_NET_PKTGEN is not set
261# CONFIG_NET_TCPPROBE is not set
262# CONFIG_HAMRADIO is not set
263# CONFIG_IRDA is not set
264# CONFIG_BT is not set
265# CONFIG_AF_RXRPC is not set
266
267#
268# Wireless
269#
270# CONFIG_CFG80211 is not set
271# CONFIG_WIRELESS_EXT is not set
272# CONFIG_MAC80211 is not set
273# CONFIG_IEEE80211 is not set
274# CONFIG_RFKILL is not set
275# CONFIG_NET_9P is not set
276
277#
278# Device Drivers
279#
280
281#
282# Generic Driver Options
283#
284CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
285CONFIG_STANDALONE=y
286# CONFIG_PREVENT_FIRMWARE_BUILD is not set
287# CONFIG_FW_LOADER is not set
288# CONFIG_DEBUG_DRIVER is not set
289# CONFIG_DEBUG_DEVRES is not set
290# CONFIG_SYS_HYPERVISOR is not set
291# CONFIG_CONNECTOR is not set
292CONFIG_MTD=y
293# CONFIG_MTD_DEBUG is not set
294# CONFIG_MTD_CONCAT is not set
295CONFIG_MTD_PARTITIONS=y
296# CONFIG_MTD_REDBOOT_PARTS is not set
297CONFIG_MTD_CMDLINE_PARTS=y
298
299#
300# User Modules And Translation Layers
301#
302CONFIG_MTD_CHAR=y
303CONFIG_MTD_BLKDEVS=y
304CONFIG_MTD_BLOCK=y
305# CONFIG_FTL is not set
306# CONFIG_NFTL is not set
307# CONFIG_INFTL is not set
308# CONFIG_RFD_FTL is not set
309# CONFIG_SSFDC is not set
310# CONFIG_MTD_OOPS is not set
311
312#
313# RAM/ROM/Flash chip drivers
314#
315CONFIG_MTD_CFI=y
316# CONFIG_MTD_JEDECPROBE is not set
317CONFIG_MTD_GEN_PROBE=y
318# CONFIG_MTD_CFI_ADV_OPTIONS is not set
319CONFIG_MTD_MAP_BANK_WIDTH_1=y
320CONFIG_MTD_MAP_BANK_WIDTH_2=y
321CONFIG_MTD_MAP_BANK_WIDTH_4=y
322# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
323# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
324# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
325CONFIG_MTD_CFI_I1=y
326CONFIG_MTD_CFI_I2=y
327# CONFIG_MTD_CFI_I4 is not set
328# CONFIG_MTD_CFI_I8 is not set
329# CONFIG_MTD_CFI_INTELEXT is not set
330CONFIG_MTD_CFI_AMDSTD=y
331# CONFIG_MTD_CFI_STAA is not set
332CONFIG_MTD_CFI_UTIL=y
333# CONFIG_MTD_RAM is not set
334# CONFIG_MTD_ROM is not set
335# CONFIG_MTD_ABSENT is not set
336
337#
338# Mapping drivers for chip access
339#
340# CONFIG_MTD_COMPLEX_MAPPINGS is not set
341CONFIG_MTD_PHYSMAP=y
342CONFIG_MTD_PHYSMAP_START=0x8000000
343CONFIG_MTD_PHYSMAP_LEN=0x0
344CONFIG_MTD_PHYSMAP_BANKWIDTH=2
345# CONFIG_MTD_PLATRAM is not set
346
347#
348# Self-contained MTD device drivers
349#
350CONFIG_MTD_DATAFLASH=m
351CONFIG_MTD_M25P80=m
352# CONFIG_MTD_SLRAM is not set
353# CONFIG_MTD_PHRAM is not set
354# CONFIG_MTD_MTDRAM is not set
355# CONFIG_MTD_BLOCK2MTD is not set
356
357#
358# Disk-On-Chip Device Drivers
359#
360# CONFIG_MTD_DOC2000 is not set
361# CONFIG_MTD_DOC2001 is not set
362# CONFIG_MTD_DOC2001PLUS is not set
363# CONFIG_MTD_NAND is not set
364# CONFIG_MTD_ONENAND is not set
365
366#
367# UBI - Unsorted block images
368#
369# CONFIG_MTD_UBI is not set
370# CONFIG_PARPORT is not set
371CONFIG_BLK_DEV=y
372# CONFIG_BLK_DEV_COW_COMMON is not set
373CONFIG_BLK_DEV_LOOP=m
374# CONFIG_BLK_DEV_CRYPTOLOOP is not set
375CONFIG_BLK_DEV_NBD=m
376CONFIG_BLK_DEV_RAM=m
377CONFIG_BLK_DEV_RAM_COUNT=16
378CONFIG_BLK_DEV_RAM_SIZE=4096
379CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024
380# CONFIG_CDROM_PKTCDVD is not set
381# CONFIG_ATA_OVER_ETH is not set
382CONFIG_MISC_DEVICES=y
383# CONFIG_EEPROM_93CX6 is not set
384CONFIG_ATMEL_SSC=m
385# CONFIG_IDE is not set
386
387#
388# SCSI device support
389#
390# CONFIG_RAID_ATTRS is not set
391CONFIG_SCSI=m
392CONFIG_SCSI_DMA=y
393# CONFIG_SCSI_TGT is not set
394# CONFIG_SCSI_NETLINK is not set
395# CONFIG_SCSI_PROC_FS is not set
396
397#
398# SCSI support type (disk, tape, CD-ROM)
399#
400CONFIG_BLK_DEV_SD=m
401# CONFIG_CHR_DEV_ST is not set
402# CONFIG_CHR_DEV_OSST is not set
403CONFIG_BLK_DEV_SR=m
404# CONFIG_BLK_DEV_SR_VENDOR is not set
405# CONFIG_CHR_DEV_SG is not set
406# CONFIG_CHR_DEV_SCH is not set
407
408#
409# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
410#
411# CONFIG_SCSI_MULTI_LUN is not set
412# CONFIG_SCSI_CONSTANTS is not set
413# CONFIG_SCSI_LOGGING is not set
414# CONFIG_SCSI_SCAN_ASYNC is not set
415CONFIG_SCSI_WAIT_SCAN=m
416
417#
418# SCSI Transports
419#
420# CONFIG_SCSI_SPI_ATTRS is not set
421# CONFIG_SCSI_FC_ATTRS is not set
422# CONFIG_SCSI_ISCSI_ATTRS is not set
423# CONFIG_SCSI_SAS_LIBSAS is not set
424# CONFIG_SCSI_SRP_ATTRS is not set
425CONFIG_SCSI_LOWLEVEL=y
426# CONFIG_ISCSI_TCP is not set
427# CONFIG_SCSI_DEBUG is not set
428CONFIG_ATA=m
429# CONFIG_ATA_NONSTANDARD is not set
430CONFIG_PATA_AT32=m
431# CONFIG_PATA_PLATFORM is not set
432# CONFIG_MD is not set
433CONFIG_NETDEVICES=y
434# CONFIG_NETDEVICES_MULTIQUEUE is not set
435# CONFIG_DUMMY is not set
436# CONFIG_BONDING is not set
437# CONFIG_MACVLAN is not set
438# CONFIG_EQUALIZER is not set
439# CONFIG_TUN is not set
440# CONFIG_VETH is not set
441# CONFIG_NET_ETHERNET is not set
442# CONFIG_NETDEV_1000 is not set
443# CONFIG_NETDEV_10000 is not set
444
445#
446# Wireless LAN
447#
448# CONFIG_WLAN_PRE80211 is not set
449# CONFIG_WLAN_80211 is not set
450# CONFIG_WAN is not set
451CONFIG_PPP=m
452# CONFIG_PPP_MULTILINK is not set
453# CONFIG_PPP_FILTER is not set
454CONFIG_PPP_ASYNC=m
455# CONFIG_PPP_SYNC_TTY is not set
456CONFIG_PPP_DEFLATE=m
457CONFIG_PPP_BSDCOMP=m
458# CONFIG_PPP_MPPE is not set
459# CONFIG_PPPOE is not set
460# CONFIG_PPPOL2TP is not set
461# CONFIG_SLIP is not set
462CONFIG_SLHC=m
463# CONFIG_SHAPER is not set
464# CONFIG_NETCONSOLE is not set
465# CONFIG_NETPOLL is not set
466# CONFIG_NET_POLL_CONTROLLER is not set
467# CONFIG_ISDN is not set
468# CONFIG_PHONE is not set
469
470#
471# Input device support
472#
473CONFIG_INPUT=m
474# CONFIG_INPUT_FF_MEMLESS is not set
475CONFIG_INPUT_POLLDEV=m
476
477#
478# Userland interfaces
479#
480CONFIG_INPUT_MOUSEDEV=m
481CONFIG_INPUT_MOUSEDEV_PSAUX=y
482CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
483CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
484# CONFIG_INPUT_JOYDEV is not set
485# CONFIG_INPUT_EVDEV is not set
486# CONFIG_INPUT_EVBUG is not set
487
488#
489# Input Device Drivers
490#
491CONFIG_INPUT_KEYBOARD=y
492# CONFIG_KEYBOARD_ATKBD is not set
493# CONFIG_KEYBOARD_SUNKBD is not set
494# CONFIG_KEYBOARD_LKKBD is not set
495# CONFIG_KEYBOARD_XTKBD is not set
496# CONFIG_KEYBOARD_NEWTON is not set
497# CONFIG_KEYBOARD_STOWAWAY is not set
498CONFIG_KEYBOARD_GPIO=m
499CONFIG_INPUT_MOUSE=y
500# CONFIG_MOUSE_PS2 is not set
501# CONFIG_MOUSE_SERIAL is not set
502# CONFIG_MOUSE_VSXXXAA is not set
503CONFIG_MOUSE_GPIO=m
504# CONFIG_INPUT_JOYSTICK is not set
505# CONFIG_INPUT_TABLET is not set
506# CONFIG_INPUT_TOUCHSCREEN is not set
507# CONFIG_INPUT_MISC is not set
508
509#
510# Hardware I/O ports
511#
512# CONFIG_SERIO is not set
513# CONFIG_GAMEPORT is not set
514
515#
516# Character devices
517#
518# CONFIG_VT is not set
519# CONFIG_SERIAL_NONSTANDARD is not set
520
521#
522# Serial drivers
523#
524# CONFIG_SERIAL_8250 is not set
525
526#
527# Non-8250 serial port support
528#
529CONFIG_SERIAL_ATMEL=y
530CONFIG_SERIAL_ATMEL_CONSOLE=y
531# CONFIG_SERIAL_ATMEL_TTYAT is not set
532CONFIG_SERIAL_CORE=y
533CONFIG_SERIAL_CORE_CONSOLE=y
534CONFIG_UNIX98_PTYS=y
535# CONFIG_LEGACY_PTYS is not set
536# CONFIG_IPMI_HANDLER is not set
537# CONFIG_HW_RANDOM is not set
538# CONFIG_RTC is not set
539# CONFIG_GEN_RTC is not set
540# CONFIG_R3964 is not set
541# CONFIG_RAW_DRIVER is not set
542# CONFIG_TCG_TPM is not set
543CONFIG_I2C=m
544CONFIG_I2C_BOARDINFO=y
545CONFIG_I2C_CHARDEV=m
546
547#
548# I2C Algorithms
549#
550CONFIG_I2C_ALGOBIT=m
551# CONFIG_I2C_ALGOPCF is not set
552# CONFIG_I2C_ALGOPCA is not set
553
554#
555# I2C Hardware Bus support
556#
557CONFIG_I2C_GPIO=m
558# CONFIG_I2C_OCORES is not set
559# CONFIG_I2C_PARPORT_LIGHT is not set
560# CONFIG_I2C_SIMTEC is not set
561# CONFIG_I2C_TAOS_EVM is not set
562# CONFIG_I2C_STUB is not set
563
564#
565# Miscellaneous I2C Chip support
566#
567# CONFIG_SENSORS_DS1337 is not set
568# CONFIG_SENSORS_DS1374 is not set
569# CONFIG_DS1682 is not set
570# CONFIG_SENSORS_EEPROM is not set
571# CONFIG_SENSORS_PCF8574 is not set
572# CONFIG_SENSORS_PCA9539 is not set
573# CONFIG_SENSORS_PCF8591 is not set
574# CONFIG_SENSORS_MAX6875 is not set
575# CONFIG_SENSORS_TSL2550 is not set
576# CONFIG_I2C_DEBUG_CORE is not set
577# CONFIG_I2C_DEBUG_ALGO is not set
578# CONFIG_I2C_DEBUG_BUS is not set
579# CONFIG_I2C_DEBUG_CHIP is not set
580
581#
582# SPI support
583#
584CONFIG_SPI=y
585# CONFIG_SPI_DEBUG is not set
586CONFIG_SPI_MASTER=y
587
588#
589# SPI Master Controller Drivers
590#
591CONFIG_SPI_ATMEL=y
592# CONFIG_SPI_BITBANG is not set
593
594#
595# SPI Protocol Masters
596#
597# CONFIG_SPI_AT25 is not set
598CONFIG_SPI_SPIDEV=m
599# CONFIG_SPI_TLE62X0 is not set
600# CONFIG_W1 is not set
601# CONFIG_POWER_SUPPLY is not set
602# CONFIG_HWMON is not set
603CONFIG_WATCHDOG=y
604# CONFIG_WATCHDOG_NOWAYOUT is not set
605
606#
607# Watchdog Device Drivers
608#
609# CONFIG_SOFT_WATCHDOG is not set
610CONFIG_AT32AP700X_WDT=y
611
612#
613# Sonics Silicon Backplane
614#
615CONFIG_SSB_POSSIBLE=y
616# CONFIG_SSB is not set
617
618#
619# Multifunction device drivers
620#
621# CONFIG_MFD_SM501 is not set
622
623#
624# Multimedia devices
625#
626# CONFIG_VIDEO_DEV is not set
627# CONFIG_DVB_CORE is not set
628# CONFIG_DAB is not set
629
630#
631# Graphics support
632#
633# CONFIG_VGASTATE is not set
634# CONFIG_VIDEO_OUTPUT_CONTROL is not set
635# CONFIG_FB is not set
636# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
637
638#
639# Display device support
640#
641# CONFIG_DISPLAY_SUPPORT is not set
642
643#
644# Sound
645#
646CONFIG_SOUND=m
647
648#
649# Advanced Linux Sound Architecture
650#
651CONFIG_SND=m
652CONFIG_SND_TIMER=m
653CONFIG_SND_PCM=m
654# CONFIG_SND_SEQUENCER is not set
655CONFIG_SND_OSSEMUL=y
656CONFIG_SND_MIXER_OSS=m
657CONFIG_SND_PCM_OSS=m
658CONFIG_SND_PCM_OSS_PLUGINS=y
659# CONFIG_SND_DYNAMIC_MINORS is not set
660CONFIG_SND_SUPPORT_OLD_API=y
661CONFIG_SND_VERBOSE_PROCFS=y
662# CONFIG_SND_VERBOSE_PRINTK is not set
663# CONFIG_SND_DEBUG is not set
664
665#
666# Generic devices
667#
668# CONFIG_SND_DUMMY is not set
669# CONFIG_SND_MTPAV is not set
670# CONFIG_SND_SERIAL_U16550 is not set
671# CONFIG_SND_MPU401 is not set
672
673#
674# SPI devices
675#
676CONFIG_SND_AT73C213=m
677CONFIG_SND_AT73C213_TARGET_BITRATE=48000
678
679#
680# System on Chip audio support
681#
682# CONFIG_SND_SOC is not set
683
684#
685# SoC Audio support for SuperH
686#
687
688#
689# Open Sound System
690#
691# CONFIG_SOUND_PRIME is not set
692# CONFIG_HID_SUPPORT is not set
693CONFIG_USB_SUPPORT=y
694# CONFIG_USB_ARCH_HAS_HCD is not set
695# CONFIG_USB_ARCH_HAS_OHCI is not set
696# CONFIG_USB_ARCH_HAS_EHCI is not set
697
698#
699# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
700#
701
702#
703# USB Gadget Support
704#
705CONFIG_USB_GADGET=y
706# CONFIG_USB_GADGET_DEBUG is not set
707# CONFIG_USB_GADGET_DEBUG_FILES is not set
708CONFIG_USB_GADGET_DEBUG_FS=y
709CONFIG_USB_GADGET_SELECTED=y
710# CONFIG_USB_GADGET_AMD5536UDC is not set
711CONFIG_USB_GADGET_ATMEL_USBA=y
712CONFIG_USB_ATMEL_USBA=y
713# CONFIG_USB_GADGET_FSL_USB2 is not set
714# CONFIG_USB_GADGET_NET2280 is not set
715# CONFIG_USB_GADGET_PXA2XX is not set
716# CONFIG_USB_GADGET_M66592 is not set
717# CONFIG_USB_GADGET_GOKU is not set
718# CONFIG_USB_GADGET_LH7A40X is not set
719# CONFIG_USB_GADGET_OMAP is not set
720# CONFIG_USB_GADGET_S3C2410 is not set
721# CONFIG_USB_GADGET_AT91 is not set
722# CONFIG_USB_GADGET_DUMMY_HCD is not set
723CONFIG_USB_GADGET_DUALSPEED=y
724CONFIG_USB_ZERO=m
725CONFIG_USB_ETH=m
726CONFIG_USB_ETH_RNDIS=y
727CONFIG_USB_GADGETFS=m
728CONFIG_USB_FILE_STORAGE=m
729# CONFIG_USB_FILE_STORAGE_TEST is not set
730CONFIG_USB_G_SERIAL=m
731# CONFIG_USB_MIDI_GADGET is not set
732CONFIG_MMC=m
733# CONFIG_MMC_DEBUG is not set
734# CONFIG_MMC_UNSAFE_RESUME is not set
735
736#
737# MMC/SD Card Drivers
738#
739CONFIG_MMC_BLOCK=m
740# CONFIG_MMC_BLOCK_BOUNCE is not set
741# CONFIG_SDIO_UART is not set
742
743#
744# MMC/SD Host Controller Drivers
745#
746CONFIG_MMC_SPI=m
747CONFIG_NEW_LEDS=y
748CONFIG_LEDS_CLASS=y
749
750#
751# LED drivers
752#
753CONFIG_LEDS_GPIO=y
754
755#
756# LED Triggers
757#
758CONFIG_LEDS_TRIGGERS=y
759CONFIG_LEDS_TRIGGER_TIMER=y
760CONFIG_LEDS_TRIGGER_HEARTBEAT=y
761CONFIG_RTC_LIB=y
762CONFIG_RTC_CLASS=y
763CONFIG_RTC_HCTOSYS=y
764CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
765# CONFIG_RTC_DEBUG is not set
766
767#
768# RTC interfaces
769#
770CONFIG_RTC_INTF_SYSFS=y
771CONFIG_RTC_INTF_PROC=y
772CONFIG_RTC_INTF_DEV=y
773# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
774# CONFIG_RTC_DRV_TEST is not set
775
776#
777# I2C RTC drivers
778#
779# CONFIG_RTC_DRV_DS1307 is not set
780# CONFIG_RTC_DRV_DS1374 is not set
781# CONFIG_RTC_DRV_DS1672 is not set
782# CONFIG_RTC_DRV_MAX6900 is not set
783# CONFIG_RTC_DRV_RS5C372 is not set
784# CONFIG_RTC_DRV_ISL1208 is not set
785# CONFIG_RTC_DRV_X1205 is not set
786# CONFIG_RTC_DRV_PCF8563 is not set
787# CONFIG_RTC_DRV_PCF8583 is not set
788# CONFIG_RTC_DRV_M41T80 is not set
789
790#
791# SPI RTC drivers
792#
793# CONFIG_RTC_DRV_RS5C348 is not set
794# CONFIG_RTC_DRV_MAX6902 is not set
795
796#
797# Platform RTC drivers
798#
799# CONFIG_RTC_DRV_DS1553 is not set
800# CONFIG_RTC_DRV_STK17TA8 is not set
801# CONFIG_RTC_DRV_DS1742 is not set
802# CONFIG_RTC_DRV_M48T86 is not set
803# CONFIG_RTC_DRV_M48T59 is not set
804# CONFIG_RTC_DRV_V3020 is not set
805
806#
807# on-CPU RTC drivers
808#
809CONFIG_RTC_DRV_AT32AP700X=y
810
811#
812# Userspace I/O
813#
814CONFIG_UIO=m
815
816#
817# File systems
818#
819CONFIG_EXT2_FS=m
820# CONFIG_EXT2_FS_XATTR is not set
821# CONFIG_EXT2_FS_XIP is not set
822CONFIG_EXT3_FS=m
823# CONFIG_EXT3_FS_XATTR is not set
824# CONFIG_EXT4DEV_FS is not set
825CONFIG_JBD=m
826# CONFIG_JBD_DEBUG is not set
827# CONFIG_REISERFS_FS is not set
828# CONFIG_JFS_FS is not set
829# CONFIG_FS_POSIX_ACL is not set
830# CONFIG_XFS_FS is not set
831# CONFIG_GFS2_FS is not set
832# CONFIG_OCFS2_FS is not set
833# CONFIG_MINIX_FS is not set
834# CONFIG_ROMFS_FS is not set
835CONFIG_INOTIFY=y
836CONFIG_INOTIFY_USER=y
837# CONFIG_QUOTA is not set
838# CONFIG_DNOTIFY is not set
839# CONFIG_AUTOFS_FS is not set
840# CONFIG_AUTOFS4_FS is not set
841CONFIG_FUSE_FS=m
842
843#
844# CD-ROM/DVD Filesystems
845#
846# CONFIG_ISO9660_FS is not set
847# CONFIG_UDF_FS is not set
848
849#
850# DOS/FAT/NT Filesystems
851#
852CONFIG_FAT_FS=m
853CONFIG_MSDOS_FS=m
854CONFIG_VFAT_FS=m
855CONFIG_FAT_DEFAULT_CODEPAGE=437
856CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
857# CONFIG_NTFS_FS is not set
858
859#
860# Pseudo filesystems
861#
862CONFIG_PROC_FS=y
863CONFIG_PROC_KCORE=y
864CONFIG_PROC_SYSCTL=y
865CONFIG_SYSFS=y
866CONFIG_TMPFS=y
867# CONFIG_TMPFS_POSIX_ACL is not set
868# CONFIG_HUGETLB_PAGE is not set
869CONFIG_CONFIGFS_FS=m
870
871#
872# Miscellaneous filesystems
873#
874# CONFIG_ADFS_FS is not set
875# CONFIG_AFFS_FS is not set
876# CONFIG_HFS_FS is not set
877# CONFIG_HFSPLUS_FS is not set
878# CONFIG_BEFS_FS is not set
879# CONFIG_BFS_FS is not set
880# CONFIG_EFS_FS is not set
881CONFIG_JFFS2_FS=y
882CONFIG_JFFS2_FS_DEBUG=0
883CONFIG_JFFS2_FS_WRITEBUFFER=y
884# CONFIG_JFFS2_FS_WBUF_VERIFY is not set
885# CONFIG_JFFS2_SUMMARY is not set
886# CONFIG_JFFS2_FS_XATTR is not set
887# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set
888CONFIG_JFFS2_ZLIB=y
889# CONFIG_JFFS2_LZO is not set
890CONFIG_JFFS2_RTIME=y
891# CONFIG_JFFS2_RUBIN is not set
892# CONFIG_CRAMFS is not set
893# CONFIG_VXFS_FS is not set
894# CONFIG_HPFS_FS is not set
895# CONFIG_QNX4FS_FS is not set
896# CONFIG_SYSV_FS is not set
897# CONFIG_UFS_FS is not set
898# CONFIG_NETWORK_FILESYSTEMS is not set
899
900#
901# Partition Types
902#
903# CONFIG_PARTITION_ADVANCED is not set
904CONFIG_MSDOS_PARTITION=y
905CONFIG_NLS=m
906CONFIG_NLS_DEFAULT="iso8859-1"
907CONFIG_NLS_CODEPAGE_437=m
908# CONFIG_NLS_CODEPAGE_737 is not set
909# CONFIG_NLS_CODEPAGE_775 is not set
910# CONFIG_NLS_CODEPAGE_850 is not set
911# CONFIG_NLS_CODEPAGE_852 is not set
912# CONFIG_NLS_CODEPAGE_855 is not set
913# CONFIG_NLS_CODEPAGE_857 is not set
914# CONFIG_NLS_CODEPAGE_860 is not set
915# CONFIG_NLS_CODEPAGE_861 is not set
916# CONFIG_NLS_CODEPAGE_862 is not set
917# CONFIG_NLS_CODEPAGE_863 is not set
918# CONFIG_NLS_CODEPAGE_864 is not set
919# CONFIG_NLS_CODEPAGE_865 is not set
920# CONFIG_NLS_CODEPAGE_866 is not set
921# CONFIG_NLS_CODEPAGE_869 is not set
922# CONFIG_NLS_CODEPAGE_936 is not set
923# CONFIG_NLS_CODEPAGE_950 is not set
924# CONFIG_NLS_CODEPAGE_932 is not set
925# CONFIG_NLS_CODEPAGE_949 is not set
926# CONFIG_NLS_CODEPAGE_874 is not set
927# CONFIG_NLS_ISO8859_8 is not set
928# CONFIG_NLS_CODEPAGE_1250 is not set
929# CONFIG_NLS_CODEPAGE_1251 is not set
930# CONFIG_NLS_ASCII is not set
931CONFIG_NLS_ISO8859_1=m
932# CONFIG_NLS_ISO8859_2 is not set
933# CONFIG_NLS_ISO8859_3 is not set
934# CONFIG_NLS_ISO8859_4 is not set
935# CONFIG_NLS_ISO8859_5 is not set
936# CONFIG_NLS_ISO8859_6 is not set
937# CONFIG_NLS_ISO8859_7 is not set
938# CONFIG_NLS_ISO8859_9 is not set
939# CONFIG_NLS_ISO8859_13 is not set
940# CONFIG_NLS_ISO8859_14 is not set
941# CONFIG_NLS_ISO8859_15 is not set
942# CONFIG_NLS_KOI8_R is not set
943# CONFIG_NLS_KOI8_U is not set
944CONFIG_NLS_UTF8=m
945# CONFIG_DLM is not set
946CONFIG_INSTRUMENTATION=y
947CONFIG_PROFILING=y
948CONFIG_OPROFILE=m
949CONFIG_KPROBES=y
950# CONFIG_MARKERS is not set
951
952#
953# Kernel hacking
954#
955# CONFIG_PRINTK_TIME is not set
956CONFIG_ENABLE_WARN_DEPRECATED=y
957CONFIG_ENABLE_MUST_CHECK=y
958CONFIG_MAGIC_SYSRQ=y
959# CONFIG_UNUSED_SYMBOLS is not set
960CONFIG_DEBUG_FS=y
961# CONFIG_HEADERS_CHECK is not set
962CONFIG_DEBUG_KERNEL=y
963# CONFIG_DEBUG_SHIRQ is not set
964CONFIG_DETECT_SOFTLOCKUP=y
965CONFIG_SCHED_DEBUG=y
966# CONFIG_SCHEDSTATS is not set
967# CONFIG_TIMER_STATS is not set
968# CONFIG_DEBUG_RT_MUTEXES is not set
969# CONFIG_RT_MUTEX_TESTER is not set
970# CONFIG_DEBUG_SPINLOCK is not set
971# CONFIG_DEBUG_MUTEXES is not set
972# CONFIG_DEBUG_LOCK_ALLOC is not set
973# CONFIG_PROVE_LOCKING is not set
974# CONFIG_LOCK_STAT is not set
975# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
976# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
977# CONFIG_DEBUG_KOBJECT is not set
978CONFIG_DEBUG_BUGVERBOSE=y
979# CONFIG_DEBUG_INFO is not set
980# CONFIG_DEBUG_VM is not set
981# CONFIG_DEBUG_LIST is not set
982# CONFIG_DEBUG_SG is not set
983CONFIG_FRAME_POINTER=y
984CONFIG_FORCED_INLINING=y
985# CONFIG_BOOT_PRINTK_DELAY is not set
986# CONFIG_RCU_TORTURE_TEST is not set
987# CONFIG_LKDTM is not set
988# CONFIG_FAULT_INJECTION is not set
989# CONFIG_SAMPLES is not set
990
991#
992# Security options
993#
994# CONFIG_KEYS is not set
995# CONFIG_SECURITY is not set
996# CONFIG_SECURITY_FILE_CAPABILITIES is not set
997# CONFIG_CRYPTO is not set
998
999#
1000# Library routines
1001#
1002CONFIG_BITREVERSE=y
1003CONFIG_CRC_CCITT=m
1004# CONFIG_CRC16 is not set
1005CONFIG_CRC_ITU_T=m
1006CONFIG_CRC32=y
1007CONFIG_CRC7=m
1008# CONFIG_LIBCRC32C is not set
1009CONFIG_AUDIT_GENERIC=y
1010CONFIG_ZLIB_INFLATE=y
1011CONFIG_ZLIB_DEFLATE=y
1012CONFIG_PLIST=y
1013CONFIG_HAS_IOMEM=y
1014CONFIG_HAS_IOPORT=y
1015CONFIG_HAS_DMA=y
diff --git a/arch/avr32/configs/atstk1004_defconfig b/arch/avr32/configs/atstk1004_defconfig
new file mode 100644
index 000000000000..634c52760349
--- /dev/null
+++ b/arch/avr32/configs/atstk1004_defconfig
@@ -0,0 +1,621 @@
1#
2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.24-rc7
4# Wed Jan 9 23:04:20 2008
5#
6CONFIG_AVR32=y
7CONFIG_GENERIC_GPIO=y
8CONFIG_GENERIC_HARDIRQS=y
9CONFIG_STACKTRACE_SUPPORT=y
10CONFIG_LOCKDEP_SUPPORT=y
11CONFIG_TRACE_IRQFLAGS_SUPPORT=y
12CONFIG_HARDIRQS_SW_RESEND=y
13CONFIG_GENERIC_IRQ_PROBE=y
14CONFIG_RWSEM_GENERIC_SPINLOCK=y
15CONFIG_GENERIC_TIME=y
16# CONFIG_RWSEM_XCHGADD_ALGORITHM is not set
17# CONFIG_ARCH_HAS_ILOG2_U32 is not set
18# CONFIG_ARCH_HAS_ILOG2_U64 is not set
19CONFIG_ARCH_SUPPORTS_OPROFILE=y
20CONFIG_GENERIC_HWEIGHT=y
21CONFIG_GENERIC_CALIBRATE_DELAY=y
22CONFIG_GENERIC_BUG=y
23CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
24
25#
26# General setup
27#
28CONFIG_EXPERIMENTAL=y
29CONFIG_BROKEN_ON_SMP=y
30CONFIG_INIT_ENV_ARG_LIMIT=32
31CONFIG_LOCALVERSION=""
32# CONFIG_LOCALVERSION_AUTO is not set
33# CONFIG_SYSVIPC is not set
34# CONFIG_POSIX_MQUEUE is not set
35# CONFIG_BSD_PROCESS_ACCT is not set
36# CONFIG_TASKSTATS is not set
37# CONFIG_USER_NS is not set
38# CONFIG_PID_NS is not set
39# CONFIG_AUDIT is not set
40# CONFIG_IKCONFIG is not set
41CONFIG_LOG_BUF_SHIFT=14
42# CONFIG_CGROUPS is not set
43# CONFIG_FAIR_GROUP_SCHED is not set
44CONFIG_SYSFS_DEPRECATED=y
45# CONFIG_RELAY is not set
46# CONFIG_BLK_DEV_INITRD is not set
47CONFIG_CC_OPTIMIZE_FOR_SIZE=y
48CONFIG_SYSCTL=y
49CONFIG_EMBEDDED=y
50# CONFIG_SYSCTL_SYSCALL is not set
51CONFIG_KALLSYMS=y
52# CONFIG_KALLSYMS_EXTRA_PASS is not set
53CONFIG_HOTPLUG=y
54CONFIG_PRINTK=y
55CONFIG_BUG=y
56CONFIG_ELF_CORE=y
57# CONFIG_BASE_FULL is not set
58# CONFIG_FUTEX is not set
59# CONFIG_EPOLL is not set
60# CONFIG_SIGNALFD is not set
61# CONFIG_EVENTFD is not set
62CONFIG_SHMEM=y
63CONFIG_VM_EVENT_COUNTERS=y
64# CONFIG_SLAB is not set
65# CONFIG_SLUB is not set
66CONFIG_SLOB=y
67# CONFIG_TINY_SHMEM is not set
68CONFIG_BASE_SMALL=1
69# CONFIG_MODULES is not set
70# CONFIG_BLOCK is not set
71
72#
73# System Type and features
74#
75CONFIG_SUBARCH_AVR32B=y
76CONFIG_MMU=y
77CONFIG_PERFORMANCE_COUNTERS=y
78CONFIG_PLATFORM_AT32AP=y
79CONFIG_CPU_AT32AP700X=y
80CONFIG_CPU_AT32AP7002=y
81CONFIG_BOARD_ATSTK1000=y
82# CONFIG_BOARD_ATNGW100 is not set
83# CONFIG_BOARD_ATSTK1002 is not set
84# CONFIG_BOARD_ATSTK1003 is not set
85CONFIG_BOARD_ATSTK1004=y
86# CONFIG_BOARD_ATSTK100X_CUSTOM is not set
87# CONFIG_BOARD_ATSTK100X_SPI1 is not set
88# CONFIG_BOARD_ATSTK1000_J2_LED is not set
89CONFIG_BOARD_ATSTK1000_EXTDAC=y
90CONFIG_LOADER_U_BOOT=y
91
92#
93# Atmel AVR32 AP options
94#
95# CONFIG_AP700X_32_BIT_SMC is not set
96CONFIG_AP700X_16_BIT_SMC=y
97# CONFIG_AP700X_8_BIT_SMC is not set
98CONFIG_LOAD_ADDRESS=0x10000000
99CONFIG_ENTRY_ADDRESS=0x90000000
100CONFIG_PHYS_OFFSET=0x10000000
101CONFIG_PREEMPT_NONE=y
102# CONFIG_PREEMPT_VOLUNTARY is not set
103# CONFIG_PREEMPT is not set
104# CONFIG_HAVE_ARCH_BOOTMEM_NODE is not set
105# CONFIG_ARCH_HAVE_MEMORY_PRESENT is not set
106# CONFIG_NEED_NODE_MEMMAP_SIZE is not set
107CONFIG_ARCH_FLATMEM_ENABLE=y
108# CONFIG_ARCH_DISCONTIGMEM_ENABLE is not set
109# CONFIG_ARCH_SPARSEMEM_ENABLE is not set
110CONFIG_SELECT_MEMORY_MODEL=y
111CONFIG_FLATMEM_MANUAL=y
112# CONFIG_DISCONTIGMEM_MANUAL is not set
113# CONFIG_SPARSEMEM_MANUAL is not set
114CONFIG_FLATMEM=y
115CONFIG_FLAT_NODE_MEM_MAP=y
116# CONFIG_SPARSEMEM_STATIC is not set
117# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set
118CONFIG_SPLIT_PTLOCK_CPUS=4
119# CONFIG_RESOURCES_64BIT is not set
120CONFIG_ZONE_DMA_FLAG=0
121CONFIG_VIRT_TO_BUS=y
122# CONFIG_OWNERSHIP_TRACE is not set
123# CONFIG_HZ_100 is not set
124CONFIG_HZ_250=y
125# CONFIG_HZ_300 is not set
126# CONFIG_HZ_1000 is not set
127CONFIG_HZ=250
128CONFIG_CMDLINE=""
129
130#
131# Power management options
132#
133
134#
135# CPU Frequency scaling
136#
137CONFIG_CPU_FREQ=y
138CONFIG_CPU_FREQ_TABLE=y
139# CONFIG_CPU_FREQ_DEBUG is not set
140# CONFIG_CPU_FREQ_STAT is not set
141CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
142# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
143# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
144# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
145CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
146# CONFIG_CPU_FREQ_GOV_POWERSAVE is not set
147CONFIG_CPU_FREQ_GOV_USERSPACE=y
148CONFIG_CPU_FREQ_GOV_ONDEMAND=y
149# CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set
150CONFIG_CPU_FREQ_AT32AP=y
151
152#
153# Bus options
154#
155# CONFIG_ARCH_SUPPORTS_MSI is not set
156# CONFIG_PCCARD is not set
157
158#
159# Executable file formats
160#
161CONFIG_BINFMT_ELF=y
162# CONFIG_BINFMT_MISC is not set
163
164#
165# Networking
166#
167CONFIG_NET=y
168
169#
170# Networking options
171#
172CONFIG_PACKET=y
173CONFIG_PACKET_MMAP=y
174CONFIG_UNIX=y
175# CONFIG_NET_KEY is not set
176CONFIG_INET=y
177# CONFIG_IP_MULTICAST is not set
178# CONFIG_IP_ADVANCED_ROUTER is not set
179CONFIG_IP_FIB_HASH=y
180# CONFIG_IP_PNP is not set
181# CONFIG_NET_IPIP is not set
182# CONFIG_NET_IPGRE is not set
183# CONFIG_ARPD is not set
184# CONFIG_SYN_COOKIES is not set
185# CONFIG_INET_AH is not set
186# CONFIG_INET_ESP is not set
187# CONFIG_INET_IPCOMP is not set
188# CONFIG_INET_XFRM_TUNNEL is not set
189# CONFIG_INET_TUNNEL is not set
190# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
191# CONFIG_INET_XFRM_MODE_TUNNEL is not set
192# CONFIG_INET_XFRM_MODE_BEET is not set
193# CONFIG_INET_LRO is not set
194# CONFIG_INET_DIAG is not set
195# CONFIG_TCP_CONG_ADVANCED is not set
196CONFIG_TCP_CONG_CUBIC=y
197CONFIG_DEFAULT_TCP_CONG="cubic"
198# CONFIG_TCP_MD5SIG is not set
199# CONFIG_IPV6 is not set
200# CONFIG_INET6_XFRM_TUNNEL is not set
201# CONFIG_INET6_TUNNEL is not set
202# CONFIG_NETWORK_SECMARK is not set
203# CONFIG_NETFILTER is not set
204# CONFIG_IP_DCCP is not set
205# CONFIG_IP_SCTP is not set
206# CONFIG_TIPC is not set
207# CONFIG_ATM is not set
208# CONFIG_BRIDGE is not set
209# CONFIG_VLAN_8021Q is not set
210# CONFIG_DECNET is not set
211# CONFIG_LLC2 is not set
212# CONFIG_IPX is not set
213# CONFIG_ATALK is not set
214# CONFIG_X25 is not set
215# CONFIG_LAPB is not set
216# CONFIG_ECONET is not set
217# CONFIG_WAN_ROUTER is not set
218# CONFIG_NET_SCHED is not set
219
220#
221# Network testing
222#
223# CONFIG_NET_PKTGEN is not set
224# CONFIG_HAMRADIO is not set
225# CONFIG_IRDA is not set
226# CONFIG_BT is not set
227# CONFIG_AF_RXRPC is not set
228
229#
230# Wireless
231#
232# CONFIG_CFG80211 is not set
233# CONFIG_WIRELESS_EXT is not set
234# CONFIG_MAC80211 is not set
235# CONFIG_IEEE80211 is not set
236# CONFIG_RFKILL is not set
237# CONFIG_NET_9P is not set
238
239#
240# Device Drivers
241#
242
243#
244# Generic Driver Options
245#
246CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
247CONFIG_STANDALONE=y
248# CONFIG_PREVENT_FIRMWARE_BUILD is not set
249# CONFIG_FW_LOADER is not set
250# CONFIG_SYS_HYPERVISOR is not set
251# CONFIG_CONNECTOR is not set
252CONFIG_MTD=y
253# CONFIG_MTD_DEBUG is not set
254# CONFIG_MTD_CONCAT is not set
255CONFIG_MTD_PARTITIONS=y
256# CONFIG_MTD_REDBOOT_PARTS is not set
257CONFIG_MTD_CMDLINE_PARTS=y
258
259#
260# User Modules And Translation Layers
261#
262CONFIG_MTD_CHAR=y
263# CONFIG_MTD_OOPS is not set
264
265#
266# RAM/ROM/Flash chip drivers
267#
268CONFIG_MTD_CFI=y
269# CONFIG_MTD_JEDECPROBE is not set
270CONFIG_MTD_GEN_PROBE=y
271# CONFIG_MTD_CFI_ADV_OPTIONS is not set
272CONFIG_MTD_MAP_BANK_WIDTH_1=y
273CONFIG_MTD_MAP_BANK_WIDTH_2=y
274CONFIG_MTD_MAP_BANK_WIDTH_4=y
275# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
276# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
277# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
278CONFIG_MTD_CFI_I1=y
279CONFIG_MTD_CFI_I2=y
280# CONFIG_MTD_CFI_I4 is not set
281# CONFIG_MTD_CFI_I8 is not set
282# CONFIG_MTD_CFI_INTELEXT is not set
283CONFIG_MTD_CFI_AMDSTD=y
284# CONFIG_MTD_CFI_STAA is not set
285CONFIG_MTD_CFI_UTIL=y
286# CONFIG_MTD_RAM is not set
287# CONFIG_MTD_ROM is not set
288# CONFIG_MTD_ABSENT is not set
289
290#
291# Mapping drivers for chip access
292#
293# CONFIG_MTD_COMPLEX_MAPPINGS is not set
294CONFIG_MTD_PHYSMAP=y
295CONFIG_MTD_PHYSMAP_START=0x8000000
296CONFIG_MTD_PHYSMAP_LEN=0x0
297CONFIG_MTD_PHYSMAP_BANKWIDTH=2
298# CONFIG_MTD_PLATRAM is not set
299
300#
301# Self-contained MTD device drivers
302#
303# CONFIG_MTD_DATAFLASH is not set
304# CONFIG_MTD_M25P80 is not set
305# CONFIG_MTD_SLRAM is not set
306# CONFIG_MTD_PHRAM is not set
307# CONFIG_MTD_MTDRAM is not set
308
309#
310# Disk-On-Chip Device Drivers
311#
312# CONFIG_MTD_DOC2000 is not set
313# CONFIG_MTD_DOC2001 is not set
314# CONFIG_MTD_DOC2001PLUS is not set
315# CONFIG_MTD_NAND is not set
316# CONFIG_MTD_ONENAND is not set
317
318#
319# UBI - Unsorted block images
320#
321# CONFIG_MTD_UBI is not set
322# CONFIG_PARPORT is not set
323# CONFIG_MISC_DEVICES is not set
324
325#
326# SCSI device support
327#
328# CONFIG_SCSI_DMA is not set
329# CONFIG_SCSI_NETLINK is not set
330# CONFIG_NETDEVICES is not set
331# CONFIG_ISDN is not set
332# CONFIG_PHONE is not set
333
334#
335# Input device support
336#
337# CONFIG_INPUT is not set
338
339#
340# Hardware I/O ports
341#
342# CONFIG_SERIO is not set
343# CONFIG_GAMEPORT is not set
344
345#
346# Character devices
347#
348# CONFIG_VT is not set
349# CONFIG_SERIAL_NONSTANDARD is not set
350
351#
352# Serial drivers
353#
354# CONFIG_SERIAL_8250 is not set
355
356#
357# Non-8250 serial port support
358#
359CONFIG_SERIAL_ATMEL=y
360CONFIG_SERIAL_ATMEL_CONSOLE=y
361# CONFIG_SERIAL_ATMEL_TTYAT is not set
362CONFIG_SERIAL_CORE=y
363CONFIG_SERIAL_CORE_CONSOLE=y
364CONFIG_UNIX98_PTYS=y
365# CONFIG_LEGACY_PTYS is not set
366# CONFIG_IPMI_HANDLER is not set
367# CONFIG_HW_RANDOM is not set
368# CONFIG_RTC is not set
369# CONFIG_GEN_RTC is not set
370# CONFIG_R3964 is not set
371# CONFIG_TCG_TPM is not set
372# CONFIG_I2C is not set
373
374#
375# SPI support
376#
377CONFIG_SPI=y
378CONFIG_SPI_MASTER=y
379
380#
381# SPI Master Controller Drivers
382#
383CONFIG_SPI_ATMEL=y
384# CONFIG_SPI_BITBANG is not set
385
386#
387# SPI Protocol Masters
388#
389# CONFIG_SPI_AT25 is not set
390# CONFIG_SPI_SPIDEV is not set
391# CONFIG_SPI_TLE62X0 is not set
392# CONFIG_W1 is not set
393# CONFIG_POWER_SUPPLY is not set
394# CONFIG_HWMON is not set
395CONFIG_WATCHDOG=y
396# CONFIG_WATCHDOG_NOWAYOUT is not set
397
398#
399# Watchdog Device Drivers
400#
401# CONFIG_SOFT_WATCHDOG is not set
402CONFIG_AT32AP700X_WDT=y
403
404#
405# Sonics Silicon Backplane
406#
407CONFIG_SSB_POSSIBLE=y
408# CONFIG_SSB is not set
409
410#
411# Multifunction device drivers
412#
413# CONFIG_MFD_SM501 is not set
414
415#
416# Multimedia devices
417#
418# CONFIG_VIDEO_DEV is not set
419# CONFIG_DVB_CORE is not set
420# CONFIG_DAB is not set
421
422#
423# Graphics support
424#
425# CONFIG_VGASTATE is not set
426# CONFIG_VIDEO_OUTPUT_CONTROL is not set
427CONFIG_FB=y
428# CONFIG_FIRMWARE_EDID is not set
429# CONFIG_FB_DDC is not set
430CONFIG_FB_CFB_FILLRECT=y
431CONFIG_FB_CFB_COPYAREA=y
432CONFIG_FB_CFB_IMAGEBLIT=y
433# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
434# CONFIG_FB_SYS_FILLRECT is not set
435# CONFIG_FB_SYS_COPYAREA is not set
436# CONFIG_FB_SYS_IMAGEBLIT is not set
437# CONFIG_FB_SYS_FOPS is not set
438CONFIG_FB_DEFERRED_IO=y
439# CONFIG_FB_SVGALIB is not set
440# CONFIG_FB_MACMODES is not set
441# CONFIG_FB_BACKLIGHT is not set
442# CONFIG_FB_MODE_HELPERS is not set
443# CONFIG_FB_TILEBLITTING is not set
444
445#
446# Frame buffer hardware drivers
447#
448# CONFIG_FB_S1D13XXX is not set
449CONFIG_FB_ATMEL=y
450# CONFIG_FB_VIRTUAL is not set
451CONFIG_BACKLIGHT_LCD_SUPPORT=y
452CONFIG_LCD_CLASS_DEVICE=y
453CONFIG_LCD_LTV350QV=y
454# CONFIG_BACKLIGHT_CLASS_DEVICE is not set
455
456#
457# Display device support
458#
459# CONFIG_DISPLAY_SUPPORT is not set
460# CONFIG_LOGO is not set
461
462#
463# Sound
464#
465# CONFIG_SOUND is not set
466CONFIG_USB_SUPPORT=y
467# CONFIG_USB_ARCH_HAS_HCD is not set
468# CONFIG_USB_ARCH_HAS_OHCI is not set
469# CONFIG_USB_ARCH_HAS_EHCI is not set
470
471#
472# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
473#
474
475#
476# USB Gadget Support
477#
478CONFIG_USB_GADGET=y
479# CONFIG_USB_GADGET_DEBUG_FILES is not set
480CONFIG_USB_GADGET_SELECTED=y
481# CONFIG_USB_GADGET_AMD5536UDC is not set
482CONFIG_USB_GADGET_ATMEL_USBA=y
483CONFIG_USB_ATMEL_USBA=y
484# CONFIG_USB_GADGET_FSL_USB2 is not set
485# CONFIG_USB_GADGET_NET2280 is not set
486# CONFIG_USB_GADGET_PXA2XX is not set
487# CONFIG_USB_GADGET_M66592 is not set
488# CONFIG_USB_GADGET_GOKU is not set
489# CONFIG_USB_GADGET_LH7A40X is not set
490# CONFIG_USB_GADGET_OMAP is not set
491# CONFIG_USB_GADGET_S3C2410 is not set
492# CONFIG_USB_GADGET_AT91 is not set
493# CONFIG_USB_GADGET_DUMMY_HCD is not set
494CONFIG_USB_GADGET_DUALSPEED=y
495# CONFIG_USB_ZERO is not set
496CONFIG_USB_ETH=y
497# CONFIG_USB_ETH_RNDIS is not set
498# CONFIG_USB_GADGETFS is not set
499# CONFIG_USB_FILE_STORAGE is not set
500# CONFIG_USB_G_SERIAL is not set
501# CONFIG_USB_MIDI_GADGET is not set
502# CONFIG_MMC is not set
503# CONFIG_NEW_LEDS is not set
504CONFIG_RTC_LIB=y
505CONFIG_RTC_CLASS=y
506CONFIG_RTC_HCTOSYS=y
507CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
508# CONFIG_RTC_DEBUG is not set
509
510#
511# RTC interfaces
512#
513CONFIG_RTC_INTF_SYSFS=y
514# CONFIG_RTC_INTF_PROC is not set
515CONFIG_RTC_INTF_DEV=y
516# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
517# CONFIG_RTC_DRV_TEST is not set
518
519#
520# SPI RTC drivers
521#
522# CONFIG_RTC_DRV_RS5C348 is not set
523# CONFIG_RTC_DRV_MAX6902 is not set
524
525#
526# Platform RTC drivers
527#
528# CONFIG_RTC_DRV_DS1553 is not set
529# CONFIG_RTC_DRV_STK17TA8 is not set
530# CONFIG_RTC_DRV_DS1742 is not set
531# CONFIG_RTC_DRV_M48T86 is not set
532# CONFIG_RTC_DRV_M48T59 is not set
533# CONFIG_RTC_DRV_V3020 is not set
534
535#
536# on-CPU RTC drivers
537#
538CONFIG_RTC_DRV_AT32AP700X=y
539
540#
541# Userspace I/O
542#
543# CONFIG_UIO is not set
544
545#
546# File systems
547#
548# CONFIG_INOTIFY is not set
549# CONFIG_QUOTA is not set
550# CONFIG_DNOTIFY is not set
551# CONFIG_AUTOFS_FS is not set
552# CONFIG_AUTOFS4_FS is not set
553# CONFIG_FUSE_FS is not set
554
555#
556# Pseudo filesystems
557#
558CONFIG_PROC_FS=y
559CONFIG_PROC_KCORE=y
560CONFIG_PROC_SYSCTL=y
561CONFIG_SYSFS=y
562CONFIG_TMPFS=y
563# CONFIG_TMPFS_POSIX_ACL is not set
564# CONFIG_HUGETLB_PAGE is not set
565# CONFIG_CONFIGFS_FS is not set
566
567#
568# Miscellaneous filesystems
569#
570CONFIG_JFFS2_FS=y
571CONFIG_JFFS2_FS_DEBUG=0
572# CONFIG_JFFS2_FS_WRITEBUFFER is not set
573# CONFIG_JFFS2_SUMMARY is not set
574# CONFIG_JFFS2_FS_XATTR is not set
575# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set
576CONFIG_JFFS2_ZLIB=y
577# CONFIG_JFFS2_LZO is not set
578CONFIG_JFFS2_RTIME=y
579# CONFIG_JFFS2_RUBIN is not set
580# CONFIG_NETWORK_FILESYSTEMS is not set
581# CONFIG_NLS is not set
582# CONFIG_DLM is not set
583# CONFIG_INSTRUMENTATION is not set
584
585#
586# Kernel hacking
587#
588# CONFIG_PRINTK_TIME is not set
589CONFIG_ENABLE_WARN_DEPRECATED=y
590CONFIG_ENABLE_MUST_CHECK=y
591CONFIG_MAGIC_SYSRQ=y
592# CONFIG_UNUSED_SYMBOLS is not set
593# CONFIG_DEBUG_FS is not set
594# CONFIG_HEADERS_CHECK is not set
595# CONFIG_DEBUG_KERNEL is not set
596# CONFIG_DEBUG_BUGVERBOSE is not set
597# CONFIG_SAMPLES is not set
598
599#
600# Security options
601#
602# CONFIG_KEYS is not set
603# CONFIG_SECURITY is not set
604# CONFIG_SECURITY_FILE_CAPABILITIES is not set
605# CONFIG_CRYPTO is not set
606
607#
608# Library routines
609#
610CONFIG_BITREVERSE=y
611# CONFIG_CRC_CCITT is not set
612# CONFIG_CRC16 is not set
613# CONFIG_CRC_ITU_T is not set
614CONFIG_CRC32=y
615# CONFIG_CRC7 is not set
616# CONFIG_LIBCRC32C is not set
617CONFIG_ZLIB_INFLATE=y
618CONFIG_ZLIB_DEFLATE=y
619CONFIG_HAS_IOMEM=y
620CONFIG_HAS_IOPORT=y
621CONFIG_HAS_DMA=y