diff options
author | Paul Mackerras <paulus@samba.org> | 2008-04-01 05:34:26 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-04-01 05:34:26 -0400 |
commit | e6b18912d3df8ccc5cc19823544fcce19af25072 (patch) | |
tree | 6a1839c7400821001df63e3c776a42eb11f0150b | |
parent | 99d8be052e248e09abf51d4a656717259bf9b930 (diff) | |
parent | ee0a3f564e5b45792ae26fd3a2f8daf98c30ff45 (diff) |
Merge branch 'powerpc-next' of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc
-rw-r--r-- | arch/powerpc/boot/Makefile | 1 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/ksi8560.dts | 267 | ||||
-rwxr-xr-x | arch/powerpc/boot/wrapper | 2 | ||||
-rw-r--r-- | arch/powerpc/configs/ksi8560_defconfig | 899 | ||||
-rw-r--r-- | arch/powerpc/platforms/85xx/Kconfig | 7 | ||||
-rw-r--r-- | arch/powerpc/platforms/85xx/Makefile | 1 | ||||
-rw-r--r-- | arch/powerpc/platforms/85xx/ksi8560.c | 257 |
7 files changed, 1433 insertions, 1 deletions
diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile index 75b4e1f64b51..73f3fd8ba21e 100644 --- a/arch/powerpc/boot/Makefile +++ b/arch/powerpc/boot/Makefile | |||
@@ -256,6 +256,7 @@ image-$(CONFIG_TQM8555) += cuImage.tqm8555 | |||
256 | image-$(CONFIG_TQM8560) += cuImage.tqm8560 | 256 | image-$(CONFIG_TQM8560) += cuImage.tqm8560 |
257 | image-$(CONFIG_SBC8548) += cuImage.sbc8548 | 257 | image-$(CONFIG_SBC8548) += cuImage.sbc8548 |
258 | image-$(CONFIG_SBC8560) += cuImage.sbc8560 | 258 | image-$(CONFIG_SBC8560) += cuImage.sbc8560 |
259 | image-$(CONFIG_KSI8560) += cuImage.ksi8560 | ||
259 | 260 | ||
260 | # Board ports in arch/powerpc/platform/embedded6xx/Kconfig | 261 | # Board ports in arch/powerpc/platform/embedded6xx/Kconfig |
261 | image-$(CONFIG_STORCENTER) += cuImage.storcenter | 262 | image-$(CONFIG_STORCENTER) += cuImage.storcenter |
diff --git a/arch/powerpc/boot/dts/ksi8560.dts b/arch/powerpc/boot/dts/ksi8560.dts new file mode 100644 index 000000000000..f869ce3ca0b7 --- /dev/null +++ b/arch/powerpc/boot/dts/ksi8560.dts | |||
@@ -0,0 +1,267 @@ | |||
1 | /* | ||
2 | * Device Tree Source for Emerson KSI8560 | ||
3 | * | ||
4 | * Author: Alexandr Smirnov <asmirnov@ru.mvista.com> | ||
5 | * | ||
6 | * Based on mpc8560ads.dts | ||
7 | * | ||
8 | * 2008 (c) MontaVista, Software, Inc. This file is licensed under | ||
9 | * the terms of the GNU General Public License version 2. This program | ||
10 | * is licensed "as is" without any warranty of any kind, whether express | ||
11 | * or implied. | ||
12 | * | ||
13 | */ | ||
14 | |||
15 | /dts-v1/; | ||
16 | |||
17 | / { | ||
18 | model = "KSI8560"; | ||
19 | compatible = "emerson,KSI8560"; | ||
20 | #address-cells = <1>; | ||
21 | #size-cells = <1>; | ||
22 | |||
23 | aliases { | ||
24 | ethernet0 = &enet0; | ||
25 | ethernet1 = &enet1; | ||
26 | ethernet2 = &enet2; | ||
27 | }; | ||
28 | |||
29 | cpus { | ||
30 | #address-cells = <1>; | ||
31 | #size-cells = <0>; | ||
32 | |||
33 | PowerPC,8560@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>; /* From U-boot */ | ||
41 | bus-frequency = <0>; /* From U-boot */ | ||
42 | clock-frequency = <0>; /* From U-boot */ | ||
43 | }; | ||
44 | }; | ||
45 | |||
46 | memory { | ||
47 | device_type = "memory"; | ||
48 | reg = <0x00000000 0x10000000>; /* Fixed by bootwrapper */ | ||
49 | }; | ||
50 | |||
51 | soc@fdf00000 { | ||
52 | #address-cells = <1>; | ||
53 | #size-cells = <1>; | ||
54 | device_type = "soc"; | ||
55 | ranges = <0x00000000 0xfdf00000 0x00100000>; | ||
56 | bus-frequency = <0>; /* Fixed by bootwrapper */ | ||
57 | |||
58 | memory-controller@2000 { | ||
59 | compatible = "fsl,8540-memory-controller"; | ||
60 | reg = <0x2000 0x1000>; | ||
61 | interrupt-parent = <&MPIC>; | ||
62 | interrupts = <0x12 0x2>; | ||
63 | }; | ||
64 | |||
65 | l2-cache-controller@20000 { | ||
66 | compatible = "fsl,8540-l2-cache-controller"; | ||
67 | reg = <0x20000 0x1000>; | ||
68 | cache-line-size = <0x20>; /* 32 bytes */ | ||
69 | cache-size = <0x40000>; /* L2, 256K */ | ||
70 | interrupt-parent = <&MPIC>; | ||
71 | interrupts = <0x10 0x2>; | ||
72 | }; | ||
73 | |||
74 | i2c@3000 { | ||
75 | #address-cells = <1>; | ||
76 | #size-cells = <0>; | ||
77 | cell-index = <0>; | ||
78 | compatible = "fsl-i2c"; | ||
79 | reg = <0x3000 0x100>; | ||
80 | interrupts = <0x2b 0x2>; | ||
81 | interrupt-parent = <&MPIC>; | ||
82 | dfsrr; | ||
83 | }; | ||
84 | |||
85 | mdio@24520 { /* For TSECs */ | ||
86 | #address-cells = <1>; | ||
87 | #size-cells = <0>; | ||
88 | compatible = "fsl,gianfar-mdio"; | ||
89 | reg = <0x24520 0x20>; | ||
90 | |||
91 | PHY1: ethernet-phy@1 { | ||
92 | interrupt-parent = <&MPIC>; | ||
93 | reg = <0x1>; | ||
94 | device_type = "ethernet-phy"; | ||
95 | }; | ||
96 | |||
97 | PHY2: ethernet-phy@2 { | ||
98 | interrupt-parent = <&MPIC>; | ||
99 | reg = <0x2>; | ||
100 | device_type = "ethernet-phy"; | ||
101 | }; | ||
102 | }; | ||
103 | |||
104 | enet0: ethernet@24000 { | ||
105 | device_type = "network"; | ||
106 | model = "TSEC"; | ||
107 | compatible = "gianfar"; | ||
108 | reg = <0x24000 0x1000>; | ||
109 | /* Mac address filled in by bootwrapper */ | ||
110 | local-mac-address = [ 00 00 00 00 00 00 ]; | ||
111 | interrupts = <0x1d 0x2 0x1e 0x2 0x22 0x2>; | ||
112 | interrupt-parent = <&MPIC>; | ||
113 | phy-handle = <&PHY1>; | ||
114 | }; | ||
115 | |||
116 | enet1: ethernet@25000 { | ||
117 | device_type = "network"; | ||
118 | model = "TSEC"; | ||
119 | compatible = "gianfar"; | ||
120 | reg = <0x25000 0x1000>; | ||
121 | /* Mac address filled in by bootwrapper */ | ||
122 | local-mac-address = [ 00 00 00 00 00 00 ]; | ||
123 | interrupts = <0x23 0x2 0x24 0x2 0x28 0x2>; | ||
124 | interrupt-parent = <&MPIC>; | ||
125 | phy-handle = <&PHY2>; | ||
126 | }; | ||
127 | |||
128 | MPIC: pic@40000 { | ||
129 | #address-cells = <0>; | ||
130 | #interrupt-cells = <2>; | ||
131 | interrupt-controller; | ||
132 | reg = <0x40000 0x40000>; | ||
133 | device_type = "open-pic"; | ||
134 | }; | ||
135 | |||
136 | cpm@919c0 { | ||
137 | #address-cells = <1>; | ||
138 | #size-cells = <1>; | ||
139 | compatible = "fsl,mpc8560-cpm", "fsl,cpm2"; | ||
140 | reg = <0x919c0 0x30>; | ||
141 | ranges; | ||
142 | |||
143 | muram@80000 { | ||
144 | #address-cells = <1>; | ||
145 | #size-cells = <1>; | ||
146 | ranges = <0x0 0x80000 0x10000>; | ||
147 | |||
148 | data@0 { | ||
149 | compatible = "fsl,cpm-muram-data"; | ||
150 | reg = <0x0 0x4000 0x9000 0x2000>; | ||
151 | }; | ||
152 | }; | ||
153 | |||
154 | brg@919f0 { | ||
155 | compatible = "fsl,mpc8560-brg", | ||
156 | "fsl,cpm2-brg", | ||
157 | "fsl,cpm-brg"; | ||
158 | reg = <0x919f0 0x10 0x915f0 0x10>; | ||
159 | clock-frequency = <165000000>; /* 166MHz */ | ||
160 | }; | ||
161 | |||
162 | CPMPIC: pic@90c00 { | ||
163 | #address-cells = <0>; | ||
164 | #interrupt-cells = <2>; | ||
165 | interrupt-controller; | ||
166 | interrupts = <0x2e 0x2>; | ||
167 | interrupt-parent = <&MPIC>; | ||
168 | reg = <0x90c00 0x80>; | ||
169 | compatible = "fsl,mpc8560-cpm-pic", "fsl,cpm2-pic"; | ||
170 | }; | ||
171 | |||
172 | serial@91a00 { | ||
173 | device_type = "serial"; | ||
174 | compatible = "fsl,mpc8560-scc-uart", | ||
175 | "fsl,cpm2-scc-uart"; | ||
176 | reg = <0x91a00 0x20 0x88000 0x100>; | ||
177 | fsl,cpm-brg = <1>; | ||
178 | fsl,cpm-command = <0x800000>; | ||
179 | current-speed = <0x1c200>; | ||
180 | interrupts = <0x28 0x8>; | ||
181 | interrupt-parent = <&CPMPIC>; | ||
182 | }; | ||
183 | |||
184 | serial@91a20 { | ||
185 | device_type = "serial"; | ||
186 | compatible = "fsl,mpc8560-scc-uart", | ||
187 | "fsl,cpm2-scc-uart"; | ||
188 | reg = <0x91a20 0x20 0x88100 0x100>; | ||
189 | fsl,cpm-brg = <2>; | ||
190 | fsl,cpm-command = <0x4a00000>; | ||
191 | current-speed = <0x1c200>; | ||
192 | interrupts = <0x29 0x8>; | ||
193 | interrupt-parent = <&CPMPIC>; | ||
194 | }; | ||
195 | |||
196 | mdio@90d00 { /* For FCCs */ | ||
197 | #address-cells = <1>; | ||
198 | #size-cells = <0>; | ||
199 | compatible = "fsl,cpm2-mdio-bitbang"; | ||
200 | reg = <0x90d00 0x14>; | ||
201 | fsl,mdio-pin = <24>; | ||
202 | fsl,mdc-pin = <25>; | ||
203 | |||
204 | PHY0: ethernet-phy@0 { | ||
205 | interrupt-parent = <&MPIC>; | ||
206 | reg = <0x0>; | ||
207 | device_type = "ethernet-phy"; | ||
208 | }; | ||
209 | }; | ||
210 | |||
211 | enet2: ethernet@91300 { | ||
212 | device_type = "network"; | ||
213 | compatible = "fsl,mpc8560-fcc-enet", | ||
214 | "fsl,cpm2-fcc-enet"; | ||
215 | reg = <0x91300 0x20 0x88400 0x100 0x91390 0x1>; | ||
216 | /* Mac address filled in by bootwrapper */ | ||
217 | local-mac-address = [ 00 00 00 00 00 00 ]; | ||
218 | fsl,cpm-command = <0x12000300>; | ||
219 | interrupts = <0x20 0x8>; | ||
220 | interrupt-parent = <&CPMPIC>; | ||
221 | phy-handle = <&PHY0>; | ||
222 | }; | ||
223 | }; | ||
224 | }; | ||
225 | |||
226 | localbus@fdf05000 { | ||
227 | #address-cells = <2>; | ||
228 | #size-cells = <1>; | ||
229 | compatible = "fsl,mpc8560-localbus"; | ||
230 | reg = <0xfdf05000 0x68>; | ||
231 | |||
232 | ranges = <0x0 0x0 0xe0000000 0x00800000 | ||
233 | 0x4 0x0 0xe8080000 0x00080000>; | ||
234 | |||
235 | flash@0,0 { | ||
236 | #address-cells = <1>; | ||
237 | #size-cells = <1>; | ||
238 | compatible = "jedec-flash"; | ||
239 | reg = <0x0 0x0 0x800000>; | ||
240 | bank-width = <0x2>; | ||
241 | |||
242 | partition@0 { | ||
243 | label = "Primary Kernel"; | ||
244 | reg = <0x0 0x180000>; | ||
245 | }; | ||
246 | partition@180000 { | ||
247 | label = "Primary Filesystem"; | ||
248 | reg = <0x180000 0x580000>; | ||
249 | }; | ||
250 | partition@700000 { | ||
251 | label = "Monitor"; | ||
252 | reg = <0x300000 0x100000>; | ||
253 | read-only; | ||
254 | }; | ||
255 | }; | ||
256 | |||
257 | cpld@4,0 { | ||
258 | compatible = "emerson,KSI8560-cpld"; | ||
259 | reg = <0x4 0x0 0x80000>; | ||
260 | }; | ||
261 | }; | ||
262 | |||
263 | |||
264 | chosen { | ||
265 | linux,stdout-path = "/soc/cpm/serial@91a00"; | ||
266 | }; | ||
267 | }; | ||
diff --git a/arch/powerpc/boot/wrapper b/arch/powerpc/boot/wrapper index 8f8b8494d62f..03b474bfe747 100755 --- a/arch/powerpc/boot/wrapper +++ b/arch/powerpc/boot/wrapper | |||
@@ -174,7 +174,7 @@ cuboot*) | |||
174 | *-mpc83*) | 174 | *-mpc83*) |
175 | platformo=$object/cuboot-83xx.o | 175 | platformo=$object/cuboot-83xx.o |
176 | ;; | 176 | ;; |
177 | *-tqm8541|*-mpc8560*|*-tqm8560|*-tqm8555) | 177 | *-tqm8541|*-mpc8560*|*-tqm8560|*-tqm8555|*-ksi8560*) |
178 | platformo=$object/cuboot-85xx-cpm2.o | 178 | platformo=$object/cuboot-85xx-cpm2.o |
179 | ;; | 179 | ;; |
180 | *-mpc85*|*-tqm8540|*-sbc85*) | 180 | *-mpc85*|*-tqm8540|*-sbc85*) |
diff --git a/arch/powerpc/configs/ksi8560_defconfig b/arch/powerpc/configs/ksi8560_defconfig new file mode 100644 index 000000000000..2d0debcefdbf --- /dev/null +++ b/arch/powerpc/configs/ksi8560_defconfig | |||
@@ -0,0 +1,899 @@ | |||
1 | # | ||
2 | # Automatically generated make config: don't edit | ||
3 | # Linux kernel version: 2.6.24 | ||
4 | # Mon Feb 11 16:25:19 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_RWSEM_XCHGADD_ALGORITHM=y | ||
36 | CONFIG_ARCH_HAS_ILOG2_U32=y | ||
37 | CONFIG_GENERIC_HWEIGHT=y | ||
38 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
39 | CONFIG_GENERIC_FIND_NEXT_BIT=y | ||
40 | # CONFIG_ARCH_NO_VIRT_TO_BUS is not set | ||
41 | CONFIG_PPC=y | ||
42 | CONFIG_EARLY_PRINTK=y | ||
43 | CONFIG_GENERIC_NVRAM=y | ||
44 | CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y | ||
45 | CONFIG_ARCH_MAY_HAVE_PC_FDC=y | ||
46 | CONFIG_PPC_OF=y | ||
47 | CONFIG_OF=y | ||
48 | CONFIG_PPC_UDBG_16550=y | ||
49 | # CONFIG_GENERIC_TBSYNC is not set | ||
50 | CONFIG_AUDIT_ARCH=y | ||
51 | CONFIG_GENERIC_BUG=y | ||
52 | CONFIG_DEFAULT_UIMAGE=y | ||
53 | # CONFIG_PPC_DCR_NATIVE is not set | ||
54 | # CONFIG_PPC_DCR_MMIO is not set | ||
55 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | ||
56 | |||
57 | # | ||
58 | # General setup | ||
59 | # | ||
60 | CONFIG_EXPERIMENTAL=y | ||
61 | CONFIG_BROKEN_ON_SMP=y | ||
62 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
63 | CONFIG_LOCALVERSION="" | ||
64 | CONFIG_LOCALVERSION_AUTO=y | ||
65 | CONFIG_SWAP=y | ||
66 | CONFIG_SYSVIPC=y | ||
67 | CONFIG_SYSVIPC_SYSCTL=y | ||
68 | # CONFIG_POSIX_MQUEUE is not set | ||
69 | # CONFIG_BSD_PROCESS_ACCT is not set | ||
70 | # CONFIG_TASKSTATS is not set | ||
71 | # CONFIG_USER_NS is not set | ||
72 | # CONFIG_PID_NS is not set | ||
73 | # CONFIG_AUDIT is not set | ||
74 | # CONFIG_IKCONFIG is not set | ||
75 | CONFIG_LOG_BUF_SHIFT=14 | ||
76 | # CONFIG_CGROUPS is not set | ||
77 | CONFIG_FAIR_GROUP_SCHED=y | ||
78 | CONFIG_FAIR_USER_SCHED=y | ||
79 | # CONFIG_FAIR_CGROUP_SCHED is not set | ||
80 | CONFIG_SYSFS_DEPRECATED=y | ||
81 | # CONFIG_RELAY is not set | ||
82 | CONFIG_BLK_DEV_INITRD=y | ||
83 | CONFIG_INITRAMFS_SOURCE="" | ||
84 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | ||
85 | CONFIG_SYSCTL=y | ||
86 | CONFIG_EMBEDDED=y | ||
87 | CONFIG_SYSCTL_SYSCALL=y | ||
88 | CONFIG_KALLSYMS=y | ||
89 | # CONFIG_KALLSYMS_ALL is not set | ||
90 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | ||
91 | CONFIG_HOTPLUG=y | ||
92 | CONFIG_PRINTK=y | ||
93 | CONFIG_BUG=y | ||
94 | CONFIG_ELF_CORE=y | ||
95 | CONFIG_BASE_FULL=y | ||
96 | CONFIG_FUTEX=y | ||
97 | CONFIG_ANON_INODES=y | ||
98 | CONFIG_EPOLL=y | ||
99 | CONFIG_SIGNALFD=y | ||
100 | CONFIG_TIMERFD=y | ||
101 | CONFIG_EVENTFD=y | ||
102 | CONFIG_SHMEM=y | ||
103 | CONFIG_VM_EVENT_COUNTERS=y | ||
104 | CONFIG_SLUB_DEBUG=y | ||
105 | # CONFIG_SLAB is not set | ||
106 | CONFIG_SLUB=y | ||
107 | # CONFIG_SLOB is not set | ||
108 | # CONFIG_PROFILING is not set | ||
109 | # CONFIG_MARKERS is not set | ||
110 | CONFIG_HAVE_OPROFILE=y | ||
111 | CONFIG_HAVE_KPROBES=y | ||
112 | CONFIG_PROC_PAGE_MONITOR=y | ||
113 | CONFIG_SLABINFO=y | ||
114 | CONFIG_RT_MUTEXES=y | ||
115 | # CONFIG_TINY_SHMEM is not set | ||
116 | CONFIG_BASE_SMALL=0 | ||
117 | # CONFIG_MODULES is not set | ||
118 | CONFIG_BLOCK=y | ||
119 | # CONFIG_LBD is not set | ||
120 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
121 | # CONFIG_LSF is not set | ||
122 | # CONFIG_BLK_DEV_BSG is not set | ||
123 | |||
124 | # | ||
125 | # IO Schedulers | ||
126 | # | ||
127 | CONFIG_IOSCHED_NOOP=y | ||
128 | CONFIG_IOSCHED_AS=y | ||
129 | CONFIG_IOSCHED_DEADLINE=y | ||
130 | CONFIG_IOSCHED_CFQ=y | ||
131 | CONFIG_DEFAULT_AS=y | ||
132 | # CONFIG_DEFAULT_DEADLINE is not set | ||
133 | # CONFIG_DEFAULT_CFQ is not set | ||
134 | # CONFIG_DEFAULT_NOOP is not set | ||
135 | CONFIG_DEFAULT_IOSCHED="anticipatory" | ||
136 | CONFIG_CLASSIC_RCU=y | ||
137 | # CONFIG_PREEMPT_RCU is not set | ||
138 | |||
139 | # | ||
140 | # Platform support | ||
141 | # | ||
142 | # CONFIG_PPC_MPC512x is not set | ||
143 | # CONFIG_PPC_MPC5121 is not set | ||
144 | # CONFIG_PPC_CELL is not set | ||
145 | # CONFIG_PPC_CELL_NATIVE is not set | ||
146 | # CONFIG_PQ2ADS is not set | ||
147 | CONFIG_MPC85xx=y | ||
148 | # CONFIG_MPC8540_ADS is not set | ||
149 | # CONFIG_MPC8560_ADS is not set | ||
150 | # CONFIG_MPC85xx_CDS is not set | ||
151 | # CONFIG_MPC85xx_MDS is not set | ||
152 | # CONFIG_MPC85xx_DS is not set | ||
153 | CONFIG_KSI8560=y | ||
154 | # CONFIG_STX_GP3 is not set | ||
155 | # CONFIG_TQM8540 is not set | ||
156 | # CONFIG_TQM8541 is not set | ||
157 | # CONFIG_TQM8555 is not set | ||
158 | # CONFIG_TQM8560 is not set | ||
159 | # CONFIG_SBC8548 is not set | ||
160 | # CONFIG_SBC8560 is not set | ||
161 | # CONFIG_IPIC is not set | ||
162 | CONFIG_MPIC=y | ||
163 | # CONFIG_MPIC_WEIRD is not set | ||
164 | # CONFIG_PPC_I8259 is not set | ||
165 | # CONFIG_PPC_RTAS is not set | ||
166 | # CONFIG_MMIO_NVRAM is not set | ||
167 | # CONFIG_PPC_MPC106 is not set | ||
168 | # CONFIG_PPC_970_NAP is not set | ||
169 | # CONFIG_PPC_INDIRECT_IO is not set | ||
170 | # CONFIG_GENERIC_IOMAP is not set | ||
171 | # CONFIG_CPU_FREQ is not set | ||
172 | CONFIG_CPM2=y | ||
173 | CONFIG_PPC_CPM_NEW_BINDING=y | ||
174 | # CONFIG_FSL_ULI1575 is not set | ||
175 | CONFIG_CPM=y | ||
176 | |||
177 | # | ||
178 | # Kernel options | ||
179 | # | ||
180 | CONFIG_HIGHMEM=y | ||
181 | # CONFIG_TICK_ONESHOT is not set | ||
182 | # CONFIG_NO_HZ is not set | ||
183 | # CONFIG_HIGH_RES_TIMERS is not set | ||
184 | CONFIG_GENERIC_CLOCKEVENTS_BUILD=y | ||
185 | # CONFIG_HZ_100 is not set | ||
186 | CONFIG_HZ_250=y | ||
187 | # CONFIG_HZ_300 is not set | ||
188 | # CONFIG_HZ_1000 is not set | ||
189 | CONFIG_HZ=250 | ||
190 | # CONFIG_SCHED_HRTICK is not set | ||
191 | CONFIG_PREEMPT_NONE=y | ||
192 | # CONFIG_PREEMPT_VOLUNTARY is not set | ||
193 | # CONFIG_PREEMPT is not set | ||
194 | CONFIG_RCU_TRACE=y | ||
195 | CONFIG_BINFMT_ELF=y | ||
196 | CONFIG_BINFMT_MISC=y | ||
197 | CONFIG_MATH_EMULATION=y | ||
198 | # CONFIG_IOMMU_HELPER is not set | ||
199 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | ||
200 | CONFIG_ARCH_FLATMEM_ENABLE=y | ||
201 | CONFIG_ARCH_POPULATES_NODE_MAP=y | ||
202 | CONFIG_SELECT_MEMORY_MODEL=y | ||
203 | CONFIG_FLATMEM_MANUAL=y | ||
204 | # CONFIG_DISCONTIGMEM_MANUAL is not set | ||
205 | # CONFIG_SPARSEMEM_MANUAL is not set | ||
206 | CONFIG_FLATMEM=y | ||
207 | CONFIG_FLAT_NODE_MEM_MAP=y | ||
208 | # CONFIG_SPARSEMEM_STATIC is not set | ||
209 | # CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set | ||
210 | CONFIG_SPLIT_PTLOCK_CPUS=4 | ||
211 | # CONFIG_RESOURCES_64BIT is not set | ||
212 | CONFIG_ZONE_DMA_FLAG=1 | ||
213 | CONFIG_BOUNCE=y | ||
214 | CONFIG_VIRT_TO_BUS=y | ||
215 | # CONFIG_PROC_DEVICETREE is not set | ||
216 | # CONFIG_CMDLINE_BOOL is not set | ||
217 | # CONFIG_PM is not set | ||
218 | # CONFIG_SECCOMP is not set | ||
219 | CONFIG_WANT_DEVICE_TREE=y | ||
220 | CONFIG_ISA_DMA_API=y | ||
221 | |||
222 | # | ||
223 | # Bus options | ||
224 | # | ||
225 | CONFIG_ZONE_DMA=y | ||
226 | CONFIG_FSL_SOC=y | ||
227 | # CONFIG_PCI is not set | ||
228 | # CONFIG_PCI_DOMAINS is not set | ||
229 | # CONFIG_PCI_SYSCALL is not set | ||
230 | # CONFIG_ARCH_SUPPORTS_MSI is not set | ||
231 | # CONFIG_PCCARD is not set | ||
232 | |||
233 | # | ||
234 | # Advanced setup | ||
235 | # | ||
236 | # CONFIG_ADVANCED_OPTIONS is not set | ||
237 | |||
238 | # | ||
239 | # Default settings for advanced configuration options are used | ||
240 | # | ||
241 | CONFIG_HIGHMEM_START=0xfe000000 | ||
242 | CONFIG_LOWMEM_SIZE=0x30000000 | ||
243 | CONFIG_KERNEL_START=0xc0000000 | ||
244 | CONFIG_TASK_SIZE=0xc0000000 | ||
245 | CONFIG_BOOT_LOAD=0x00800000 | ||
246 | |||
247 | # | ||
248 | # Networking | ||
249 | # | ||
250 | CONFIG_NET=y | ||
251 | |||
252 | # | ||
253 | # Networking options | ||
254 | # | ||
255 | CONFIG_PACKET=y | ||
256 | # CONFIG_PACKET_MMAP is not set | ||
257 | CONFIG_UNIX=y | ||
258 | CONFIG_XFRM=y | ||
259 | # CONFIG_XFRM_USER is not set | ||
260 | # CONFIG_XFRM_SUB_POLICY is not set | ||
261 | # CONFIG_XFRM_MIGRATE is not set | ||
262 | # CONFIG_XFRM_STATISTICS is not set | ||
263 | # CONFIG_NET_KEY is not set | ||
264 | CONFIG_INET=y | ||
265 | CONFIG_IP_MULTICAST=y | ||
266 | # CONFIG_IP_ADVANCED_ROUTER is not set | ||
267 | CONFIG_IP_FIB_HASH=y | ||
268 | CONFIG_IP_PNP=y | ||
269 | CONFIG_IP_PNP_DHCP=y | ||
270 | CONFIG_IP_PNP_BOOTP=y | ||
271 | # CONFIG_IP_PNP_RARP is not set | ||
272 | # CONFIG_NET_IPIP is not set | ||
273 | # CONFIG_NET_IPGRE is not set | ||
274 | # CONFIG_IP_MROUTE is not set | ||
275 | # CONFIG_ARPD is not set | ||
276 | CONFIG_SYN_COOKIES=y | ||
277 | # CONFIG_INET_AH is not set | ||
278 | # CONFIG_INET_ESP is not set | ||
279 | # CONFIG_INET_IPCOMP is not set | ||
280 | # CONFIG_INET_XFRM_TUNNEL is not set | ||
281 | # CONFIG_INET_TUNNEL is not set | ||
282 | CONFIG_INET_XFRM_MODE_TRANSPORT=y | ||
283 | CONFIG_INET_XFRM_MODE_TUNNEL=y | ||
284 | CONFIG_INET_XFRM_MODE_BEET=y | ||
285 | # CONFIG_INET_LRO is not set | ||
286 | CONFIG_INET_DIAG=y | ||
287 | CONFIG_INET_TCP_DIAG=y | ||
288 | # CONFIG_TCP_CONG_ADVANCED is not set | ||
289 | CONFIG_TCP_CONG_CUBIC=y | ||
290 | CONFIG_DEFAULT_TCP_CONG="cubic" | ||
291 | # CONFIG_TCP_MD5SIG is not set | ||
292 | # CONFIG_IPV6 is not set | ||
293 | # CONFIG_INET6_XFRM_TUNNEL is not set | ||
294 | # CONFIG_INET6_TUNNEL is not set | ||
295 | # CONFIG_NETWORK_SECMARK is not set | ||
296 | # CONFIG_NETFILTER is not set | ||
297 | # CONFIG_IP_DCCP is not set | ||
298 | # CONFIG_IP_SCTP is not set | ||
299 | # CONFIG_TIPC is not set | ||
300 | # CONFIG_ATM is not set | ||
301 | # CONFIG_BRIDGE is not set | ||
302 | # CONFIG_VLAN_8021Q is not set | ||
303 | # CONFIG_DECNET is not set | ||
304 | # CONFIG_LLC2 is not set | ||
305 | # CONFIG_IPX is not set | ||
306 | # CONFIG_ATALK is not set | ||
307 | # CONFIG_X25 is not set | ||
308 | # CONFIG_LAPB is not set | ||
309 | # CONFIG_ECONET is not set | ||
310 | # CONFIG_WAN_ROUTER is not set | ||
311 | # CONFIG_NET_SCHED is not set | ||
312 | |||
313 | # | ||
314 | # Network testing | ||
315 | # | ||
316 | # CONFIG_NET_PKTGEN is not set | ||
317 | # CONFIG_HAMRADIO is not set | ||
318 | # CONFIG_CAN is not set | ||
319 | # CONFIG_IRDA is not set | ||
320 | # CONFIG_BT is not set | ||
321 | # CONFIG_AF_RXRPC is not set | ||
322 | |||
323 | # | ||
324 | # Wireless | ||
325 | # | ||
326 | # CONFIG_CFG80211 is not set | ||
327 | # CONFIG_WIRELESS_EXT is not set | ||
328 | # CONFIG_MAC80211 is not set | ||
329 | # CONFIG_IEEE80211 is not set | ||
330 | # CONFIG_RFKILL is not set | ||
331 | # CONFIG_NET_9P is not set | ||
332 | |||
333 | # | ||
334 | # Device Drivers | ||
335 | # | ||
336 | |||
337 | # | ||
338 | # Generic Driver Options | ||
339 | # | ||
340 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | ||
341 | CONFIG_STANDALONE=y | ||
342 | CONFIG_PREVENT_FIRMWARE_BUILD=y | ||
343 | # CONFIG_FW_LOADER is not set | ||
344 | # CONFIG_DEBUG_DRIVER is not set | ||
345 | # CONFIG_DEBUG_DEVRES is not set | ||
346 | # CONFIG_SYS_HYPERVISOR is not set | ||
347 | # CONFIG_CONNECTOR is not set | ||
348 | CONFIG_MTD=y | ||
349 | # CONFIG_MTD_DEBUG is not set | ||
350 | CONFIG_MTD_CONCAT=y | ||
351 | CONFIG_MTD_PARTITIONS=y | ||
352 | # CONFIG_MTD_REDBOOT_PARTS is not set | ||
353 | # CONFIG_MTD_CMDLINE_PARTS is not set | ||
354 | |||
355 | # | ||
356 | # User Modules And Translation Layers | ||
357 | # | ||
358 | CONFIG_MTD_CHAR=y | ||
359 | CONFIG_MTD_BLKDEVS=y | ||
360 | CONFIG_MTD_BLOCK=y | ||
361 | # CONFIG_FTL is not set | ||
362 | # CONFIG_NFTL is not set | ||
363 | # CONFIG_INFTL is not set | ||
364 | # CONFIG_RFD_FTL is not set | ||
365 | # CONFIG_SSFDC is not set | ||
366 | # CONFIG_MTD_OOPS is not set | ||
367 | |||
368 | # | ||
369 | # RAM/ROM/Flash chip drivers | ||
370 | # | ||
371 | CONFIG_MTD_CFI=y | ||
372 | CONFIG_MTD_JEDECPROBE=y | ||
373 | CONFIG_MTD_GEN_PROBE=y | ||
374 | # CONFIG_MTD_CFI_ADV_OPTIONS is not set | ||
375 | CONFIG_MTD_MAP_BANK_WIDTH_1=y | ||
376 | CONFIG_MTD_MAP_BANK_WIDTH_2=y | ||
377 | CONFIG_MTD_MAP_BANK_WIDTH_4=y | ||
378 | # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set | ||
379 | # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set | ||
380 | # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set | ||
381 | CONFIG_MTD_CFI_I1=y | ||
382 | CONFIG_MTD_CFI_I2=y | ||
383 | # CONFIG_MTD_CFI_I4 is not set | ||
384 | # CONFIG_MTD_CFI_I8 is not set | ||
385 | # CONFIG_MTD_CFI_INTELEXT is not set | ||
386 | CONFIG_MTD_CFI_AMDSTD=y | ||
387 | # CONFIG_MTD_CFI_STAA is not set | ||
388 | CONFIG_MTD_CFI_UTIL=y | ||
389 | # CONFIG_MTD_RAM is not set | ||
390 | # CONFIG_MTD_ROM is not set | ||
391 | # CONFIG_MTD_ABSENT is not set | ||
392 | |||
393 | # | ||
394 | # Mapping drivers for chip access | ||
395 | # | ||
396 | # CONFIG_MTD_COMPLEX_MAPPINGS is not set | ||
397 | # CONFIG_MTD_PHYSMAP is not set | ||
398 | CONFIG_MTD_PHYSMAP_OF=y | ||
399 | # CONFIG_MTD_PLATRAM is not set | ||
400 | |||
401 | # | ||
402 | # Self-contained MTD device drivers | ||
403 | # | ||
404 | # CONFIG_MTD_SLRAM is not set | ||
405 | # CONFIG_MTD_PHRAM is not set | ||
406 | # CONFIG_MTD_MTDRAM is not set | ||
407 | # CONFIG_MTD_BLOCK2MTD is not set | ||
408 | |||
409 | # | ||
410 | # Disk-On-Chip Device Drivers | ||
411 | # | ||
412 | # CONFIG_MTD_DOC2000 is not set | ||
413 | # CONFIG_MTD_DOC2001 is not set | ||
414 | # CONFIG_MTD_DOC2001PLUS is not set | ||
415 | # CONFIG_MTD_NAND is not set | ||
416 | # CONFIG_MTD_ONENAND is not set | ||
417 | |||
418 | # | ||
419 | # UBI - Unsorted block images | ||
420 | # | ||
421 | # CONFIG_MTD_UBI is not set | ||
422 | CONFIG_OF_DEVICE=y | ||
423 | # CONFIG_PARPORT is not set | ||
424 | CONFIG_BLK_DEV=y | ||
425 | # CONFIG_BLK_DEV_FD is not set | ||
426 | # CONFIG_BLK_DEV_COW_COMMON is not set | ||
427 | CONFIG_BLK_DEV_LOOP=y | ||
428 | # CONFIG_BLK_DEV_CRYPTOLOOP is not set | ||
429 | # CONFIG_BLK_DEV_NBD is not set | ||
430 | CONFIG_BLK_DEV_RAM=y | ||
431 | CONFIG_BLK_DEV_RAM_COUNT=16 | ||
432 | CONFIG_BLK_DEV_RAM_SIZE=32768 | ||
433 | CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 | ||
434 | # CONFIG_CDROM_PKTCDVD is not set | ||
435 | # CONFIG_ATA_OVER_ETH is not set | ||
436 | CONFIG_MISC_DEVICES=y | ||
437 | # CONFIG_EEPROM_93CX6 is not set | ||
438 | CONFIG_IDE=y | ||
439 | CONFIG_IDE_MAX_HWIFS=4 | ||
440 | CONFIG_BLK_DEV_IDE=y | ||
441 | |||
442 | # | ||
443 | # Please see Documentation/ide.txt for help/info on IDE drives | ||
444 | # | ||
445 | # CONFIG_BLK_DEV_IDE_SATA is not set | ||
446 | # CONFIG_BLK_DEV_IDEDISK is not set | ||
447 | # CONFIG_IDEDISK_MULTI_MODE is not set | ||
448 | # CONFIG_BLK_DEV_IDECD is not set | ||
449 | # CONFIG_BLK_DEV_IDETAPE is not set | ||
450 | # CONFIG_BLK_DEV_IDEFLOPPY is not set | ||
451 | # CONFIG_IDE_TASK_IOCTL is not set | ||
452 | CONFIG_IDE_PROC_FS=y | ||
453 | |||
454 | # | ||
455 | # IDE chipset support/bugfixes | ||
456 | # | ||
457 | CONFIG_IDE_GENERIC=y | ||
458 | # CONFIG_BLK_DEV_PLATFORM is not set | ||
459 | # CONFIG_BLK_DEV_IDEDMA is not set | ||
460 | CONFIG_IDE_ARCH_OBSOLETE_INIT=y | ||
461 | # CONFIG_BLK_DEV_HD is not set | ||
462 | |||
463 | # | ||
464 | # SCSI device support | ||
465 | # | ||
466 | # CONFIG_RAID_ATTRS is not set | ||
467 | # CONFIG_SCSI is not set | ||
468 | # CONFIG_SCSI_DMA is not set | ||
469 | # CONFIG_SCSI_NETLINK is not set | ||
470 | # CONFIG_ATA is not set | ||
471 | # CONFIG_MD is not set | ||
472 | # CONFIG_MACINTOSH_DRIVERS is not set | ||
473 | CONFIG_NETDEVICES=y | ||
474 | # CONFIG_NETDEVICES_MULTIQUEUE is not set | ||
475 | # CONFIG_DUMMY is not set | ||
476 | # CONFIG_BONDING is not set | ||
477 | # CONFIG_MACVLAN is not set | ||
478 | # CONFIG_EQUALIZER is not set | ||
479 | # CONFIG_TUN is not set | ||
480 | # CONFIG_VETH is not set | ||
481 | CONFIG_PHYLIB=y | ||
482 | |||
483 | # | ||
484 | # MII PHY device drivers | ||
485 | # | ||
486 | CONFIG_MARVELL_PHY=y | ||
487 | # CONFIG_DAVICOM_PHY is not set | ||
488 | # CONFIG_QSEMI_PHY is not set | ||
489 | # CONFIG_LXT_PHY is not set | ||
490 | # CONFIG_CICADA_PHY is not set | ||
491 | # CONFIG_VITESSE_PHY is not set | ||
492 | # CONFIG_SMSC_PHY is not set | ||
493 | # CONFIG_BROADCOM_PHY is not set | ||
494 | # CONFIG_ICPLUS_PHY is not set | ||
495 | # CONFIG_REALTEK_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_IBM_NEW_EMAC_ZMII is not set | ||
501 | # CONFIG_IBM_NEW_EMAC_RGMII is not set | ||
502 | # CONFIG_IBM_NEW_EMAC_TAH is not set | ||
503 | # CONFIG_IBM_NEW_EMAC_EMAC4 is not set | ||
504 | # CONFIG_B44 is not set | ||
505 | CONFIG_FS_ENET=y | ||
506 | # CONFIG_FS_ENET_HAS_SCC is not set | ||
507 | CONFIG_FS_ENET_HAS_FCC=y | ||
508 | CONFIG_FS_ENET_MDIO_FCC=y | ||
509 | CONFIG_NETDEV_1000=y | ||
510 | # CONFIG_E1000E_ENABLED is not set | ||
511 | CONFIG_GIANFAR=y | ||
512 | CONFIG_GFAR_NAPI=y | ||
513 | CONFIG_NETDEV_10000=y | ||
514 | |||
515 | # | ||
516 | # Wireless LAN | ||
517 | # | ||
518 | # CONFIG_WLAN_PRE80211 is not set | ||
519 | # CONFIG_WLAN_80211 is not set | ||
520 | # CONFIG_WAN is not set | ||
521 | # CONFIG_PPP is not set | ||
522 | # CONFIG_SLIP is not set | ||
523 | # CONFIG_NETCONSOLE is not set | ||
524 | # CONFIG_NETPOLL is not set | ||
525 | # CONFIG_NET_POLL_CONTROLLER is not set | ||
526 | # CONFIG_ISDN is not set | ||
527 | # CONFIG_PHONE is not set | ||
528 | |||
529 | # | ||
530 | # Input device support | ||
531 | # | ||
532 | CONFIG_INPUT=y | ||
533 | # CONFIG_INPUT_FF_MEMLESS is not set | ||
534 | # CONFIG_INPUT_POLLDEV is not set | ||
535 | |||
536 | # | ||
537 | # Userland interfaces | ||
538 | # | ||
539 | # CONFIG_INPUT_MOUSEDEV is not set | ||
540 | # CONFIG_INPUT_JOYDEV is not set | ||
541 | # CONFIG_INPUT_EVDEV is not set | ||
542 | # CONFIG_INPUT_EVBUG is not set | ||
543 | |||
544 | # | ||
545 | # Input Device Drivers | ||
546 | # | ||
547 | # CONFIG_INPUT_KEYBOARD is not set | ||
548 | # CONFIG_INPUT_MOUSE is not set | ||
549 | # CONFIG_INPUT_JOYSTICK is not set | ||
550 | # CONFIG_INPUT_TABLET is not set | ||
551 | # CONFIG_INPUT_TOUCHSCREEN is not set | ||
552 | # CONFIG_INPUT_MISC is not set | ||
553 | |||
554 | # | ||
555 | # Hardware I/O ports | ||
556 | # | ||
557 | # CONFIG_SERIO is not set | ||
558 | # CONFIG_GAMEPORT is not set | ||
559 | |||
560 | # | ||
561 | # Character devices | ||
562 | # | ||
563 | # CONFIG_VT is not set | ||
564 | # CONFIG_SERIAL_NONSTANDARD is not set | ||
565 | |||
566 | # | ||
567 | # Serial drivers | ||
568 | # | ||
569 | # CONFIG_SERIAL_8250 is not set | ||
570 | |||
571 | # | ||
572 | # Non-8250 serial port support | ||
573 | # | ||
574 | # CONFIG_SERIAL_UARTLITE is not set | ||
575 | CONFIG_SERIAL_CORE=y | ||
576 | CONFIG_SERIAL_CORE_CONSOLE=y | ||
577 | CONFIG_SERIAL_CPM=y | ||
578 | CONFIG_SERIAL_CPM_CONSOLE=y | ||
579 | CONFIG_SERIAL_CPM_SCC1=y | ||
580 | # CONFIG_SERIAL_CPM_SCC2 is not set | ||
581 | # CONFIG_SERIAL_CPM_SCC3 is not set | ||
582 | # CONFIG_SERIAL_CPM_SCC4 is not set | ||
583 | # CONFIG_SERIAL_CPM_SMC1 is not set | ||
584 | # CONFIG_SERIAL_CPM_SMC2 is not set | ||
585 | CONFIG_UNIX98_PTYS=y | ||
586 | CONFIG_LEGACY_PTYS=y | ||
587 | CONFIG_LEGACY_PTY_COUNT=256 | ||
588 | # CONFIG_IPMI_HANDLER is not set | ||
589 | CONFIG_HW_RANDOM=y | ||
590 | # CONFIG_NVRAM is not set | ||
591 | CONFIG_GEN_RTC=y | ||
592 | # CONFIG_GEN_RTC_X is not set | ||
593 | # CONFIG_R3964 is not set | ||
594 | # CONFIG_RAW_DRIVER is not set | ||
595 | # CONFIG_TCG_TPM is not set | ||
596 | # CONFIG_I2C is not set | ||
597 | |||
598 | # | ||
599 | # SPI support | ||
600 | # | ||
601 | # CONFIG_SPI is not set | ||
602 | # CONFIG_SPI_MASTER is not set | ||
603 | # CONFIG_W1 is not set | ||
604 | # CONFIG_POWER_SUPPLY is not set | ||
605 | CONFIG_HWMON=y | ||
606 | # CONFIG_HWMON_VID is not set | ||
607 | # CONFIG_SENSORS_F71805F is not set | ||
608 | # CONFIG_SENSORS_F71882FG is not set | ||
609 | # CONFIG_SENSORS_IT87 is not set | ||
610 | # CONFIG_SENSORS_PC87360 is not set | ||
611 | # CONFIG_SENSORS_PC87427 is not set | ||
612 | # CONFIG_SENSORS_SMSC47M1 is not set | ||
613 | # CONFIG_SENSORS_SMSC47B397 is not set | ||
614 | # CONFIG_SENSORS_VT1211 is not set | ||
615 | # CONFIG_SENSORS_W83627HF is not set | ||
616 | # CONFIG_SENSORS_W83627EHF is not set | ||
617 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
618 | # CONFIG_WATCHDOG is not set | ||
619 | |||
620 | # | ||
621 | # Sonics Silicon Backplane | ||
622 | # | ||
623 | CONFIG_SSB_POSSIBLE=y | ||
624 | # CONFIG_SSB is not set | ||
625 | |||
626 | # | ||
627 | # Multifunction device drivers | ||
628 | # | ||
629 | # CONFIG_MFD_SM501 is not set | ||
630 | |||
631 | # | ||
632 | # Multimedia devices | ||
633 | # | ||
634 | # CONFIG_VIDEO_DEV is not set | ||
635 | # CONFIG_DVB_CORE is not set | ||
636 | CONFIG_DAB=y | ||
637 | |||
638 | # | ||
639 | # Graphics support | ||
640 | # | ||
641 | # CONFIG_VGASTATE is not set | ||
642 | CONFIG_VIDEO_OUTPUT_CONTROL=y | ||
643 | # CONFIG_FB is not set | ||
644 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | ||
645 | |||
646 | # | ||
647 | # Display device support | ||
648 | # | ||
649 | # CONFIG_DISPLAY_SUPPORT is not set | ||
650 | |||
651 | # | ||
652 | # Sound | ||
653 | # | ||
654 | # CONFIG_SOUND is not set | ||
655 | CONFIG_HID_SUPPORT=y | ||
656 | CONFIG_HID=y | ||
657 | # CONFIG_HID_DEBUG is not set | ||
658 | # CONFIG_HIDRAW is not set | ||
659 | CONFIG_USB_SUPPORT=y | ||
660 | # CONFIG_USB_ARCH_HAS_HCD is not set | ||
661 | # CONFIG_USB_ARCH_HAS_OHCI is not set | ||
662 | # CONFIG_USB_ARCH_HAS_EHCI is not set | ||
663 | |||
664 | # | ||
665 | # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' | ||
666 | # | ||
667 | # CONFIG_USB_GADGET is not set | ||
668 | # CONFIG_MMC is not set | ||
669 | # CONFIG_NEW_LEDS is not set | ||
670 | # CONFIG_EDAC is not set | ||
671 | # CONFIG_RTC_CLASS is not set | ||
672 | |||
673 | # | ||
674 | # Userspace I/O | ||
675 | # | ||
676 | # CONFIG_UIO is not set | ||
677 | |||
678 | # | ||
679 | # File systems | ||
680 | # | ||
681 | CONFIG_EXT2_FS=y | ||
682 | # CONFIG_EXT2_FS_XATTR is not set | ||
683 | # CONFIG_EXT2_FS_XIP is not set | ||
684 | CONFIG_EXT3_FS=y | ||
685 | CONFIG_EXT3_FS_XATTR=y | ||
686 | # CONFIG_EXT3_FS_POSIX_ACL is not set | ||
687 | # CONFIG_EXT3_FS_SECURITY is not set | ||
688 | # CONFIG_EXT4DEV_FS is not set | ||
689 | CONFIG_JBD=y | ||
690 | # CONFIG_JBD_DEBUG is not set | ||
691 | CONFIG_FS_MBCACHE=y | ||
692 | # CONFIG_REISERFS_FS is not set | ||
693 | # CONFIG_JFS_FS is not set | ||
694 | # CONFIG_FS_POSIX_ACL is not set | ||
695 | # CONFIG_XFS_FS is not set | ||
696 | # CONFIG_GFS2_FS is not set | ||
697 | # CONFIG_OCFS2_FS is not set | ||
698 | # CONFIG_MINIX_FS is not set | ||
699 | # CONFIG_ROMFS_FS is not set | ||
700 | CONFIG_INOTIFY=y | ||
701 | CONFIG_INOTIFY_USER=y | ||
702 | # CONFIG_QUOTA is not set | ||
703 | CONFIG_DNOTIFY=y | ||
704 | # CONFIG_AUTOFS_FS is not set | ||
705 | # CONFIG_AUTOFS4_FS is not set | ||
706 | # CONFIG_FUSE_FS is not set | ||
707 | |||
708 | # | ||
709 | # CD-ROM/DVD Filesystems | ||
710 | # | ||
711 | # CONFIG_ISO9660_FS is not set | ||
712 | # CONFIG_UDF_FS is not set | ||
713 | |||
714 | # | ||
715 | # DOS/FAT/NT Filesystems | ||
716 | # | ||
717 | # CONFIG_MSDOS_FS is not set | ||
718 | # CONFIG_VFAT_FS is not set | ||
719 | # CONFIG_NTFS_FS is not set | ||
720 | |||
721 | # | ||
722 | # Pseudo filesystems | ||
723 | # | ||
724 | CONFIG_PROC_FS=y | ||
725 | CONFIG_PROC_KCORE=y | ||
726 | CONFIG_PROC_SYSCTL=y | ||
727 | CONFIG_SYSFS=y | ||
728 | CONFIG_TMPFS=y | ||
729 | # CONFIG_TMPFS_POSIX_ACL is not set | ||
730 | # CONFIG_HUGETLB_PAGE is not set | ||
731 | # CONFIG_CONFIGFS_FS is not set | ||
732 | |||
733 | # | ||
734 | # Miscellaneous filesystems | ||
735 | # | ||
736 | # CONFIG_ADFS_FS is not set | ||
737 | # CONFIG_AFFS_FS is not set | ||
738 | # CONFIG_HFS_FS is not set | ||
739 | # CONFIG_HFSPLUS_FS is not set | ||
740 | # CONFIG_BEFS_FS is not set | ||
741 | # CONFIG_BFS_FS is not set | ||
742 | # CONFIG_EFS_FS is not set | ||
743 | # CONFIG_JFFS2_FS is not set | ||
744 | # CONFIG_CRAMFS is not set | ||
745 | # CONFIG_VXFS_FS is not set | ||
746 | # CONFIG_HPFS_FS is not set | ||
747 | # CONFIG_QNX4FS_FS is not set | ||
748 | # CONFIG_SYSV_FS is not set | ||
749 | # CONFIG_UFS_FS is not set | ||
750 | CONFIG_NETWORK_FILESYSTEMS=y | ||
751 | CONFIG_NFS_FS=y | ||
752 | # CONFIG_NFS_V3 is not set | ||
753 | # CONFIG_NFS_V4 is not set | ||
754 | # CONFIG_NFS_DIRECTIO is not set | ||
755 | # CONFIG_NFSD is not set | ||
756 | CONFIG_ROOT_NFS=y | ||
757 | CONFIG_LOCKD=y | ||
758 | CONFIG_NFS_COMMON=y | ||
759 | CONFIG_SUNRPC=y | ||
760 | # CONFIG_SUNRPC_BIND34 is not set | ||
761 | # CONFIG_RPCSEC_GSS_KRB5 is not set | ||
762 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | ||
763 | # CONFIG_SMB_FS is not set | ||
764 | # CONFIG_CIFS is not set | ||
765 | # CONFIG_NCP_FS is not set | ||
766 | # CONFIG_CODA_FS is not set | ||
767 | # CONFIG_AFS_FS is not set | ||
768 | |||
769 | # | ||
770 | # Partition Types | ||
771 | # | ||
772 | CONFIG_PARTITION_ADVANCED=y | ||
773 | # CONFIG_ACORN_PARTITION is not set | ||
774 | # CONFIG_OSF_PARTITION is not set | ||
775 | # CONFIG_AMIGA_PARTITION is not set | ||
776 | # CONFIG_ATARI_PARTITION is not set | ||
777 | # CONFIG_MAC_PARTITION is not set | ||
778 | # CONFIG_MSDOS_PARTITION is not set | ||
779 | # CONFIG_LDM_PARTITION is not set | ||
780 | # CONFIG_SGI_PARTITION is not set | ||
781 | # CONFIG_ULTRIX_PARTITION is not set | ||
782 | # CONFIG_SUN_PARTITION is not set | ||
783 | # CONFIG_KARMA_PARTITION is not set | ||
784 | # CONFIG_EFI_PARTITION is not set | ||
785 | # CONFIG_SYSV68_PARTITION is not set | ||
786 | # CONFIG_NLS is not set | ||
787 | # CONFIG_DLM is not set | ||
788 | |||
789 | # | ||
790 | # Library routines | ||
791 | # | ||
792 | CONFIG_BITREVERSE=y | ||
793 | # CONFIG_CRC_CCITT is not set | ||
794 | # CONFIG_CRC16 is not set | ||
795 | # CONFIG_CRC_ITU_T is not set | ||
796 | CONFIG_CRC32=y | ||
797 | # CONFIG_CRC7 is not set | ||
798 | # CONFIG_LIBCRC32C is not set | ||
799 | CONFIG_PLIST=y | ||
800 | CONFIG_HAS_IOMEM=y | ||
801 | CONFIG_HAS_IOPORT=y | ||
802 | CONFIG_HAS_DMA=y | ||
803 | |||
804 | # | ||
805 | # Kernel hacking | ||
806 | # | ||
807 | # CONFIG_PRINTK_TIME is not set | ||
808 | CONFIG_ENABLE_WARN_DEPRECATED=y | ||
809 | CONFIG_ENABLE_MUST_CHECK=y | ||
810 | # CONFIG_MAGIC_SYSRQ is not set | ||
811 | # CONFIG_UNUSED_SYMBOLS is not set | ||
812 | CONFIG_DEBUG_FS=y | ||
813 | # CONFIG_HEADERS_CHECK is not set | ||
814 | CONFIG_DEBUG_KERNEL=y | ||
815 | # CONFIG_DEBUG_SHIRQ is not set | ||
816 | CONFIG_DETECT_SOFTLOCKUP=y | ||
817 | CONFIG_SCHED_DEBUG=y | ||
818 | # CONFIG_SCHEDSTATS is not set | ||
819 | # CONFIG_TIMER_STATS is not set | ||
820 | # CONFIG_SLUB_DEBUG_ON is not set | ||
821 | # CONFIG_DEBUG_RT_MUTEXES is not set | ||
822 | # CONFIG_RT_MUTEX_TESTER is not set | ||
823 | # CONFIG_DEBUG_SPINLOCK is not set | ||
824 | CONFIG_DEBUG_MUTEXES=y | ||
825 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | ||
826 | # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set | ||
827 | # CONFIG_DEBUG_KOBJECT is not set | ||
828 | # CONFIG_DEBUG_HIGHMEM is not set | ||
829 | # CONFIG_DEBUG_BUGVERBOSE is not set | ||
830 | # CONFIG_DEBUG_INFO is not set | ||
831 | # CONFIG_DEBUG_VM is not set | ||
832 | # CONFIG_DEBUG_LIST is not set | ||
833 | # CONFIG_DEBUG_SG is not set | ||
834 | CONFIG_FORCED_INLINING=y | ||
835 | # CONFIG_BOOT_PRINTK_DELAY is not set | ||
836 | # CONFIG_BACKTRACE_SELF_TEST is not set | ||
837 | # CONFIG_FAULT_INJECTION is not set | ||
838 | # CONFIG_SAMPLES is not set | ||
839 | # CONFIG_DEBUG_STACKOVERFLOW is not set | ||
840 | # CONFIG_DEBUG_STACK_USAGE is not set | ||
841 | # CONFIG_DEBUG_PAGEALLOC is not set | ||
842 | # CONFIG_DEBUGGER is not set | ||
843 | # CONFIG_KGDB_CONSOLE is not set | ||
844 | # CONFIG_VIRQ_DEBUG is not set | ||
845 | # CONFIG_BDI_SWITCH is not set | ||
846 | # CONFIG_PPC_EARLY_DEBUG is not set | ||
847 | |||
848 | # | ||
849 | # Security options | ||
850 | # | ||
851 | # CONFIG_KEYS is not set | ||
852 | # CONFIG_SECURITY is not set | ||
853 | # CONFIG_SECURITY_FILE_CAPABILITIES is not set | ||
854 | CONFIG_CRYPTO=y | ||
855 | # CONFIG_CRYPTO_SEQIV is not set | ||
856 | # CONFIG_CRYPTO_MANAGER is not set | ||
857 | # CONFIG_CRYPTO_HMAC is not set | ||
858 | # CONFIG_CRYPTO_XCBC is not set | ||
859 | # CONFIG_CRYPTO_NULL is not set | ||
860 | # CONFIG_CRYPTO_MD4 is not set | ||
861 | # CONFIG_CRYPTO_MD5 is not set | ||
862 | # CONFIG_CRYPTO_SHA1 is not set | ||
863 | # CONFIG_CRYPTO_SHA256 is not set | ||
864 | # CONFIG_CRYPTO_SHA512 is not set | ||
865 | # CONFIG_CRYPTO_WP512 is not set | ||
866 | # CONFIG_CRYPTO_TGR192 is not set | ||
867 | # CONFIG_CRYPTO_GF128MUL is not set | ||
868 | # CONFIG_CRYPTO_ECB is not set | ||
869 | # CONFIG_CRYPTO_CBC is not set | ||
870 | # CONFIG_CRYPTO_PCBC is not set | ||
871 | # CONFIG_CRYPTO_LRW is not set | ||
872 | # CONFIG_CRYPTO_XTS is not set | ||
873 | # CONFIG_CRYPTO_CTR is not set | ||
874 | # CONFIG_CRYPTO_GCM is not set | ||
875 | # CONFIG_CRYPTO_CCM is not set | ||
876 | # CONFIG_CRYPTO_CRYPTD is not set | ||
877 | # CONFIG_CRYPTO_DES is not set | ||
878 | # CONFIG_CRYPTO_FCRYPT is not set | ||
879 | # CONFIG_CRYPTO_BLOWFISH is not set | ||
880 | # CONFIG_CRYPTO_TWOFISH is not set | ||
881 | # CONFIG_CRYPTO_SERPENT is not set | ||
882 | # CONFIG_CRYPTO_AES is not set | ||
883 | # CONFIG_CRYPTO_CAST5 is not set | ||
884 | # CONFIG_CRYPTO_CAST6 is not set | ||
885 | # CONFIG_CRYPTO_TEA is not set | ||
886 | # CONFIG_CRYPTO_ARC4 is not set | ||
887 | # CONFIG_CRYPTO_KHAZAD is not set | ||
888 | # CONFIG_CRYPTO_ANUBIS is not set | ||
889 | # CONFIG_CRYPTO_SEED is not set | ||
890 | # CONFIG_CRYPTO_SALSA20 is not set | ||
891 | # CONFIG_CRYPTO_DEFLATE is not set | ||
892 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | ||
893 | # CONFIG_CRYPTO_CRC32C is not set | ||
894 | # CONFIG_CRYPTO_CAMELLIA is not set | ||
895 | # CONFIG_CRYPTO_AUTHENC is not set | ||
896 | # CONFIG_CRYPTO_LZO is not set | ||
897 | CONFIG_CRYPTO_HW=y | ||
898 | # CONFIG_PPC_CLOCK is not set | ||
899 | CONFIG_PPC_LIB_RHEAP=y | ||
diff --git a/arch/powerpc/platforms/85xx/Kconfig b/arch/powerpc/platforms/85xx/Kconfig index 7e76ddbd5821..28bc6e58a970 100644 --- a/arch/powerpc/platforms/85xx/Kconfig +++ b/arch/powerpc/platforms/85xx/Kconfig | |||
@@ -46,6 +46,13 @@ config MPC85xx_DS | |||
46 | help | 46 | help |
47 | This option enables support for the MPC85xx DS (MPC8544 DS) board | 47 | This option enables support for the MPC85xx DS (MPC8544 DS) board |
48 | 48 | ||
49 | config KSI8560 | ||
50 | bool "Emerson KSI8560" | ||
51 | select PPC_CPM_NEW_BINDING | ||
52 | select DEFAULT_UIMAGE | ||
53 | help | ||
54 | This option enables support for the Emerson KSI8560 board | ||
55 | |||
49 | config STX_GP3 | 56 | config STX_GP3 |
50 | bool "Silicon Turnkey Express GP3" | 57 | bool "Silicon Turnkey Express GP3" |
51 | help | 58 | help |
diff --git a/arch/powerpc/platforms/85xx/Makefile b/arch/powerpc/platforms/85xx/Makefile index cb7af4ebd75f..6cea185f62b2 100644 --- a/arch/powerpc/platforms/85xx/Makefile +++ b/arch/powerpc/platforms/85xx/Makefile | |||
@@ -10,3 +10,4 @@ obj-$(CONFIG_STX_GP3) += stx_gp3.o | |||
10 | obj-$(CONFIG_TQM85xx) += tqm85xx.o | 10 | obj-$(CONFIG_TQM85xx) += tqm85xx.o |
11 | obj-$(CONFIG_SBC8560) += sbc8560.o | 11 | obj-$(CONFIG_SBC8560) += sbc8560.o |
12 | obj-$(CONFIG_SBC8548) += sbc8548.o | 12 | obj-$(CONFIG_SBC8548) += sbc8548.o |
13 | obj-$(CONFIG_KSI8560) += ksi8560.o | ||
diff --git a/arch/powerpc/platforms/85xx/ksi8560.c b/arch/powerpc/platforms/85xx/ksi8560.c new file mode 100644 index 000000000000..2145adeb220c --- /dev/null +++ b/arch/powerpc/platforms/85xx/ksi8560.c | |||
@@ -0,0 +1,257 @@ | |||
1 | /* | ||
2 | * Board setup routines for the Emerson KSI8560 | ||
3 | * | ||
4 | * Author: Alexandr Smirnov <asmirnov@ru.mvista.com> | ||
5 | * | ||
6 | * Based on mpc85xx_ads.c maintained by Kumar Gala | ||
7 | * | ||
8 | * 2008 (c) MontaVista, Software, Inc. This file is licensed under | ||
9 | * the terms of the GNU General Public License version 2. This program | ||
10 | * is licensed "as is" without any warranty of any kind, whether express | ||
11 | * or implied. | ||
12 | * | ||
13 | */ | ||
14 | |||
15 | #include <linux/stddef.h> | ||
16 | #include <linux/kernel.h> | ||
17 | #include <linux/pci.h> | ||
18 | #include <linux/kdev_t.h> | ||
19 | #include <linux/delay.h> | ||
20 | #include <linux/seq_file.h> | ||
21 | #include <linux/of_platform.h> | ||
22 | |||
23 | #include <asm/system.h> | ||
24 | #include <asm/time.h> | ||
25 | #include <asm/machdep.h> | ||
26 | #include <asm/pci-bridge.h> | ||
27 | #include <asm/mpic.h> | ||
28 | #include <mm/mmu_decl.h> | ||
29 | #include <asm/udbg.h> | ||
30 | #include <asm/prom.h> | ||
31 | |||
32 | #include <sysdev/fsl_soc.h> | ||
33 | #include <sysdev/fsl_pci.h> | ||
34 | |||
35 | #include <asm/cpm2.h> | ||
36 | #include <sysdev/cpm2_pic.h> | ||
37 | |||
38 | |||
39 | #define KSI8560_CPLD_HVR 0x04 /* Hardware Version Register */ | ||
40 | #define KSI8560_CPLD_PVR 0x08 /* PLD Version Register */ | ||
41 | #define KSI8560_CPLD_RCR1 0x30 /* Reset Command Register 1 */ | ||
42 | |||
43 | #define KSI8560_CPLD_RCR1_CPUHR 0x80 /* CPU Hard Reset */ | ||
44 | |||
45 | static void __iomem *cpld_base = NULL; | ||
46 | |||
47 | static void machine_restart(char *cmd) | ||
48 | { | ||
49 | if (cpld_base) | ||
50 | out_8(cpld_base + KSI8560_CPLD_RCR1, KSI8560_CPLD_RCR1_CPUHR); | ||
51 | else | ||
52 | printk(KERN_ERR "Can't find CPLD base, hang forever\n"); | ||
53 | |||
54 | for (;;); | ||
55 | } | ||
56 | |||
57 | static void cpm2_cascade(unsigned int irq, struct irq_desc *desc) | ||
58 | { | ||
59 | int cascade_irq; | ||
60 | |||
61 | while ((cascade_irq = cpm2_get_irq()) >= 0) | ||
62 | generic_handle_irq(cascade_irq); | ||
63 | |||
64 | desc->chip->eoi(irq); | ||
65 | } | ||
66 | |||
67 | static void __init ksi8560_pic_init(void) | ||
68 | { | ||
69 | struct mpic *mpic; | ||
70 | struct resource r; | ||
71 | struct device_node *np; | ||
72 | #ifdef CONFIG_CPM2 | ||
73 | int irq; | ||
74 | #endif | ||
75 | |||
76 | np = of_find_node_by_type(NULL, "open-pic"); | ||
77 | |||
78 | if (np == NULL) { | ||
79 | printk(KERN_ERR "Could not find open-pic node\n"); | ||
80 | return; | ||
81 | } | ||
82 | |||
83 | if (of_address_to_resource(np, 0, &r)) { | ||
84 | printk(KERN_ERR "Could not map mpic register space\n"); | ||
85 | of_node_put(np); | ||
86 | return; | ||
87 | } | ||
88 | |||
89 | mpic = mpic_alloc(np, r.start, | ||
90 | MPIC_PRIMARY | MPIC_WANTS_RESET | MPIC_BIG_ENDIAN, | ||
91 | 0, 256, " OpenPIC "); | ||
92 | BUG_ON(mpic == NULL); | ||
93 | of_node_put(np); | ||
94 | |||
95 | mpic_init(mpic); | ||
96 | |||
97 | #ifdef CONFIG_CPM2 | ||
98 | /* Setup CPM2 PIC */ | ||
99 | np = of_find_compatible_node(NULL, NULL, "fsl,cpm2-pic"); | ||
100 | if (np == NULL) { | ||
101 | printk(KERN_ERR "PIC init: can not find fsl,cpm2-pic node\n"); | ||
102 | return; | ||
103 | } | ||
104 | irq = irq_of_parse_and_map(np, 0); | ||
105 | |||
106 | cpm2_pic_init(np); | ||
107 | of_node_put(np); | ||
108 | set_irq_chained_handler(irq, cpm2_cascade); | ||
109 | |||
110 | setup_irq(0, NULL); | ||
111 | #endif | ||
112 | } | ||
113 | |||
114 | #ifdef CONFIG_CPM2 | ||
115 | /* | ||
116 | * Setup I/O ports | ||
117 | */ | ||
118 | struct cpm_pin { | ||
119 | int port, pin, flags; | ||
120 | }; | ||
121 | |||
122 | static struct cpm_pin __initdata ksi8560_pins[] = { | ||
123 | /* SCC1 */ | ||
124 | {3, 29, CPM_PIN_OUTPUT | CPM_PIN_PRIMARY}, | ||
125 | {3, 30, CPM_PIN_OUTPUT | CPM_PIN_SECONDARY}, | ||
126 | {3, 31, CPM_PIN_INPUT | CPM_PIN_PRIMARY}, | ||
127 | |||
128 | /* SCC2 */ | ||
129 | {3, 26, CPM_PIN_OUTPUT | CPM_PIN_PRIMARY}, | ||
130 | {3, 27, CPM_PIN_OUTPUT | CPM_PIN_PRIMARY}, | ||
131 | {3, 28, CPM_PIN_INPUT | CPM_PIN_PRIMARY}, | ||
132 | |||
133 | /* FCC1 */ | ||
134 | {0, 14, CPM_PIN_INPUT | CPM_PIN_PRIMARY}, | ||
135 | {0, 15, CPM_PIN_INPUT | CPM_PIN_PRIMARY}, | ||
136 | {0, 16, CPM_PIN_INPUT | CPM_PIN_PRIMARY}, | ||
137 | {0, 17, CPM_PIN_INPUT | CPM_PIN_PRIMARY}, | ||
138 | {0, 18, CPM_PIN_OUTPUT | CPM_PIN_PRIMARY}, | ||
139 | {0, 19, CPM_PIN_OUTPUT | CPM_PIN_PRIMARY}, | ||
140 | {0, 20, CPM_PIN_OUTPUT | CPM_PIN_PRIMARY}, | ||
141 | {0, 21, CPM_PIN_OUTPUT | CPM_PIN_PRIMARY}, | ||
142 | {0, 26, CPM_PIN_INPUT | CPM_PIN_SECONDARY}, | ||
143 | {0, 27, CPM_PIN_INPUT | CPM_PIN_SECONDARY}, | ||
144 | {0, 28, CPM_PIN_OUTPUT | CPM_PIN_SECONDARY}, | ||
145 | {0, 29, CPM_PIN_OUTPUT | CPM_PIN_SECONDARY}, | ||
146 | {0, 30, CPM_PIN_INPUT | CPM_PIN_SECONDARY}, | ||
147 | {0, 31, CPM_PIN_INPUT | CPM_PIN_SECONDARY}, | ||
148 | {2, 23, CPM_PIN_INPUT | CPM_PIN_PRIMARY}, /* CLK9 */ | ||
149 | {2, 22, CPM_PIN_INPUT | CPM_PIN_PRIMARY}, /* CLK10 */ | ||
150 | |||
151 | }; | ||
152 | |||
153 | static void __init init_ioports(void) | ||
154 | { | ||
155 | int i; | ||
156 | |||
157 | for (i = 0; i < ARRAY_SIZE(ksi8560_pins); i++) { | ||
158 | struct cpm_pin *pin = &ksi8560_pins[i]; | ||
159 | cpm2_set_pin(pin->port, pin->pin, pin->flags); | ||
160 | } | ||
161 | |||
162 | cpm2_clk_setup(CPM_CLK_SCC1, CPM_BRG1, CPM_CLK_RX); | ||
163 | cpm2_clk_setup(CPM_CLK_SCC1, CPM_BRG1, CPM_CLK_TX); | ||
164 | cpm2_clk_setup(CPM_CLK_SCC2, CPM_BRG2, CPM_CLK_RX); | ||
165 | cpm2_clk_setup(CPM_CLK_SCC2, CPM_BRG2, CPM_CLK_TX); | ||
166 | cpm2_clk_setup(CPM_CLK_FCC1, CPM_CLK9, CPM_CLK_RX); | ||
167 | cpm2_clk_setup(CPM_CLK_FCC1, CPM_CLK10, CPM_CLK_TX); | ||
168 | } | ||
169 | #endif | ||
170 | |||
171 | /* | ||
172 | * Setup the architecture | ||
173 | */ | ||
174 | static void __init ksi8560_setup_arch(void) | ||
175 | { | ||
176 | struct device_node *cpld; | ||
177 | |||
178 | cpld = of_find_compatible_node(NULL, NULL, "emerson,KSI8560-cpld"); | ||
179 | if (cpld) | ||
180 | cpld_base = of_iomap(cpld, 0); | ||
181 | else | ||
182 | printk(KERN_ERR "Can't find CPLD in device tree\n"); | ||
183 | |||
184 | if (ppc_md.progress) | ||
185 | ppc_md.progress("ksi8560_setup_arch()", 0); | ||
186 | |||
187 | #ifdef CONFIG_CPM2 | ||
188 | cpm2_reset(); | ||
189 | init_ioports(); | ||
190 | #endif | ||
191 | } | ||
192 | |||
193 | static void ksi8560_show_cpuinfo(struct seq_file *m) | ||
194 | { | ||
195 | uint pvid, svid, phid1; | ||
196 | uint memsize = total_memory; | ||
197 | |||
198 | pvid = mfspr(SPRN_PVR); | ||
199 | svid = mfspr(SPRN_SVR); | ||
200 | |||
201 | seq_printf(m, "Vendor\t\t: Emerson Network Power\n"); | ||
202 | seq_printf(m, "Board\t\t: KSI8560\n"); | ||
203 | |||
204 | if (cpld_base) { | ||
205 | seq_printf(m, "Hardware rev\t: %d\n", | ||
206 | in_8(cpld_base + KSI8560_CPLD_HVR)); | ||
207 | seq_printf(m, "CPLD rev\t: %d\n", | ||
208 | in_8(cpld_base + KSI8560_CPLD_PVR)); | ||
209 | } else | ||
210 | seq_printf(m, "Unknown Hardware and CPLD revs\n"); | ||
211 | |||
212 | seq_printf(m, "PVR\t\t: 0x%x\n", pvid); | ||
213 | seq_printf(m, "SVR\t\t: 0x%x\n", svid); | ||
214 | |||
215 | /* Display cpu Pll setting */ | ||
216 | phid1 = mfspr(SPRN_HID1); | ||
217 | seq_printf(m, "PLL setting\t: 0x%x\n", ((phid1 >> 24) & 0x3f)); | ||
218 | |||
219 | /* Display the amount of memory */ | ||
220 | seq_printf(m, "Memory\t\t: %d MB\n", memsize / (1024 * 1024)); | ||
221 | } | ||
222 | |||
223 | static struct of_device_id __initdata of_bus_ids[] = { | ||
224 | { .type = "soc", }, | ||
225 | { .name = "cpm", }, | ||
226 | { .name = "localbus", }, | ||
227 | {}, | ||
228 | }; | ||
229 | |||
230 | static int __init declare_of_platform_devices(void) | ||
231 | { | ||
232 | of_platform_bus_probe(NULL, of_bus_ids, NULL); | ||
233 | |||
234 | return 0; | ||
235 | } | ||
236 | machine_device_initcall(ksi8560, declare_of_platform_devices); | ||
237 | |||
238 | /* | ||
239 | * Called very early, device-tree isn't unflattened | ||
240 | */ | ||
241 | static int __init ksi8560_probe(void) | ||
242 | { | ||
243 | unsigned long root = of_get_flat_dt_root(); | ||
244 | |||
245 | return of_flat_dt_is_compatible(root, "emerson,KSI8560"); | ||
246 | } | ||
247 | |||
248 | define_machine(ksi8560) { | ||
249 | .name = "KSI8560", | ||
250 | .probe = ksi8560_probe, | ||
251 | .setup_arch = ksi8560_setup_arch, | ||
252 | .init_IRQ = ksi8560_pic_init, | ||
253 | .show_cpuinfo = ksi8560_show_cpuinfo, | ||
254 | .get_irq = mpic_get_irq, | ||
255 | .restart = machine_restart, | ||
256 | .calibrate_decr = generic_calibrate_decr, | ||
257 | }; | ||