xref: /linux/arch/mips/txx9/Kconfig (revision de0c4eb44c39cbb2b3b11bac699b618b0f8d4142)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
28f8da9adSAtsushi Nemotoconfig MACH_TX39XX
38f8da9adSAtsushi Nemoto	bool
48f8da9adSAtsushi Nemoto	select MACH_TXX9
58f8da9adSAtsushi Nemoto	select SYS_HAS_CPU_TX39XX
68f8da9adSAtsushi Nemoto
78f8da9adSAtsushi Nemotoconfig MACH_TX49XX
88f8da9adSAtsushi Nemoto	bool
98f8da9adSAtsushi Nemoto	select MACH_TXX9
108f8da9adSAtsushi Nemoto	select CEVT_R4K
118f8da9adSAtsushi Nemoto	select CSRC_R4K
1267e38cf2SRalf Baechle	select IRQ_MIPS_CPU
138f8da9adSAtsushi Nemoto	select SYS_HAS_CPU_TX49XX
148f8da9adSAtsushi Nemoto	select SYS_SUPPORTS_64BIT_KERNEL
158f8da9adSAtsushi Nemoto
168f8da9adSAtsushi Nemotoconfig MACH_TXX9
178f8da9adSAtsushi Nemoto	bool
188f8da9adSAtsushi Nemoto	select DMA_NONCOHERENT
198f8da9adSAtsushi Nemoto	select SWAP_IO_SPACE
208f8da9adSAtsushi Nemoto	select SYS_HAS_EARLY_PRINTK
218f8da9adSAtsushi Nemoto	select SYS_SUPPORTS_32BIT_KERNEL
228f8da9adSAtsushi Nemoto	select SYS_SUPPORTS_LITTLE_ENDIAN
238f8da9adSAtsushi Nemoto	select SYS_SUPPORTS_BIG_ENDIAN
2444ce9a9aSGeert Uytterhoeven	select COMMON_CLK
258f8da9adSAtsushi Nemoto
26edcaf1a6SAtsushi Nemotoconfig TOSHIBA_JMR3927
27edcaf1a6SAtsushi Nemoto	bool "Toshiba JMR-TX3927 board"
28edcaf1a6SAtsushi Nemoto	depends on MACH_TX39XX
29edcaf1a6SAtsushi Nemoto	select SOC_TX3927
30edcaf1a6SAtsushi Nemoto
31edcaf1a6SAtsushi Nemotoconfig TOSHIBA_RBTX4927
32edcaf1a6SAtsushi Nemoto	bool "Toshiba RBTX49[23]7 board"
33edcaf1a6SAtsushi Nemoto	depends on MACH_TX49XX
34edcaf1a6SAtsushi Nemoto	select SOC_TX4927
358d795f2aSAtsushi Nemoto	# TX4937 is subset of TX4938
368d795f2aSAtsushi Nemoto	select SOC_TX4938
37edcaf1a6SAtsushi Nemoto	help
38edcaf1a6SAtsushi Nemoto	  This Toshiba board is based on the TX4927 processor. Say Y here to
39edcaf1a6SAtsushi Nemoto	  support this machine type
40edcaf1a6SAtsushi Nemoto
41edcaf1a6SAtsushi Nemotoconfig TOSHIBA_RBTX4938
42edcaf1a6SAtsushi Nemoto	bool "Toshiba RBTX4938 board"
43edcaf1a6SAtsushi Nemoto	depends on MACH_TX49XX
44edcaf1a6SAtsushi Nemoto	select SOC_TX4938
45edcaf1a6SAtsushi Nemoto	help
46edcaf1a6SAtsushi Nemoto	  This Toshiba board is based on the TX4938 processor. Say Y here to
47edcaf1a6SAtsushi Nemoto	  support this machine type
48edcaf1a6SAtsushi Nemoto
49b27311e1SAtsushi Nemotoconfig TOSHIBA_RBTX4939
50537fa37cSGeert Uytterhoeven	bool "Toshiba RBTX4939 board"
51b27311e1SAtsushi Nemoto	depends on MACH_TX49XX
52b27311e1SAtsushi Nemoto	select SOC_TX4939
53bc89b2bdSAtsushi Nemoto	select TXX9_7SEGLED
54b27311e1SAtsushi Nemoto	help
55b27311e1SAtsushi Nemoto	  This Toshiba board is based on the TX4939 processor. Say Y here to
56b27311e1SAtsushi Nemoto	  support this machine type
57b27311e1SAtsushi Nemoto
58edcaf1a6SAtsushi Nemotoconfig SOC_TX3927
59edcaf1a6SAtsushi Nemoto	bool
60edcaf1a6SAtsushi Nemoto	select CEVT_TXX9
61*de0c4eb4SYueHaibing	imply HAS_TXX9_SERIAL
62eb01d42aSChristoph Hellwig	select HAVE_PCI
63edcaf1a6SAtsushi Nemoto	select IRQ_TXX9
64edcaf1a6SAtsushi Nemoto	select GPIO_TXX9
65edcaf1a6SAtsushi Nemoto
66edcaf1a6SAtsushi Nemotoconfig SOC_TX4927
67edcaf1a6SAtsushi Nemoto	bool
68edcaf1a6SAtsushi Nemoto	select CEVT_TXX9
69*de0c4eb4SYueHaibing	imply HAS_TXX9_SERIAL
70eb01d42aSChristoph Hellwig	select HAVE_PCI
71edcaf1a6SAtsushi Nemoto	select IRQ_TXX9
72edcaf1a6SAtsushi Nemoto	select PCI_TX4927
73edcaf1a6SAtsushi Nemoto	select GPIO_TXX9
74*de0c4eb4SYueHaibing	imply HAS_TXX9_ACLC
75edcaf1a6SAtsushi Nemoto
76edcaf1a6SAtsushi Nemotoconfig SOC_TX4938
77edcaf1a6SAtsushi Nemoto	bool
78edcaf1a6SAtsushi Nemoto	select CEVT_TXX9
79*de0c4eb4SYueHaibing	imply HAS_TXX9_SERIAL
80eb01d42aSChristoph Hellwig	select HAVE_PCI
81edcaf1a6SAtsushi Nemoto	select IRQ_TXX9
82edcaf1a6SAtsushi Nemoto	select PCI_TX4927
83edcaf1a6SAtsushi Nemoto	select GPIO_TXX9
84*de0c4eb4SYueHaibing	imply HAS_TXX9_ACLC
85edcaf1a6SAtsushi Nemoto
860dcdbe6aSAtsushi Nemotoconfig SOC_TX4939
870dcdbe6aSAtsushi Nemoto	bool
880dcdbe6aSAtsushi Nemoto	select CEVT_TXX9
89*de0c4eb4SYueHaibing	imply HAS_TXX9_SERIAL
90eb01d42aSChristoph Hellwig	select HAVE_PCI
910dcdbe6aSAtsushi Nemoto	select PCI_TX4927
92*de0c4eb4SYueHaibing	imply HAS_TXX9_ACLC
930dcdbe6aSAtsushi Nemoto
94bc89b2bdSAtsushi Nemotoconfig TXX9_7SEGLED
95bc89b2bdSAtsushi Nemoto	bool
96bc89b2bdSAtsushi Nemoto
9722b1d707SAtsushi Nemotoconfig TOSHIBA_FPCIB0
9822b1d707SAtsushi Nemoto	bool "FPCIB0 Backplane Support"
998f8da9adSAtsushi Nemoto	depends on PCI && MACH_TXX9
10089d63fe1SAtsushi Nemoto	select I8259
10189d63fe1SAtsushi Nemoto
10289d63fe1SAtsushi Nemotoconfig PICMG_PCI_BACKPLANE_DEFAULT
10389d63fe1SAtsushi Nemoto	bool "Support for PICMG PCI Backplane"
1048f8da9adSAtsushi Nemoto	depends on PCI && MACH_TXX9
10589d63fe1SAtsushi Nemoto	default y if !TOSHIBA_FPCIB0
10622b1d707SAtsushi Nemoto
10722b1d707SAtsushi Nemotoif TOSHIBA_RBTX4938
10822b1d707SAtsushi Nemoto
10922b1d707SAtsushi Nemotocomment "Multiplex Pin Select"
11022b1d707SAtsushi Nemotochoice
11122b1d707SAtsushi Nemoto	prompt "PIO[58:61]"
11222b1d707SAtsushi Nemoto	default TOSHIBA_RBTX4938_MPLEX_PIO58_61
11322b1d707SAtsushi Nemoto
11422b1d707SAtsushi Nemotoconfig TOSHIBA_RBTX4938_MPLEX_PIO58_61
11522b1d707SAtsushi Nemoto	bool "PIO"
11622b1d707SAtsushi Nemotoconfig TOSHIBA_RBTX4938_MPLEX_NAND
11722b1d707SAtsushi Nemoto	bool "NAND"
11822b1d707SAtsushi Nemotoconfig TOSHIBA_RBTX4938_MPLEX_ATA
11922b1d707SAtsushi Nemoto	bool "ATA"
120e6332374SAtsushi Nemotoconfig TOSHIBA_RBTX4938_MPLEX_KEEP
121e6332374SAtsushi Nemoto	bool "Keep firmware settings"
12222b1d707SAtsushi Nemoto
12322b1d707SAtsushi Nemotoendchoice
12422b1d707SAtsushi Nemoto
12522b1d707SAtsushi Nemotoendif
12689d63fe1SAtsushi Nemoto
12789d63fe1SAtsushi Nemotoconfig PCI_TX4927
12889d63fe1SAtsushi Nemoto	bool
129