xref: /linux/arch/mips/txx9/Kconfig (revision 97ad1d89624df8f3f8f035ff3cdf24bbd9c6d7b1)
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
9*97ad1d89SGeert Uytterhoeven	select BOOT_ELF32
108f8da9adSAtsushi Nemoto	select MACH_TXX9
118f8da9adSAtsushi Nemoto	select CEVT_R4K
128f8da9adSAtsushi Nemoto	select CSRC_R4K
1367e38cf2SRalf Baechle	select IRQ_MIPS_CPU
148f8da9adSAtsushi Nemoto	select SYS_HAS_CPU_TX49XX
158f8da9adSAtsushi Nemoto	select SYS_SUPPORTS_64BIT_KERNEL
168f8da9adSAtsushi Nemoto
178f8da9adSAtsushi Nemotoconfig MACH_TXX9
188f8da9adSAtsushi Nemoto	bool
198f8da9adSAtsushi Nemoto	select DMA_NONCOHERENT
208f8da9adSAtsushi Nemoto	select SWAP_IO_SPACE
218f8da9adSAtsushi Nemoto	select SYS_HAS_EARLY_PRINTK
228f8da9adSAtsushi Nemoto	select SYS_SUPPORTS_32BIT_KERNEL
238f8da9adSAtsushi Nemoto	select SYS_SUPPORTS_LITTLE_ENDIAN
248f8da9adSAtsushi Nemoto	select SYS_SUPPORTS_BIG_ENDIAN
2544ce9a9aSGeert Uytterhoeven	select COMMON_CLK
268f8da9adSAtsushi Nemoto
27edcaf1a6SAtsushi Nemotoconfig TOSHIBA_JMR3927
28edcaf1a6SAtsushi Nemoto	bool "Toshiba JMR-TX3927 board"
29edcaf1a6SAtsushi Nemoto	depends on MACH_TX39XX
30edcaf1a6SAtsushi Nemoto	select SOC_TX3927
31edcaf1a6SAtsushi Nemoto
32edcaf1a6SAtsushi Nemotoconfig TOSHIBA_RBTX4927
33edcaf1a6SAtsushi Nemoto	bool "Toshiba RBTX49[23]7 board"
34edcaf1a6SAtsushi Nemoto	depends on MACH_TX49XX
35edcaf1a6SAtsushi Nemoto	select SOC_TX4927
368d795f2aSAtsushi Nemoto	# TX4937 is subset of TX4938
378d795f2aSAtsushi Nemoto	select SOC_TX4938
38edcaf1a6SAtsushi Nemoto	help
39edcaf1a6SAtsushi Nemoto	  This Toshiba board is based on the TX4927 processor. Say Y here to
40edcaf1a6SAtsushi Nemoto	  support this machine type
41edcaf1a6SAtsushi Nemoto
42edcaf1a6SAtsushi Nemotoconfig TOSHIBA_RBTX4938
43edcaf1a6SAtsushi Nemoto	bool "Toshiba RBTX4938 board"
44edcaf1a6SAtsushi Nemoto	depends on MACH_TX49XX
45edcaf1a6SAtsushi Nemoto	select SOC_TX4938
46edcaf1a6SAtsushi Nemoto	help
47edcaf1a6SAtsushi Nemoto	  This Toshiba board is based on the TX4938 processor. Say Y here to
48edcaf1a6SAtsushi Nemoto	  support this machine type
49edcaf1a6SAtsushi Nemoto
50b27311e1SAtsushi Nemotoconfig TOSHIBA_RBTX4939
51537fa37cSGeert Uytterhoeven	bool "Toshiba RBTX4939 board"
52b27311e1SAtsushi Nemoto	depends on MACH_TX49XX
53b27311e1SAtsushi Nemoto	select SOC_TX4939
54bc89b2bdSAtsushi Nemoto	select TXX9_7SEGLED
55b27311e1SAtsushi Nemoto	help
56b27311e1SAtsushi Nemoto	  This Toshiba board is based on the TX4939 processor. Say Y here to
57b27311e1SAtsushi Nemoto	  support this machine type
58b27311e1SAtsushi Nemoto
59edcaf1a6SAtsushi Nemotoconfig SOC_TX3927
60edcaf1a6SAtsushi Nemoto	bool
61edcaf1a6SAtsushi Nemoto	select CEVT_TXX9
62de0c4eb4SYueHaibing	imply HAS_TXX9_SERIAL
63eb01d42aSChristoph Hellwig	select HAVE_PCI
64edcaf1a6SAtsushi Nemoto	select IRQ_TXX9
65edcaf1a6SAtsushi Nemoto	select GPIO_TXX9
66edcaf1a6SAtsushi Nemoto
67edcaf1a6SAtsushi Nemotoconfig SOC_TX4927
68edcaf1a6SAtsushi Nemoto	bool
69edcaf1a6SAtsushi Nemoto	select CEVT_TXX9
70de0c4eb4SYueHaibing	imply HAS_TXX9_SERIAL
71eb01d42aSChristoph Hellwig	select HAVE_PCI
72edcaf1a6SAtsushi Nemoto	select IRQ_TXX9
73edcaf1a6SAtsushi Nemoto	select PCI_TX4927
74edcaf1a6SAtsushi Nemoto	select GPIO_TXX9
75de0c4eb4SYueHaibing	imply HAS_TXX9_ACLC
76edcaf1a6SAtsushi Nemoto
77edcaf1a6SAtsushi Nemotoconfig SOC_TX4938
78edcaf1a6SAtsushi Nemoto	bool
79edcaf1a6SAtsushi Nemoto	select CEVT_TXX9
80de0c4eb4SYueHaibing	imply HAS_TXX9_SERIAL
81eb01d42aSChristoph Hellwig	select HAVE_PCI
82edcaf1a6SAtsushi Nemoto	select IRQ_TXX9
83edcaf1a6SAtsushi Nemoto	select PCI_TX4927
84edcaf1a6SAtsushi Nemoto	select GPIO_TXX9
85de0c4eb4SYueHaibing	imply HAS_TXX9_ACLC
86edcaf1a6SAtsushi Nemoto
870dcdbe6aSAtsushi Nemotoconfig SOC_TX4939
880dcdbe6aSAtsushi Nemoto	bool
890dcdbe6aSAtsushi Nemoto	select CEVT_TXX9
90de0c4eb4SYueHaibing	imply HAS_TXX9_SERIAL
91eb01d42aSChristoph Hellwig	select HAVE_PCI
920dcdbe6aSAtsushi Nemoto	select PCI_TX4927
93de0c4eb4SYueHaibing	imply HAS_TXX9_ACLC
940dcdbe6aSAtsushi Nemoto
95bc89b2bdSAtsushi Nemotoconfig TXX9_7SEGLED
96bc89b2bdSAtsushi Nemoto	bool
97bc89b2bdSAtsushi Nemoto
9822b1d707SAtsushi Nemotoconfig TOSHIBA_FPCIB0
9922b1d707SAtsushi Nemoto	bool "FPCIB0 Backplane Support"
1008f8da9adSAtsushi Nemoto	depends on PCI && MACH_TXX9
10189d63fe1SAtsushi Nemoto	select I8259
10289d63fe1SAtsushi Nemoto
10389d63fe1SAtsushi Nemotoconfig PICMG_PCI_BACKPLANE_DEFAULT
10489d63fe1SAtsushi Nemoto	bool "Support for PICMG PCI Backplane"
1058f8da9adSAtsushi Nemoto	depends on PCI && MACH_TXX9
10689d63fe1SAtsushi Nemoto	default y if !TOSHIBA_FPCIB0
10722b1d707SAtsushi Nemoto
10822b1d707SAtsushi Nemotoif TOSHIBA_RBTX4938
10922b1d707SAtsushi Nemoto
11022b1d707SAtsushi Nemotocomment "Multiplex Pin Select"
11122b1d707SAtsushi Nemotochoice
11222b1d707SAtsushi Nemoto	prompt "PIO[58:61]"
11322b1d707SAtsushi Nemoto	default TOSHIBA_RBTX4938_MPLEX_PIO58_61
11422b1d707SAtsushi Nemoto
11522b1d707SAtsushi Nemotoconfig TOSHIBA_RBTX4938_MPLEX_PIO58_61
11622b1d707SAtsushi Nemoto	bool "PIO"
11722b1d707SAtsushi Nemotoconfig TOSHIBA_RBTX4938_MPLEX_NAND
11822b1d707SAtsushi Nemoto	bool "NAND"
11922b1d707SAtsushi Nemotoconfig TOSHIBA_RBTX4938_MPLEX_ATA
12022b1d707SAtsushi Nemoto	bool "ATA"
121e6332374SAtsushi Nemotoconfig TOSHIBA_RBTX4938_MPLEX_KEEP
122e6332374SAtsushi Nemoto	bool "Keep firmware settings"
12322b1d707SAtsushi Nemoto
12422b1d707SAtsushi Nemotoendchoice
12522b1d707SAtsushi Nemoto
12622b1d707SAtsushi Nemotoendif
12789d63fe1SAtsushi Nemoto
12889d63fe1SAtsushi Nemotoconfig PCI_TX4927
12989d63fe1SAtsushi Nemoto	bool
130