blob: d2509c93f0ee711879007542211fae8b58145be4 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Atsushi Nemoto8f8da9a2008-07-29 22:11:33 +09002config MACH_TX39XX
3 bool
4 select MACH_TXX9
5 select SYS_HAS_CPU_TX39XX
6
7config MACH_TX49XX
8 bool
9 select MACH_TXX9
10 select CEVT_R4K
11 select CSRC_R4K
Ralf Baechle67e38cf2015-05-26 18:20:06 +020012 select IRQ_MIPS_CPU
Atsushi Nemoto8f8da9a2008-07-29 22:11:33 +090013 select SYS_HAS_CPU_TX49XX
14 select SYS_SUPPORTS_64BIT_KERNEL
15
16config MACH_TXX9
17 bool
18 select DMA_NONCOHERENT
19 select SWAP_IO_SPACE
20 select SYS_HAS_EARLY_PRINTK
21 select SYS_SUPPORTS_32BIT_KERNEL
22 select SYS_SUPPORTS_LITTLE_ENDIAN
23 select SYS_SUPPORTS_BIG_ENDIAN
Geert Uytterhoeven44ce9a92016-09-11 10:59:58 +020024 select COMMON_CLK
Atsushi Nemoto8f8da9a2008-07-29 22:11:33 +090025
Atsushi Nemotoedcaf1a2008-07-11 23:27:54 +090026config TOSHIBA_JMR3927
27 bool "Toshiba JMR-TX3927 board"
28 depends on MACH_TX39XX
29 select SOC_TX3927
30
31config TOSHIBA_RBTX4927
32 bool "Toshiba RBTX49[23]7 board"
33 depends on MACH_TX49XX
34 select SOC_TX4927
Atsushi Nemoto8d795f22008-07-18 00:43:48 +090035 # TX4937 is subset of TX4938
36 select SOC_TX4938
Atsushi Nemotoedcaf1a2008-07-11 23:27:54 +090037 help
38 This Toshiba board is based on the TX4927 processor. Say Y here to
39 support this machine type
40
41config TOSHIBA_RBTX4938
42 bool "Toshiba RBTX4938 board"
43 depends on MACH_TX49XX
44 select SOC_TX4938
45 help
46 This Toshiba board is based on the TX4938 processor. Say Y here to
47 support this machine type
48
Atsushi Nemotob27311e2008-09-01 22:22:40 +090049config TOSHIBA_RBTX4939
Geert Uytterhoeven537fa372008-10-23 16:43:13 +020050 bool "Toshiba RBTX4939 board"
Atsushi Nemotob27311e2008-09-01 22:22:40 +090051 depends on MACH_TX49XX
52 select SOC_TX4939
Atsushi Nemotobc89b2b2008-10-20 23:28:50 +090053 select TXX9_7SEGLED
Atsushi Nemotob27311e2008-09-01 22:22:40 +090054 help
55 This Toshiba board is based on the TX4939 processor. Say Y here to
56 support this machine type
57
Atsushi Nemotoedcaf1a2008-07-11 23:27:54 +090058config SOC_TX3927
59 bool
60 select CEVT_TXX9
Atsushi Nemotoedcaf1a2008-07-11 23:27:54 +090061 select HAS_TXX9_SERIAL
62 select HW_HAS_PCI
63 select IRQ_TXX9
Atsushi Nemotoedcaf1a2008-07-11 23:27:54 +090064 select GPIO_TXX9
65
66config SOC_TX4927
67 bool
Atsushi Nemotoedcaf1a2008-07-11 23:27:54 +090068 select CEVT_TXX9
Atsushi Nemotoedcaf1a2008-07-11 23:27:54 +090069 select HAS_TXX9_SERIAL
70 select HW_HAS_PCI
Atsushi Nemotoedcaf1a2008-07-11 23:27:54 +090071 select IRQ_TXX9
72 select PCI_TX4927
Atsushi Nemotoedcaf1a2008-07-11 23:27:54 +090073 select GPIO_TXX9
Atsushi Nemoto742cd582009-05-19 22:12:22 +090074 select HAS_TXX9_ACLC
Atsushi Nemotoedcaf1a2008-07-11 23:27:54 +090075
76config SOC_TX4938
77 bool
Atsushi Nemotoedcaf1a2008-07-11 23:27:54 +090078 select CEVT_TXX9
Atsushi Nemotoedcaf1a2008-07-11 23:27:54 +090079 select HAS_TXX9_SERIAL
80 select HW_HAS_PCI
Atsushi Nemotoedcaf1a2008-07-11 23:27:54 +090081 select IRQ_TXX9
82 select PCI_TX4927
Atsushi Nemotoedcaf1a2008-07-11 23:27:54 +090083 select GPIO_TXX9
Atsushi Nemoto742cd582009-05-19 22:12:22 +090084 select HAS_TXX9_ACLC
Atsushi Nemotoedcaf1a2008-07-11 23:27:54 +090085
Atsushi Nemoto0dcdbe62008-09-01 22:22:39 +090086config SOC_TX4939
87 bool
88 select CEVT_TXX9
89 select HAS_TXX9_SERIAL
90 select HW_HAS_PCI
91 select PCI_TX4927
Atsushi Nemoto742cd582009-05-19 22:12:22 +090092 select HAS_TXX9_ACLC
Atsushi Nemoto0dcdbe62008-09-01 22:22:39 +090093
Atsushi Nemotobc89b2b2008-10-20 23:28:50 +090094config TXX9_7SEGLED
95 bool
96
Atsushi Nemoto22b1d702008-07-11 00:31:36 +090097config TOSHIBA_FPCIB0
98 bool "FPCIB0 Backplane Support"
Atsushi Nemoto8f8da9a2008-07-29 22:11:33 +090099 depends on PCI && MACH_TXX9
Atsushi Nemoto89d63fe2008-07-11 00:33:08 +0900100 select I8259
101
102config PICMG_PCI_BACKPLANE_DEFAULT
103 bool "Support for PICMG PCI Backplane"
Atsushi Nemoto8f8da9a2008-07-29 22:11:33 +0900104 depends on PCI && MACH_TXX9
Atsushi Nemoto89d63fe2008-07-11 00:33:08 +0900105 default y if !TOSHIBA_FPCIB0
Atsushi Nemoto22b1d702008-07-11 00:31:36 +0900106
Ralf Baechle23fbee92005-07-25 22:45:45 +0000107if TOSHIBA_RBTX4938
108
109comment "Multiplex Pin Select"
110choice
111 prompt "PIO[58:61]"
112 default TOSHIBA_RBTX4938_MPLEX_PIO58_61
113
114config TOSHIBA_RBTX4938_MPLEX_PIO58_61
115 bool "PIO"
116config TOSHIBA_RBTX4938_MPLEX_NAND
117 bool "NAND"
118config TOSHIBA_RBTX4938_MPLEX_ATA
119 bool "ATA"
Atsushi Nemotoe6332372008-08-19 22:55:13 +0900120config TOSHIBA_RBTX4938_MPLEX_KEEP
121 bool "Keep firmware settings"
Ralf Baechle23fbee92005-07-25 22:45:45 +0000122
123endchoice
124
Ralf Baechle23fbee92005-07-25 22:45:45 +0000125endif
Atsushi Nemoto89d63fe2008-07-11 00:33:08 +0900126
127config PCI_TX4927
128 bool