diff options
-rw-r--r-- | arch/powerpc/boot/dts/socrates.dts | 338 | ||||
-rw-r--r-- | arch/powerpc/configs/85xx/socrates_defconfig | 1410 | ||||
-rw-r--r-- | arch/powerpc/platforms/85xx/Kconfig | 6 | ||||
-rw-r--r-- | arch/powerpc/platforms/85xx/Makefile | 1 | ||||
-rw-r--r-- | arch/powerpc/platforms/85xx/socrates.c | 133 | ||||
-rw-r--r-- | arch/powerpc/platforms/85xx/socrates_fpga_pic.c | 327 | ||||
-rw-r--r-- | arch/powerpc/platforms/85xx/socrates_fpga_pic.h | 16 |
7 files changed, 2231 insertions, 0 deletions
diff --git a/arch/powerpc/boot/dts/socrates.dts b/arch/powerpc/boot/dts/socrates.dts new file mode 100644 index 000000000000..b8d0fc6f0042 --- /dev/null +++ b/arch/powerpc/boot/dts/socrates.dts | |||
@@ -0,0 +1,338 @@ | |||
1 | /* | ||
2 | * Device Tree Source for the Socrates board (MPC8544). | ||
3 | * | ||
4 | * Copyright (c) 2008 Emcraft Systems. | ||
5 | * Sergei Poselenov, <sposelenov@emcraft.com> | ||
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify it | ||
8 | * under the terms of the GNU General Public License as published by the | ||
9 | * Free Software Foundation; either version 2 of the License, or (at your | ||
10 | * option) any later version. | ||
11 | */ | ||
12 | |||
13 | /dts-v1/; | ||
14 | |||
15 | / { | ||
16 | model = "abb,socrates"; | ||
17 | compatible = "abb,socrates"; | ||
18 | #address-cells = <1>; | ||
19 | #size-cells = <1>; | ||
20 | |||
21 | aliases { | ||
22 | ethernet0 = &enet0; | ||
23 | ethernet1 = &enet1; | ||
24 | serial0 = &serial0; | ||
25 | serial1 = &serial1; | ||
26 | pci0 = &pci0; | ||
27 | }; | ||
28 | |||
29 | cpus { | ||
30 | #address-cells = <1>; | ||
31 | #size-cells = <0>; | ||
32 | |||
33 | PowerPC,8544@0 { | ||
34 | device_type = "cpu"; | ||
35 | reg = <0>; | ||
36 | d-cache-line-size = <32>; | ||
37 | i-cache-line-size = <32>; | ||
38 | d-cache-size = <0x8000>; // L1, 32K | ||
39 | i-cache-size = <0x8000>; // L1, 32K | ||
40 | timebase-frequency = <0>; | ||
41 | bus-frequency = <0>; | ||
42 | clock-frequency = <0>; | ||
43 | next-level-cache = <&L2>; | ||
44 | }; | ||
45 | }; | ||
46 | |||
47 | memory { | ||
48 | device_type = "memory"; | ||
49 | reg = <0x00000000 0x00000000>; // Filled in by U-Boot | ||
50 | }; | ||
51 | |||
52 | soc8544@e0000000 { | ||
53 | #address-cells = <1>; | ||
54 | #size-cells = <1>; | ||
55 | |||
56 | ranges = <0x00000000 0xe0000000 0x00100000>; | ||
57 | reg = <0xe0000000 0x00001000>; // CCSRBAR 1M | ||
58 | bus-frequency = <0>; // Filled in by U-Boot | ||
59 | compatible = "fsl,mpc8544-immr", "simple-bus"; | ||
60 | |||
61 | memory-controller@2000 { | ||
62 | compatible = "fsl,mpc8544-memory-controller"; | ||
63 | reg = <0x2000 0x1000>; | ||
64 | interrupt-parent = <&mpic>; | ||
65 | interrupts = <18 2>; | ||
66 | }; | ||
67 | |||
68 | L2: l2-cache-controller@20000 { | ||
69 | compatible = "fsl,mpc8544-l2-cache-controller"; | ||
70 | reg = <0x20000 0x1000>; | ||
71 | cache-line-size = <32>; | ||
72 | cache-size = <0x40000>; // L2, 256K | ||
73 | interrupt-parent = <&mpic>; | ||
74 | interrupts = <16 2>; | ||
75 | }; | ||
76 | |||
77 | i2c@3000 { | ||
78 | #address-cells = <1>; | ||
79 | #size-cells = <0>; | ||
80 | cell-index = <0>; | ||
81 | compatible = "fsl-i2c"; | ||
82 | reg = <0x3000 0x100>; | ||
83 | interrupts = <43 2>; | ||
84 | interrupt-parent = <&mpic>; | ||
85 | dfsrr; | ||
86 | |||
87 | dtt@28 { | ||
88 | compatible = "winbond,w83782d"; | ||
89 | reg = <0x28>; | ||
90 | }; | ||
91 | rtc@32 { | ||
92 | compatible = "epson,rx8025"; | ||
93 | reg = <0x32>; | ||
94 | interrupts = <7 1>; | ||
95 | interrupt-parent = <&mpic>; | ||
96 | }; | ||
97 | dtt@4c { | ||
98 | compatible = "dallas,ds75"; | ||
99 | reg = <0x4c>; | ||
100 | }; | ||
101 | ts@4a { | ||
102 | compatible = "ti,tsc2003"; | ||
103 | reg = <0x4a>; | ||
104 | interrupt-parent = <&mpic>; | ||
105 | interrupts = <8 1>; | ||
106 | }; | ||
107 | }; | ||
108 | |||
109 | i2c@3100 { | ||
110 | #address-cells = <1>; | ||
111 | #size-cells = <0>; | ||
112 | cell-index = <1>; | ||
113 | compatible = "fsl-i2c"; | ||
114 | reg = <0x3100 0x100>; | ||
115 | interrupts = <43 2>; | ||
116 | interrupt-parent = <&mpic>; | ||
117 | dfsrr; | ||
118 | }; | ||
119 | |||
120 | enet0: ethernet@24000 { | ||
121 | #address-cells = <1>; | ||
122 | #size-cells = <1>; | ||
123 | cell-index = <0>; | ||
124 | device_type = "network"; | ||
125 | model = "eTSEC"; | ||
126 | compatible = "gianfar"; | ||
127 | reg = <0x24000 0x1000>; | ||
128 | ranges = <0x0 0x24000 0x1000>; | ||
129 | local-mac-address = [ 00 00 00 00 00 00 ]; | ||
130 | interrupts = <29 2 30 2 34 2>; | ||
131 | interrupt-parent = <&mpic>; | ||
132 | phy-handle = <&phy0>; | ||
133 | tbi-handle = <&tbi0>; | ||
134 | phy-connection-type = "rgmii-id"; | ||
135 | |||
136 | mdio@520 { | ||
137 | #address-cells = <1>; | ||
138 | #size-cells = <0>; | ||
139 | compatible = "fsl,gianfar-mdio"; | ||
140 | reg = <0x520 0x20>; | ||
141 | |||
142 | phy0: ethernet-phy@0 { | ||
143 | interrupt-parent = <&mpic>; | ||
144 | interrupts = <0 1>; | ||
145 | reg = <0>; | ||
146 | }; | ||
147 | phy1: ethernet-phy@1 { | ||
148 | interrupt-parent = <&mpic>; | ||
149 | interrupts = <0 1>; | ||
150 | reg = <1>; | ||
151 | }; | ||
152 | tbi0: tbi-phy@11 { | ||
153 | reg = <0x11>; | ||
154 | }; | ||
155 | }; | ||
156 | }; | ||
157 | |||
158 | enet1: ethernet@26000 { | ||
159 | #address-cells = <1>; | ||
160 | #size-cells = <1>; | ||
161 | cell-index = <1>; | ||
162 | device_type = "network"; | ||
163 | model = "eTSEC"; | ||
164 | compatible = "gianfar"; | ||
165 | reg = <0x26000 0x1000>; | ||
166 | ranges = <0x0 0x26000 0x1000>; | ||
167 | local-mac-address = [ 00 00 00 00 00 00 ]; | ||
168 | interrupts = <31 2 32 2 33 2>; | ||
169 | interrupt-parent = <&mpic>; | ||
170 | phy-handle = <&phy1>; | ||
171 | tbi-handle = <&tbi1>; | ||
172 | phy-connection-type = "rgmii-id"; | ||
173 | |||
174 | mdio@520 { | ||
175 | #address-cells = <1>; | ||
176 | #size-cells = <0>; | ||
177 | compatible = "fsl,gianfar-tbi"; | ||
178 | reg = <0x520 0x20>; | ||
179 | |||
180 | tbi1: tbi-phy@11 { | ||
181 | reg = <0x11>; | ||
182 | }; | ||
183 | }; | ||
184 | }; | ||
185 | |||
186 | serial0: serial@4500 { | ||
187 | cell-index = <0>; | ||
188 | device_type = "serial"; | ||
189 | compatible = "ns16550"; | ||
190 | reg = <0x4500 0x100>; | ||
191 | clock-frequency = <0>; | ||
192 | interrupts = <42 2>; | ||
193 | interrupt-parent = <&mpic>; | ||
194 | }; | ||
195 | |||
196 | serial1: serial@4600 { | ||
197 | cell-index = <1>; | ||
198 | device_type = "serial"; | ||
199 | compatible = "ns16550"; | ||
200 | reg = <0x4600 0x100>; | ||
201 | clock-frequency = <0>; | ||
202 | interrupts = <42 2>; | ||
203 | interrupt-parent = <&mpic>; | ||
204 | }; | ||
205 | |||
206 | global-utilities@e0000 { //global utilities block | ||
207 | compatible = "fsl,mpc8548-guts"; | ||
208 | reg = <0xe0000 0x1000>; | ||
209 | fsl,has-rstcr; | ||
210 | }; | ||
211 | |||
212 | mpic: pic@40000 { | ||
213 | interrupt-controller; | ||
214 | #address-cells = <0>; | ||
215 | #interrupt-cells = <2>; | ||
216 | reg = <0x40000 0x40000>; | ||
217 | compatible = "chrp,open-pic"; | ||
218 | device_type = "open-pic"; | ||
219 | }; | ||
220 | }; | ||
221 | |||
222 | |||
223 | localbus { | ||
224 | compatible = "fsl,mpc8544-localbus", | ||
225 | "fsl,pq3-localbus", | ||
226 | "simple-bus"; | ||
227 | #address-cells = <2>; | ||
228 | #size-cells = <1>; | ||
229 | reg = <0xe0005000 0x40>; | ||
230 | |||
231 | ranges = <0 0 0xfc000000 0x04000000 | ||
232 | 2 0 0xc8000000 0x04000000 | ||
233 | 3 0 0xc0000000 0x00100000 | ||
234 | >; /* Overwritten by U-Boot */ | ||
235 | |||
236 | nor_flash@0,0 { | ||
237 | compatible = "amd,s29gl256n", "cfi-flash"; | ||
238 | bank-width = <2>; | ||
239 | reg = <0x0 0x000000 0x4000000>; | ||
240 | #address-cells = <1>; | ||
241 | #size-cells = <1>; | ||
242 | partition@0 { | ||
243 | label = "kernel"; | ||
244 | reg = <0x0 0x1e0000>; | ||
245 | read-only; | ||
246 | }; | ||
247 | partition@1e0000 { | ||
248 | label = "dtb"; | ||
249 | reg = <0x1e0000 0x20000>; | ||
250 | }; | ||
251 | partition@200000 { | ||
252 | label = "root"; | ||
253 | reg = <0x200000 0x200000>; | ||
254 | }; | ||
255 | partition@400000 { | ||
256 | label = "user"; | ||
257 | reg = <0x400000 0x3b80000>; | ||
258 | }; | ||
259 | partition@3f80000 { | ||
260 | label = "env"; | ||
261 | reg = <0x3f80000 0x40000>; | ||
262 | read-only; | ||
263 | }; | ||
264 | partition@3fc0000 { | ||
265 | label = "u-boot"; | ||
266 | reg = <0x3fc0000 0x40000>; | ||
267 | read-only; | ||
268 | }; | ||
269 | }; | ||
270 | |||
271 | display@2,0 { | ||
272 | compatible = "fujitsu,lime"; | ||
273 | reg = <2 0x0 0x4000000>; | ||
274 | interrupt-parent = <&mpic>; | ||
275 | interrupts = <6 1>; | ||
276 | }; | ||
277 | |||
278 | fpga_pic: fpga-pic@3,10 { | ||
279 | compatible = "abb,socrates-fpga-pic"; | ||
280 | reg = <3 0x10 0x10>; | ||
281 | interrupt-controller; | ||
282 | /* IRQs 2, 10, 11, active low, level-sensitive */ | ||
283 | interrupts = <2 1 10 1 11 1>; | ||
284 | interrupt-parent = <&mpic>; | ||
285 | #interrupt-cells = <3>; | ||
286 | }; | ||
287 | |||
288 | spi@3,60 { | ||
289 | compatible = "abb,socrates-spi"; | ||
290 | reg = <3 0x60 0x10>; | ||
291 | interrupts = <8 4 0>; // number, type, routing | ||
292 | interrupt-parent = <&fpga_pic>; | ||
293 | }; | ||
294 | |||
295 | nand@3,70 { | ||
296 | compatible = "abb,socrates-nand"; | ||
297 | reg = <3 0x70 0x04>; | ||
298 | bank-width = <1>; | ||
299 | #address-cells = <1>; | ||
300 | #size-cells = <1>; | ||
301 | data@0 { | ||
302 | label = "data"; | ||
303 | reg = <0x0 0x40000000>; | ||
304 | }; | ||
305 | }; | ||
306 | |||
307 | can@3,100 { | ||
308 | compatible = "philips,sja1000"; | ||
309 | reg = <3 0x100 0x80>; | ||
310 | interrupts = <2 8 1>; // number, type, routing | ||
311 | interrupt-parent = <&fpga_pic>; | ||
312 | }; | ||
313 | }; | ||
314 | |||
315 | pci0: pci@e0008000 { | ||
316 | cell-index = <0>; | ||
317 | #interrupt-cells = <1>; | ||
318 | #size-cells = <2>; | ||
319 | #address-cells = <3>; | ||
320 | compatible = "fsl,mpc8540-pci"; | ||
321 | device_type = "pci"; | ||
322 | reg = <0xe0008000 0x1000>; | ||
323 | clock-frequency = <66666666>; | ||
324 | |||
325 | interrupt-map-mask = <0xf800 0x0 0x0 0x7>; | ||
326 | interrupt-map = < | ||
327 | /* IDSEL 0x11 */ | ||
328 | 0x8800 0x0 0x0 1 &mpic 5 1 | ||
329 | /* IDSEL 0x12 */ | ||
330 | 0x9000 0x0 0x0 1 &mpic 4 1>; | ||
331 | interrupt-parent = <&mpic>; | ||
332 | interrupts = <24 2>; | ||
333 | bus-range = <0x0 0x0>; | ||
334 | ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x20000000 | ||
335 | 0x01000000 0x0 0x00000000 0xe2000000 0x0 0x01000000>; | ||
336 | }; | ||
337 | |||
338 | }; | ||
diff --git a/arch/powerpc/configs/85xx/socrates_defconfig b/arch/powerpc/configs/85xx/socrates_defconfig new file mode 100644 index 000000000000..0cc9048290a8 --- /dev/null +++ b/arch/powerpc/configs/85xx/socrates_defconfig | |||
@@ -0,0 +1,1410 @@ | |||
1 | # | ||
2 | # Automatically generated make config: don't edit | ||
3 | # Linux kernel version: 2.6.26.2 | ||
4 | # Sat Oct 18 11:06:13 2008 | ||
5 | # | ||
6 | # CONFIG_PPC64 is not set | ||
7 | |||
8 | # | ||
9 | # Processor support | ||
10 | # | ||
11 | # CONFIG_6xx is not set | ||
12 | CONFIG_PPC_85xx=y | ||
13 | # CONFIG_PPC_8xx is not set | ||
14 | # CONFIG_40x is not set | ||
15 | # CONFIG_44x is not set | ||
16 | # CONFIG_E200 is not set | ||
17 | CONFIG_E500=y | ||
18 | CONFIG_BOOKE=y | ||
19 | CONFIG_FSL_BOOKE=y | ||
20 | CONFIG_FSL_EMB_PERFMON=y | ||
21 | # CONFIG_PHYS_64BIT is not set | ||
22 | CONFIG_SPE=y | ||
23 | # CONFIG_PPC_MM_SLICES is not set | ||
24 | CONFIG_PPC32=y | ||
25 | CONFIG_WORD_SIZE=32 | ||
26 | CONFIG_PPC_MERGE=y | ||
27 | CONFIG_MMU=y | ||
28 | CONFIG_GENERIC_CMOS_UPDATE=y | ||
29 | CONFIG_GENERIC_TIME=y | ||
30 | CONFIG_GENERIC_TIME_VSYSCALL=y | ||
31 | CONFIG_GENERIC_CLOCKEVENTS=y | ||
32 | CONFIG_GENERIC_HARDIRQS=y | ||
33 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | ||
34 | CONFIG_IRQ_PER_CPU=y | ||
35 | CONFIG_STACKTRACE_SUPPORT=y | ||
36 | CONFIG_LOCKDEP_SUPPORT=y | ||
37 | CONFIG_RWSEM_XCHGADD_ALGORITHM=y | ||
38 | CONFIG_ARCH_HAS_ILOG2_U32=y | ||
39 | CONFIG_GENERIC_HWEIGHT=y | ||
40 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
41 | CONFIG_GENERIC_FIND_NEXT_BIT=y | ||
42 | # CONFIG_ARCH_NO_VIRT_TO_BUS is not set | ||
43 | CONFIG_PPC=y | ||
44 | CONFIG_EARLY_PRINTK=y | ||
45 | CONFIG_GENERIC_NVRAM=y | ||
46 | CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y | ||
47 | CONFIG_ARCH_MAY_HAVE_PC_FDC=y | ||
48 | CONFIG_PPC_OF=y | ||
49 | CONFIG_OF=y | ||
50 | CONFIG_PPC_UDBG_16550=y | ||
51 | # CONFIG_GENERIC_TBSYNC is not set | ||
52 | CONFIG_AUDIT_ARCH=y | ||
53 | CONFIG_GENERIC_BUG=y | ||
54 | CONFIG_DEFAULT_UIMAGE=y | ||
55 | # CONFIG_PPC_DCR_NATIVE is not set | ||
56 | # CONFIG_PPC_DCR_MMIO is not set | ||
57 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | ||
58 | |||
59 | # | ||
60 | # General setup | ||
61 | # | ||
62 | CONFIG_EXPERIMENTAL=y | ||
63 | CONFIG_BROKEN_ON_SMP=y | ||
64 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
65 | CONFIG_LOCALVERSION="" | ||
66 | CONFIG_LOCALVERSION_AUTO=y | ||
67 | CONFIG_SWAP=y | ||
68 | CONFIG_SYSVIPC=y | ||
69 | CONFIG_SYSVIPC_SYSCTL=y | ||
70 | # CONFIG_POSIX_MQUEUE is not set | ||
71 | # CONFIG_BSD_PROCESS_ACCT is not set | ||
72 | # CONFIG_TASKSTATS is not set | ||
73 | # CONFIG_AUDIT is not set | ||
74 | # CONFIG_IKCONFIG is not set | ||
75 | CONFIG_LOG_BUF_SHIFT=16 | ||
76 | # CONFIG_CGROUPS is not set | ||
77 | CONFIG_GROUP_SCHED=y | ||
78 | CONFIG_FAIR_GROUP_SCHED=y | ||
79 | # CONFIG_RT_GROUP_SCHED is not set | ||
80 | CONFIG_USER_SCHED=y | ||
81 | # CONFIG_CGROUP_SCHED is not set | ||
82 | CONFIG_SYSFS_DEPRECATED=y | ||
83 | CONFIG_SYSFS_DEPRECATED_V2=y | ||
84 | # CONFIG_RELAY is not set | ||
85 | # CONFIG_NAMESPACES is not set | ||
86 | CONFIG_BLK_DEV_INITRD=y | ||
87 | CONFIG_INITRAMFS_SOURCE="" | ||
88 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | ||
89 | CONFIG_SYSCTL=y | ||
90 | CONFIG_EMBEDDED=y | ||
91 | CONFIG_SYSCTL_SYSCALL=y | ||
92 | CONFIG_SYSCTL_SYSCALL_CHECK=y | ||
93 | # CONFIG_KALLSYMS is not set | ||
94 | # CONFIG_HOTPLUG is not set | ||
95 | CONFIG_PRINTK=y | ||
96 | CONFIG_BUG=y | ||
97 | CONFIG_ELF_CORE=y | ||
98 | CONFIG_COMPAT_BRK=y | ||
99 | CONFIG_BASE_FULL=y | ||
100 | CONFIG_FUTEX=y | ||
101 | CONFIG_ANON_INODES=y | ||
102 | # CONFIG_EPOLL is not set | ||
103 | CONFIG_SIGNALFD=y | ||
104 | CONFIG_TIMERFD=y | ||
105 | CONFIG_EVENTFD=y | ||
106 | CONFIG_SHMEM=y | ||
107 | CONFIG_VM_EVENT_COUNTERS=y | ||
108 | CONFIG_SLUB_DEBUG=y | ||
109 | # CONFIG_SLAB is not set | ||
110 | CONFIG_SLUB=y | ||
111 | # CONFIG_SLOB is not set | ||
112 | # CONFIG_PROFILING is not set | ||
113 | # CONFIG_MARKERS is not set | ||
114 | CONFIG_HAVE_OPROFILE=y | ||
115 | CONFIG_HAVE_KPROBES=y | ||
116 | CONFIG_HAVE_KRETPROBES=y | ||
117 | # CONFIG_HAVE_DMA_ATTRS is not set | ||
118 | CONFIG_PROC_PAGE_MONITOR=y | ||
119 | CONFIG_SLABINFO=y | ||
120 | CONFIG_RT_MUTEXES=y | ||
121 | # CONFIG_TINY_SHMEM is not set | ||
122 | CONFIG_BASE_SMALL=0 | ||
123 | CONFIG_MODULES=y | ||
124 | # CONFIG_MODULE_FORCE_LOAD is not set | ||
125 | CONFIG_MODULE_UNLOAD=y | ||
126 | CONFIG_MODULE_FORCE_UNLOAD=y | ||
127 | # CONFIG_MODVERSIONS is not set | ||
128 | # CONFIG_MODULE_SRCVERSION_ALL is not set | ||
129 | # CONFIG_KMOD is not set | ||
130 | CONFIG_BLOCK=y | ||
131 | # CONFIG_LBD is not set | ||
132 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
133 | # CONFIG_LSF is not set | ||
134 | # CONFIG_BLK_DEV_BSG is not set | ||
135 | |||
136 | # | ||
137 | # IO Schedulers | ||
138 | # | ||
139 | CONFIG_IOSCHED_NOOP=y | ||
140 | CONFIG_IOSCHED_AS=y | ||
141 | CONFIG_IOSCHED_DEADLINE=y | ||
142 | CONFIG_IOSCHED_CFQ=y | ||
143 | CONFIG_DEFAULT_AS=y | ||
144 | # CONFIG_DEFAULT_DEADLINE is not set | ||
145 | # CONFIG_DEFAULT_CFQ is not set | ||
146 | # CONFIG_DEFAULT_NOOP is not set | ||
147 | CONFIG_DEFAULT_IOSCHED="anticipatory" | ||
148 | CONFIG_CLASSIC_RCU=y | ||
149 | |||
150 | # | ||
151 | # Platform support | ||
152 | # | ||
153 | # CONFIG_PPC_MPC512x is not set | ||
154 | # CONFIG_PPC_MPC5121 is not set | ||
155 | # CONFIG_PPC_CELL is not set | ||
156 | # CONFIG_PPC_CELL_NATIVE is not set | ||
157 | # CONFIG_PQ2ADS is not set | ||
158 | CONFIG_MPC85xx=y | ||
159 | # CONFIG_MPC8540_ADS is not set | ||
160 | # CONFIG_MPC8560_ADS is not set | ||
161 | # CONFIG_MPC85xx_CDS is not set | ||
162 | # CONFIG_MPC85xx_MDS is not set | ||
163 | # CONFIG_MPC85xx_DS is not set | ||
164 | CONFIG_SOCRATES=y | ||
165 | # CONFIG_KSI8560 is not set | ||
166 | # CONFIG_STX_GP3 is not set | ||
167 | # CONFIG_TQM8540 is not set | ||
168 | # CONFIG_TQM8541 is not set | ||
169 | # CONFIG_TQM8555 is not set | ||
170 | # CONFIG_TQM8560 is not set | ||
171 | # CONFIG_SBC8548 is not set | ||
172 | # CONFIG_SBC8560 is not set | ||
173 | # CONFIG_IPIC is not set | ||
174 | CONFIG_MPIC=y | ||
175 | # CONFIG_MPIC_WEIRD is not set | ||
176 | # CONFIG_PPC_I8259 is not set | ||
177 | # CONFIG_PPC_RTAS is not set | ||
178 | # CONFIG_MMIO_NVRAM is not set | ||
179 | # CONFIG_PPC_MPC106 is not set | ||
180 | # CONFIG_PPC_970_NAP is not set | ||
181 | # CONFIG_PPC_INDIRECT_IO is not set | ||
182 | # CONFIG_GENERIC_IOMAP is not set | ||
183 | # CONFIG_CPU_FREQ is not set | ||
184 | # CONFIG_CPM2 is not set | ||
185 | # CONFIG_FSL_ULI1575 is not set | ||
186 | |||
187 | # | ||
188 | # Kernel options | ||
189 | # | ||
190 | # CONFIG_HIGHMEM is not set | ||
191 | # CONFIG_TICK_ONESHOT is not set | ||
192 | # CONFIG_NO_HZ is not set | ||
193 | # CONFIG_HIGH_RES_TIMERS is not set | ||
194 | CONFIG_GENERIC_CLOCKEVENTS_BUILD=y | ||
195 | # CONFIG_HZ_100 is not set | ||
196 | CONFIG_HZ_250=y | ||
197 | # CONFIG_HZ_300 is not set | ||
198 | # CONFIG_HZ_1000 is not set | ||
199 | CONFIG_HZ=250 | ||
200 | # CONFIG_SCHED_HRTICK is not set | ||
201 | CONFIG_PREEMPT_NONE=y | ||
202 | # CONFIG_PREEMPT_VOLUNTARY is not set | ||
203 | # CONFIG_PREEMPT is not set | ||
204 | CONFIG_BINFMT_ELF=y | ||
205 | # CONFIG_BINFMT_MISC is not set | ||
206 | CONFIG_MATH_EMULATION=y | ||
207 | # CONFIG_IOMMU_HELPER is not set | ||
208 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | ||
209 | CONFIG_ARCH_HAS_WALK_MEMORY=y | ||
210 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | ||
211 | CONFIG_ARCH_FLATMEM_ENABLE=y | ||
212 | CONFIG_ARCH_POPULATES_NODE_MAP=y | ||
213 | CONFIG_SELECT_MEMORY_MODEL=y | ||
214 | CONFIG_FLATMEM_MANUAL=y | ||
215 | # CONFIG_DISCONTIGMEM_MANUAL is not set | ||
216 | # CONFIG_SPARSEMEM_MANUAL is not set | ||
217 | CONFIG_FLATMEM=y | ||
218 | CONFIG_FLAT_NODE_MEM_MAP=y | ||
219 | # CONFIG_SPARSEMEM_STATIC is not set | ||
220 | # CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set | ||
221 | CONFIG_PAGEFLAGS_EXTENDED=y | ||
222 | CONFIG_SPLIT_PTLOCK_CPUS=4 | ||
223 | # CONFIG_RESOURCES_64BIT is not set | ||
224 | CONFIG_ZONE_DMA_FLAG=1 | ||
225 | CONFIG_BOUNCE=y | ||
226 | CONFIG_VIRT_TO_BUS=y | ||
227 | CONFIG_FORCE_MAX_ZONEORDER=11 | ||
228 | # CONFIG_PROC_DEVICETREE is not set | ||
229 | # CONFIG_CMDLINE_BOOL is not set | ||
230 | # CONFIG_PM is not set | ||
231 | CONFIG_SECCOMP=y | ||
232 | CONFIG_ISA_DMA_API=y | ||
233 | |||
234 | # | ||
235 | # Bus options | ||
236 | # | ||
237 | CONFIG_ZONE_DMA=y | ||
238 | CONFIG_PPC_INDIRECT_PCI=y | ||
239 | CONFIG_FSL_SOC=y | ||
240 | CONFIG_FSL_PCI=y | ||
241 | CONFIG_PCI=y | ||
242 | CONFIG_PCI_DOMAINS=y | ||
243 | CONFIG_PCI_SYSCALL=y | ||
244 | # CONFIG_PCIEPORTBUS is not set | ||
245 | CONFIG_ARCH_SUPPORTS_MSI=y | ||
246 | # CONFIG_PCI_MSI is not set | ||
247 | CONFIG_PCI_LEGACY=y | ||
248 | # CONFIG_HAS_RAPIDIO is not set | ||
249 | |||
250 | # | ||
251 | # Advanced setup | ||
252 | # | ||
253 | # CONFIG_ADVANCED_OPTIONS is not set | ||
254 | |||
255 | # | ||
256 | # Default settings for advanced configuration options are used | ||
257 | # | ||
258 | CONFIG_LOWMEM_SIZE=0x30000000 | ||
259 | CONFIG_PAGE_OFFSET=0xc0000000 | ||
260 | CONFIG_KERNEL_START=0xc0000000 | ||
261 | CONFIG_PHYSICAL_START=0x00000000 | ||
262 | CONFIG_PHYSICAL_ALIGN=0x10000000 | ||
263 | CONFIG_TASK_SIZE=0xc0000000 | ||
264 | |||
265 | # | ||
266 | # Networking | ||
267 | # | ||
268 | CONFIG_NET=y | ||
269 | |||
270 | # | ||
271 | # Networking options | ||
272 | # | ||
273 | CONFIG_PACKET=y | ||
274 | # CONFIG_PACKET_MMAP is not set | ||
275 | CONFIG_UNIX=y | ||
276 | CONFIG_XFRM=y | ||
277 | # CONFIG_XFRM_USER is not set | ||
278 | # CONFIG_XFRM_SUB_POLICY is not set | ||
279 | # CONFIG_XFRM_MIGRATE is not set | ||
280 | # CONFIG_XFRM_STATISTICS is not set | ||
281 | # CONFIG_NET_KEY is not set | ||
282 | CONFIG_INET=y | ||
283 | CONFIG_IP_MULTICAST=y | ||
284 | # CONFIG_IP_ADVANCED_ROUTER is not set | ||
285 | CONFIG_IP_FIB_HASH=y | ||
286 | CONFIG_IP_PNP=y | ||
287 | CONFIG_IP_PNP_DHCP=y | ||
288 | CONFIG_IP_PNP_BOOTP=y | ||
289 | # CONFIG_IP_PNP_RARP is not set | ||
290 | # CONFIG_NET_IPIP is not set | ||
291 | # CONFIG_NET_IPGRE is not set | ||
292 | # CONFIG_IP_MROUTE is not set | ||
293 | # CONFIG_ARPD is not set | ||
294 | CONFIG_SYN_COOKIES=y | ||
295 | # CONFIG_INET_AH is not set | ||
296 | # CONFIG_INET_ESP is not set | ||
297 | # CONFIG_INET_IPCOMP is not set | ||
298 | # CONFIG_INET_XFRM_TUNNEL is not set | ||
299 | # CONFIG_INET_TUNNEL is not set | ||
300 | CONFIG_INET_XFRM_MODE_TRANSPORT=y | ||
301 | CONFIG_INET_XFRM_MODE_TUNNEL=y | ||
302 | CONFIG_INET_XFRM_MODE_BEET=y | ||
303 | # CONFIG_INET_LRO is not set | ||
304 | CONFIG_INET_DIAG=y | ||
305 | CONFIG_INET_TCP_DIAG=y | ||
306 | # CONFIG_TCP_CONG_ADVANCED is not set | ||
307 | CONFIG_TCP_CONG_CUBIC=y | ||
308 | CONFIG_DEFAULT_TCP_CONG="cubic" | ||
309 | # CONFIG_TCP_MD5SIG is not set | ||
310 | # CONFIG_IPV6 is not set | ||
311 | # CONFIG_NETWORK_SECMARK is not set | ||
312 | # CONFIG_NETFILTER is not set | ||
313 | # CONFIG_IP_DCCP is not set | ||
314 | # CONFIG_IP_SCTP is not set | ||
315 | # CONFIG_TIPC is not set | ||
316 | # CONFIG_ATM is not set | ||
317 | # CONFIG_BRIDGE is not set | ||
318 | # CONFIG_VLAN_8021Q is not set | ||
319 | # CONFIG_DECNET is not set | ||
320 | # CONFIG_LLC2 is not set | ||
321 | # CONFIG_IPX is not set | ||
322 | # CONFIG_ATALK is not set | ||
323 | # CONFIG_X25 is not set | ||
324 | # CONFIG_LAPB is not set | ||
325 | # CONFIG_ECONET is not set | ||
326 | # CONFIG_WAN_ROUTER is not set | ||
327 | # CONFIG_NET_SCHED is not set | ||
328 | |||
329 | # | ||
330 | # Network testing | ||
331 | # | ||
332 | # CONFIG_NET_PKTGEN is not set | ||
333 | # CONFIG_HAMRADIO is not set | ||
334 | CONFIG_CAN=y | ||
335 | CONFIG_CAN_RAW=y | ||
336 | CONFIG_CAN_BCM=y | ||
337 | |||
338 | # | ||
339 | # CAN Device Drivers | ||
340 | # | ||
341 | # CONFIG_CAN_VCAN is not set | ||
342 | # CONFIG_CAN_OLD_DRIVERS is not set | ||
343 | # CONFIG_CAN_SLCAN is not set | ||
344 | CONFIG_CAN_SJA1000=y | ||
345 | CONFIG_CAN_SJA1000_MEM_OF=y | ||
346 | # CONFIG_CAN_EMS_PCI is not set | ||
347 | # CONFIG_CAN_IXXAT_PCI is not set | ||
348 | # CONFIG_CAN_PEAK_PCI is not set | ||
349 | # CONFIG_CAN_KVASER_PCI is not set | ||
350 | # CONFIG_CAN_MSCAN is not set | ||
351 | # CONFIG_CAN_DEBUG_DEVICES is not set | ||
352 | # CONFIG_IRDA is not set | ||
353 | # CONFIG_BT is not set | ||
354 | # CONFIG_AF_RXRPC is not set | ||
355 | |||
356 | # | ||
357 | # Wireless | ||
358 | # | ||
359 | # CONFIG_CFG80211 is not set | ||
360 | # CONFIG_WIRELESS_EXT is not set | ||
361 | # CONFIG_MAC80211 is not set | ||
362 | # CONFIG_IEEE80211 is not set | ||
363 | # CONFIG_RFKILL is not set | ||
364 | # CONFIG_NET_9P is not set | ||
365 | |||
366 | # | ||
367 | # Device Drivers | ||
368 | # | ||
369 | |||
370 | # | ||
371 | # Generic Driver Options | ||
372 | # | ||
373 | CONFIG_STANDALONE=y | ||
374 | CONFIG_PREVENT_FIRMWARE_BUILD=y | ||
375 | # CONFIG_SYS_HYPERVISOR is not set | ||
376 | # CONFIG_CONNECTOR is not set | ||
377 | CONFIG_MTD=y | ||
378 | # CONFIG_MTD_DEBUG is not set | ||
379 | CONFIG_MTD_CONCAT=y | ||
380 | CONFIG_MTD_PARTITIONS=y | ||
381 | # CONFIG_MTD_REDBOOT_PARTS is not set | ||
382 | CONFIG_MTD_CMDLINE_PARTS=y | ||
383 | CONFIG_MTD_OF_PARTS=y | ||
384 | # CONFIG_MTD_AR7_PARTS is not set | ||
385 | |||
386 | # | ||
387 | # User Modules And Translation Layers | ||
388 | # | ||
389 | CONFIG_MTD_CHAR=y | ||
390 | CONFIG_MTD_BLKDEVS=y | ||
391 | CONFIG_MTD_BLOCK=y | ||
392 | # CONFIG_FTL is not set | ||
393 | # CONFIG_NFTL is not set | ||
394 | # CONFIG_INFTL is not set | ||
395 | # CONFIG_RFD_FTL is not set | ||
396 | # CONFIG_SSFDC is not set | ||
397 | # CONFIG_MTD_OOPS is not set | ||
398 | |||
399 | # | ||
400 | # RAM/ROM/Flash chip drivers | ||
401 | # | ||
402 | CONFIG_MTD_CFI=y | ||
403 | CONFIG_MTD_JEDECPROBE=y | ||
404 | CONFIG_MTD_GEN_PROBE=y | ||
405 | # CONFIG_MTD_CFI_ADV_OPTIONS is not set | ||
406 | CONFIG_MTD_MAP_BANK_WIDTH_1=y | ||
407 | CONFIG_MTD_MAP_BANK_WIDTH_2=y | ||
408 | CONFIG_MTD_MAP_BANK_WIDTH_4=y | ||
409 | # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set | ||
410 | # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set | ||
411 | # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set | ||
412 | CONFIG_MTD_CFI_I1=y | ||
413 | CONFIG_MTD_CFI_I2=y | ||
414 | # CONFIG_MTD_CFI_I4 is not set | ||
415 | # CONFIG_MTD_CFI_I8 is not set | ||
416 | # CONFIG_MTD_CFI_INTELEXT is not set | ||
417 | CONFIG_MTD_CFI_AMDSTD=y | ||
418 | # CONFIG_MTD_CFI_STAA is not set | ||
419 | CONFIG_MTD_CFI_UTIL=y | ||
420 | # CONFIG_MTD_RAM is not set | ||
421 | # CONFIG_MTD_ROM is not set | ||
422 | # CONFIG_MTD_ABSENT is not set | ||
423 | |||
424 | # | ||
425 | # Mapping drivers for chip access | ||
426 | # | ||
427 | # CONFIG_MTD_COMPLEX_MAPPINGS is not set | ||
428 | # CONFIG_MTD_PHYSMAP is not set | ||
429 | CONFIG_MTD_PHYSMAP_OF=y | ||
430 | # CONFIG_MTD_INTEL_VR_NOR is not set | ||
431 | # CONFIG_MTD_PLATRAM is not set | ||
432 | |||
433 | # | ||
434 | # Self-contained MTD device drivers | ||
435 | # | ||
436 | # CONFIG_MTD_PMC551 is not set | ||
437 | # CONFIG_MTD_DATAFLASH is not set | ||
438 | # CONFIG_MTD_M25P80 is not set | ||
439 | # CONFIG_MTD_SLRAM is not set | ||
440 | # CONFIG_MTD_PHRAM is not set | ||
441 | # CONFIG_MTD_MTDRAM is not set | ||
442 | # CONFIG_MTD_BLOCK2MTD is not set | ||
443 | |||
444 | # | ||
445 | # Disk-On-Chip Device Drivers | ||
446 | # | ||
447 | # CONFIG_MTD_DOC2000 is not set | ||
448 | # CONFIG_MTD_DOC2001 is not set | ||
449 | # CONFIG_MTD_DOC2001PLUS is not set | ||
450 | CONFIG_MTD_NAND=y | ||
451 | # CONFIG_MTD_NAND_VERIFY_WRITE is not set | ||
452 | # CONFIG_MTD_NAND_ECC_SMC is not set | ||
453 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set | ||
454 | CONFIG_MTD_NAND_IDS=y | ||
455 | # CONFIG_MTD_NAND_DISKONCHIP is not set | ||
456 | # CONFIG_MTD_NAND_CAFE is not set | ||
457 | # CONFIG_MTD_NAND_NANDSIM is not set | ||
458 | # CONFIG_MTD_NAND_PLATFORM is not set | ||
459 | # CONFIG_MTD_ALAUDA is not set | ||
460 | # CONFIG_MTD_NAND_FSL_ELBC is not set | ||
461 | CONFIG_MTD_NAND_SOCRATES=y | ||
462 | # CONFIG_MTD_ONENAND is not set | ||
463 | |||
464 | # | ||
465 | # UBI - Unsorted block images | ||
466 | # | ||
467 | # CONFIG_MTD_UBI is not set | ||
468 | CONFIG_OF_DEVICE=y | ||
469 | CONFIG_OF_I2C=y | ||
470 | # CONFIG_PARPORT is not set | ||
471 | CONFIG_BLK_DEV=y | ||
472 | # CONFIG_BLK_DEV_FD is not set | ||
473 | # CONFIG_BLK_CPQ_DA is not set | ||
474 | # CONFIG_BLK_CPQ_CISS_DA is not set | ||
475 | # CONFIG_BLK_DEV_DAC960 is not set | ||
476 | # CONFIG_BLK_DEV_UMEM is not set | ||
477 | # CONFIG_BLK_DEV_COW_COMMON is not set | ||
478 | CONFIG_BLK_DEV_LOOP=y | ||
479 | # CONFIG_BLK_DEV_CRYPTOLOOP is not set | ||
480 | # CONFIG_BLK_DEV_NBD is not set | ||
481 | # CONFIG_BLK_DEV_SX8 is not set | ||
482 | # CONFIG_BLK_DEV_UB is not set | ||
483 | CONFIG_BLK_DEV_RAM=y | ||
484 | CONFIG_BLK_DEV_RAM_COUNT=16 | ||
485 | CONFIG_BLK_DEV_RAM_SIZE=32768 | ||
486 | # CONFIG_BLK_DEV_XIP is not set | ||
487 | # CONFIG_CDROM_PKTCDVD is not set | ||
488 | # CONFIG_ATA_OVER_ETH is not set | ||
489 | CONFIG_MISC_DEVICES=y | ||
490 | # CONFIG_PHANTOM is not set | ||
491 | # CONFIG_EEPROM_93CX6 is not set | ||
492 | # CONFIG_SGI_IOC4 is not set | ||
493 | # CONFIG_TIFM_CORE is not set | ||
494 | # CONFIG_ENCLOSURE_SERVICES is not set | ||
495 | CONFIG_HAVE_IDE=y | ||
496 | # CONFIG_IDE is not set | ||
497 | |||
498 | # | ||
499 | # SCSI device support | ||
500 | # | ||
501 | # CONFIG_RAID_ATTRS is not set | ||
502 | CONFIG_SCSI=y | ||
503 | CONFIG_SCSI_DMA=y | ||
504 | # CONFIG_SCSI_TGT is not set | ||
505 | # CONFIG_SCSI_NETLINK is not set | ||
506 | CONFIG_SCSI_PROC_FS=y | ||
507 | |||
508 | # | ||
509 | # SCSI support type (disk, tape, CD-ROM) | ||
510 | # | ||
511 | CONFIG_BLK_DEV_SD=y | ||
512 | # CONFIG_CHR_DEV_ST is not set | ||
513 | # CONFIG_CHR_DEV_OSST is not set | ||
514 | # CONFIG_BLK_DEV_SR is not set | ||
515 | # CONFIG_CHR_DEV_SG is not set | ||
516 | # CONFIG_CHR_DEV_SCH is not set | ||
517 | |||
518 | # | ||
519 | # Some SCSI devices (e.g. CD jukebox) support multiple LUNs | ||
520 | # | ||
521 | # CONFIG_SCSI_MULTI_LUN is not set | ||
522 | # CONFIG_SCSI_CONSTANTS is not set | ||
523 | # CONFIG_SCSI_LOGGING is not set | ||
524 | # CONFIG_SCSI_SCAN_ASYNC is not set | ||
525 | CONFIG_SCSI_WAIT_SCAN=m | ||
526 | |||
527 | # | ||
528 | # SCSI Transports | ||
529 | # | ||
530 | # CONFIG_SCSI_SPI_ATTRS is not set | ||
531 | # CONFIG_SCSI_FC_ATTRS is not set | ||
532 | # CONFIG_SCSI_ISCSI_ATTRS is not set | ||
533 | # CONFIG_SCSI_SAS_LIBSAS is not set | ||
534 | # CONFIG_SCSI_SRP_ATTRS is not set | ||
535 | # CONFIG_SCSI_LOWLEVEL is not set | ||
536 | # CONFIG_ATA is not set | ||
537 | # CONFIG_MD is not set | ||
538 | # CONFIG_FUSION is not set | ||
539 | |||
540 | # | ||
541 | # IEEE 1394 (FireWire) support | ||
542 | # | ||
543 | |||
544 | # | ||
545 | # Enable only one of the two stacks, unless you know what you are doing | ||
546 | # | ||
547 | # CONFIG_FIREWIRE is not set | ||
548 | # CONFIG_IEEE1394 is not set | ||
549 | # CONFIG_I2O is not set | ||
550 | # CONFIG_MACINTOSH_DRIVERS is not set | ||
551 | CONFIG_NETDEVICES=y | ||
552 | # CONFIG_NETDEVICES_MULTIQUEUE is not set | ||
553 | # CONFIG_DUMMY is not set | ||
554 | # CONFIG_BONDING is not set | ||
555 | # CONFIG_MACVLAN is not set | ||
556 | # CONFIG_EQUALIZER is not set | ||
557 | # CONFIG_TUN is not set | ||
558 | # CONFIG_VETH is not set | ||
559 | # CONFIG_ARCNET is not set | ||
560 | CONFIG_PHYLIB=y | ||
561 | |||
562 | # | ||
563 | # MII PHY device drivers | ||
564 | # | ||
565 | CONFIG_MARVELL_PHY=y | ||
566 | # CONFIG_DAVICOM_PHY is not set | ||
567 | # CONFIG_QSEMI_PHY is not set | ||
568 | # CONFIG_LXT_PHY is not set | ||
569 | # CONFIG_CICADA_PHY is not set | ||
570 | # CONFIG_VITESSE_PHY is not set | ||
571 | # CONFIG_SMSC_PHY is not set | ||
572 | # CONFIG_BROADCOM_PHY is not set | ||
573 | # CONFIG_ICPLUS_PHY is not set | ||
574 | # CONFIG_REALTEK_PHY is not set | ||
575 | # CONFIG_FIXED_PHY is not set | ||
576 | # CONFIG_MDIO_BITBANG is not set | ||
577 | CONFIG_NET_ETHERNET=y | ||
578 | CONFIG_MII=y | ||
579 | # CONFIG_HAPPYMEAL is not set | ||
580 | # CONFIG_SUNGEM is not set | ||
581 | # CONFIG_CASSINI is not set | ||
582 | # CONFIG_NET_VENDOR_3COM is not set | ||
583 | # CONFIG_ENC28J60 is not set | ||
584 | # CONFIG_NET_TULIP is not set | ||
585 | # CONFIG_HP100 is not set | ||
586 | # CONFIG_IBM_NEW_EMAC_ZMII is not set | ||
587 | # CONFIG_IBM_NEW_EMAC_RGMII is not set | ||
588 | # CONFIG_IBM_NEW_EMAC_TAH is not set | ||
589 | # CONFIG_IBM_NEW_EMAC_EMAC4 is not set | ||
590 | # CONFIG_NET_PCI is not set | ||
591 | # CONFIG_B44 is not set | ||
592 | CONFIG_NETDEV_1000=y | ||
593 | # CONFIG_ACENIC is not set | ||
594 | # CONFIG_DL2K is not set | ||
595 | # CONFIG_E1000 is not set | ||
596 | # CONFIG_E1000E is not set | ||
597 | # CONFIG_E1000E_ENABLED is not set | ||
598 | # CONFIG_IP1000 is not set | ||
599 | # CONFIG_IGB is not set | ||
600 | # CONFIG_NS83820 is not set | ||
601 | # CONFIG_HAMACHI is not set | ||
602 | # CONFIG_YELLOWFIN is not set | ||
603 | # CONFIG_R8169 is not set | ||
604 | # CONFIG_SIS190 is not set | ||
605 | # CONFIG_SKGE is not set | ||
606 | # CONFIG_SKY2 is not set | ||
607 | # CONFIG_VIA_VELOCITY is not set | ||
608 | # CONFIG_TIGON3 is not set | ||
609 | # CONFIG_BNX2 is not set | ||
610 | CONFIG_GIANFAR=y | ||
611 | CONFIG_GFAR_NAPI=y | ||
612 | # CONFIG_QLA3XXX is not set | ||
613 | # CONFIG_ATL1 is not set | ||
614 | # CONFIG_NETDEV_10000 is not set | ||
615 | # CONFIG_TR is not set | ||
616 | |||
617 | # | ||
618 | # Wireless LAN | ||
619 | # | ||
620 | # CONFIG_WLAN_PRE80211 is not set | ||
621 | # CONFIG_WLAN_80211 is not set | ||
622 | # CONFIG_IWLWIFI_LEDS is not set | ||
623 | |||
624 | # | ||
625 | # USB Network Adapters | ||
626 | # | ||
627 | # CONFIG_USB_CATC is not set | ||
628 | # CONFIG_USB_KAWETH is not set | ||
629 | # CONFIG_USB_PEGASUS is not set | ||
630 | # CONFIG_USB_RTL8150 is not set | ||
631 | # CONFIG_USB_USBNET is not set | ||
632 | # CONFIG_WAN is not set | ||
633 | # CONFIG_FDDI is not set | ||
634 | # CONFIG_HIPPI is not set | ||
635 | # CONFIG_PPP is not set | ||
636 | # CONFIG_SLIP is not set | ||
637 | # CONFIG_NET_FC is not set | ||
638 | # CONFIG_NETCONSOLE is not set | ||
639 | # CONFIG_NETPOLL is not set | ||
640 | # CONFIG_NET_POLL_CONTROLLER is not set | ||
641 | # CONFIG_ISDN is not set | ||
642 | # CONFIG_PHONE is not set | ||
643 | |||
644 | # | ||
645 | # Input device support | ||
646 | # | ||
647 | CONFIG_INPUT=y | ||
648 | # CONFIG_INPUT_FF_MEMLESS is not set | ||
649 | # CONFIG_INPUT_POLLDEV is not set | ||
650 | |||
651 | # | ||
652 | # Userland interfaces | ||
653 | # | ||
654 | CONFIG_INPUT_MOUSEDEV=y | ||
655 | CONFIG_INPUT_MOUSEDEV_PSAUX=y | ||
656 | CONFIG_INPUT_MOUSEDEV_SCREEN_X=800 | ||
657 | CONFIG_INPUT_MOUSEDEV_SCREEN_Y=480 | ||
658 | # CONFIG_INPUT_JOYDEV is not set | ||
659 | CONFIG_INPUT_EVDEV=y | ||
660 | # CONFIG_INPUT_EVBUG is not set | ||
661 | |||
662 | # | ||
663 | # Input Device Drivers | ||
664 | # | ||
665 | # CONFIG_INPUT_KEYBOARD is not set | ||
666 | # CONFIG_INPUT_MOUSE is not set | ||
667 | # CONFIG_INPUT_JOYSTICK is not set | ||
668 | # CONFIG_INPUT_TABLET is not set | ||
669 | CONFIG_INPUT_TOUCHSCREEN=y | ||
670 | # CONFIG_TOUCHSCREEN_ADS7846 is not set | ||
671 | # CONFIG_TOUCHSCREEN_FUJITSU is not set | ||
672 | # CONFIG_TOUCHSCREEN_GUNZE is not set | ||
673 | # CONFIG_TOUCHSCREEN_ELO is not set | ||
674 | # CONFIG_TOUCHSCREEN_MTOUCH is not set | ||
675 | # CONFIG_TOUCHSCREEN_MK712 is not set | ||
676 | # CONFIG_TOUCHSCREEN_PENMOUNT is not set | ||
677 | # CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set | ||
678 | # CONFIG_TOUCHSCREEN_TOUCHWIN is not set | ||
679 | # CONFIG_TOUCHSCREEN_UCB1400 is not set | ||
680 | CONFIG_TOUCHSCREEN_TSC2003=y | ||
681 | # CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set | ||
682 | # CONFIG_INPUT_MISC is not set | ||
683 | |||
684 | # | ||
685 | # Hardware I/O ports | ||
686 | # | ||
687 | # CONFIG_SERIO is not set | ||
688 | # CONFIG_GAMEPORT is not set | ||
689 | |||
690 | # | ||
691 | # Character devices | ||
692 | # | ||
693 | CONFIG_VT=y | ||
694 | CONFIG_VT_CONSOLE=y | ||
695 | CONFIG_HW_CONSOLE=y | ||
696 | # CONFIG_VT_HW_CONSOLE_BINDING is not set | ||
697 | CONFIG_DEVKMEM=y | ||
698 | # CONFIG_SERIAL_NONSTANDARD is not set | ||
699 | # CONFIG_NOZOMI is not set | ||
700 | |||
701 | # | ||
702 | # Serial drivers | ||
703 | # | ||
704 | CONFIG_SERIAL_8250=y | ||
705 | CONFIG_SERIAL_8250_CONSOLE=y | ||
706 | CONFIG_SERIAL_8250_PCI=y | ||
707 | CONFIG_SERIAL_8250_NR_UARTS=2 | ||
708 | CONFIG_SERIAL_8250_RUNTIME_UARTS=2 | ||
709 | CONFIG_SERIAL_8250_EXTENDED=y | ||
710 | CONFIG_SERIAL_8250_MANY_PORTS=y | ||
711 | CONFIG_SERIAL_8250_SHARE_IRQ=y | ||
712 | CONFIG_SERIAL_8250_DETECT_IRQ=y | ||
713 | CONFIG_SERIAL_8250_RSA=y | ||
714 | |||
715 | # | ||
716 | # Non-8250 serial port support | ||
717 | # | ||
718 | # CONFIG_SERIAL_UARTLITE is not set | ||
719 | CONFIG_SERIAL_CORE=y | ||
720 | CONFIG_SERIAL_CORE_CONSOLE=y | ||
721 | # CONFIG_SERIAL_JSM is not set | ||
722 | # CONFIG_SERIAL_OF_PLATFORM is not set | ||
723 | CONFIG_UNIX98_PTYS=y | ||
724 | CONFIG_LEGACY_PTYS=y | ||
725 | CONFIG_LEGACY_PTY_COUNT=256 | ||
726 | # CONFIG_IPMI_HANDLER is not set | ||
727 | CONFIG_HW_RANDOM=y | ||
728 | # CONFIG_NVRAM is not set | ||
729 | # CONFIG_R3964 is not set | ||
730 | # CONFIG_APPLICOM is not set | ||
731 | # CONFIG_RAW_DRIVER is not set | ||
732 | # CONFIG_TCG_TPM is not set | ||
733 | CONFIG_DEVPORT=y | ||
734 | CONFIG_I2C=y | ||
735 | CONFIG_I2C_BOARDINFO=y | ||
736 | CONFIG_I2C_CHARDEV=y | ||
737 | |||
738 | # | ||
739 | # I2C Hardware Bus support | ||
740 | # | ||
741 | # CONFIG_I2C_ALI1535 is not set | ||
742 | # CONFIG_I2C_ALI1563 is not set | ||
743 | # CONFIG_I2C_ALI15X3 is not set | ||
744 | # CONFIG_I2C_AMD756 is not set | ||
745 | # CONFIG_I2C_AMD8111 is not set | ||
746 | # CONFIG_I2C_I801 is not set | ||
747 | # CONFIG_I2C_I810 is not set | ||
748 | # CONFIG_I2C_PIIX4 is not set | ||
749 | CONFIG_I2C_MPC=y | ||
750 | # CONFIG_I2C_NFORCE2 is not set | ||
751 | # CONFIG_I2C_OCORES is not set | ||
752 | # CONFIG_I2C_PARPORT_LIGHT is not set | ||
753 | # CONFIG_I2C_PROSAVAGE is not set | ||
754 | # CONFIG_I2C_SAVAGE4 is not set | ||
755 | # CONFIG_I2C_SIMTEC is not set | ||
756 | # CONFIG_I2C_SIS5595 is not set | ||
757 | # CONFIG_I2C_SIS630 is not set | ||
758 | # CONFIG_I2C_SIS96X is not set | ||
759 | # CONFIG_I2C_TAOS_EVM is not set | ||
760 | # CONFIG_I2C_STUB is not set | ||
761 | # CONFIG_I2C_TINY_USB is not set | ||
762 | # CONFIG_I2C_VIA is not set | ||
763 | # CONFIG_I2C_VIAPRO is not set | ||
764 | # CONFIG_I2C_VOODOO3 is not set | ||
765 | # CONFIG_I2C_PCA_PLATFORM is not set | ||
766 | |||
767 | # | ||
768 | # Miscellaneous I2C Chip support | ||
769 | # | ||
770 | # CONFIG_DS1682 is not set | ||
771 | # CONFIG_SENSORS_EEPROM is not set | ||
772 | # CONFIG_SENSORS_PCF8574 is not set | ||
773 | # CONFIG_PCF8575 is not set | ||
774 | # CONFIG_SENSORS_PCF8591 is not set | ||
775 | # CONFIG_SENSORS_MAX6875 is not set | ||
776 | # CONFIG_SENSORS_TSL2550 is not set | ||
777 | # CONFIG_I2C_DEBUG_CORE is not set | ||
778 | # CONFIG_I2C_DEBUG_ALGO is not set | ||
779 | # CONFIG_I2C_DEBUG_BUS is not set | ||
780 | # CONFIG_I2C_DEBUG_CHIP is not set | ||
781 | CONFIG_SPI=y | ||
782 | CONFIG_SPI_MASTER=y | ||
783 | |||
784 | # | ||
785 | # SPI Master Controller Drivers | ||
786 | # | ||
787 | # CONFIG_SPI_BITBANG is not set | ||
788 | CONFIG_SPI_SOCRATES=y | ||
789 | |||
790 | # | ||
791 | # SPI Protocol Masters | ||
792 | # | ||
793 | # CONFIG_SPI_AT25 is not set | ||
794 | # CONFIG_SPI_SPIDEV is not set | ||
795 | # CONFIG_SPI_TLE62X0 is not set | ||
796 | # CONFIG_W1 is not set | ||
797 | # CONFIG_POWER_SUPPLY is not set | ||
798 | CONFIG_HWMON=y | ||
799 | CONFIG_HWMON_VID=y | ||
800 | # CONFIG_SENSORS_AD7418 is not set | ||
801 | # CONFIG_SENSORS_ADM1021 is not set | ||
802 | # CONFIG_SENSORS_ADM1025 is not set | ||
803 | # CONFIG_SENSORS_ADM1026 is not set | ||
804 | # CONFIG_SENSORS_ADM1029 is not set | ||
805 | # CONFIG_SENSORS_ADM1031 is not set | ||
806 | # CONFIG_SENSORS_ADM9240 is not set | ||
807 | # CONFIG_SENSORS_ADT7470 is not set | ||
808 | # CONFIG_SENSORS_ADT7473 is not set | ||
809 | # CONFIG_SENSORS_ATXP1 is not set | ||
810 | # CONFIG_SENSORS_DS1621 is not set | ||
811 | # CONFIG_SENSORS_I5K_AMB is not set | ||
812 | # CONFIG_SENSORS_F71805F is not set | ||
813 | # CONFIG_SENSORS_F71882FG is not set | ||
814 | # CONFIG_SENSORS_F75375S is not set | ||
815 | # CONFIG_SENSORS_GL518SM is not set | ||
816 | # CONFIG_SENSORS_GL520SM is not set | ||
817 | # CONFIG_SENSORS_IT87 is not set | ||
818 | # CONFIG_SENSORS_LM63 is not set | ||
819 | # CONFIG_SENSORS_LM70 is not set | ||
820 | CONFIG_SENSORS_LM75=y | ||
821 | # CONFIG_SENSORS_LM77 is not set | ||
822 | # CONFIG_SENSORS_LM78 is not set | ||
823 | # CONFIG_SENSORS_LM80 is not set | ||
824 | # CONFIG_SENSORS_LM83 is not set | ||
825 | # CONFIG_SENSORS_LM85 is not set | ||
826 | # CONFIG_SENSORS_LM87 is not set | ||
827 | # CONFIG_SENSORS_LM90 is not set | ||
828 | # CONFIG_SENSORS_LM92 is not set | ||
829 | # CONFIG_SENSORS_LM93 is not set | ||
830 | # CONFIG_SENSORS_MAX1619 is not set | ||
831 | # CONFIG_SENSORS_MAX6650 is not set | ||
832 | # CONFIG_SENSORS_PC87360 is not set | ||
833 | # CONFIG_SENSORS_PC87427 is not set | ||
834 | # CONFIG_SENSORS_SIS5595 is not set | ||
835 | # CONFIG_SENSORS_DME1737 is not set | ||
836 | # CONFIG_SENSORS_SMSC47M1 is not set | ||
837 | # CONFIG_SENSORS_SMSC47M192 is not set | ||
838 | # CONFIG_SENSORS_SMSC47B397 is not set | ||
839 | # CONFIG_SENSORS_ADS7828 is not set | ||
840 | # CONFIG_SENSORS_THMC50 is not set | ||
841 | # CONFIG_SENSORS_VIA686A is not set | ||
842 | # CONFIG_SENSORS_VT1211 is not set | ||
843 | # CONFIG_SENSORS_VT8231 is not set | ||
844 | CONFIG_SENSORS_W83781D=y | ||
845 | # CONFIG_SENSORS_W83791D is not set | ||
846 | # CONFIG_SENSORS_W83792D is not set | ||
847 | # CONFIG_SENSORS_W83793 is not set | ||
848 | # CONFIG_SENSORS_W83L785TS is not set | ||
849 | # CONFIG_SENSORS_W83L786NG is not set | ||
850 | # CONFIG_SENSORS_W83627HF is not set | ||
851 | # CONFIG_SENSORS_W83627EHF is not set | ||
852 | CONFIG_HWMON_DEBUG_CHIP=y | ||
853 | # CONFIG_THERMAL is not set | ||
854 | # CONFIG_THERMAL_HWMON is not set | ||
855 | # CONFIG_WATCHDOG is not set | ||
856 | |||
857 | # | ||
858 | # Sonics Silicon Backplane | ||
859 | # | ||
860 | CONFIG_SSB_POSSIBLE=y | ||
861 | # CONFIG_SSB is not set | ||
862 | |||
863 | # | ||
864 | # Multifunction device drivers | ||
865 | # | ||
866 | # CONFIG_MFD_SM501 is not set | ||
867 | # CONFIG_HTC_PASIC3 is not set | ||
868 | |||
869 | # | ||
870 | # Multimedia devices | ||
871 | # | ||
872 | |||
873 | # | ||
874 | # Multimedia core support | ||
875 | # | ||
876 | # CONFIG_VIDEO_DEV is not set | ||
877 | # CONFIG_DVB_CORE is not set | ||
878 | # CONFIG_VIDEO_MEDIA is not set | ||
879 | |||
880 | # | ||
881 | # Multimedia drivers | ||
882 | # | ||
883 | CONFIG_DAB=y | ||
884 | # CONFIG_USB_DABUSB is not set | ||
885 | |||
886 | # | ||
887 | # Graphics support | ||
888 | # | ||
889 | # CONFIG_AGP is not set | ||
890 | # CONFIG_DRM is not set | ||
891 | # CONFIG_VGASTATE is not set | ||
892 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | ||
893 | CONFIG_FB=y | ||
894 | # CONFIG_FIRMWARE_EDID is not set | ||
895 | # CONFIG_FB_DDC is not set | ||
896 | CONFIG_FB_CFB_FILLRECT=y | ||
897 | CONFIG_FB_CFB_COPYAREA=y | ||
898 | CONFIG_FB_CFB_IMAGEBLIT=y | ||
899 | # CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set | ||
900 | # CONFIG_FB_SYS_FILLRECT is not set | ||
901 | # CONFIG_FB_SYS_COPYAREA is not set | ||
902 | # CONFIG_FB_SYS_IMAGEBLIT is not set | ||
903 | CONFIG_FB_FOREIGN_ENDIAN=y | ||
904 | CONFIG_FB_BOTH_ENDIAN=y | ||
905 | # CONFIG_FB_BIG_ENDIAN is not set | ||
906 | # CONFIG_FB_LITTLE_ENDIAN is not set | ||
907 | # CONFIG_FB_SYS_FOPS is not set | ||
908 | # CONFIG_FB_SVGALIB is not set | ||
909 | # CONFIG_FB_MACMODES is not set | ||
910 | # CONFIG_FB_BACKLIGHT is not set | ||
911 | # CONFIG_FB_MODE_HELPERS is not set | ||
912 | # CONFIG_FB_TILEBLITTING is not set | ||
913 | |||
914 | # | ||
915 | # Frame buffer hardware drivers | ||
916 | # | ||
917 | CONFIG_FB_MB862XX=y | ||
918 | # CONFIG_FB_MB862XX_PCI_GDC is not set | ||
919 | CONFIG_FB_MB862XX_LIME=y | ||
920 | # CONFIG_FB_PRE_INIT_FB is not set | ||
921 | # CONFIG_FB_CIRRUS is not set | ||
922 | # CONFIG_FB_PM2 is not set | ||
923 | # CONFIG_FB_CYBER2000 is not set | ||
924 | # CONFIG_FB_OF is not set | ||
925 | # CONFIG_FB_CT65550 is not set | ||
926 | # CONFIG_FB_ASILIANT is not set | ||
927 | # CONFIG_FB_IMSTT is not set | ||
928 | # CONFIG_FB_VGA16 is not set | ||
929 | # CONFIG_FB_S1D13XXX is not set | ||
930 | # CONFIG_FB_NVIDIA is not set | ||
931 | # CONFIG_FB_RIVA is not set | ||
932 | # CONFIG_FB_MATROX is not set | ||
933 | # CONFIG_FB_RADEON is not set | ||
934 | # CONFIG_FB_ATY128 is not set | ||
935 | # CONFIG_FB_ATY is not set | ||
936 | # CONFIG_FB_S3 is not set | ||
937 | # CONFIG_FB_SAVAGE is not set | ||
938 | # CONFIG_FB_SIS is not set | ||
939 | # CONFIG_FB_NEOMAGIC is not set | ||
940 | # CONFIG_FB_KYRO is not set | ||
941 | # CONFIG_FB_3DFX is not set | ||
942 | # CONFIG_FB_VOODOO1 is not set | ||
943 | # CONFIG_FB_VT8623 is not set | ||
944 | # CONFIG_FB_TRIDENT is not set | ||
945 | # CONFIG_FB_ARK is not set | ||
946 | # CONFIG_FB_PM3 is not set | ||
947 | # CONFIG_FB_FSL_DIU is not set | ||
948 | # CONFIG_FB_IBM_GXT4500 is not set | ||
949 | # CONFIG_FB_VIRTUAL is not set | ||
950 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | ||
951 | |||
952 | # | ||
953 | # Display device support | ||
954 | # | ||
955 | # CONFIG_DISPLAY_SUPPORT is not set | ||
956 | |||
957 | # | ||
958 | # Console display driver support | ||
959 | # | ||
960 | # CONFIG_VGA_CONSOLE is not set | ||
961 | CONFIG_DUMMY_CONSOLE=y | ||
962 | CONFIG_FRAMEBUFFER_CONSOLE=y | ||
963 | # CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set | ||
964 | # CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set | ||
965 | CONFIG_FONTS=y | ||
966 | # CONFIG_FONT_8x8 is not set | ||
967 | CONFIG_FONT_8x16=y | ||
968 | # CONFIG_FONT_6x11 is not set | ||
969 | # CONFIG_FONT_7x14 is not set | ||
970 | # CONFIG_FONT_PEARL_8x8 is not set | ||
971 | # CONFIG_FONT_ACORN_8x8 is not set | ||
972 | # CONFIG_FONT_MINI_4x6 is not set | ||
973 | # CONFIG_FONT_SUN8x16 is not set | ||
974 | # CONFIG_FONT_SUN12x22 is not set | ||
975 | # CONFIG_FONT_10x18 is not set | ||
976 | # CONFIG_LOGO is not set | ||
977 | |||
978 | # | ||
979 | # Sound | ||
980 | # | ||
981 | # CONFIG_SOUND is not set | ||
982 | CONFIG_HID_SUPPORT=y | ||
983 | CONFIG_HID=y | ||
984 | # CONFIG_HID_DEBUG is not set | ||
985 | # CONFIG_HIDRAW is not set | ||
986 | |||
987 | # | ||
988 | # USB Input Devices | ||
989 | # | ||
990 | CONFIG_USB_HID=y | ||
991 | # CONFIG_USB_HIDINPUT_POWERBOOK is not set | ||
992 | # CONFIG_HID_FF is not set | ||
993 | # CONFIG_USB_HIDDEV is not set | ||
994 | CONFIG_USB_SUPPORT=y | ||
995 | CONFIG_USB_ARCH_HAS_HCD=y | ||
996 | CONFIG_USB_ARCH_HAS_OHCI=y | ||
997 | CONFIG_USB_ARCH_HAS_EHCI=y | ||
998 | CONFIG_USB=y | ||
999 | # CONFIG_USB_DEBUG is not set | ||
1000 | CONFIG_USB_ANNOUNCE_NEW_DEVICES=y | ||
1001 | |||
1002 | # | ||
1003 | # Miscellaneous USB options | ||
1004 | # | ||
1005 | CONFIG_USB_DEVICEFS=y | ||
1006 | CONFIG_USB_DEVICE_CLASS=y | ||
1007 | # CONFIG_USB_DYNAMIC_MINORS is not set | ||
1008 | # CONFIG_USB_OTG is not set | ||
1009 | # CONFIG_USB_OTG_WHITELIST is not set | ||
1010 | # CONFIG_USB_OTG_BLACKLIST_HUB is not set | ||
1011 | |||
1012 | # | ||
1013 | # USB Host Controller Drivers | ||
1014 | # | ||
1015 | # CONFIG_USB_C67X00_HCD is not set | ||
1016 | CONFIG_USB_EHCI_HCD=y | ||
1017 | # CONFIG_USB_EHCI_ROOT_HUB_TT is not set | ||
1018 | # CONFIG_USB_EHCI_TT_NEWSCHED is not set | ||
1019 | # CONFIG_USB_EHCI_FSL is not set | ||
1020 | CONFIG_USB_EHCI_HCD_PPC_OF=y | ||
1021 | # CONFIG_USB_ISP116X_HCD is not set | ||
1022 | # CONFIG_USB_ISP1760_HCD is not set | ||
1023 | CONFIG_USB_OHCI_HCD=y | ||
1024 | CONFIG_USB_OHCI_HCD_PPC_OF=y | ||
1025 | CONFIG_USB_OHCI_HCD_PPC_OF_BE=y | ||
1026 | # CONFIG_USB_OHCI_HCD_PPC_OF_LE is not set | ||
1027 | CONFIG_USB_OHCI_HCD_PCI=y | ||
1028 | CONFIG_USB_OHCI_BIG_ENDIAN_DESC=y | ||
1029 | CONFIG_USB_OHCI_BIG_ENDIAN_MMIO=y | ||
1030 | CONFIG_USB_OHCI_LITTLE_ENDIAN=y | ||
1031 | # CONFIG_USB_UHCI_HCD is not set | ||
1032 | # CONFIG_USB_SL811_HCD is not set | ||
1033 | # CONFIG_USB_R8A66597_HCD is not set | ||
1034 | |||
1035 | # | ||
1036 | # USB Device Class drivers | ||
1037 | # | ||
1038 | # CONFIG_USB_ACM is not set | ||
1039 | # CONFIG_USB_PRINTER is not set | ||
1040 | # CONFIG_USB_WDM is not set | ||
1041 | |||
1042 | # | ||
1043 | # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' | ||
1044 | # | ||
1045 | |||
1046 | # | ||
1047 | # may also be needed; see USB_STORAGE Help for more information | ||
1048 | # | ||
1049 | CONFIG_USB_STORAGE=y | ||
1050 | # CONFIG_USB_STORAGE_DEBUG is not set | ||
1051 | # CONFIG_USB_STORAGE_DATAFAB is not set | ||
1052 | # CONFIG_USB_STORAGE_FREECOM is not set | ||
1053 | # CONFIG_USB_STORAGE_ISD200 is not set | ||
1054 | # CONFIG_USB_STORAGE_DPCM is not set | ||
1055 | # CONFIG_USB_STORAGE_USBAT is not set | ||
1056 | # CONFIG_USB_STORAGE_SDDR09 is not set | ||
1057 | # CONFIG_USB_STORAGE_SDDR55 is not set | ||
1058 | # CONFIG_USB_STORAGE_JUMPSHOT is not set | ||
1059 | # CONFIG_USB_STORAGE_ALAUDA is not set | ||
1060 | # CONFIG_USB_STORAGE_ONETOUCH is not set | ||
1061 | # CONFIG_USB_STORAGE_KARMA is not set | ||
1062 | # CONFIG_USB_STORAGE_CYPRESS_ATACB is not set | ||
1063 | # CONFIG_USB_LIBUSUAL is not set | ||
1064 | |||
1065 | # | ||
1066 | # USB Imaging devices | ||
1067 | # | ||
1068 | # CONFIG_USB_MDC800 is not set | ||
1069 | # CONFIG_USB_MICROTEK is not set | ||
1070 | CONFIG_USB_MON=y | ||
1071 | |||
1072 | # | ||
1073 | # USB port drivers | ||
1074 | # | ||
1075 | # CONFIG_USB_SERIAL is not set | ||
1076 | |||
1077 | # | ||
1078 | # USB Miscellaneous drivers | ||
1079 | # | ||
1080 | # CONFIG_USB_EMI62 is not set | ||
1081 | # CONFIG_USB_EMI26 is not set | ||
1082 | # CONFIG_USB_ADUTUX is not set | ||
1083 | # CONFIG_USB_AUERSWALD is not set | ||
1084 | # CONFIG_USB_RIO500 is not set | ||
1085 | # CONFIG_USB_LEGOTOWER is not set | ||
1086 | # CONFIG_USB_LCD is not set | ||
1087 | # CONFIG_USB_BERRY_CHARGE is not set | ||
1088 | # CONFIG_USB_LED is not set | ||
1089 | # CONFIG_USB_CYPRESS_CY7C63 is not set | ||
1090 | # CONFIG_USB_CYTHERM is not set | ||
1091 | # CONFIG_USB_PHIDGET is not set | ||
1092 | # CONFIG_USB_IDMOUSE is not set | ||
1093 | # CONFIG_USB_FTDI_ELAN is not set | ||
1094 | # CONFIG_USB_APPLEDISPLAY is not set | ||
1095 | # CONFIG_USB_SISUSBVGA is not set | ||
1096 | # CONFIG_USB_LD is not set | ||
1097 | # CONFIG_USB_TRANCEVIBRATOR is not set | ||
1098 | # CONFIG_USB_IOWARRIOR is not set | ||
1099 | # CONFIG_USB_TEST is not set | ||
1100 | # CONFIG_USB_ISIGHTFW is not set | ||
1101 | # CONFIG_USB_GADGET is not set | ||
1102 | # CONFIG_MMC is not set | ||
1103 | # CONFIG_MEMSTICK is not set | ||
1104 | # CONFIG_NEW_LEDS is not set | ||
1105 | # CONFIG_ACCESSIBILITY is not set | ||
1106 | # CONFIG_INFINIBAND is not set | ||
1107 | # CONFIG_EDAC is not set | ||
1108 | CONFIG_RTC_LIB=y | ||
1109 | CONFIG_RTC_CLASS=y | ||
1110 | CONFIG_RTC_HCTOSYS=y | ||
1111 | CONFIG_RTC_HCTOSYS_DEVICE="rtc0" | ||
1112 | # CONFIG_RTC_DEBUG is not set | ||
1113 | |||
1114 | # | ||
1115 | # RTC interfaces | ||
1116 | # | ||
1117 | CONFIG_RTC_INTF_SYSFS=y | ||
1118 | CONFIG_RTC_INTF_PROC=y | ||
1119 | CONFIG_RTC_INTF_DEV=y | ||
1120 | # CONFIG_RTC_INTF_DEV_UIE_EMUL is not set | ||
1121 | # CONFIG_RTC_DRV_TEST is not set | ||
1122 | |||
1123 | # | ||
1124 | # I2C RTC drivers | ||
1125 | # | ||
1126 | # CONFIG_RTC_DRV_DS1307 is not set | ||
1127 | # CONFIG_RTC_DRV_DS1374 is not set | ||
1128 | # CONFIG_RTC_DRV_DS1672 is not set | ||
1129 | # CONFIG_RTC_DRV_MAX6900 is not set | ||
1130 | # CONFIG_RTC_DRV_RS5C372 is not set | ||
1131 | # CONFIG_RTC_DRV_ISL1208 is not set | ||
1132 | # CONFIG_RTC_DRV_X1205 is not set | ||
1133 | # CONFIG_RTC_DRV_PCF8563 is not set | ||
1134 | # CONFIG_RTC_DRV_PCF8583 is not set | ||
1135 | # CONFIG_RTC_DRV_M41T80 is not set | ||
1136 | # CONFIG_RTC_DRV_S35390A is not set | ||
1137 | # CONFIG_RTC_DRV_FM3130 is not set | ||
1138 | CONFIG_RTC_DRV_RX8025=y | ||
1139 | |||
1140 | # | ||
1141 | # SPI RTC drivers | ||
1142 | # | ||
1143 | # CONFIG_RTC_DRV_MAX6902 is not set | ||
1144 | # CONFIG_RTC_DRV_R9701 is not set | ||
1145 | # CONFIG_RTC_DRV_RS5C348 is not set | ||
1146 | |||
1147 | # | ||
1148 | # Platform RTC drivers | ||
1149 | # | ||
1150 | # CONFIG_RTC_DRV_CMOS is not set | ||
1151 | # CONFIG_RTC_DRV_DS1511 is not set | ||
1152 | # CONFIG_RTC_DRV_DS1553 is not set | ||
1153 | # CONFIG_RTC_DRV_DS1742 is not set | ||
1154 | # CONFIG_RTC_DRV_STK17TA8 is not set | ||
1155 | # CONFIG_RTC_DRV_M48T86 is not set | ||
1156 | # CONFIG_RTC_DRV_M48T59 is not set | ||
1157 | # CONFIG_RTC_DRV_V3020 is not set | ||
1158 | |||
1159 | # | ||
1160 | # on-CPU RTC drivers | ||
1161 | # | ||
1162 | CONFIG_RTC_DRV_PPC=y | ||
1163 | # CONFIG_DMADEVICES is not set | ||
1164 | # CONFIG_UIO is not set | ||
1165 | |||
1166 | # | ||
1167 | # File systems | ||
1168 | # | ||
1169 | CONFIG_EXT2_FS=y | ||
1170 | # CONFIG_EXT2_FS_XATTR is not set | ||
1171 | # CONFIG_EXT2_FS_XIP is not set | ||
1172 | CONFIG_EXT3_FS=y | ||
1173 | CONFIG_EXT3_FS_XATTR=y | ||
1174 | # CONFIG_EXT3_FS_POSIX_ACL is not set | ||
1175 | # CONFIG_EXT3_FS_SECURITY is not set | ||
1176 | # CONFIG_EXT4DEV_FS is not set | ||
1177 | CONFIG_JBD=y | ||
1178 | CONFIG_FS_MBCACHE=y | ||
1179 | # CONFIG_REISERFS_FS is not set | ||
1180 | # CONFIG_JFS_FS is not set | ||
1181 | # CONFIG_FS_POSIX_ACL is not set | ||
1182 | # CONFIG_XFS_FS is not set | ||
1183 | # CONFIG_OCFS2_FS is not set | ||
1184 | CONFIG_DNOTIFY=y | ||
1185 | CONFIG_INOTIFY=y | ||
1186 | CONFIG_INOTIFY_USER=y | ||
1187 | # CONFIG_QUOTA is not set | ||
1188 | # CONFIG_AUTOFS_FS is not set | ||
1189 | # CONFIG_AUTOFS4_FS is not set | ||
1190 | # CONFIG_FUSE_FS is not set | ||
1191 | |||
1192 | # | ||
1193 | # CD-ROM/DVD Filesystems | ||
1194 | # | ||
1195 | # CONFIG_ISO9660_FS is not set | ||
1196 | # CONFIG_UDF_FS is not set | ||
1197 | |||
1198 | # | ||
1199 | # DOS/FAT/NT Filesystems | ||
1200 | # | ||
1201 | # CONFIG_MSDOS_FS is not set | ||
1202 | # CONFIG_VFAT_FS is not set | ||
1203 | # CONFIG_NTFS_FS is not set | ||
1204 | |||
1205 | # | ||
1206 | # Pseudo filesystems | ||
1207 | # | ||
1208 | CONFIG_PROC_FS=y | ||
1209 | CONFIG_PROC_KCORE=y | ||
1210 | CONFIG_PROC_SYSCTL=y | ||
1211 | CONFIG_SYSFS=y | ||
1212 | CONFIG_TMPFS=y | ||
1213 | # CONFIG_TMPFS_POSIX_ACL is not set | ||
1214 | # CONFIG_HUGETLB_PAGE is not set | ||
1215 | # CONFIG_CONFIGFS_FS is not set | ||
1216 | |||
1217 | # | ||
1218 | # Miscellaneous filesystems | ||
1219 | # | ||
1220 | # CONFIG_ADFS_FS is not set | ||
1221 | # CONFIG_AFFS_FS is not set | ||
1222 | # CONFIG_HFS_FS is not set | ||
1223 | # CONFIG_HFSPLUS_FS is not set | ||
1224 | # CONFIG_BEFS_FS is not set | ||
1225 | # CONFIG_BFS_FS is not set | ||
1226 | # CONFIG_EFS_FS is not set | ||
1227 | CONFIG_JFFS2_FS=y | ||
1228 | CONFIG_JFFS2_FS_DEBUG=0 | ||
1229 | CONFIG_JFFS2_FS_WRITEBUFFER=y | ||
1230 | # CONFIG_JFFS2_FS_WBUF_VERIFY is not set | ||
1231 | # CONFIG_JFFS2_SUMMARY is not set | ||
1232 | # CONFIG_JFFS2_FS_XATTR is not set | ||
1233 | # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set | ||
1234 | CONFIG_JFFS2_ZLIB=y | ||
1235 | # CONFIG_JFFS2_LZO is not set | ||
1236 | CONFIG_JFFS2_RTIME=y | ||
1237 | # CONFIG_JFFS2_RUBIN is not set | ||
1238 | CONFIG_CRAMFS=y | ||
1239 | # CONFIG_VXFS_FS is not set | ||
1240 | # CONFIG_MINIX_FS is not set | ||
1241 | # CONFIG_HPFS_FS is not set | ||
1242 | # CONFIG_QNX4FS_FS is not set | ||
1243 | # CONFIG_ROMFS_FS is not set | ||
1244 | # CONFIG_SYSV_FS is not set | ||
1245 | # CONFIG_UFS_FS is not set | ||
1246 | CONFIG_NETWORK_FILESYSTEMS=y | ||
1247 | CONFIG_NFS_FS=y | ||
1248 | CONFIG_NFS_V3=y | ||
1249 | # CONFIG_NFS_V3_ACL is not set | ||
1250 | # CONFIG_NFS_V4 is not set | ||
1251 | # CONFIG_NFSD is not set | ||
1252 | CONFIG_ROOT_NFS=y | ||
1253 | CONFIG_LOCKD=y | ||
1254 | CONFIG_LOCKD_V4=y | ||
1255 | CONFIG_NFS_COMMON=y | ||
1256 | CONFIG_SUNRPC=y | ||
1257 | # CONFIG_SUNRPC_BIND34 is not set | ||
1258 | # CONFIG_RPCSEC_GSS_KRB5 is not set | ||
1259 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | ||
1260 | # CONFIG_SMB_FS is not set | ||
1261 | # CONFIG_CIFS is not set | ||
1262 | # CONFIG_NCP_FS is not set | ||
1263 | # CONFIG_CODA_FS is not set | ||
1264 | # CONFIG_AFS_FS is not set | ||
1265 | |||
1266 | # | ||
1267 | # Partition Types | ||
1268 | # | ||
1269 | CONFIG_PARTITION_ADVANCED=y | ||
1270 | # CONFIG_ACORN_PARTITION is not set | ||
1271 | # CONFIG_OSF_PARTITION is not set | ||
1272 | # CONFIG_AMIGA_PARTITION is not set | ||
1273 | # CONFIG_ATARI_PARTITION is not set | ||
1274 | # CONFIG_MAC_PARTITION is not set | ||
1275 | CONFIG_MSDOS_PARTITION=y | ||
1276 | # CONFIG_BSD_DISKLABEL is not set | ||
1277 | # CONFIG_MINIX_SUBPARTITION is not set | ||
1278 | # CONFIG_SOLARIS_X86_PARTITION is not set | ||
1279 | # CONFIG_UNIXWARE_DISKLABEL is not set | ||
1280 | # CONFIG_LDM_PARTITION is not set | ||
1281 | # CONFIG_SGI_PARTITION is not set | ||
1282 | # CONFIG_ULTRIX_PARTITION is not set | ||
1283 | # CONFIG_SUN_PARTITION is not set | ||
1284 | # CONFIG_KARMA_PARTITION is not set | ||
1285 | # CONFIG_EFI_PARTITION is not set | ||
1286 | # CONFIG_SYSV68_PARTITION is not set | ||
1287 | # CONFIG_NLS is not set | ||
1288 | # CONFIG_DLM is not set | ||
1289 | |||
1290 | # | ||
1291 | # Library routines | ||
1292 | # | ||
1293 | CONFIG_BITREVERSE=y | ||
1294 | # CONFIG_GENERIC_FIND_FIRST_BIT is not set | ||
1295 | # CONFIG_CRC_CCITT is not set | ||
1296 | # CONFIG_CRC16 is not set | ||
1297 | # CONFIG_CRC_ITU_T is not set | ||
1298 | CONFIG_CRC32=y | ||
1299 | # CONFIG_CRC7 is not set | ||
1300 | # CONFIG_LIBCRC32C is not set | ||
1301 | CONFIG_ZLIB_INFLATE=y | ||
1302 | CONFIG_ZLIB_DEFLATE=y | ||
1303 | CONFIG_PLIST=y | ||
1304 | CONFIG_HAS_IOMEM=y | ||
1305 | CONFIG_HAS_IOPORT=y | ||
1306 | CONFIG_HAS_DMA=y | ||
1307 | CONFIG_HAVE_LMB=y | ||
1308 | |||
1309 | # | ||
1310 | # Kernel hacking | ||
1311 | # | ||
1312 | # CONFIG_PRINTK_TIME is not set | ||
1313 | CONFIG_ENABLE_WARN_DEPRECATED=y | ||
1314 | CONFIG_ENABLE_MUST_CHECK=y | ||
1315 | CONFIG_FRAME_WARN=1024 | ||
1316 | # CONFIG_MAGIC_SYSRQ is not set | ||
1317 | # CONFIG_UNUSED_SYMBOLS is not set | ||
1318 | # CONFIG_DEBUG_FS is not set | ||
1319 | # CONFIG_HEADERS_CHECK is not set | ||
1320 | # CONFIG_DEBUG_KERNEL is not set | ||
1321 | # CONFIG_SLUB_DEBUG_ON is not set | ||
1322 | # CONFIG_SLUB_STATS is not set | ||
1323 | # CONFIG_DEBUG_BUGVERBOSE is not set | ||
1324 | # CONFIG_SAMPLES is not set | ||
1325 | # CONFIG_IRQSTACKS is not set | ||
1326 | # CONFIG_PPC_EARLY_DEBUG is not set | ||
1327 | |||
1328 | # | ||
1329 | # Security options | ||
1330 | # | ||
1331 | # CONFIG_KEYS is not set | ||
1332 | # CONFIG_SECURITY is not set | ||
1333 | # CONFIG_SECURITY_FILE_CAPABILITIES is not set | ||
1334 | CONFIG_CRYPTO=y | ||
1335 | |||
1336 | # | ||
1337 | # Crypto core or helper | ||
1338 | # | ||
1339 | # CONFIG_CRYPTO_MANAGER is not set | ||
1340 | # CONFIG_CRYPTO_GF128MUL is not set | ||
1341 | # CONFIG_CRYPTO_NULL is not set | ||
1342 | # CONFIG_CRYPTO_CRYPTD is not set | ||
1343 | # CONFIG_CRYPTO_AUTHENC is not set | ||
1344 | # CONFIG_CRYPTO_TEST is not set | ||
1345 | |||
1346 | # | ||
1347 | # Authenticated Encryption with Associated Data | ||
1348 | # | ||
1349 | # CONFIG_CRYPTO_CCM is not set | ||
1350 | # CONFIG_CRYPTO_GCM is not set | ||
1351 | # CONFIG_CRYPTO_SEQIV is not set | ||
1352 | |||
1353 | # | ||
1354 | # Block modes | ||
1355 | # | ||
1356 | # CONFIG_CRYPTO_CBC is not set | ||
1357 | # CONFIG_CRYPTO_CTR is not set | ||
1358 | # CONFIG_CRYPTO_CTS is not set | ||
1359 | # CONFIG_CRYPTO_ECB is not set | ||
1360 | # CONFIG_CRYPTO_LRW is not set | ||
1361 | # CONFIG_CRYPTO_PCBC is not set | ||
1362 | # CONFIG_CRYPTO_XTS is not set | ||
1363 | |||
1364 | # | ||
1365 | # Hash modes | ||
1366 | # | ||
1367 | # CONFIG_CRYPTO_HMAC is not set | ||
1368 | # CONFIG_CRYPTO_XCBC is not set | ||
1369 | |||
1370 | # | ||
1371 | # Digest | ||
1372 | # | ||
1373 | # CONFIG_CRYPTO_CRC32C is not set | ||
1374 | # CONFIG_CRYPTO_MD4 is not set | ||
1375 | # CONFIG_CRYPTO_MD5 is not set | ||
1376 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | ||
1377 | # CONFIG_CRYPTO_SHA1 is not set | ||
1378 | # CONFIG_CRYPTO_SHA256 is not set | ||
1379 | # CONFIG_CRYPTO_SHA512 is not set | ||
1380 | # CONFIG_CRYPTO_TGR192 is not set | ||
1381 | # CONFIG_CRYPTO_WP512 is not set | ||
1382 | |||
1383 | # | ||
1384 | # Ciphers | ||
1385 | # | ||
1386 | # CONFIG_CRYPTO_AES is not set | ||
1387 | # CONFIG_CRYPTO_ANUBIS is not set | ||
1388 | # CONFIG_CRYPTO_ARC4 is not set | ||
1389 | # CONFIG_CRYPTO_BLOWFISH is not set | ||
1390 | # CONFIG_CRYPTO_CAMELLIA is not set | ||
1391 | # CONFIG_CRYPTO_CAST5 is not set | ||
1392 | # CONFIG_CRYPTO_CAST6 is not set | ||
1393 | # CONFIG_CRYPTO_DES is not set | ||
1394 | # CONFIG_CRYPTO_FCRYPT is not set | ||
1395 | # CONFIG_CRYPTO_KHAZAD is not set | ||
1396 | # CONFIG_CRYPTO_SALSA20 is not set | ||
1397 | # CONFIG_CRYPTO_SEED is not set | ||
1398 | # CONFIG_CRYPTO_SERPENT is not set | ||
1399 | # CONFIG_CRYPTO_TEA is not set | ||
1400 | # CONFIG_CRYPTO_TWOFISH is not set | ||
1401 | |||
1402 | # | ||
1403 | # Compression | ||
1404 | # | ||
1405 | # CONFIG_CRYPTO_DEFLATE is not set | ||
1406 | # CONFIG_CRYPTO_LZO is not set | ||
1407 | CONFIG_CRYPTO_HW=y | ||
1408 | # CONFIG_CRYPTO_DEV_HIFN_795X is not set | ||
1409 | # CONFIG_PPC_CLOCK is not set | ||
1410 | # CONFIG_VIRTUALIZATION is not set | ||
diff --git a/arch/powerpc/platforms/85xx/Kconfig b/arch/powerpc/platforms/85xx/Kconfig index b79dc710ed34..7f066adc068c 100644 --- a/arch/powerpc/platforms/85xx/Kconfig +++ b/arch/powerpc/platforms/85xx/Kconfig | |||
@@ -51,6 +51,12 @@ config MPC85xx_DS | |||
51 | help | 51 | help |
52 | This option enables support for the MPC85xx DS (MPC8544 DS) board | 52 | This option enables support for the MPC85xx DS (MPC8544 DS) board |
53 | 53 | ||
54 | config SOCRATES | ||
55 | bool "Socrates" | ||
56 | select DEFAULT_UIMAGE | ||
57 | help | ||
58 | This option enables support for the Socrates board. | ||
59 | |||
54 | config KSI8560 | 60 | config KSI8560 |
55 | bool "Emerson KSI8560" | 61 | bool "Emerson KSI8560" |
56 | select DEFAULT_UIMAGE | 62 | select DEFAULT_UIMAGE |
diff --git a/arch/powerpc/platforms/85xx/Makefile b/arch/powerpc/platforms/85xx/Makefile index f0798c09980f..a857b35b9828 100644 --- a/arch/powerpc/platforms/85xx/Makefile +++ b/arch/powerpc/platforms/85xx/Makefile | |||
@@ -13,4 +13,5 @@ obj-$(CONFIG_STX_GP3) += stx_gp3.o | |||
13 | obj-$(CONFIG_TQM85xx) += tqm85xx.o | 13 | obj-$(CONFIG_TQM85xx) += tqm85xx.o |
14 | obj-$(CONFIG_SBC8560) += sbc8560.o | 14 | obj-$(CONFIG_SBC8560) += sbc8560.o |
15 | obj-$(CONFIG_SBC8548) += sbc8548.o | 15 | obj-$(CONFIG_SBC8548) += sbc8548.o |
16 | obj-$(CONFIG_SOCRATES) += socrates.o socrates_fpga_pic.o | ||
16 | obj-$(CONFIG_KSI8560) += ksi8560.o | 17 | obj-$(CONFIG_KSI8560) += ksi8560.o |
diff --git a/arch/powerpc/platforms/85xx/socrates.c b/arch/powerpc/platforms/85xx/socrates.c new file mode 100644 index 000000000000..d0e8443b12c6 --- /dev/null +++ b/arch/powerpc/platforms/85xx/socrates.c | |||
@@ -0,0 +1,133 @@ | |||
1 | /* | ||
2 | * Copyright (c) 2008 Emcraft Systems | ||
3 | * Sergei Poselenov <sposelenov@emcraft.com> | ||
4 | * | ||
5 | * Based on MPC8560 ADS and arch/ppc tqm85xx ports | ||
6 | * | ||
7 | * Maintained by Kumar Gala (see MAINTAINERS for contact information) | ||
8 | * | ||
9 | * Copyright 2008 Freescale Semiconductor Inc. | ||
10 | * | ||
11 | * Copyright (c) 2005-2006 DENX Software Engineering | ||
12 | * Stefan Roese <sr@denx.de> | ||
13 | * | ||
14 | * Based on original work by | ||
15 | * Kumar Gala <kumar.gala@freescale.com> | ||
16 | * Copyright 2004 Freescale Semiconductor Inc. | ||
17 | * | ||
18 | * This program is free software; you can redistribute it and/or modify it | ||
19 | * under the terms of the GNU General Public License as published by the | ||
20 | * Free Software Foundation; either version 2 of the License, or (at your | ||
21 | * option) any later version. | ||
22 | */ | ||
23 | |||
24 | #include <linux/stddef.h> | ||
25 | #include <linux/kernel.h> | ||
26 | #include <linux/pci.h> | ||
27 | #include <linux/kdev_t.h> | ||
28 | #include <linux/delay.h> | ||
29 | #include <linux/seq_file.h> | ||
30 | #include <linux/of_platform.h> | ||
31 | |||
32 | #include <asm/system.h> | ||
33 | #include <asm/time.h> | ||
34 | #include <asm/machdep.h> | ||
35 | #include <asm/pci-bridge.h> | ||
36 | #include <asm/mpic.h> | ||
37 | #include <asm/prom.h> | ||
38 | #include <mm/mmu_decl.h> | ||
39 | #include <asm/udbg.h> | ||
40 | |||
41 | #include <sysdev/fsl_soc.h> | ||
42 | #include <sysdev/fsl_pci.h> | ||
43 | |||
44 | #include "socrates_fpga_pic.h" | ||
45 | |||
46 | static void __init socrates_pic_init(void) | ||
47 | { | ||
48 | struct mpic *mpic; | ||
49 | struct resource r; | ||
50 | struct device_node *np; | ||
51 | |||
52 | np = of_find_node_by_type(NULL, "open-pic"); | ||
53 | if (!np) { | ||
54 | printk(KERN_ERR "Could not find open-pic node\n"); | ||
55 | return; | ||
56 | } | ||
57 | |||
58 | if (of_address_to_resource(np, 0, &r)) { | ||
59 | printk(KERN_ERR "Could not map mpic register space\n"); | ||
60 | of_node_put(np); | ||
61 | return; | ||
62 | } | ||
63 | |||
64 | mpic = mpic_alloc(np, r.start, | ||
65 | MPIC_PRIMARY | MPIC_WANTS_RESET | MPIC_BIG_ENDIAN, | ||
66 | 0, 256, " OpenPIC "); | ||
67 | BUG_ON(mpic == NULL); | ||
68 | of_node_put(np); | ||
69 | |||
70 | mpic_init(mpic); | ||
71 | |||
72 | np = of_find_compatible_node(NULL, NULL, "abb,socrates-fpga-pic"); | ||
73 | if (!np) { | ||
74 | printk(KERN_ERR "Could not find socrates-fpga-pic node\n"); | ||
75 | return; | ||
76 | } | ||
77 | socrates_fpga_pic_init(np); | ||
78 | of_node_put(np); | ||
79 | } | ||
80 | |||
81 | /* | ||
82 | * Setup the architecture | ||
83 | */ | ||
84 | static void __init socrates_setup_arch(void) | ||
85 | { | ||
86 | #ifdef CONFIG_PCI | ||
87 | struct device_node *np; | ||
88 | #endif | ||
89 | |||
90 | if (ppc_md.progress) | ||
91 | ppc_md.progress("socrates_setup_arch()", 0); | ||
92 | |||
93 | #ifdef CONFIG_PCI | ||
94 | for_each_compatible_node(np, "pci", "fsl,mpc8540-pci") | ||
95 | fsl_add_bridge(np, 1); | ||
96 | #endif | ||
97 | } | ||
98 | |||
99 | static struct of_device_id __initdata socrates_of_bus_ids[] = { | ||
100 | { .compatible = "simple-bus", }, | ||
101 | { .compatible = "gianfar", }, | ||
102 | {}, | ||
103 | }; | ||
104 | |||
105 | static void __init socrates_init(void) | ||
106 | { | ||
107 | of_platform_bus_probe(NULL, socrates_of_bus_ids, NULL); | ||
108 | } | ||
109 | |||
110 | /* | ||
111 | * Called very early, device-tree isn't unflattened | ||
112 | */ | ||
113 | static int __init socrates_probe(void) | ||
114 | { | ||
115 | unsigned long root = of_get_flat_dt_root(); | ||
116 | |||
117 | if (of_flat_dt_is_compatible(root, "abb,socrates")) | ||
118 | return 1; | ||
119 | |||
120 | return 0; | ||
121 | } | ||
122 | |||
123 | define_machine(socrates) { | ||
124 | .name = "Socrates", | ||
125 | .probe = socrates_probe, | ||
126 | .setup_arch = socrates_setup_arch, | ||
127 | .init = socrates_init, | ||
128 | .init_IRQ = socrates_pic_init, | ||
129 | .get_irq = mpic_get_irq, | ||
130 | .restart = fsl_rstcr_restart, | ||
131 | .calibrate_decr = generic_calibrate_decr, | ||
132 | .progress = udbg_progress, | ||
133 | }; | ||
diff --git a/arch/powerpc/platforms/85xx/socrates_fpga_pic.c b/arch/powerpc/platforms/85xx/socrates_fpga_pic.c new file mode 100644 index 000000000000..60edf63d0157 --- /dev/null +++ b/arch/powerpc/platforms/85xx/socrates_fpga_pic.c | |||
@@ -0,0 +1,327 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2008 Ilya Yanok, Emcraft Systems | ||
3 | * | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License version 2 as | ||
7 | * published by the Free Software Foundation. | ||
8 | * | ||
9 | */ | ||
10 | |||
11 | #include <linux/irq.h> | ||
12 | #include <linux/of_platform.h> | ||
13 | #include <linux/io.h> | ||
14 | |||
15 | /* | ||
16 | * The FPGA supports 9 interrupt sources, which can be routed to 3 | ||
17 | * interrupt request lines of the MPIC. The line to be used can be | ||
18 | * specified through the third cell of FDT property "interrupts". | ||
19 | */ | ||
20 | |||
21 | #define SOCRATES_FPGA_NUM_IRQS 9 | ||
22 | |||
23 | #define FPGA_PIC_IRQCFG (0x0) | ||
24 | #define FPGA_PIC_IRQMASK(n) (0x4 + 0x4 * (n)) | ||
25 | |||
26 | #define SOCRATES_FPGA_IRQ_MASK ((1 << SOCRATES_FPGA_NUM_IRQS) - 1) | ||
27 | |||
28 | struct socrates_fpga_irq_info { | ||
29 | unsigned int irq_line; | ||
30 | int type; | ||
31 | }; | ||
32 | |||
33 | /* | ||
34 | * Interrupt routing and type table | ||
35 | * | ||
36 | * IRQ_TYPE_NONE means the interrupt type is configurable, | ||
37 | * otherwise it's fixed to the specified value. | ||
38 | */ | ||
39 | static struct socrates_fpga_irq_info fpga_irqs[SOCRATES_FPGA_NUM_IRQS] = { | ||
40 | [0] = {0, IRQ_TYPE_NONE}, | ||
41 | [1] = {0, IRQ_TYPE_LEVEL_HIGH}, | ||
42 | [2] = {0, IRQ_TYPE_LEVEL_LOW}, | ||
43 | [3] = {0, IRQ_TYPE_NONE}, | ||
44 | [4] = {0, IRQ_TYPE_NONE}, | ||
45 | [5] = {0, IRQ_TYPE_NONE}, | ||
46 | [6] = {0, IRQ_TYPE_NONE}, | ||
47 | [7] = {0, IRQ_TYPE_NONE}, | ||
48 | [8] = {0, IRQ_TYPE_LEVEL_HIGH}, | ||
49 | }; | ||
50 | |||
51 | #define socrates_fpga_irq_to_hw(virq) ((unsigned int)irq_map[virq].hwirq) | ||
52 | |||
53 | static DEFINE_SPINLOCK(socrates_fpga_pic_lock); | ||
54 | |||
55 | static void __iomem *socrates_fpga_pic_iobase; | ||
56 | static struct irq_host *socrates_fpga_pic_irq_host; | ||
57 | static unsigned int socrates_fpga_irqs[3]; | ||
58 | |||
59 | static inline uint32_t socrates_fpga_pic_read(int reg) | ||
60 | { | ||
61 | return in_be32(socrates_fpga_pic_iobase + reg); | ||
62 | } | ||
63 | |||
64 | static inline void socrates_fpga_pic_write(int reg, uint32_t val) | ||
65 | { | ||
66 | out_be32(socrates_fpga_pic_iobase + reg, val); | ||
67 | } | ||
68 | |||
69 | static inline unsigned int socrates_fpga_pic_get_irq(unsigned int irq) | ||
70 | { | ||
71 | uint32_t cause; | ||
72 | unsigned long flags; | ||
73 | int i; | ||
74 | |||
75 | /* Check irq line routed to the MPIC */ | ||
76 | for (i = 0; i < 3; i++) { | ||
77 | if (irq == socrates_fpga_irqs[i]) | ||
78 | break; | ||
79 | } | ||
80 | if (i == 3) | ||
81 | return NO_IRQ; | ||
82 | |||
83 | spin_lock_irqsave(&socrates_fpga_pic_lock, flags); | ||
84 | cause = socrates_fpga_pic_read(FPGA_PIC_IRQMASK(i)); | ||
85 | spin_unlock_irqrestore(&socrates_fpga_pic_lock, flags); | ||
86 | for (i = SOCRATES_FPGA_NUM_IRQS - 1; i >= 0; i--) { | ||
87 | if (cause >> (i + 16)) | ||
88 | break; | ||
89 | } | ||
90 | return irq_linear_revmap(socrates_fpga_pic_irq_host, | ||
91 | (irq_hw_number_t)i); | ||
92 | } | ||
93 | |||
94 | void socrates_fpga_pic_cascade(unsigned int irq, struct irq_desc *desc) | ||
95 | { | ||
96 | unsigned int cascade_irq; | ||
97 | |||
98 | /* | ||
99 | * See if we actually have an interrupt, call generic handling code if | ||
100 | * we do. | ||
101 | */ | ||
102 | cascade_irq = socrates_fpga_pic_get_irq(irq); | ||
103 | |||
104 | if (cascade_irq != NO_IRQ) | ||
105 | generic_handle_irq(cascade_irq); | ||
106 | desc->chip->eoi(irq); | ||
107 | |||
108 | } | ||
109 | |||
110 | static void socrates_fpga_pic_ack(unsigned int virq) | ||
111 | { | ||
112 | unsigned long flags; | ||
113 | unsigned int hwirq, irq_line; | ||
114 | uint32_t mask; | ||
115 | |||
116 | hwirq = socrates_fpga_irq_to_hw(virq); | ||
117 | |||
118 | irq_line = fpga_irqs[hwirq].irq_line; | ||
119 | spin_lock_irqsave(&socrates_fpga_pic_lock, flags); | ||
120 | mask = socrates_fpga_pic_read(FPGA_PIC_IRQMASK(irq_line)) | ||
121 | & SOCRATES_FPGA_IRQ_MASK; | ||
122 | mask |= (1 << (hwirq + 16)); | ||
123 | socrates_fpga_pic_write(FPGA_PIC_IRQMASK(irq_line), mask); | ||
124 | spin_unlock_irqrestore(&socrates_fpga_pic_lock, flags); | ||
125 | } | ||
126 | |||
127 | static void socrates_fpga_pic_mask(unsigned int virq) | ||
128 | { | ||
129 | unsigned long flags; | ||
130 | unsigned int hwirq; | ||
131 | int irq_line; | ||
132 | u32 mask; | ||
133 | |||
134 | hwirq = socrates_fpga_irq_to_hw(virq); | ||
135 | |||
136 | irq_line = fpga_irqs[hwirq].irq_line; | ||
137 | spin_lock_irqsave(&socrates_fpga_pic_lock, flags); | ||
138 | mask = socrates_fpga_pic_read(FPGA_PIC_IRQMASK(irq_line)) | ||
139 | & SOCRATES_FPGA_IRQ_MASK; | ||
140 | mask &= ~(1 << hwirq); | ||
141 | socrates_fpga_pic_write(FPGA_PIC_IRQMASK(irq_line), mask); | ||
142 | spin_unlock_irqrestore(&socrates_fpga_pic_lock, flags); | ||
143 | } | ||
144 | |||
145 | static void socrates_fpga_pic_mask_ack(unsigned int virq) | ||
146 | { | ||
147 | unsigned long flags; | ||
148 | unsigned int hwirq; | ||
149 | int irq_line; | ||
150 | u32 mask; | ||
151 | |||
152 | hwirq = socrates_fpga_irq_to_hw(virq); | ||
153 | |||
154 | irq_line = fpga_irqs[hwirq].irq_line; | ||
155 | spin_lock_irqsave(&socrates_fpga_pic_lock, flags); | ||
156 | mask = socrates_fpga_pic_read(FPGA_PIC_IRQMASK(irq_line)) | ||
157 | & SOCRATES_FPGA_IRQ_MASK; | ||
158 | mask &= ~(1 << hwirq); | ||
159 | mask |= (1 << (hwirq + 16)); | ||
160 | socrates_fpga_pic_write(FPGA_PIC_IRQMASK(irq_line), mask); | ||
161 | spin_unlock_irqrestore(&socrates_fpga_pic_lock, flags); | ||
162 | } | ||
163 | |||
164 | static void socrates_fpga_pic_unmask(unsigned int virq) | ||
165 | { | ||
166 | unsigned long flags; | ||
167 | unsigned int hwirq; | ||
168 | int irq_line; | ||
169 | u32 mask; | ||
170 | |||
171 | hwirq = socrates_fpga_irq_to_hw(virq); | ||
172 | |||
173 | irq_line = fpga_irqs[hwirq].irq_line; | ||
174 | spin_lock_irqsave(&socrates_fpga_pic_lock, flags); | ||
175 | mask = socrates_fpga_pic_read(FPGA_PIC_IRQMASK(irq_line)) | ||
176 | & SOCRATES_FPGA_IRQ_MASK; | ||
177 | mask |= (1 << hwirq); | ||
178 | socrates_fpga_pic_write(FPGA_PIC_IRQMASK(irq_line), mask); | ||
179 | spin_unlock_irqrestore(&socrates_fpga_pic_lock, flags); | ||
180 | } | ||
181 | |||
182 | static void socrates_fpga_pic_eoi(unsigned int virq) | ||
183 | { | ||
184 | unsigned long flags; | ||
185 | unsigned int hwirq; | ||
186 | int irq_line; | ||
187 | u32 mask; | ||
188 | |||
189 | hwirq = socrates_fpga_irq_to_hw(virq); | ||
190 | |||
191 | irq_line = fpga_irqs[hwirq].irq_line; | ||
192 | spin_lock_irqsave(&socrates_fpga_pic_lock, flags); | ||
193 | mask = socrates_fpga_pic_read(FPGA_PIC_IRQMASK(irq_line)) | ||
194 | & SOCRATES_FPGA_IRQ_MASK; | ||
195 | mask |= (1 << (hwirq + 16)); | ||
196 | socrates_fpga_pic_write(FPGA_PIC_IRQMASK(irq_line), mask); | ||
197 | spin_unlock_irqrestore(&socrates_fpga_pic_lock, flags); | ||
198 | } | ||
199 | |||
200 | static int socrates_fpga_pic_set_type(unsigned int virq, | ||
201 | unsigned int flow_type) | ||
202 | { | ||
203 | unsigned long flags; | ||
204 | unsigned int hwirq; | ||
205 | int polarity; | ||
206 | u32 mask; | ||
207 | |||
208 | hwirq = socrates_fpga_irq_to_hw(virq); | ||
209 | |||
210 | if (fpga_irqs[hwirq].type != IRQ_TYPE_NONE) | ||
211 | return -EINVAL; | ||
212 | |||
213 | switch (flow_type & IRQ_TYPE_SENSE_MASK) { | ||
214 | case IRQ_TYPE_LEVEL_HIGH: | ||
215 | polarity = 1; | ||
216 | break; | ||
217 | case IRQ_TYPE_LEVEL_LOW: | ||
218 | polarity = 0; | ||
219 | break; | ||
220 | default: | ||
221 | return -EINVAL; | ||
222 | } | ||
223 | spin_lock_irqsave(&socrates_fpga_pic_lock, flags); | ||
224 | mask = socrates_fpga_pic_read(FPGA_PIC_IRQCFG); | ||
225 | if (polarity) | ||
226 | mask |= (1 << hwirq); | ||
227 | else | ||
228 | mask &= ~(1 << hwirq); | ||
229 | socrates_fpga_pic_write(FPGA_PIC_IRQCFG, mask); | ||
230 | spin_unlock_irqrestore(&socrates_fpga_pic_lock, flags); | ||
231 | return 0; | ||
232 | } | ||
233 | |||
234 | static struct irq_chip socrates_fpga_pic_chip = { | ||
235 | .typename = " FPGA-PIC ", | ||
236 | .ack = socrates_fpga_pic_ack, | ||
237 | .mask = socrates_fpga_pic_mask, | ||
238 | .mask_ack = socrates_fpga_pic_mask_ack, | ||
239 | .unmask = socrates_fpga_pic_unmask, | ||
240 | .eoi = socrates_fpga_pic_eoi, | ||
241 | .set_type = socrates_fpga_pic_set_type, | ||
242 | }; | ||
243 | |||
244 | static int socrates_fpga_pic_host_map(struct irq_host *h, unsigned int virq, | ||
245 | irq_hw_number_t hwirq) | ||
246 | { | ||
247 | /* All interrupts are LEVEL sensitive */ | ||
248 | get_irq_desc(virq)->status |= IRQ_LEVEL; | ||
249 | set_irq_chip_and_handler(virq, &socrates_fpga_pic_chip, | ||
250 | handle_fasteoi_irq); | ||
251 | |||
252 | return 0; | ||
253 | } | ||
254 | |||
255 | static int socrates_fpga_pic_host_xlate(struct irq_host *h, | ||
256 | struct device_node *ct, u32 *intspec, unsigned int intsize, | ||
257 | irq_hw_number_t *out_hwirq, unsigned int *out_flags) | ||
258 | { | ||
259 | struct socrates_fpga_irq_info *fpga_irq = &fpga_irqs[intspec[0]]; | ||
260 | |||
261 | *out_hwirq = intspec[0]; | ||
262 | if (fpga_irq->type == IRQ_TYPE_NONE) { | ||
263 | /* type is configurable */ | ||
264 | if (intspec[1] != IRQ_TYPE_LEVEL_LOW && | ||
265 | intspec[1] != IRQ_TYPE_LEVEL_HIGH) { | ||
266 | pr_warning("FPGA PIC: invalid irq type, " | ||
267 | "setting default active low\n"); | ||
268 | *out_flags = IRQ_TYPE_LEVEL_LOW; | ||
269 | } else { | ||
270 | *out_flags = intspec[1]; | ||
271 | } | ||
272 | } else { | ||
273 | /* type is fixed */ | ||
274 | *out_flags = fpga_irq->type; | ||
275 | } | ||
276 | |||
277 | /* Use specified interrupt routing */ | ||
278 | if (intspec[2] <= 2) | ||
279 | fpga_irq->irq_line = intspec[2]; | ||
280 | else | ||
281 | pr_warning("FPGA PIC: invalid irq routing\n"); | ||
282 | |||
283 | return 0; | ||
284 | } | ||
285 | |||
286 | static struct irq_host_ops socrates_fpga_pic_host_ops = { | ||
287 | .map = socrates_fpga_pic_host_map, | ||
288 | .xlate = socrates_fpga_pic_host_xlate, | ||
289 | }; | ||
290 | |||
291 | void socrates_fpga_pic_init(struct device_node *pic) | ||
292 | { | ||
293 | unsigned long flags; | ||
294 | int i; | ||
295 | |||
296 | /* Setup an irq_host structure */ | ||
297 | socrates_fpga_pic_irq_host = irq_alloc_host(pic, IRQ_HOST_MAP_LINEAR, | ||
298 | SOCRATES_FPGA_NUM_IRQS, &socrates_fpga_pic_host_ops, | ||
299 | SOCRATES_FPGA_NUM_IRQS); | ||
300 | if (socrates_fpga_pic_irq_host == NULL) { | ||
301 | pr_err("FPGA PIC: Unable to allocate host\n"); | ||
302 | return; | ||
303 | } | ||
304 | |||
305 | for (i = 0; i < 3; i++) { | ||
306 | socrates_fpga_irqs[i] = irq_of_parse_and_map(pic, i); | ||
307 | if (socrates_fpga_irqs[i] == NO_IRQ) { | ||
308 | pr_warning("FPGA PIC: can't get irq%d.\n", i); | ||
309 | continue; | ||
310 | } | ||
311 | set_irq_chained_handler(socrates_fpga_irqs[i], | ||
312 | socrates_fpga_pic_cascade); | ||
313 | } | ||
314 | |||
315 | socrates_fpga_pic_iobase = of_iomap(pic, 0); | ||
316 | |||
317 | spin_lock_irqsave(&socrates_fpga_pic_lock, flags); | ||
318 | socrates_fpga_pic_write(FPGA_PIC_IRQMASK(0), | ||
319 | SOCRATES_FPGA_IRQ_MASK << 16); | ||
320 | socrates_fpga_pic_write(FPGA_PIC_IRQMASK(1), | ||
321 | SOCRATES_FPGA_IRQ_MASK << 16); | ||
322 | socrates_fpga_pic_write(FPGA_PIC_IRQMASK(2), | ||
323 | SOCRATES_FPGA_IRQ_MASK << 16); | ||
324 | spin_unlock_irqrestore(&socrates_fpga_pic_lock, flags); | ||
325 | |||
326 | pr_info("FPGA PIC: Setting up Socrates FPGA PIC\n"); | ||
327 | } | ||
diff --git a/arch/powerpc/platforms/85xx/socrates_fpga_pic.h b/arch/powerpc/platforms/85xx/socrates_fpga_pic.h new file mode 100644 index 000000000000..21d7d8e42199 --- /dev/null +++ b/arch/powerpc/platforms/85xx/socrates_fpga_pic.h | |||
@@ -0,0 +1,16 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2008 Ilya Yanok, Emcraft Systems | ||
3 | * | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License version 2 as | ||
7 | * published by the Free Software Foundation. | ||
8 | * | ||
9 | */ | ||
10 | |||
11 | #ifndef SOCRATES_FPGA_PIC_H | ||
12 | #define SOCRATES_FPGA_PIC_H | ||
13 | |||
14 | void socrates_fpga_pic_init(struct device_node *pic); | ||
15 | |||
16 | #endif | ||