diff options
author | Scott Wood <scottwood@freescale.com> | 2007-09-05 15:00:54 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2007-10-04 12:02:47 -0400 |
commit | 3611f2ad424094655d381f099613a6f43239824d (patch) | |
tree | ceaeadb752a4552f73eaf0ceed6bf37a0c3bcb36 /arch | |
parent | e00c5498a2a614931cbb7d88a53979d5d47594e1 (diff) |
[POWERPC] mpc82xx: Add pq2fads board support.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/boot/dts/pq2fads.dts | 229 | ||||
-rw-r--r-- | arch/powerpc/configs/pq2fads_defconfig | 1003 | ||||
-rw-r--r-- | arch/powerpc/platforms/82xx/Kconfig | 11 | ||||
-rw-r--r-- | arch/powerpc/platforms/82xx/Makefile | 1 | ||||
-rw-r--r-- | arch/powerpc/platforms/82xx/pq2fads.c | 198 |
5 files changed, 1442 insertions, 0 deletions
diff --git a/arch/powerpc/boot/dts/pq2fads.dts b/arch/powerpc/boot/dts/pq2fads.dts new file mode 100644 index 000000000000..54e8bd1ae22f --- /dev/null +++ b/arch/powerpc/boot/dts/pq2fads.dts | |||
@@ -0,0 +1,229 @@ | |||
1 | /* | ||
2 | * Device Tree for the PQ2FADS-ZU board with an MPC8280 chip. | ||
3 | * | ||
4 | * Copyright 2007 Freescale Semiconductor Inc. | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify it | ||
7 | * under the terms of the GNU General Public License as published by the | ||
8 | * Free Software Foundation; either version 2 of the License, or (at your | ||
9 | * option) any later version. | ||
10 | */ | ||
11 | |||
12 | / { | ||
13 | model = "pq2fads"; | ||
14 | compatible = "fsl,pq2fads"; | ||
15 | #address-cells = <1>; | ||
16 | #size-cells = <1>; | ||
17 | |||
18 | cpus { | ||
19 | #address-cells = <1>; | ||
20 | #size-cells = <0>; | ||
21 | |||
22 | cpu@0 { | ||
23 | device_type = "cpu"; | ||
24 | reg = <0>; | ||
25 | d-cache-line-size = <d#32>; | ||
26 | i-cache-line-size = <d#32>; | ||
27 | d-cache-size = <d#16384>; | ||
28 | i-cache-size = <d#16384>; | ||
29 | timebase-frequency = <0>; | ||
30 | clock-frequency = <0>; | ||
31 | }; | ||
32 | }; | ||
33 | |||
34 | memory { | ||
35 | device_type = "memory"; | ||
36 | reg = <0 0>; | ||
37 | }; | ||
38 | |||
39 | localbus@f0010100 { | ||
40 | compatible = "fsl,mpc8280-localbus", | ||
41 | "fsl,pq2-localbus"; | ||
42 | #address-cells = <2>; | ||
43 | #size-cells = <1>; | ||
44 | reg = <f0010100 60>; | ||
45 | |||
46 | ranges = <0 0 fe000000 00800000 | ||
47 | 1 0 f4500000 00008000 | ||
48 | 8 0 f8200000 00008000>; | ||
49 | |||
50 | flash@0,0 { | ||
51 | compatible = "jedec-flash"; | ||
52 | reg = <0 0 800000>; | ||
53 | bank-width = <4>; | ||
54 | device-width = <1>; | ||
55 | }; | ||
56 | |||
57 | bcsr@1,0 { | ||
58 | reg = <1 0 20>; | ||
59 | compatible = "fsl,pq2fads-bcsr"; | ||
60 | }; | ||
61 | |||
62 | PCI_PIC: pic@8,0 { | ||
63 | #interrupt-cells = <1>; | ||
64 | interrupt-controller; | ||
65 | reg = <8 0 8>; | ||
66 | compatible = "fsl,pq2ads-pci-pic"; | ||
67 | interrupt-parent = <&PIC>; | ||
68 | interrupts = <18 8>; | ||
69 | }; | ||
70 | }; | ||
71 | |||
72 | pci@f0010800 { | ||
73 | device_type = "pci"; | ||
74 | reg = <f0010800 10c f00101ac 8 f00101c4 8>; | ||
75 | compatible = "fsl,mpc8280-pci", "fsl,pq2-pci"; | ||
76 | #interrupt-cells = <1>; | ||
77 | #size-cells = <2>; | ||
78 | #address-cells = <3>; | ||
79 | clock-frequency = <d#66000000>; | ||
80 | interrupt-map-mask = <f800 0 0 7>; | ||
81 | interrupt-map = < | ||
82 | /* IDSEL 0x16 */ | ||
83 | b000 0 0 1 &PCI_PIC 0 | ||
84 | b000 0 0 2 &PCI_PIC 1 | ||
85 | b000 0 0 3 &PCI_PIC 2 | ||
86 | b000 0 0 4 &PCI_PIC 3 | ||
87 | |||
88 | /* IDSEL 0x17 */ | ||
89 | b800 0 0 1 &PCI_PIC 4 | ||
90 | b800 0 0 2 &PCI_PIC 5 | ||
91 | b800 0 0 3 &PCI_PIC 6 | ||
92 | b800 0 0 4 &PCI_PIC 7 | ||
93 | |||
94 | /* IDSEL 0x18 */ | ||
95 | c000 0 0 1 &PCI_PIC 8 | ||
96 | c000 0 0 2 &PCI_PIC 9 | ||
97 | c000 0 0 3 &PCI_PIC a | ||
98 | c000 0 0 4 &PCI_PIC b>; | ||
99 | |||
100 | interrupt-parent = <&PIC>; | ||
101 | interrupts = <12 8>; | ||
102 | ranges = <42000000 0 80000000 80000000 0 20000000 | ||
103 | 02000000 0 a0000000 a0000000 0 20000000 | ||
104 | 01000000 0 00000000 f6000000 0 02000000>; | ||
105 | }; | ||
106 | |||
107 | soc@f0000000 { | ||
108 | #address-cells = <1>; | ||
109 | #size-cells = <1>; | ||
110 | device_type = "soc"; | ||
111 | compatible = "fsl,mpc8280", "fsl,pq2-soc"; | ||
112 | ranges = <00000000 f0000000 00053000>; | ||
113 | |||
114 | // Temporary -- will go away once kernel uses ranges for get_immrbase(). | ||
115 | reg = <f0000000 00053000>; | ||
116 | |||
117 | cpm@119c0 { | ||
118 | #address-cells = <1>; | ||
119 | #size-cells = <1>; | ||
120 | #interrupt-cells = <2>; | ||
121 | compatible = "fsl,mpc8280-cpm", "fsl,cpm2"; | ||
122 | reg = <119c0 30 0 2000>; | ||
123 | ranges; | ||
124 | |||
125 | brg@119f0 { | ||
126 | compatible = "fsl,mpc8280-brg", | ||
127 | "fsl,cpm2-brg", | ||
128 | "fsl,cpm-brg"; | ||
129 | reg = <119f0 10 115f0 10>; | ||
130 | }; | ||
131 | |||
132 | serial@11a00 { | ||
133 | device_type = "serial"; | ||
134 | compatible = "fsl,mpc8280-scc-uart", | ||
135 | "fsl,cpm2-scc-uart"; | ||
136 | reg = <11a00 20 8000 100>; | ||
137 | interrupts = <28 8>; | ||
138 | interrupt-parent = <&PIC>; | ||
139 | fsl,cpm-brg = <1>; | ||
140 | fsl,cpm-command = <00800000>; | ||
141 | }; | ||
142 | |||
143 | serial@11a20 { | ||
144 | device_type = "serial"; | ||
145 | compatible = "fsl,mpc8280-scc-uart", | ||
146 | "fsl,cpm2-scc-uart"; | ||
147 | reg = <11a20 20 8100 100>; | ||
148 | interrupts = <29 8>; | ||
149 | interrupt-parent = <&PIC>; | ||
150 | fsl,cpm-brg = <2>; | ||
151 | fsl,cpm-command = <04a00000>; | ||
152 | }; | ||
153 | |||
154 | ethernet@11320 { | ||
155 | device_type = "network"; | ||
156 | compatible = "fsl,mpc8280-fcc-enet", | ||
157 | "fsl,cpm2-fcc-enet"; | ||
158 | reg = <11320 20 8500 100 113b0 1>; | ||
159 | interrupts = <21 8>; | ||
160 | interrupt-parent = <&PIC>; | ||
161 | phy-handle = <&PHY0>; | ||
162 | linux,network-index = <0>; | ||
163 | fsl,cpm-command = <16200300>; | ||
164 | }; | ||
165 | |||
166 | ethernet@11340 { | ||
167 | device_type = "network"; | ||
168 | compatible = "fsl,mpc8280-fcc-enet", | ||
169 | "fsl,cpm2-fcc-enet"; | ||
170 | reg = <11340 20 8600 100 113d0 1>; | ||
171 | interrupts = <22 8>; | ||
172 | interrupt-parent = <&PIC>; | ||
173 | phy-handle = <&PHY1>; | ||
174 | linux,network-index = <1>; | ||
175 | fsl,cpm-command = <1a400300>; | ||
176 | local-mac-address = [00 e0 0c 00 79 01]; | ||
177 | }; | ||
178 | |||
179 | mdio@10d40 { | ||
180 | device_type = "mdio"; | ||
181 | compatible = "fsl,pq2fads-mdio-bitbang", | ||
182 | "fsl,mpc8280-mdio-bitbang", | ||
183 | "fsl,cpm2-mdio-bitbang"; | ||
184 | #address-cells = <1>; | ||
185 | #size-cells = <0>; | ||
186 | reg = <10d40 14>; | ||
187 | fsl,mdio-pin = <9>; | ||
188 | fsl,mdc-pin = <a>; | ||
189 | |||
190 | PHY0: ethernet-phy@0 { | ||
191 | interrupt-parent = <&PIC>; | ||
192 | interrupts = <19 2>; | ||
193 | reg = <0>; | ||
194 | device_type = "ethernet-phy"; | ||
195 | }; | ||
196 | |||
197 | PHY1: ethernet-phy@1 { | ||
198 | interrupt-parent = <&PIC>; | ||
199 | interrupts = <19 2>; | ||
200 | reg = <3>; | ||
201 | device_type = "ethernet-phy"; | ||
202 | }; | ||
203 | }; | ||
204 | |||
205 | usb@11b60 { | ||
206 | #address-cells = <1>; | ||
207 | #size-cells = <0>; | ||
208 | compatible = "fsl,mpc8280-usb", | ||
209 | "fsl,cpm2-usb"; | ||
210 | reg = <11b60 18 8b00 100>; | ||
211 | interrupt-parent = <&PIC>; | ||
212 | interrupts = <b 8>; | ||
213 | fsl,cpm-command = <2e600000>; | ||
214 | }; | ||
215 | }; | ||
216 | |||
217 | PIC: interrupt-controller@10c00 { | ||
218 | #interrupt-cells = <2>; | ||
219 | interrupt-controller; | ||
220 | reg = <10c00 80>; | ||
221 | compatible = "fsl,mpc8280-pic", "fsl,cpm2-pic"; | ||
222 | }; | ||
223 | |||
224 | }; | ||
225 | |||
226 | chosen { | ||
227 | linux,stdout-path = "/soc/cpm/serial@11a00"; | ||
228 | }; | ||
229 | }; | ||
diff --git a/arch/powerpc/configs/pq2fads_defconfig b/arch/powerpc/configs/pq2fads_defconfig new file mode 100644 index 000000000000..a51fc39dea4e --- /dev/null +++ b/arch/powerpc/configs/pq2fads_defconfig | |||
@@ -0,0 +1,1003 @@ | |||
1 | # | ||
2 | # Automatically generated make config: don't edit | ||
3 | # Linux kernel version: 2.6.23-rc4 | ||
4 | # Thu Aug 30 11:58:17 2007 | ||
5 | # | ||
6 | # CONFIG_PPC64 is not set | ||
7 | |||
8 | # | ||
9 | # Processor support | ||
10 | # | ||
11 | CONFIG_6xx=y | ||
12 | # CONFIG_PPC_85xx is not set | ||
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_PPC_FPU=y | ||
18 | CONFIG_PPC_STD_MMU=y | ||
19 | CONFIG_PPC_STD_MMU_32=y | ||
20 | # CONFIG_PPC_MM_SLICES is not set | ||
21 | # CONFIG_SMP is not set | ||
22 | CONFIG_PPC32=y | ||
23 | CONFIG_PPC_MERGE=y | ||
24 | CONFIG_MMU=y | ||
25 | CONFIG_GENERIC_HARDIRQS=y | ||
26 | CONFIG_IRQ_PER_CPU=y | ||
27 | CONFIG_RWSEM_XCHGADD_ALGORITHM=y | ||
28 | CONFIG_ARCH_HAS_ILOG2_U32=y | ||
29 | CONFIG_GENERIC_HWEIGHT=y | ||
30 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
31 | CONFIG_GENERIC_FIND_NEXT_BIT=y | ||
32 | # CONFIG_ARCH_NO_VIRT_TO_BUS is not set | ||
33 | CONFIG_PPC=y | ||
34 | CONFIG_EARLY_PRINTK=y | ||
35 | CONFIG_GENERIC_NVRAM=y | ||
36 | CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y | ||
37 | CONFIG_ARCH_MAY_HAVE_PC_FDC=y | ||
38 | CONFIG_PPC_OF=y | ||
39 | CONFIG_OF=y | ||
40 | # CONFIG_PPC_UDBG_16550 is not set | ||
41 | # CONFIG_GENERIC_TBSYNC is not set | ||
42 | CONFIG_AUDIT_ARCH=y | ||
43 | CONFIG_GENERIC_BUG=y | ||
44 | CONFIG_DEFAULT_UIMAGE=y | ||
45 | # CONFIG_PPC_DCR_NATIVE is not set | ||
46 | # CONFIG_PPC_DCR_MMIO is not set | ||
47 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | ||
48 | |||
49 | # | ||
50 | # General setup | ||
51 | # | ||
52 | # CONFIG_EXPERIMENTAL is not set | ||
53 | CONFIG_BROKEN_ON_SMP=y | ||
54 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
55 | CONFIG_LOCALVERSION="" | ||
56 | CONFIG_LOCALVERSION_AUTO=y | ||
57 | CONFIG_SWAP=y | ||
58 | CONFIG_SYSVIPC=y | ||
59 | CONFIG_SYSVIPC_SYSCTL=y | ||
60 | # CONFIG_BSD_PROCESS_ACCT is not set | ||
61 | # CONFIG_TASKSTATS is not set | ||
62 | # CONFIG_AUDIT is not set | ||
63 | CONFIG_IKCONFIG=y | ||
64 | CONFIG_IKCONFIG_PROC=y | ||
65 | CONFIG_LOG_BUF_SHIFT=14 | ||
66 | # CONFIG_SYSFS_DEPRECATED is not set | ||
67 | # CONFIG_RELAY is not set | ||
68 | CONFIG_BLK_DEV_INITRD=y | ||
69 | CONFIG_INITRAMFS_SOURCE="" | ||
70 | CONFIG_SYSCTL=y | ||
71 | CONFIG_EMBEDDED=y | ||
72 | CONFIG_SYSCTL_SYSCALL=y | ||
73 | CONFIG_KALLSYMS=y | ||
74 | CONFIG_KALLSYMS_ALL=y | ||
75 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | ||
76 | CONFIG_HOTPLUG=y | ||
77 | CONFIG_PRINTK=y | ||
78 | CONFIG_BUG=y | ||
79 | CONFIG_ELF_CORE=y | ||
80 | CONFIG_BASE_FULL=y | ||
81 | CONFIG_FUTEX=y | ||
82 | CONFIG_ANON_INODES=y | ||
83 | CONFIG_EPOLL=y | ||
84 | CONFIG_SIGNALFD=y | ||
85 | CONFIG_TIMERFD=y | ||
86 | CONFIG_EVENTFD=y | ||
87 | CONFIG_SHMEM=y | ||
88 | CONFIG_VM_EVENT_COUNTERS=y | ||
89 | CONFIG_SLAB=y | ||
90 | # CONFIG_SLUB is not set | ||
91 | # CONFIG_SLOB is not set | ||
92 | CONFIG_RT_MUTEXES=y | ||
93 | # CONFIG_TINY_SHMEM is not set | ||
94 | CONFIG_BASE_SMALL=0 | ||
95 | # CONFIG_MODULES is not set | ||
96 | CONFIG_BLOCK=y | ||
97 | # CONFIG_LBD is not set | ||
98 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
99 | # CONFIG_LSF is not set | ||
100 | |||
101 | # | ||
102 | # IO Schedulers | ||
103 | # | ||
104 | CONFIG_IOSCHED_NOOP=y | ||
105 | CONFIG_IOSCHED_AS=y | ||
106 | CONFIG_IOSCHED_DEADLINE=y | ||
107 | CONFIG_IOSCHED_CFQ=y | ||
108 | CONFIG_DEFAULT_AS=y | ||
109 | # CONFIG_DEFAULT_DEADLINE is not set | ||
110 | # CONFIG_DEFAULT_CFQ is not set | ||
111 | # CONFIG_DEFAULT_NOOP is not set | ||
112 | CONFIG_DEFAULT_IOSCHED="anticipatory" | ||
113 | |||
114 | # | ||
115 | # Platform support | ||
116 | # | ||
117 | # CONFIG_PPC_MULTIPLATFORM is not set | ||
118 | # CONFIG_EMBEDDED6xx is not set | ||
119 | CONFIG_PPC_82xx=y | ||
120 | # CONFIG_PPC_83xx is not set | ||
121 | # CONFIG_PPC_86xx is not set | ||
122 | # CONFIG_PPC_MPC52xx is not set | ||
123 | # CONFIG_PPC_MPC5200 is not set | ||
124 | # CONFIG_PPC_CELL is not set | ||
125 | # CONFIG_PPC_CELL_NATIVE is not set | ||
126 | # CONFIG_MPC8272_ADS is not set | ||
127 | CONFIG_PQ2FADS=y | ||
128 | # CONFIG_EP8248E is not set | ||
129 | CONFIG_PQ2ADS=y | ||
130 | CONFIG_8260=y | ||
131 | CONFIG_PQ2_ADS_PCI_PIC=y | ||
132 | # CONFIG_MPIC is not set | ||
133 | # CONFIG_MPIC_WEIRD is not set | ||
134 | # CONFIG_PPC_I8259 is not set | ||
135 | # CONFIG_PPC_RTAS is not set | ||
136 | # CONFIG_MMIO_NVRAM is not set | ||
137 | # CONFIG_PPC_MPC106 is not set | ||
138 | # CONFIG_PPC_970_NAP is not set | ||
139 | # CONFIG_PPC_INDIRECT_IO is not set | ||
140 | # CONFIG_GENERIC_IOMAP is not set | ||
141 | # CONFIG_CPU_FREQ is not set | ||
142 | CONFIG_CPM2=y | ||
143 | CONFIG_PPC_CPM_NEW_BINDING=y | ||
144 | # CONFIG_FSL_ULI1575 is not set | ||
145 | CONFIG_CPM=y | ||
146 | |||
147 | # | ||
148 | # Kernel options | ||
149 | # | ||
150 | # CONFIG_HIGHMEM is not set | ||
151 | # CONFIG_HZ_100 is not set | ||
152 | CONFIG_HZ_250=y | ||
153 | # CONFIG_HZ_300 is not set | ||
154 | # CONFIG_HZ_1000 is not set | ||
155 | CONFIG_HZ=250 | ||
156 | CONFIG_PREEMPT_NONE=y | ||
157 | # CONFIG_PREEMPT_VOLUNTARY is not set | ||
158 | # CONFIG_PREEMPT is not set | ||
159 | CONFIG_BINFMT_ELF=y | ||
160 | CONFIG_BINFMT_MISC=y | ||
161 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | ||
162 | CONFIG_ARCH_FLATMEM_ENABLE=y | ||
163 | CONFIG_ARCH_POPULATES_NODE_MAP=y | ||
164 | CONFIG_FLATMEM=y | ||
165 | CONFIG_FLAT_NODE_MEM_MAP=y | ||
166 | # CONFIG_SPARSEMEM_STATIC is not set | ||
167 | CONFIG_SPLIT_PTLOCK_CPUS=4 | ||
168 | # CONFIG_RESOURCES_64BIT is not set | ||
169 | CONFIG_ZONE_DMA_FLAG=1 | ||
170 | CONFIG_BOUNCE=y | ||
171 | CONFIG_VIRT_TO_BUS=y | ||
172 | CONFIG_PROC_DEVICETREE=y | ||
173 | # CONFIG_CMDLINE_BOOL is not set | ||
174 | # CONFIG_PM is not set | ||
175 | CONFIG_SECCOMP=y | ||
176 | CONFIG_WANT_DEVICE_TREE=y | ||
177 | CONFIG_DEVICE_TREE="pq2fads.dts" | ||
178 | CONFIG_ISA_DMA_API=y | ||
179 | |||
180 | # | ||
181 | # Bus options | ||
182 | # | ||
183 | CONFIG_ZONE_DMA=y | ||
184 | CONFIG_PPC_INDIRECT_PCI=y | ||
185 | CONFIG_FSL_SOC=y | ||
186 | CONFIG_PCI=y | ||
187 | CONFIG_PCI_DOMAINS=y | ||
188 | CONFIG_PCI_SYSCALL=y | ||
189 | CONFIG_PCI_8260=y | ||
190 | # CONFIG_8260_PCI9 is not set | ||
191 | # CONFIG_PCIEPORTBUS is not set | ||
192 | CONFIG_ARCH_SUPPORTS_MSI=y | ||
193 | # CONFIG_PCI_MSI is not set | ||
194 | # CONFIG_PCI_DEBUG is not set | ||
195 | |||
196 | # | ||
197 | # PCCARD (PCMCIA/CardBus) support | ||
198 | # | ||
199 | # CONFIG_PCCARD is not set | ||
200 | |||
201 | # | ||
202 | # Advanced setup | ||
203 | # | ||
204 | # CONFIG_ADVANCED_OPTIONS is not set | ||
205 | |||
206 | # | ||
207 | # Default settings for advanced configuration options are used | ||
208 | # | ||
209 | CONFIG_HIGHMEM_START=0xfe000000 | ||
210 | CONFIG_LOWMEM_SIZE=0x30000000 | ||
211 | CONFIG_KERNEL_START=0xc0000000 | ||
212 | CONFIG_TASK_SIZE=0x80000000 | ||
213 | CONFIG_BOOT_LOAD=0x00400000 | ||
214 | |||
215 | # | ||
216 | # Networking | ||
217 | # | ||
218 | CONFIG_NET=y | ||
219 | |||
220 | # | ||
221 | # Networking options | ||
222 | # | ||
223 | CONFIG_PACKET=y | ||
224 | # CONFIG_PACKET_MMAP is not set | ||
225 | CONFIG_UNIX=y | ||
226 | CONFIG_XFRM=y | ||
227 | # CONFIG_XFRM_USER is not set | ||
228 | # CONFIG_NET_KEY is not set | ||
229 | CONFIG_INET=y | ||
230 | CONFIG_IP_MULTICAST=y | ||
231 | # CONFIG_IP_ADVANCED_ROUTER is not set | ||
232 | CONFIG_IP_FIB_HASH=y | ||
233 | CONFIG_IP_PNP=y | ||
234 | CONFIG_IP_PNP_DHCP=y | ||
235 | CONFIG_IP_PNP_BOOTP=y | ||
236 | # CONFIG_IP_PNP_RARP is not set | ||
237 | # CONFIG_NET_IPIP is not set | ||
238 | # CONFIG_NET_IPGRE is not set | ||
239 | # CONFIG_IP_MROUTE is not set | ||
240 | CONFIG_SYN_COOKIES=y | ||
241 | # CONFIG_INET_AH is not set | ||
242 | # CONFIG_INET_ESP is not set | ||
243 | # CONFIG_INET_IPCOMP is not set | ||
244 | # CONFIG_INET_XFRM_TUNNEL is not set | ||
245 | CONFIG_INET_TUNNEL=y | ||
246 | CONFIG_INET_XFRM_MODE_TRANSPORT=y | ||
247 | CONFIG_INET_XFRM_MODE_TUNNEL=y | ||
248 | CONFIG_INET_XFRM_MODE_BEET=y | ||
249 | CONFIG_INET_DIAG=y | ||
250 | CONFIG_INET_TCP_DIAG=y | ||
251 | # CONFIG_TCP_CONG_ADVANCED is not set | ||
252 | CONFIG_TCP_CONG_CUBIC=y | ||
253 | CONFIG_DEFAULT_TCP_CONG="cubic" | ||
254 | # CONFIG_IP_VS is not set | ||
255 | CONFIG_IPV6=y | ||
256 | # CONFIG_IPV6_PRIVACY is not set | ||
257 | # CONFIG_IPV6_ROUTER_PREF is not set | ||
258 | # CONFIG_INET6_AH is not set | ||
259 | # CONFIG_INET6_ESP is not set | ||
260 | # CONFIG_INET6_IPCOMP is not set | ||
261 | # CONFIG_INET6_XFRM_TUNNEL is not set | ||
262 | # CONFIG_INET6_TUNNEL is not set | ||
263 | CONFIG_INET6_XFRM_MODE_TRANSPORT=y | ||
264 | CONFIG_INET6_XFRM_MODE_TUNNEL=y | ||
265 | CONFIG_INET6_XFRM_MODE_BEET=y | ||
266 | CONFIG_IPV6_SIT=y | ||
267 | # CONFIG_IPV6_TUNNEL is not set | ||
268 | # CONFIG_NETWORK_SECMARK is not set | ||
269 | CONFIG_NETFILTER=y | ||
270 | # CONFIG_NETFILTER_DEBUG is not set | ||
271 | |||
272 | # | ||
273 | # Core Netfilter Configuration | ||
274 | # | ||
275 | # CONFIG_NETFILTER_NETLINK is not set | ||
276 | # CONFIG_NF_CONNTRACK_ENABLED is not set | ||
277 | # CONFIG_NF_CONNTRACK is not set | ||
278 | # CONFIG_NETFILTER_XTABLES is not set | ||
279 | |||
280 | # | ||
281 | # IP: Netfilter Configuration | ||
282 | # | ||
283 | # CONFIG_IP_NF_QUEUE is not set | ||
284 | # CONFIG_IP_NF_IPTABLES is not set | ||
285 | # CONFIG_IP_NF_ARPTABLES is not set | ||
286 | # CONFIG_BRIDGE is not set | ||
287 | # CONFIG_VLAN_8021Q is not set | ||
288 | # CONFIG_DECNET is not set | ||
289 | # CONFIG_LLC2 is not set | ||
290 | # CONFIG_IPX is not set | ||
291 | # CONFIG_ATALK is not set | ||
292 | |||
293 | # | ||
294 | # QoS and/or fair queueing | ||
295 | # | ||
296 | # CONFIG_NET_SCHED is not set | ||
297 | |||
298 | # | ||
299 | # Network testing | ||
300 | # | ||
301 | # CONFIG_NET_PKTGEN is not set | ||
302 | # CONFIG_HAMRADIO is not set | ||
303 | # CONFIG_IRDA is not set | ||
304 | # CONFIG_BT is not set | ||
305 | |||
306 | # | ||
307 | # Wireless | ||
308 | # | ||
309 | # CONFIG_CFG80211 is not set | ||
310 | # CONFIG_WIRELESS_EXT is not set | ||
311 | # CONFIG_IEEE80211 is not set | ||
312 | # CONFIG_RFKILL is not set | ||
313 | |||
314 | # | ||
315 | # Device Drivers | ||
316 | # | ||
317 | |||
318 | # | ||
319 | # Generic Driver Options | ||
320 | # | ||
321 | CONFIG_STANDALONE=y | ||
322 | CONFIG_PREVENT_FIRMWARE_BUILD=y | ||
323 | # CONFIG_FW_LOADER is not set | ||
324 | # CONFIG_DEBUG_DRIVER is not set | ||
325 | # CONFIG_DEBUG_DEVRES is not set | ||
326 | # CONFIG_SYS_HYPERVISOR is not set | ||
327 | # CONFIG_CONNECTOR is not set | ||
328 | CONFIG_MTD=y | ||
329 | # CONFIG_MTD_DEBUG is not set | ||
330 | # CONFIG_MTD_CONCAT is not set | ||
331 | # CONFIG_MTD_PARTITIONS is not set | ||
332 | |||
333 | # | ||
334 | # User Modules And Translation Layers | ||
335 | # | ||
336 | CONFIG_MTD_CHAR=y | ||
337 | CONFIG_MTD_BLKDEVS=y | ||
338 | CONFIG_MTD_BLOCK=y | ||
339 | # CONFIG_FTL is not set | ||
340 | # CONFIG_NFTL is not set | ||
341 | # CONFIG_INFTL is not set | ||
342 | # CONFIG_RFD_FTL is not set | ||
343 | # CONFIG_SSFDC is not set | ||
344 | |||
345 | # | ||
346 | # RAM/ROM/Flash chip drivers | ||
347 | # | ||
348 | # CONFIG_MTD_CFI is not set | ||
349 | CONFIG_MTD_JEDECPROBE=y | ||
350 | CONFIG_MTD_GEN_PROBE=y | ||
351 | CONFIG_MTD_CFI_ADV_OPTIONS=y | ||
352 | CONFIG_MTD_CFI_NOSWAP=y | ||
353 | # CONFIG_MTD_CFI_BE_BYTE_SWAP is not set | ||
354 | # CONFIG_MTD_CFI_LE_BYTE_SWAP is not set | ||
355 | CONFIG_MTD_CFI_GEOMETRY=y | ||
356 | # CONFIG_MTD_MAP_BANK_WIDTH_1 is not set | ||
357 | # CONFIG_MTD_MAP_BANK_WIDTH_2 is not set | ||
358 | CONFIG_MTD_MAP_BANK_WIDTH_4=y | ||
359 | # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set | ||
360 | # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set | ||
361 | # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set | ||
362 | # CONFIG_MTD_CFI_I1 is not set | ||
363 | # CONFIG_MTD_CFI_I2 is not set | ||
364 | CONFIG_MTD_CFI_I4=y | ||
365 | # CONFIG_MTD_CFI_I8 is not set | ||
366 | # CONFIG_MTD_OTP is not set | ||
367 | CONFIG_MTD_CFI_INTELEXT=y | ||
368 | # CONFIG_MTD_CFI_AMDSTD is not set | ||
369 | # CONFIG_MTD_CFI_STAA is not set | ||
370 | CONFIG_MTD_CFI_UTIL=y | ||
371 | # CONFIG_MTD_RAM is not set | ||
372 | # CONFIG_MTD_ROM is not set | ||
373 | # CONFIG_MTD_ABSENT is not set | ||
374 | |||
375 | # | ||
376 | # Mapping drivers for chip access | ||
377 | # | ||
378 | # CONFIG_MTD_COMPLEX_MAPPINGS is not set | ||
379 | # CONFIG_MTD_PHYSMAP is not set | ||
380 | CONFIG_MTD_PHYSMAP_OF=y | ||
381 | # CONFIG_MTD_SBC8240 is not set | ||
382 | # CONFIG_MTD_PLATRAM is not set | ||
383 | |||
384 | # | ||
385 | # Self-contained MTD device drivers | ||
386 | # | ||
387 | # CONFIG_MTD_PMC551 is not set | ||
388 | # CONFIG_MTD_SLRAM is not set | ||
389 | # CONFIG_MTD_PHRAM is not set | ||
390 | # CONFIG_MTD_MTDRAM is not set | ||
391 | # CONFIG_MTD_BLOCK2MTD is not set | ||
392 | |||
393 | # | ||
394 | # Disk-On-Chip Device Drivers | ||
395 | # | ||
396 | # CONFIG_MTD_DOC2000 is not set | ||
397 | # CONFIG_MTD_DOC2001 is not set | ||
398 | # CONFIG_MTD_DOC2001PLUS is not set | ||
399 | # CONFIG_MTD_NAND is not set | ||
400 | # CONFIG_MTD_ONENAND is not set | ||
401 | |||
402 | # | ||
403 | # UBI - Unsorted block images | ||
404 | # | ||
405 | # CONFIG_MTD_UBI is not set | ||
406 | CONFIG_OF_DEVICE=y | ||
407 | # CONFIG_PARPORT is not set | ||
408 | CONFIG_BLK_DEV=y | ||
409 | # CONFIG_BLK_DEV_FD is not set | ||
410 | # CONFIG_BLK_CPQ_DA is not set | ||
411 | # CONFIG_BLK_CPQ_CISS_DA is not set | ||
412 | # CONFIG_BLK_DEV_DAC960 is not set | ||
413 | # CONFIG_BLK_DEV_COW_COMMON is not set | ||
414 | CONFIG_BLK_DEV_LOOP=y | ||
415 | # CONFIG_BLK_DEV_CRYPTOLOOP is not set | ||
416 | # CONFIG_BLK_DEV_NBD is not set | ||
417 | # CONFIG_BLK_DEV_SX8 is not set | ||
418 | # CONFIG_BLK_DEV_RAM is not set | ||
419 | # CONFIG_CDROM_PKTCDVD is not set | ||
420 | # CONFIG_ATA_OVER_ETH is not set | ||
421 | CONFIG_MISC_DEVICES=y | ||
422 | # CONFIG_PHANTOM is not set | ||
423 | # CONFIG_EEPROM_93CX6 is not set | ||
424 | # CONFIG_SGI_IOC4 is not set | ||
425 | CONFIG_IDE=y | ||
426 | CONFIG_IDE_MAX_HWIFS=4 | ||
427 | CONFIG_BLK_DEV_IDE=y | ||
428 | |||
429 | # | ||
430 | # Please see Documentation/ide.txt for help/info on IDE drives | ||
431 | # | ||
432 | # CONFIG_BLK_DEV_IDE_SATA is not set | ||
433 | CONFIG_BLK_DEV_IDEDISK=y | ||
434 | # CONFIG_IDEDISK_MULTI_MODE is not set | ||
435 | # CONFIG_BLK_DEV_IDECD is not set | ||
436 | # CONFIG_BLK_DEV_IDEFLOPPY is not set | ||
437 | # CONFIG_IDE_TASK_IOCTL is not set | ||
438 | CONFIG_IDE_PROC_FS=y | ||
439 | |||
440 | # | ||
441 | # IDE chipset support/bugfixes | ||
442 | # | ||
443 | # CONFIG_IDE_GENERIC is not set | ||
444 | # CONFIG_BLK_DEV_IDEPCI is not set | ||
445 | # CONFIG_IDEPCI_PCIBUS_ORDER is not set | ||
446 | # CONFIG_IDE_ARM is not set | ||
447 | # CONFIG_BLK_DEV_IDEDMA is not set | ||
448 | # CONFIG_BLK_DEV_HD is not set | ||
449 | |||
450 | # | ||
451 | # SCSI device support | ||
452 | # | ||
453 | # CONFIG_RAID_ATTRS is not set | ||
454 | # CONFIG_SCSI is not set | ||
455 | # CONFIG_SCSI_DMA is not set | ||
456 | # CONFIG_SCSI_NETLINK is not set | ||
457 | # CONFIG_ATA is not set | ||
458 | # CONFIG_MD is not set | ||
459 | |||
460 | # | ||
461 | # Fusion MPT device support | ||
462 | # | ||
463 | # CONFIG_FUSION is not set | ||
464 | |||
465 | # | ||
466 | # IEEE 1394 (FireWire) support | ||
467 | # | ||
468 | |||
469 | # | ||
470 | # An alternative FireWire stack is available with EXPERIMENTAL=y | ||
471 | # | ||
472 | # CONFIG_IEEE1394 is not set | ||
473 | # CONFIG_I2O is not set | ||
474 | # CONFIG_MACINTOSH_DRIVERS is not set | ||
475 | CONFIG_NETDEVICES=y | ||
476 | # CONFIG_NETDEVICES_MULTIQUEUE is not set | ||
477 | # CONFIG_DUMMY is not set | ||
478 | # CONFIG_BONDING is not set | ||
479 | # CONFIG_EQUALIZER is not set | ||
480 | CONFIG_TUN=y | ||
481 | # CONFIG_ARCNET is not set | ||
482 | CONFIG_PHYLIB=y | ||
483 | |||
484 | # | ||
485 | # MII PHY device drivers | ||
486 | # | ||
487 | # CONFIG_MARVELL_PHY is not set | ||
488 | CONFIG_DAVICOM_PHY=y | ||
489 | # CONFIG_QSEMI_PHY is not set | ||
490 | # CONFIG_LXT_PHY is not set | ||
491 | # CONFIG_CICADA_PHY is not set | ||
492 | # CONFIG_VITESSE_PHY is not set | ||
493 | # CONFIG_SMSC_PHY is not set | ||
494 | # CONFIG_BROADCOM_PHY is not set | ||
495 | # CONFIG_ICPLUS_PHY is not set | ||
496 | # CONFIG_FIXED_PHY is not set | ||
497 | CONFIG_MDIO_BITBANG=y | ||
498 | CONFIG_NET_ETHERNET=y | ||
499 | CONFIG_MII=y | ||
500 | # CONFIG_HAPPYMEAL is not set | ||
501 | # CONFIG_SUNGEM is not set | ||
502 | # CONFIG_CASSINI is not set | ||
503 | # CONFIG_NET_VENDOR_3COM is not set | ||
504 | # CONFIG_NET_TULIP is not set | ||
505 | # CONFIG_HP100 is not set | ||
506 | # CONFIG_NET_PCI is not set | ||
507 | CONFIG_FS_ENET=y | ||
508 | # CONFIG_FS_ENET_HAS_SCC is not set | ||
509 | CONFIG_FS_ENET_HAS_FCC=y | ||
510 | CONFIG_NETDEV_1000=y | ||
511 | # CONFIG_ACENIC is not set | ||
512 | # CONFIG_DL2K is not set | ||
513 | # CONFIG_E1000 is not set | ||
514 | # CONFIG_NS83820 is not set | ||
515 | # CONFIG_HAMACHI is not set | ||
516 | # CONFIG_R8169 is not set | ||
517 | # CONFIG_SIS190 is not set | ||
518 | # CONFIG_SKGE is not set | ||
519 | # CONFIG_SKY2 is not set | ||
520 | # CONFIG_VIA_VELOCITY is not set | ||
521 | # CONFIG_TIGON3 is not set | ||
522 | # CONFIG_BNX2 is not set | ||
523 | # CONFIG_QLA3XXX is not set | ||
524 | CONFIG_NETDEV_10000=y | ||
525 | # CONFIG_CHELSIO_T1 is not set | ||
526 | # CONFIG_CHELSIO_T3 is not set | ||
527 | # CONFIG_IXGB is not set | ||
528 | # CONFIG_S2IO is not set | ||
529 | # CONFIG_MYRI10GE is not set | ||
530 | # CONFIG_NETXEN_NIC is not set | ||
531 | # CONFIG_MLX4_CORE is not set | ||
532 | # CONFIG_TR is not set | ||
533 | |||
534 | # | ||
535 | # Wireless LAN | ||
536 | # | ||
537 | # CONFIG_WLAN_PRE80211 is not set | ||
538 | # CONFIG_WLAN_80211 is not set | ||
539 | # CONFIG_WAN is not set | ||
540 | # CONFIG_FDDI is not set | ||
541 | CONFIG_PPP=y | ||
542 | # CONFIG_PPP_FILTER is not set | ||
543 | CONFIG_PPP_ASYNC=y | ||
544 | CONFIG_PPP_SYNC_TTY=y | ||
545 | CONFIG_PPP_DEFLATE=y | ||
546 | # CONFIG_PPP_BSDCOMP is not set | ||
547 | # CONFIG_SLIP is not set | ||
548 | CONFIG_SLHC=y | ||
549 | # CONFIG_NETPOLL is not set | ||
550 | # CONFIG_NET_POLL_CONTROLLER is not set | ||
551 | # CONFIG_ISDN is not set | ||
552 | # CONFIG_PHONE is not set | ||
553 | |||
554 | # | ||
555 | # Input device support | ||
556 | # | ||
557 | CONFIG_INPUT=y | ||
558 | # CONFIG_INPUT_FF_MEMLESS is not set | ||
559 | # CONFIG_INPUT_POLLDEV is not set | ||
560 | |||
561 | # | ||
562 | # Userland interfaces | ||
563 | # | ||
564 | CONFIG_INPUT_MOUSEDEV=y | ||
565 | CONFIG_INPUT_MOUSEDEV_PSAUX=y | ||
566 | CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 | ||
567 | CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 | ||
568 | # CONFIG_INPUT_JOYDEV is not set | ||
569 | # CONFIG_INPUT_TSDEV is not set | ||
570 | CONFIG_INPUT_EVDEV=y | ||
571 | # CONFIG_INPUT_EVBUG is not set | ||
572 | |||
573 | # | ||
574 | # Input Device Drivers | ||
575 | # | ||
576 | CONFIG_INPUT_KEYBOARD=y | ||
577 | CONFIG_KEYBOARD_ATKBD=y | ||
578 | # CONFIG_KEYBOARD_SUNKBD is not set | ||
579 | # CONFIG_KEYBOARD_LKKBD is not set | ||
580 | # CONFIG_KEYBOARD_XTKBD is not set | ||
581 | # CONFIG_KEYBOARD_NEWTON is not set | ||
582 | # CONFIG_KEYBOARD_STOWAWAY is not set | ||
583 | CONFIG_INPUT_MOUSE=y | ||
584 | CONFIG_MOUSE_PS2=y | ||
585 | CONFIG_MOUSE_PS2_ALPS=y | ||
586 | CONFIG_MOUSE_PS2_LOGIPS2PP=y | ||
587 | CONFIG_MOUSE_PS2_SYNAPTICS=y | ||
588 | CONFIG_MOUSE_PS2_LIFEBOOK=y | ||
589 | CONFIG_MOUSE_PS2_TRACKPOINT=y | ||
590 | # CONFIG_MOUSE_PS2_TOUCHKIT is not set | ||
591 | # CONFIG_MOUSE_SERIAL is not set | ||
592 | # CONFIG_MOUSE_APPLETOUCH is not set | ||
593 | # CONFIG_MOUSE_VSXXXAA is not set | ||
594 | # CONFIG_INPUT_JOYSTICK is not set | ||
595 | # CONFIG_INPUT_TABLET is not set | ||
596 | # CONFIG_INPUT_TOUCHSCREEN is not set | ||
597 | # CONFIG_INPUT_MISC is not set | ||
598 | |||
599 | # | ||
600 | # Hardware I/O ports | ||
601 | # | ||
602 | CONFIG_SERIO=y | ||
603 | # CONFIG_SERIO_I8042 is not set | ||
604 | CONFIG_SERIO_SERPORT=y | ||
605 | # CONFIG_SERIO_PCIPS2 is not set | ||
606 | CONFIG_SERIO_LIBPS2=y | ||
607 | # CONFIG_SERIO_RAW is not set | ||
608 | # CONFIG_GAMEPORT is not set | ||
609 | |||
610 | # | ||
611 | # Character devices | ||
612 | # | ||
613 | # CONFIG_VT is not set | ||
614 | # CONFIG_SERIAL_NONSTANDARD is not set | ||
615 | |||
616 | # | ||
617 | # Serial drivers | ||
618 | # | ||
619 | # CONFIG_SERIAL_8250 is not set | ||
620 | |||
621 | # | ||
622 | # Non-8250 serial port support | ||
623 | # | ||
624 | # CONFIG_SERIAL_UARTLITE is not set | ||
625 | CONFIG_SERIAL_CORE=y | ||
626 | CONFIG_SERIAL_CORE_CONSOLE=y | ||
627 | CONFIG_SERIAL_CPM=y | ||
628 | CONFIG_SERIAL_CPM_CONSOLE=y | ||
629 | CONFIG_SERIAL_CPM_SCC1=y | ||
630 | # CONFIG_SERIAL_CPM_SCC2 is not set | ||
631 | # CONFIG_SERIAL_CPM_SCC3 is not set | ||
632 | CONFIG_SERIAL_CPM_SCC4=y | ||
633 | # CONFIG_SERIAL_CPM_SMC1 is not set | ||
634 | # CONFIG_SERIAL_CPM_SMC2 is not set | ||
635 | # CONFIG_SERIAL_JSM is not set | ||
636 | CONFIG_UNIX98_PTYS=y | ||
637 | CONFIG_LEGACY_PTYS=y | ||
638 | CONFIG_LEGACY_PTY_COUNT=256 | ||
639 | # CONFIG_IPMI_HANDLER is not set | ||
640 | # CONFIG_WATCHDOG is not set | ||
641 | CONFIG_HW_RANDOM=y | ||
642 | # CONFIG_NVRAM is not set | ||
643 | # CONFIG_GEN_RTC is not set | ||
644 | # CONFIG_R3964 is not set | ||
645 | # CONFIG_APPLICOM is not set | ||
646 | # CONFIG_AGP is not set | ||
647 | # CONFIG_DRM is not set | ||
648 | # CONFIG_RAW_DRIVER is not set | ||
649 | CONFIG_DEVPORT=y | ||
650 | # CONFIG_I2C is not set | ||
651 | |||
652 | # | ||
653 | # SPI support | ||
654 | # | ||
655 | # CONFIG_SPI is not set | ||
656 | # CONFIG_SPI_MASTER is not set | ||
657 | # CONFIG_W1 is not set | ||
658 | # CONFIG_POWER_SUPPLY is not set | ||
659 | # CONFIG_HWMON is not set | ||
660 | |||
661 | # | ||
662 | # Multifunction device drivers | ||
663 | # | ||
664 | # CONFIG_MFD_SM501 is not set | ||
665 | |||
666 | # | ||
667 | # Multimedia devices | ||
668 | # | ||
669 | # CONFIG_VIDEO_DEV is not set | ||
670 | # CONFIG_DVB_CORE is not set | ||
671 | CONFIG_DAB=y | ||
672 | |||
673 | # | ||
674 | # Graphics support | ||
675 | # | ||
676 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | ||
677 | |||
678 | # | ||
679 | # Display device support | ||
680 | # | ||
681 | # CONFIG_DISPLAY_SUPPORT is not set | ||
682 | # CONFIG_VGASTATE is not set | ||
683 | CONFIG_VIDEO_OUTPUT_CONTROL=y | ||
684 | # CONFIG_FB is not set | ||
685 | # CONFIG_FB_IBM_GXT4500 is not set | ||
686 | |||
687 | # | ||
688 | # Sound | ||
689 | # | ||
690 | # CONFIG_SOUND is not set | ||
691 | # CONFIG_HID_SUPPORT is not set | ||
692 | CONFIG_USB_SUPPORT=y | ||
693 | CONFIG_USB_ARCH_HAS_HCD=y | ||
694 | CONFIG_USB_ARCH_HAS_OHCI=y | ||
695 | CONFIG_USB_ARCH_HAS_EHCI=y | ||
696 | # CONFIG_USB is not set | ||
697 | |||
698 | # | ||
699 | # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' | ||
700 | # | ||
701 | |||
702 | # | ||
703 | # USB Gadget Support | ||
704 | # | ||
705 | CONFIG_USB_GADGET=y | ||
706 | # CONFIG_USB_GADGET_DEBUG_FILES is not set | ||
707 | CONFIG_USB_GADGET_SELECTED=y | ||
708 | # CONFIG_USB_GADGET_AMD5536UDC is not set | ||
709 | # CONFIG_USB_GADGET_FSL_USB2 is not set | ||
710 | # CONFIG_USB_GADGET_NET2280 is not set | ||
711 | # CONFIG_USB_GADGET_PXA2XX is not set | ||
712 | CONFIG_USB_GADGET_M66592=y | ||
713 | CONFIG_USB_M66592=y | ||
714 | # CONFIG_USB_GADGET_GOKU is not set | ||
715 | # CONFIG_USB_GADGET_LH7A40X is not set | ||
716 | # CONFIG_USB_GADGET_OMAP is not set | ||
717 | # CONFIG_USB_GADGET_S3C2410 is not set | ||
718 | # CONFIG_USB_GADGET_AT91 is not set | ||
719 | # CONFIG_USB_GADGET_DUMMY_HCD is not set | ||
720 | CONFIG_USB_GADGET_DUALSPEED=y | ||
721 | # CONFIG_USB_ZERO is not set | ||
722 | CONFIG_USB_ETH=y | ||
723 | # CONFIG_USB_GADGETFS is not set | ||
724 | # CONFIG_USB_FILE_STORAGE is not set | ||
725 | # CONFIG_USB_G_SERIAL is not set | ||
726 | # CONFIG_USB_MIDI_GADGET is not set | ||
727 | # CONFIG_MMC is not set | ||
728 | # CONFIG_NEW_LEDS is not set | ||
729 | # CONFIG_INFINIBAND is not set | ||
730 | # CONFIG_RTC_CLASS is not set | ||
731 | |||
732 | # | ||
733 | # DMA Engine support | ||
734 | # | ||
735 | # CONFIG_DMA_ENGINE is not set | ||
736 | |||
737 | # | ||
738 | # DMA Clients | ||
739 | # | ||
740 | |||
741 | # | ||
742 | # DMA Devices | ||
743 | # | ||
744 | |||
745 | # | ||
746 | # Userspace I/O | ||
747 | # | ||
748 | # CONFIG_UIO is not set | ||
749 | |||
750 | # | ||
751 | # File systems | ||
752 | # | ||
753 | CONFIG_EXT2_FS=y | ||
754 | # CONFIG_EXT2_FS_XATTR is not set | ||
755 | # CONFIG_EXT2_FS_XIP is not set | ||
756 | CONFIG_EXT3_FS=y | ||
757 | CONFIG_EXT3_FS_XATTR=y | ||
758 | # CONFIG_EXT3_FS_POSIX_ACL is not set | ||
759 | # CONFIG_EXT3_FS_SECURITY is not set | ||
760 | CONFIG_JBD=y | ||
761 | # CONFIG_JBD_DEBUG is not set | ||
762 | CONFIG_FS_MBCACHE=y | ||
763 | # CONFIG_REISERFS_FS is not set | ||
764 | # CONFIG_JFS_FS is not set | ||
765 | CONFIG_FS_POSIX_ACL=y | ||
766 | # CONFIG_XFS_FS is not set | ||
767 | # CONFIG_OCFS2_FS is not set | ||
768 | # CONFIG_MINIX_FS is not set | ||
769 | # CONFIG_ROMFS_FS is not set | ||
770 | CONFIG_INOTIFY=y | ||
771 | CONFIG_INOTIFY_USER=y | ||
772 | # CONFIG_QUOTA is not set | ||
773 | CONFIG_DNOTIFY=y | ||
774 | # CONFIG_AUTOFS_FS is not set | ||
775 | CONFIG_AUTOFS4_FS=y | ||
776 | # CONFIG_FUSE_FS is not set | ||
777 | |||
778 | # | ||
779 | # CD-ROM/DVD Filesystems | ||
780 | # | ||
781 | # CONFIG_ISO9660_FS is not set | ||
782 | # CONFIG_UDF_FS is not set | ||
783 | |||
784 | # | ||
785 | # DOS/FAT/NT Filesystems | ||
786 | # | ||
787 | # CONFIG_MSDOS_FS is not set | ||
788 | # CONFIG_VFAT_FS is not set | ||
789 | # CONFIG_NTFS_FS is not set | ||
790 | |||
791 | # | ||
792 | # Pseudo filesystems | ||
793 | # | ||
794 | CONFIG_PROC_FS=y | ||
795 | CONFIG_PROC_KCORE=y | ||
796 | CONFIG_PROC_SYSCTL=y | ||
797 | CONFIG_SYSFS=y | ||
798 | CONFIG_TMPFS=y | ||
799 | # CONFIG_TMPFS_POSIX_ACL is not set | ||
800 | # CONFIG_HUGETLB_PAGE is not set | ||
801 | CONFIG_RAMFS=y | ||
802 | |||
803 | # | ||
804 | # Miscellaneous filesystems | ||
805 | # | ||
806 | # CONFIG_HFSPLUS_FS is not set | ||
807 | # CONFIG_JFFS2_FS is not set | ||
808 | CONFIG_CRAMFS=y | ||
809 | # CONFIG_VXFS_FS is not set | ||
810 | # CONFIG_HPFS_FS is not set | ||
811 | # CONFIG_QNX4FS_FS is not set | ||
812 | # CONFIG_SYSV_FS is not set | ||
813 | # CONFIG_UFS_FS is not set | ||
814 | |||
815 | # | ||
816 | # Network File Systems | ||
817 | # | ||
818 | CONFIG_NFS_FS=y | ||
819 | CONFIG_NFS_V3=y | ||
820 | CONFIG_NFS_V3_ACL=y | ||
821 | # CONFIG_NFS_DIRECTIO is not set | ||
822 | # CONFIG_NFSD is not set | ||
823 | CONFIG_ROOT_NFS=y | ||
824 | CONFIG_LOCKD=y | ||
825 | CONFIG_LOCKD_V4=y | ||
826 | CONFIG_NFS_ACL_SUPPORT=y | ||
827 | CONFIG_NFS_COMMON=y | ||
828 | CONFIG_SUNRPC=y | ||
829 | # CONFIG_SMB_FS is not set | ||
830 | # CONFIG_CIFS is not set | ||
831 | # CONFIG_NCP_FS is not set | ||
832 | # CONFIG_CODA_FS is not set | ||
833 | |||
834 | # | ||
835 | # Partition Types | ||
836 | # | ||
837 | CONFIG_PARTITION_ADVANCED=y | ||
838 | # CONFIG_ACORN_PARTITION is not set | ||
839 | # CONFIG_OSF_PARTITION is not set | ||
840 | # CONFIG_AMIGA_PARTITION is not set | ||
841 | # CONFIG_ATARI_PARTITION is not set | ||
842 | # CONFIG_MAC_PARTITION is not set | ||
843 | CONFIG_MSDOS_PARTITION=y | ||
844 | # CONFIG_BSD_DISKLABEL is not set | ||
845 | # CONFIG_MINIX_SUBPARTITION is not set | ||
846 | # CONFIG_SOLARIS_X86_PARTITION is not set | ||
847 | # CONFIG_UNIXWARE_DISKLABEL is not set | ||
848 | # CONFIG_LDM_PARTITION is not set | ||
849 | # CONFIG_SGI_PARTITION is not set | ||
850 | # CONFIG_ULTRIX_PARTITION is not set | ||
851 | # CONFIG_SUN_PARTITION is not set | ||
852 | # CONFIG_KARMA_PARTITION is not set | ||
853 | # CONFIG_EFI_PARTITION is not set | ||
854 | # CONFIG_SYSV68_PARTITION is not set | ||
855 | |||
856 | # | ||
857 | # Native Language Support | ||
858 | # | ||
859 | CONFIG_NLS=y | ||
860 | CONFIG_NLS_DEFAULT="iso8859-1" | ||
861 | CONFIG_NLS_CODEPAGE_437=y | ||
862 | # CONFIG_NLS_CODEPAGE_737 is not set | ||
863 | # CONFIG_NLS_CODEPAGE_775 is not set | ||
864 | # CONFIG_NLS_CODEPAGE_850 is not set | ||
865 | # CONFIG_NLS_CODEPAGE_852 is not set | ||
866 | # CONFIG_NLS_CODEPAGE_855 is not set | ||
867 | # CONFIG_NLS_CODEPAGE_857 is not set | ||
868 | # CONFIG_NLS_CODEPAGE_860 is not set | ||
869 | # CONFIG_NLS_CODEPAGE_861 is not set | ||
870 | # CONFIG_NLS_CODEPAGE_862 is not set | ||
871 | # CONFIG_NLS_CODEPAGE_863 is not set | ||
872 | # CONFIG_NLS_CODEPAGE_864 is not set | ||
873 | # CONFIG_NLS_CODEPAGE_865 is not set | ||
874 | # CONFIG_NLS_CODEPAGE_866 is not set | ||
875 | # CONFIG_NLS_CODEPAGE_869 is not set | ||
876 | # CONFIG_NLS_CODEPAGE_936 is not set | ||
877 | # CONFIG_NLS_CODEPAGE_950 is not set | ||
878 | # CONFIG_NLS_CODEPAGE_932 is not set | ||
879 | # CONFIG_NLS_CODEPAGE_949 is not set | ||
880 | # CONFIG_NLS_CODEPAGE_874 is not set | ||
881 | # CONFIG_NLS_ISO8859_8 is not set | ||
882 | # CONFIG_NLS_CODEPAGE_1250 is not set | ||
883 | # CONFIG_NLS_CODEPAGE_1251 is not set | ||
884 | CONFIG_NLS_ASCII=y | ||
885 | CONFIG_NLS_ISO8859_1=y | ||
886 | # CONFIG_NLS_ISO8859_2 is not set | ||
887 | # CONFIG_NLS_ISO8859_3 is not set | ||
888 | # CONFIG_NLS_ISO8859_4 is not set | ||
889 | # CONFIG_NLS_ISO8859_5 is not set | ||
890 | # CONFIG_NLS_ISO8859_6 is not set | ||
891 | # CONFIG_NLS_ISO8859_7 is not set | ||
892 | # CONFIG_NLS_ISO8859_9 is not set | ||
893 | # CONFIG_NLS_ISO8859_13 is not set | ||
894 | # CONFIG_NLS_ISO8859_14 is not set | ||
895 | # CONFIG_NLS_ISO8859_15 is not set | ||
896 | # CONFIG_NLS_KOI8_R is not set | ||
897 | # CONFIG_NLS_KOI8_U is not set | ||
898 | CONFIG_NLS_UTF8=y | ||
899 | # CONFIG_UCC_SLOW is not set | ||
900 | |||
901 | # | ||
902 | # Library routines | ||
903 | # | ||
904 | CONFIG_BITREVERSE=y | ||
905 | CONFIG_CRC_CCITT=y | ||
906 | # CONFIG_CRC16 is not set | ||
907 | # CONFIG_CRC_ITU_T is not set | ||
908 | CONFIG_CRC32=y | ||
909 | # CONFIG_CRC7 is not set | ||
910 | # CONFIG_LIBCRC32C is not set | ||
911 | CONFIG_ZLIB_INFLATE=y | ||
912 | CONFIG_ZLIB_DEFLATE=y | ||
913 | CONFIG_PLIST=y | ||
914 | CONFIG_HAS_IOMEM=y | ||
915 | CONFIG_HAS_IOPORT=y | ||
916 | CONFIG_HAS_DMA=y | ||
917 | |||
918 | # | ||
919 | # Kernel hacking | ||
920 | # | ||
921 | # CONFIG_PRINTK_TIME is not set | ||
922 | CONFIG_ENABLE_MUST_CHECK=y | ||
923 | CONFIG_MAGIC_SYSRQ=y | ||
924 | # CONFIG_UNUSED_SYMBOLS is not set | ||
925 | # CONFIG_DEBUG_FS is not set | ||
926 | # CONFIG_HEADERS_CHECK is not set | ||
927 | CONFIG_DEBUG_KERNEL=y | ||
928 | # CONFIG_DEBUG_SHIRQ is not set | ||
929 | CONFIG_DETECT_SOFTLOCKUP=y | ||
930 | # CONFIG_SCHED_DEBUG is not set | ||
931 | # CONFIG_SCHEDSTATS is not set | ||
932 | # CONFIG_TIMER_STATS is not set | ||
933 | # CONFIG_DEBUG_SLAB is not set | ||
934 | # CONFIG_DEBUG_RT_MUTEXES is not set | ||
935 | # CONFIG_RT_MUTEX_TESTER is not set | ||
936 | # CONFIG_DEBUG_SPINLOCK is not set | ||
937 | # CONFIG_DEBUG_MUTEXES is not set | ||
938 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | ||
939 | # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set | ||
940 | # CONFIG_DEBUG_KOBJECT is not set | ||
941 | CONFIG_DEBUG_BUGVERBOSE=y | ||
942 | CONFIG_DEBUG_INFO=y | ||
943 | # CONFIG_DEBUG_VM is not set | ||
944 | # CONFIG_DEBUG_LIST is not set | ||
945 | CONFIG_FORCED_INLINING=y | ||
946 | # CONFIG_FAULT_INJECTION is not set | ||
947 | # CONFIG_DEBUG_STACKOVERFLOW is not set | ||
948 | # CONFIG_DEBUG_STACK_USAGE is not set | ||
949 | # CONFIG_DEBUG_PAGEALLOC is not set | ||
950 | # CONFIG_DEBUGGER is not set | ||
951 | # CONFIG_KGDB_CONSOLE is not set | ||
952 | CONFIG_BDI_SWITCH=y | ||
953 | # CONFIG_PPC_EARLY_DEBUG is not set | ||
954 | # CONFIG_PPC_EARLY_DEBUG_LPAR is not set | ||
955 | # CONFIG_PPC_EARLY_DEBUG_G5 is not set | ||
956 | # CONFIG_PPC_EARLY_DEBUG_RTAS_PANEL is not set | ||
957 | # CONFIG_PPC_EARLY_DEBUG_RTAS_CONSOLE is not set | ||
958 | # CONFIG_PPC_EARLY_DEBUG_MAPLE is not set | ||
959 | # CONFIG_PPC_EARLY_DEBUG_ISERIES is not set | ||
960 | # CONFIG_PPC_EARLY_DEBUG_PAS_REALMODE is not set | ||
961 | # CONFIG_PPC_EARLY_DEBUG_BEAT is not set | ||
962 | # CONFIG_PPC_EARLY_DEBUG_44x is not set | ||
963 | # CONFIG_PPC_EARLY_DEBUG_CPM is not set | ||
964 | |||
965 | # | ||
966 | # Security options | ||
967 | # | ||
968 | # CONFIG_KEYS is not set | ||
969 | # CONFIG_SECURITY is not set | ||
970 | CONFIG_CRYPTO=y | ||
971 | CONFIG_CRYPTO_ALGAPI=y | ||
972 | CONFIG_CRYPTO_BLKCIPHER=y | ||
973 | CONFIG_CRYPTO_MANAGER=y | ||
974 | # CONFIG_CRYPTO_HMAC is not set | ||
975 | # CONFIG_CRYPTO_NULL is not set | ||
976 | # CONFIG_CRYPTO_MD4 is not set | ||
977 | CONFIG_CRYPTO_MD5=y | ||
978 | # CONFIG_CRYPTO_SHA1 is not set | ||
979 | # CONFIG_CRYPTO_SHA256 is not set | ||
980 | # CONFIG_CRYPTO_SHA512 is not set | ||
981 | # CONFIG_CRYPTO_WP512 is not set | ||
982 | # CONFIG_CRYPTO_TGR192 is not set | ||
983 | CONFIG_CRYPTO_ECB=y | ||
984 | CONFIG_CRYPTO_CBC=y | ||
985 | CONFIG_CRYPTO_PCBC=y | ||
986 | # CONFIG_CRYPTO_CRYPTD is not set | ||
987 | CONFIG_CRYPTO_DES=y | ||
988 | # CONFIG_CRYPTO_FCRYPT is not set | ||
989 | # CONFIG_CRYPTO_BLOWFISH is not set | ||
990 | # CONFIG_CRYPTO_TWOFISH is not set | ||
991 | # CONFIG_CRYPTO_SERPENT is not set | ||
992 | # CONFIG_CRYPTO_AES is not set | ||
993 | # CONFIG_CRYPTO_CAST5 is not set | ||
994 | # CONFIG_CRYPTO_CAST6 is not set | ||
995 | # CONFIG_CRYPTO_TEA is not set | ||
996 | # CONFIG_CRYPTO_ARC4 is not set | ||
997 | # CONFIG_CRYPTO_KHAZAD is not set | ||
998 | # CONFIG_CRYPTO_ANUBIS is not set | ||
999 | # CONFIG_CRYPTO_DEFLATE is not set | ||
1000 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | ||
1001 | # CONFIG_CRYPTO_CRC32C is not set | ||
1002 | # CONFIG_CRYPTO_CAMELLIA is not set | ||
1003 | CONFIG_CRYPTO_HW=y | ||
diff --git a/arch/powerpc/platforms/82xx/Kconfig b/arch/powerpc/platforms/82xx/Kconfig index 03f5aeb5fa40..541fbb815631 100644 --- a/arch/powerpc/platforms/82xx/Kconfig +++ b/arch/powerpc/platforms/82xx/Kconfig | |||
@@ -15,6 +15,17 @@ config MPC8272_ADS | |||
15 | help | 15 | help |
16 | This option enables support for the MPC8272 ADS board | 16 | This option enables support for the MPC8272 ADS board |
17 | 17 | ||
18 | config PQ2FADS | ||
19 | bool "Freescale PQ2FADS" | ||
20 | select DEFAULT_UIMAGE | ||
21 | select PQ2ADS | ||
22 | select 8260 | ||
23 | select FSL_SOC | ||
24 | select PQ2_ADS_PCI_PIC if PCI | ||
25 | select PPC_CPM_NEW_BINDING | ||
26 | help | ||
27 | This option enables support for the PQ2FADS board | ||
28 | |||
18 | endchoice | 29 | endchoice |
19 | 30 | ||
20 | config PQ2ADS | 31 | config PQ2ADS |
diff --git a/arch/powerpc/platforms/82xx/Makefile b/arch/powerpc/platforms/82xx/Makefile index bfcb64cdbd83..68c8b0c9772b 100644 --- a/arch/powerpc/platforms/82xx/Makefile +++ b/arch/powerpc/platforms/82xx/Makefile | |||
@@ -4,3 +4,4 @@ | |||
4 | obj-$(CONFIG_MPC8272_ADS) += mpc8272_ads.o | 4 | obj-$(CONFIG_MPC8272_ADS) += mpc8272_ads.o |
5 | obj-$(CONFIG_CPM2) += pq2.o | 5 | obj-$(CONFIG_CPM2) += pq2.o |
6 | obj-$(CONFIG_PQ2_ADS_PCI_PIC) += pq2ads-pci-pic.o | 6 | obj-$(CONFIG_PQ2_ADS_PCI_PIC) += pq2ads-pci-pic.o |
7 | obj-$(CONFIG_PQ2FADS) += pq2fads.o | ||
diff --git a/arch/powerpc/platforms/82xx/pq2fads.c b/arch/powerpc/platforms/82xx/pq2fads.c new file mode 100644 index 000000000000..4f457a9c79ae --- /dev/null +++ b/arch/powerpc/platforms/82xx/pq2fads.c | |||
@@ -0,0 +1,198 @@ | |||
1 | /* | ||
2 | * PQ2FADS board support | ||
3 | * | ||
4 | * Copyright 2007 Freescale Semiconductor, Inc. | ||
5 | * Author: Scott Wood <scottwood@freescale.com> | ||
6 | * | ||
7 | * Loosely based on mp82xx ADS support by Vitaly Bordug <vbordug@ru.mvista.com> | ||
8 | * Copyright (c) 2006 MontaVista Software, Inc. | ||
9 | * | ||
10 | * This program is free software; you can redistribute it and/or modify it | ||
11 | * under the terms of the GNU General Public License version 2 as published | ||
12 | * by the Free Software Foundation. | ||
13 | */ | ||
14 | |||
15 | #include <linux/init.h> | ||
16 | #include <linux/interrupt.h> | ||
17 | #include <linux/fsl_devices.h> | ||
18 | |||
19 | #include <asm/io.h> | ||
20 | #include <asm/cpm2.h> | ||
21 | #include <asm/udbg.h> | ||
22 | #include <asm/machdep.h> | ||
23 | #include <asm/of_platform.h> | ||
24 | #include <asm/time.h> | ||
25 | |||
26 | #include <sysdev/fsl_soc.h> | ||
27 | #include <sysdev/cpm2_pic.h> | ||
28 | |||
29 | #include "pq2ads.h" | ||
30 | #include "pq2.h" | ||
31 | |||
32 | static void __init pq2fads_pic_init(void) | ||
33 | { | ||
34 | struct device_node *np = of_find_compatible_node(NULL, NULL, "fsl,cpm2-pic"); | ||
35 | if (!np) { | ||
36 | printk(KERN_ERR "PIC init: can not find fsl,cpm2-pic node\n"); | ||
37 | return; | ||
38 | } | ||
39 | |||
40 | cpm2_pic_init(np); | ||
41 | of_node_put(np); | ||
42 | |||
43 | /* Initialize stuff for the 82xx CPLD IC and install demux */ | ||
44 | pq2ads_pci_init_irq(); | ||
45 | } | ||
46 | |||
47 | struct cpm_pin { | ||
48 | int port, pin, flags; | ||
49 | }; | ||
50 | |||
51 | static struct cpm_pin pq2fads_pins[] = { | ||
52 | /* SCC1 */ | ||
53 | {3, 30, CPM_PIN_OUTPUT | CPM_PIN_SECONDARY}, | ||
54 | {3, 31, CPM_PIN_INPUT | CPM_PIN_PRIMARY}, | ||
55 | |||
56 | /* SCC2 */ | ||
57 | {3, 27, CPM_PIN_OUTPUT | CPM_PIN_PRIMARY}, | ||
58 | {3, 28, CPM_PIN_INPUT | CPM_PIN_PRIMARY}, | ||
59 | |||
60 | /* FCC2 */ | ||
61 | {1, 18, CPM_PIN_INPUT | CPM_PIN_PRIMARY}, | ||
62 | {1, 19, CPM_PIN_INPUT | CPM_PIN_PRIMARY}, | ||
63 | {1, 20, CPM_PIN_INPUT | CPM_PIN_PRIMARY}, | ||
64 | {1, 21, CPM_PIN_INPUT | CPM_PIN_PRIMARY}, | ||
65 | {1, 22, CPM_PIN_OUTPUT | CPM_PIN_PRIMARY}, | ||
66 | {1, 23, CPM_PIN_OUTPUT | CPM_PIN_PRIMARY}, | ||
67 | {1, 24, CPM_PIN_OUTPUT | CPM_PIN_PRIMARY}, | ||
68 | {1, 25, CPM_PIN_OUTPUT | CPM_PIN_PRIMARY}, | ||
69 | {1, 26, CPM_PIN_INPUT | CPM_PIN_PRIMARY}, | ||
70 | {1, 27, CPM_PIN_INPUT | CPM_PIN_PRIMARY}, | ||
71 | {1, 28, CPM_PIN_INPUT | CPM_PIN_PRIMARY}, | ||
72 | {1, 29, CPM_PIN_OUTPUT | CPM_PIN_SECONDARY}, | ||
73 | {1, 30, CPM_PIN_INPUT | CPM_PIN_PRIMARY}, | ||
74 | {1, 31, CPM_PIN_OUTPUT | CPM_PIN_PRIMARY}, | ||
75 | {2, 18, CPM_PIN_INPUT | CPM_PIN_PRIMARY}, | ||
76 | {2, 19, CPM_PIN_INPUT | CPM_PIN_PRIMARY}, | ||
77 | |||
78 | /* FCC3 */ | ||
79 | {1, 4, CPM_PIN_OUTPUT | CPM_PIN_PRIMARY}, | ||
80 | {1, 5, CPM_PIN_OUTPUT | CPM_PIN_PRIMARY}, | ||
81 | {1, 6, CPM_PIN_OUTPUT | CPM_PIN_PRIMARY}, | ||
82 | {1, 7, CPM_PIN_OUTPUT | CPM_PIN_PRIMARY}, | ||
83 | {1, 8, CPM_PIN_INPUT | CPM_PIN_PRIMARY}, | ||
84 | {1, 9, CPM_PIN_INPUT | CPM_PIN_PRIMARY}, | ||
85 | {1, 10, CPM_PIN_INPUT | CPM_PIN_PRIMARY}, | ||
86 | {1, 11, CPM_PIN_INPUT | CPM_PIN_PRIMARY}, | ||
87 | {1, 12, CPM_PIN_INPUT | CPM_PIN_PRIMARY}, | ||
88 | {1, 13, CPM_PIN_INPUT | CPM_PIN_PRIMARY}, | ||
89 | {1, 14, CPM_PIN_OUTPUT | CPM_PIN_PRIMARY}, | ||
90 | {1, 15, CPM_PIN_OUTPUT | CPM_PIN_PRIMARY}, | ||
91 | {1, 16, CPM_PIN_INPUT | CPM_PIN_PRIMARY}, | ||
92 | {1, 17, CPM_PIN_INPUT | CPM_PIN_PRIMARY}, | ||
93 | {2, 16, CPM_PIN_INPUT | CPM_PIN_PRIMARY}, | ||
94 | {2, 17, CPM_PIN_INPUT | CPM_PIN_PRIMARY}, | ||
95 | }; | ||
96 | |||
97 | static void __init init_ioports(void) | ||
98 | { | ||
99 | int i; | ||
100 | |||
101 | for (i = 0; i < ARRAY_SIZE(pq2fads_pins); i++) { | ||
102 | struct cpm_pin *pin = &pq2fads_pins[i]; | ||
103 | cpm2_set_pin(pin->port, pin->pin, pin->flags); | ||
104 | } | ||
105 | |||
106 | cpm2_clk_setup(CPM_CLK_SCC1, CPM_BRG1, CPM_CLK_RX); | ||
107 | cpm2_clk_setup(CPM_CLK_SCC1, CPM_BRG1, CPM_CLK_TX); | ||
108 | cpm2_clk_setup(CPM_CLK_SCC2, CPM_BRG2, CPM_CLK_RX); | ||
109 | cpm2_clk_setup(CPM_CLK_SCC2, CPM_BRG2, CPM_CLK_TX); | ||
110 | cpm2_clk_setup(CPM_CLK_FCC2, CPM_CLK13, CPM_CLK_RX); | ||
111 | cpm2_clk_setup(CPM_CLK_FCC2, CPM_CLK14, CPM_CLK_TX); | ||
112 | cpm2_clk_setup(CPM_CLK_FCC3, CPM_CLK15, CPM_CLK_RX); | ||
113 | cpm2_clk_setup(CPM_CLK_FCC3, CPM_CLK16, CPM_CLK_TX); | ||
114 | } | ||
115 | |||
116 | static void __init pq2fads_setup_arch(void) | ||
117 | { | ||
118 | struct device_node *np; | ||
119 | __be32 __iomem *bcsr; | ||
120 | |||
121 | if (ppc_md.progress) | ||
122 | ppc_md.progress("pq2fads_setup_arch()", 0); | ||
123 | |||
124 | cpm2_reset(); | ||
125 | |||
126 | np = of_find_compatible_node(NULL, NULL, "fsl,pq2fads-bcsr"); | ||
127 | if (!np) { | ||
128 | printk(KERN_ERR "No fsl,pq2fads-bcsr in device tree\n"); | ||
129 | return; | ||
130 | } | ||
131 | |||
132 | bcsr = of_iomap(np, 0); | ||
133 | if (!bcsr) { | ||
134 | printk(KERN_ERR "Cannot map BCSR registers\n"); | ||
135 | return; | ||
136 | } | ||
137 | |||
138 | of_node_put(np); | ||
139 | |||
140 | /* Enable the serial and ethernet ports */ | ||
141 | |||
142 | clrbits32(&bcsr[1], BCSR1_RS232_EN1 | BCSR1_RS232_EN2 | BCSR1_FETHIEN); | ||
143 | setbits32(&bcsr[1], BCSR1_FETH_RST); | ||
144 | |||
145 | clrbits32(&bcsr[3], BCSR3_FETHIEN2); | ||
146 | setbits32(&bcsr[3], BCSR3_FETH2_RST); | ||
147 | |||
148 | iounmap(bcsr); | ||
149 | |||
150 | init_ioports(); | ||
151 | |||
152 | /* Enable external IRQs */ | ||
153 | clrbits32(&cpm2_immr->im_siu_conf.siu_82xx.sc_siumcr, 0x0c000000); | ||
154 | |||
155 | pq2_init_pci(); | ||
156 | |||
157 | if (ppc_md.progress) | ||
158 | ppc_md.progress("pq2fads_setup_arch(), finish", 0); | ||
159 | } | ||
160 | |||
161 | /* | ||
162 | * Called very early, device-tree isn't unflattened | ||
163 | */ | ||
164 | static int __init pq2fads_probe(void) | ||
165 | { | ||
166 | unsigned long root = of_get_flat_dt_root(); | ||
167 | return of_flat_dt_is_compatible(root, "fsl,pq2fads"); | ||
168 | } | ||
169 | |||
170 | static struct of_device_id __initdata of_bus_ids[] = { | ||
171 | { .name = "soc", }, | ||
172 | { .name = "cpm", }, | ||
173 | { .name = "localbus", }, | ||
174 | {}, | ||
175 | }; | ||
176 | |||
177 | static int __init declare_of_platform_devices(void) | ||
178 | { | ||
179 | if (!machine_is(pq2fads)) | ||
180 | return 0; | ||
181 | |||
182 | /* Publish the QE devices */ | ||
183 | of_platform_bus_probe(NULL, of_bus_ids, NULL); | ||
184 | return 0; | ||
185 | } | ||
186 | device_initcall(declare_of_platform_devices); | ||
187 | |||
188 | define_machine(pq2fads) | ||
189 | { | ||
190 | .name = "Freescale PQ2FADS", | ||
191 | .probe = pq2fads_probe, | ||
192 | .setup_arch = pq2fads_setup_arch, | ||
193 | .init_IRQ = pq2fads_pic_init, | ||
194 | .get_irq = cpm2_get_irq, | ||
195 | .calibrate_decr = generic_calibrate_decr, | ||
196 | .restart = pq2_restart, | ||
197 | .progress = udbg_progress, | ||
198 | }; | ||