xref: /openbmc/linux/arch/mips/txx9/Kconfig (revision 68198dca)
1# SPDX-License-Identifier: GPL-2.0
2config 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
12	select IRQ_MIPS_CPU
13	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
24	select COMMON_CLK
25
26config 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
35	# TX4937 is subset of TX4938
36	select SOC_TX4938
37	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
49config TOSHIBA_RBTX4939
50	bool "Toshiba RBTX4939 board"
51	depends on MACH_TX49XX
52	select SOC_TX4939
53	select TXX9_7SEGLED
54	help
55	  This Toshiba board is based on the TX4939 processor. Say Y here to
56	  support this machine type
57
58config SOC_TX3927
59	bool
60	select CEVT_TXX9
61	select HAS_TXX9_SERIAL
62	select HW_HAS_PCI
63	select IRQ_TXX9
64	select GPIO_TXX9
65
66config SOC_TX4927
67	bool
68	select CEVT_TXX9
69	select HAS_TXX9_SERIAL
70	select HW_HAS_PCI
71	select IRQ_TXX9
72	select PCI_TX4927
73	select GPIO_TXX9
74	select HAS_TXX9_ACLC
75
76config SOC_TX4938
77	bool
78	select CEVT_TXX9
79	select HAS_TXX9_SERIAL
80	select HW_HAS_PCI
81	select IRQ_TXX9
82	select PCI_TX4927
83	select GPIO_TXX9
84	select HAS_TXX9_ACLC
85
86config SOC_TX4939
87	bool
88	select CEVT_TXX9
89	select HAS_TXX9_SERIAL
90	select HW_HAS_PCI
91	select PCI_TX4927
92	select HAS_TXX9_ACLC
93
94config TXX9_7SEGLED
95	bool
96
97config TOSHIBA_FPCIB0
98	bool "FPCIB0 Backplane Support"
99	depends on PCI && MACH_TXX9
100	select I8259
101
102config PICMG_PCI_BACKPLANE_DEFAULT
103	bool "Support for PICMG PCI Backplane"
104	depends on PCI && MACH_TXX9
105	default y if !TOSHIBA_FPCIB0
106
107if 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"
120config TOSHIBA_RBTX4938_MPLEX_KEEP
121	bool "Keep firmware settings"
122
123endchoice
124
125endif
126
127config PCI_TX4927
128	bool
129